-
yo olorin.
how do you retrieve variables from php to flash (i know the other way around).
plus, how do you get the pop up browser when someone leaves your site.
please respond.
pak chooie unf.
-
Senior Member
to have a window pop up when someone leaves, you just use a javascript command "onUnload=dosomething()" which you place in the body tag.
To send and retrieve variables from php to flash and vica versa, just use:
_root.loadVariables("myphpfile.php", "POST");
on the php side, just print out the variables that you want to send to flash like:
echo "xpos=$xpos&ypos=$ypos";
that's basically it... really simple
Olorin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|