Flash And Php Variables

Here Is My Problem,

I Am Trying To Make Buttons In Flash That Link To Other Pages On The Site. When You Press On A Button, It Will Take You To A Page Like main.php?page=thepage. (Which Also Has Flash)

I Am Trying To Use The Variable page (from The Url) In The Flash On The New Page. How Do I Get It From The Url, Into The Flash?

I Have Looked All Over But Cannot Find A Solution That Works.

Thanks,

Cory

Ok, Server-Side flash is an area I failed at, but hopefully these tutorials can help you…

http://www.kirupa.com/developer/actionscript/scripting.htm

Other than that, I can’t help much, sorry.

lv = new LoadVars();
myButton.onRelease = function() {
lv.page = "the page"
lv.send("main.php", "_self", "GET");
}

That Does It :slight_smile: Make Sure That The Button Has An Instance Name of myButtom :slight_smile:

Okay…That Worked…I Can Read Flash Variables In Php…How Do I Now Read That Php Variable Into Flash?