Flash in iWeb

jotade11

macrumors regular
Original poster
Feb 2, 2009
113
0
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!
 

Ride9650

macrumors 6502
Jun 29, 2007
352
0
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!
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
 

jotade11

macrumors regular
Original poster
Feb 2, 2009
113
0
Hmmm I'm pretty certain I have substituted the correct elements into the code.

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
width="1050" height="272"
id="Opening Logo">
<param name="movie"
value="/angerhoferforsenate.com/Flash/DL.swf" />
<param name="quality" value="Best" />
<param name="bgcolor" value="#ffffff" />
<embed src="/angerhoferforsenate.com/Flash/DL.swfl" quality="Best" bgcolor="#ffffff"
width="1050" height="272"
name="mymoviename" align="" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer">
</embed>
</object>
I'll take a look at that link, but I must be doing something wrong haha.

Thanks for your help
 

jotade11

macrumors regular
Original poster
Feb 2, 2009
113
0
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
 

Ride9650

macrumors 6502
Jun 29, 2007
352
0
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
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.
 

cosmokanga2

macrumors 6502a
This is what you need. I created a guide to add flash to iWeb here.

Adding the Gallery to your iWeb site:

The flash gallery is added using iframes. First, drag a HTML Widget from the iWeb inspector onto the page you want your gallery.

Then in the gray box that appears add this code:


Code:
Code:
<iframe src="http://YourSite.com/FlashGalleryFolder/index.html" width="900" height="650" scrolling="no" style="border:none;" frameborder="0"></iframe>
Change the YourSite path to the one that you noted earlier. You can also change the width, height, scrolling and style to your preference. It your gallery loads inside iWeb, the above code is correct.

It is crucial that your galleries files be on a server not on your local machine as otherwise they won't appear in iWeb when you are creating your site.


So there you have it, how to add a flash gallery to your iWeb site.
 

jotade11

macrumors regular
Original poster
Feb 2, 2009
113
0
Ooh, thanks so much! The iFrame worked! :)

Thanks everyone for the help
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.