0
Current browser URL and if conditionals
New Here
,
/t5/animate-discussions/current-browser-url-and-if-conditionals/td-p/7070302
Apr 20, 2015
Apr 20, 2015
Copy link to clipboard
Copied
hi everybody,
i'm kind of new in ActionScript and i'm wondering if its possible to use the URL of the page my swf in embeded to activate some conditionals.
i was thinking of using some conditionals like:
if (URL ="https://example.com/1"){
gotoAndStop(2)
}
else if (URL ="https://example.com/2"){
gotoAndStop(3)
}
else if (URL ="https://example.com/3"){
gotoAndStop(4)
}
is there a way to archive this?
TOPICS
ActionScript
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
LEGEND
,
LATEST
/t5/animate-discussions/current-browser-url-and-if-conditionals/m-p/7070303#M152118
Apr 20, 2015
Apr 20, 2015
Copy link to clipboard
Copied
See the following article for some options...
https://circlecube.com/2010/12/access-the-html-page-url-and-swf-path-from-flash-with-as3/
and try searching Google for others using terms like "AS3 get page URL"
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

