Trouble with Flash controller in iweb

Discussion in 'Web Design and Development' started by bbydon, Nov 26, 2007.

  1. bbydon macrumors 6502a

    Joined:
    May 18, 2005
    Location:
    ATL
    #1
    I posted this in another mac app forum but got no replies so i am trying here...

    I embeded a flash movie onto my iweb page. I used the code found here http://web.mac.com/catucker/InsideOutside/iWeb.html

    So i made my movie in flash and put the swf, flv,html page and swf controller that flash published in a folder on the server for the code to reference. The movie works fine but the contoller is not there. All the files are in the same folder on the server.
    When i view the html page that flash made it works but not when published in iweb.

    The site is __erased__ there are flash movies on the main page and the links at the bottom lead to flash movies. All show up fine but no swf controller.

    Also here is a link to just the html page for the movie to see it working there.
    __erased_

    Here, the controller is over the movie, on the other pages it is below outside of the movie.

    Any ideas?
     
  2. jproberts macrumors newbie

    Joined:
    Dec 5, 2007
    #2
    Hey. I'm running into the same problem. I've scoured the net looking for a clue to what's causing this and haven't been successful. Have you found a solution?

    Thanks.
     
  3. jproberts macrumors newbie

    Joined:
    Dec 5, 2007
    #3
    Found a solution...well a temporary one at least...

    Hey. I just found a temporary solution. I went back to the iWeb tips and tricks site (http://web.mac.com/catucker/InsideOutside/iFrame.html) and decided to try adding an iFrame into my iWeb page instead of embedding the swf directly. I just linked it up to the .swf movie I already uploaded to my idisk folder and it works great. The flv plays and I have my controller back. Still no clue as to why it doesn't work when you embed the swf file but this works for me.
     
  4. bbydon thread starter macrumors 6502a

    Joined:
    May 18, 2005
    Location:
    ATL
    #4
    Im gonna try it this weekend, but wow, how did u figure that out.
    thanks a ton!
     
  5. jproberts macrumors newbie

    Joined:
    Dec 5, 2007
    #5
    No problem! I had actually given up on finding a solution to it and was just going to add a simple "replay" button. I was just checking out some of the other tips on that site and when I read about the iframe one. I figured that I might as well try it and see. Sure enough, it worked like a charm. I'd still like to find out why the controller doesn't show up when you embed a swf movie though. Anyway, I'm glad that there's a work around for this. Hope it works for you this weekend. If you have any questions, let me know and I'll be happy to walk you through what I did. Have a great weekend!
     
  6. SrWebDeveloper macrumors 68000

    SrWebDeveloper

    Joined:
    Dec 7, 2007
    Location:
    Alexandria, VA, USA
    #6
    I hate to add this, but maybe that's not the best solution. The IFRAME tag is not supported through all browsers, especially older ones. It's a proprietary MSIE convention.


    I suggest you create the .swf/.flv and all controls using a commercial utility that produces good code, cross browser compatible, with excellent features and controls to enhance the user's control interface.

    I detailed a PC and Mac solution in another post you might find useful to your situation:

    http://forums.macrumors.com/showthread.php?t=393020#8

    -jim
     
  7. Sayer macrumors 6502a

    Sayer

    Joined:
    Jan 4, 2002
    Location:
    Austin, TX
    #7
    I found this working on a programming job recently involving Flash/JavaScript:

    http://blog.deconcept.com/swfobject/

    Basically this is a pre-made JavaScript library that helps to embed Flash content in a web page. A *lot* of sites now use SWFObject, and I can understand why; it is really easy to add a flash object with it.

    I honestly don't know about using JavaScript libraries with iWeb, so you are on your own for that part.
     
  8. jproberts macrumors newbie

    Joined:
    Dec 5, 2007
    #8
    Hi Jim and Sayer. Thanks for the additional info! I'm an animator and illustrator and only know enough about coding to be dangerous. :) I'll check out those flash optimizers and that javascript code later today. Thanks again!

    jp
     

Share This Page