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

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Hello all,
Mallory Woods
10/18/10 10:01 A
You two win the "Keep a list alive" award! :-)
Bobby Hartsfield
10/18/10 07:02 P
Ha, I'll take 2nd place, Mal can have first!
Tyron Foston - Yahoo.com
10/18/10 09:53 P
First post and I win! w00t!
Mallory Woods
10/19/10 08:58 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mallory Woods
10/18/2010 10:01 AM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tyron Foston - Yahoo.com
10/18/2010 01:58 PM

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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Tyron Foston - Yahoo.com
10/18/2010 09:53 PM

Ha, I'll take 2nd place, Mal can have first! 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

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Mallory Woods
10/19/2010 08:58 AM

First post and I win! w00t! Thanks for the advice. We have something working now. On Mon, Oct 18, 2010 at 9:53 PM, Tyron Foston - Yahoo.com <tfoston@yahoo.com ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-flash

May 25, 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