View Full Version : check page URL
demonVapor
10-26-2008, 11:58 PM
Is there a way to check the current URL of the HTML page the flash file is on? I want to be able to check the URL and then create a series of if else statements that control different movie clips based on what it returned.
Thanks
D
raydowe
10-27-2008, 09:59 PM
I don't think there is anything built directly into flash, but you could use javascript.
Javascript can get the page address and store it in a variable. That variable can then be passed into flash as an object using flashvars.
have a look here (http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16417)
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.