Welcome to WebmasterWorld Guest from 54.145.208.64

Forum Moderators: open

Message Too Old, No Replies

Retrieve php session variable into the action script of flash button

   
12:44 pm on Dec 1, 2008 (gmt 0)

5+ Year Member



Hi Everyone,

I am new to flash and I don't how to retrieve the posted php variable value into the action script of flash button.

This is the code I am using in my code

<object >
<param name="movie" value='Home.swf?id=<?php echo $_SESSION["ID"];?>'/>
<param name="quality" value="high" />
<embed src='Home.swf?id=<?php echo $_SESSION["ID"];?>' width="1024" height="135" align="top" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>
</object >

Flash button action script:

on(press)
{
getURL("../WMF/familypage.php","framefw");

}

so, how can I retrieve that posted variable value i.e. "id" into the action script of the flash button and which methods I have to use to get the "id" value into the action script.

So, please help me to overcome from this problem.

Thanks in advance.