-
Php Form
Hi, i want to create a flash with 3 buttons that when i click on each the same page that the flash is on will be reloaded and a PHP Variable will change
Can you please HELP me?
-
If you're using GET, you can use navigateToURL and have a unique URLRequest with each button.
From Adobe's Flash documentation,
function gotoAdobeSite(event:MouseEvent):void
{
var adobeURL:URLRequest = new URLRequest("http://www.adobe.com/");
navigateToURL(adobeURL);
}
linkButton.addEventListener(MouseEvent.CLICK, gotoAdobeSite);
Your code could be very similar to that, replacing the URL with http://yoururl.com?query=something
and creating 3 event listeners and probably a switch to handle the differing URLRequests
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
|