found fix to using flash in iWeb
Hey there.
I have finally finished up my homepage, and have tried to make a flash banner for it .
To that I have following problems. When I'm working in iWeb ,how can I then add a flash movie to my welcome page ?? I have added a picture at the moment, but want's to replace it which a flash banner..
Have published the flash to a html and swf file.
Can anyone help me here.. ??
Easy way to add Flash to iWeb
Flash SWF and FLV Files in iWeb
Create a folder in your "iDisk/Web/Sites folder".
Name it "flash".
Copy mediaplayer.swf file into the newly created iDisk folder flash. this is a media player which will provide a player menus for movie
Copy YourFlash.swf file into the newly created iDisk folder flash.
Go to the page where you want the file to play.
Copy the code below.
<embed src="http://web.mac.com/Your_iDisk/flash/mediaplayer.swf"
width="320"
height="240"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="width=320&height=240&autostart=true&repeat=true&file=http://web.mac.com/Your_iDisk/flash/YourFlash.swf" />
Select HTML Snippet from the Insert menu.
Paste the code in the HMTL Snippet
Alter your idisk name... and name of the SWF file in the code.
http://web.mac.com/Your_iDisk/flash/mediaplayer.swf is a mediaplayer which will provide a palyer menu such as play and stop buttons.
320 is a Width of your flash file
240 is a Height of your flash file
http://web.mac.com/Your_iDisk/flash/YourFlash.swf is a Your iDisk, name of your new folder (flash), and name of your flash SWF or FLV file.
autostart=true is a autostart option, you can disable them by setting to autostart=false
repeat=true is repeat option allows you to repeat movie, you can disable them by setting to autostart=false
Click “Apply” and save your page.
Publish it and enjoy.