Flash in iWeb

Discussion in 'Web Design and Development' started by jotade11, Aug 9, 2010.

  1. jotade11 macrumors regular

    Joined:
    Feb 2, 2009
    #1
    Hello everyone,

    I have just begun to learn to use Flash CS5, and I created a banner for my website using Flash for just a simple animation of two pictures moving into the page. I went through all the steps my little guide, Flash for Dummies ;), to create the .swf file. I uploaded it to the server and used This site as a guide for how to create a frame for it. When I tested it, the area was just white and when I right-clicked, it had two options in the dropdown menu: 1.) Movie not loaded... 2.) About Flash Player 10.

    Can anyone tell me how to incorporate the .swf file properly or give me the code I would need?

    Thanks so much!
     
  2. Ride9650 macrumors 6502

    Joined:
    Jun 29, 2007
    #2
    It looks like it should be working. Did you change the path here to where you put your .swf? If you did, did you try putting the full url to the file?

    Code:
    <param name="movie"  
    value="sample.swf" /> 
    If all else fails, you could try swfobject
    http://code.google.com/p/swfobject/wiki/documentation
     
  3. jotade11 thread starter macrumors regular

    Joined:
    Feb 2, 2009
    #3
    Hmmm I'm pretty certain I have substituted the correct elements into the code.

    I'll take a look at that link, but I must be doing something wrong haha.

    Thanks for your help
     
  4. jotade11 thread starter macrumors regular

    Joined:
    Feb 2, 2009
    #4
    Is it possible to mess up the Flash file itself, to make it not load or play properly?

    I didn't consciously change any settings that I understood to affect this, but it's possible I did something to it xD
     
  5. Ride9650 macrumors 6502

    Joined:
    Jun 29, 2007
    #5
    Code:
    <param name="movie" 
    value="/angerhoferforsenate.com/Flash/DL.swf" /> 
    that's a invalid path.

    did you try
    http://angerhoferforsenate.com/Flash/DL.swf
    or
    /Flash/DL.swf?

    As to whether or not flash files can get messed up, yes they can, but if there's an error somewhere you'll see a dialog box pop up stating the error so I think your file is fine.
     
  6. cosmokanga2 macrumors 6502a

    cosmokanga2

    Joined:
    Jan 7, 2008
    Location:
    Canada, where we live in igloos.
    #6
    This is what you need. I created a guide to add flash to iWeb here.

     
  7. jotade11 thread starter macrumors regular

    Joined:
    Feb 2, 2009
    #7
    Ooh, thanks so much! The iFrame worked! :)

    Thanks everyone for the help
     

Share This Page