all groups > coldfusion flash integration > february 2006 >
You're in the

coldfusion flash integration

group:

How do I obtain a URL variable in actionscript?


How do I obtain a URL variable in actionscript? YogeshM
2/23/2006 6:00:24 PM
coldfusion flash integration:
Hi,

I'd be very grateful if somebody could please help me with this issue. Here is
the situation:

Let's say I've got the following employee_attendance.cfm?empid=#employee_id#

In the file employee_attendance.cfm, I'm using flash forms, hence actionscript.

How do I obtain the value of empid from the URL in actionscript?

I know in CF you obtain it from #url.empid#, but what is the equivalent using
actionscript in Flash forms?

Thanks and regards,
Yogesh Mahadnac
Re: How do I obtain a URL variable in actionscript? doug777
2/25/2006 12:00:00 AM
Just wrap your actionscript block in <cfoutput></cfoutput> tags and CF
will convert #url.empid# to its value before the actionscript is compiled.

AddThis Social Bookmark Button