homepage Welcome to WebmasterWorld Guest from 54.196.63.93
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Retrieve php session variable into the action script of flash button
Saint Honore

5+ Year Member



 
Msg#: 3797429 posted 12:44 pm on Dec 1, 2008 (gmt 0)

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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved