Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / November 2006



Tip: Looking for answers? Try searching our database.

Session Variables in Flash

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
natg504 - 29 Oct 2006 22:58 GMT
I'd like to create a website that displays a swf file.  Is there a  way I can
make it so that the content of the .swf file comes from session variables
(probably coldfusion).  So, if someone types in their name, I want to save
their name to the database & then later display their name in the swf file.  Is
this possible?  Are there any good examples online somewhere?

Thanks
derobinson - 02 Nov 2006 19:10 GMT
You can pass variables into a Flash movie two ways. Either use URL variables
appended to the SWF call (http://www.mysite.com/myMovie.swf?myVar=value) or use
FlashVars in the embed/object calls.

Either way, the variable(s) will be available to you at the _root level of the
movie onLoad (so you can just reference myVar in your AS--after the movie has
completely loaded--and you're good to go).

Hope that helps!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.