You can use FlashVars with Flash Player 6+ like so:
<cfoutput>
<object classid="">
<param ...>
<param ...>
<param name=FlashVars value="id=#URL.id#">
<embed flashVars="id=#URL.id#" ...>
</embed>
</object>
<cfoutput>
You can read a little more about flashVars here:
http://www.macromedia.com/support/flash/ts/documents/flashvars.htm
-Adam
> -----Original Message-----
> From: Andrew Santos [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 12, 2004 03:33 PM
> To: 'CF-Talk'
> Subject: Flash Remoting NOT accepting numeric URL variables
>
> Hello all,
>
> I have a .cfm page that has a Remoting-powered .swf file on it. The
> file works fine, but I need to filter the flash file based on a URL
> variable, say URL.id=2. The problem is, anytime ANY reference is made to a
> URL variable anywhere on the page, the file returns null values.
>
> For example, say I have a hyperlink in a page:
> http://www.testsite.com/gallery.cfm?id=2
>
> I want to have the galNum variable read that id number, and then pass
> it to the flash file so it knows which gallery to display
>
> <CFSCRIPT>
> FlashGalNum = StructNew();
> FlashGalNum.galNum=#URL.id#;
> </CFSCRIPT>
>
> Is there a way to pass that URL variable?
>
> Thanks in advance for your help.
>
>
>
>
>
>
>
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]