PDA

View Full Version : Inputting Variables Into Flash Object



vectorloft
June 19th, 2007, 01:47 PM
Hello All,
I have a technical question about feeding variables into a flash object with either XML or through some sort of javaScript.

I have a simple flash file that I want to work like a tabbed navigation. I am looking for some sort of dynamic code that would feed a variable into my flash file and tell it what frame or marker to play when the web page loads.

For instance:
Page one will play Frame 1
Page two will play frame 5
And so on..

Any insight as to how I can accomplish this would be extremely helpful. Thank you in advance.

Cheers,
-MC

bigarth
June 19th, 2007, 02:03 PM
when you embed the flash object in your html you can pass variables to flash. for instance:

<EMBED src="movie.swf?activeTab=1"...

i believe this also works for flash cs3.

vectorloft
June 19th, 2007, 03:01 PM
Looking for a bit more detail than that...

bigarth
June 19th, 2007, 03:04 PM
i hope this will be able to provide all the detail you need

http://www.permadi.com/tutorial/flashQueryString/