PDA

View Full Version : Can Flash read current page state?


rhorton
07-09-2001, 02:19 PM
Please Help!!! I am stomped again.

Is there a way that flash can read the current url of a html page and then play a specific scene in a swf file. (Basically play a specific scene when a specific url loads).

Or can flash read page states.
pageType=0 to 5
if its 0 play scene one
if its 1 play scene two etc.

Thanks Very much

Jesse
07-10-2001, 01:12 AM
not dynamically as far as I know, you can play around with this code:
myVar = _url; but that gives the URL of the flash file not the html. you could embed a different variable int he flash movie (see the 'passing variables around' tutorial) depending on what page it is.. but it would be hard to do dynamically...