|
Mailing Lists
|
Home / Groups / ColdFusion Flash (CF-Flash)
Pass ColdFusion variable to FlashYou two win the "Keep a list alive" award! :-) .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com Use the query sting of the swf path in the embed/object code. For exaple here is a snippet <object width="100" height="100"> <param name="movie" value="myflashmovie.swf?fname=Mallory&lname=Woods"> <embed src=" myflashmovie.swf?fname=Mallory&lname=Woods" width="100" height="100"/> </object> Those name/pair values get automatically imported into the flash player. Hello all, I'm a flash newbie and I have a quick question. I have some code that I need to pass a CF variable to flash. Please forgive my mix of CF logic to flash. Essentially, there is a line in the action script that is public static const POST_URL:String = 'http://www.site.com/x/index.cfm'; I think we would need to do something like this: public static const POST_URL:String = ' http://www.site.com/x/index.cfm?id=VARIABLE_NAME'; Thanks in advance, Mallory Woods |
May 18, 2013
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||