coldfusion flash integration:
Hello all, I've heard that you can attach session variables to the object/embed tag that displays your .swf in a coldfusion file. Can you show me the code to do this in coldfusion if say MYflash.sfw is the name of the embeded flash movie; the two session variables I want to pass in are #Session.test1# and #Session.Session2# and I want the values to be called Sample1 and Sample2 in flash, respectively. I know you can do this via components, but I wish to do it this way. Thank you very much in advance. ---Skotopia
I tried the following: <embed src="my.swf" width="550" height="400" autostart="true"> <PARAM NAME=Sample VALUE=#session.userName#> </embed> and created a dynamic text box in the flash movie displaying the variable Sample; but nothing showed up. Any help would be much appreciated. Thanks.
I got it to work; but using less than i read you needed. All i had was this: <embed src="ASdb.swf" FlashVars="UserName=#session.userName#" width="550" height="400" autostart="true"></embed> No Param tag or anything. Can anyone tell me if there is any problem with this; like it won't work on all types of browsers or whatever? Thanks.
Don't see what you're looking for? Try a search.
|