House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Flash (CF-Flash)

Pass ColdFusion variable to Flash

Author:
Bobby Hartsfield
10/18/2010 07:02 PM

You 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


Search cf-flash

May 18, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
       1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31   

Designer, Developer and mobile workflow conference