PDA

View Full Version : floating swf menu



walshy
09-13-2006, 02:33 AM
ok
so my plan is to create a menu system in flash. then float that swf file on a html page in the bottom right corner, and it will move down with you when you scroll down the page.

any in put would be appreciated

regards walshy

BLiZZaRD
09-13-2006, 05:25 AM
What have you tried, if anything? If nothing yet, where are you at in the menu creation?

walshy
09-14-2006, 07:24 AM
yeah i have created a basic menu in flash and i have tryed using
http://www.dynamicdrive.com/dynamicindex17/floatiframe.htm
but i cant get the file to show up in the ie window and i would like it to be see using firefox. which that script doesnt support

regards walshy

BLiZZaRD
09-14-2006, 09:28 AM
The easiest way would be to make your flash movie in a pop up window, and float that, although pop up blockers would most likely kill it.

You have your file done in Flash, so now you need to find a script that wil float any file in any browser. Then sub in the swf name for the file name in that script and be done. Twey or John would be more help in that area, you can try asking in "others" or the "javascript" boards about that script.

I will keep looking and see if I can find an internal JS function that will work on your site.

BLiZZaRD
09-14-2006, 09:39 AM
Your answer lies in CSS my friend, although I am no kind of expert in that.

You will need to create a nav li * holder in CSS and then embed your flash in the html with that div name that matches your nav li name. Using CSS to tell it to float, and align left, or whatever side, and go from there.

You can ask abou this in the CSS thread and should get a fairly simple and quick answer :D

walshy
09-15-2006, 03:58 AM
cheers mate thanks for the help

walshy
09-15-2006, 05:54 AM
hey blizzard
one last thing is it possible to have a transparent background when you export the swf file is there a way of dealing with it at all

regards Walshy

BLiZZaRD
09-15-2006, 07:47 AM
yes, and it is fairly easy. Note that it will only work in modern browsers though.

The exact list, if I remember them all from my dusty brain are: IE5+, Netscape 7+, Mozilla 1.1+, AOL and Compuserve. Also note the visitor must have Flash Player 6.0 or higher as well.

in your HTML page, open it in notepad or similar.

find your OBJECT tag and add:



<param name="wmode" value="transparent">


Then, find the EMBED tag and add:



wmode="transparent"


That should do it.