| Litron 2005-05-25, 4:29 am |
| Hi all, thanks in advance for the readthrough.
I have created an animation that I hope to use as the header for my PHP
web-site template - I've included the "stop();" function in the final frame
of my Actions Layer. The problem that I have is that each time I click a
button link on the web-page (current page is refreshed with the new content)
the animation (logically) resets itself and plays through - is there a way
to disable the animation from playing with each button-click or page refresh
as this becomes tedious after awhile? Ultimately I would like to create
code to define and check a session variable that allows the animation to
play only the 1st time the page is loaded, then freeze the playhead on the
final frame of the animation until the web-page is closed. Then the
variable should reset and allow the animation to play the next time the page
is accessed then, again, freeze on the final frame of the animation until
the page is closed.
I haven't had much success with my google searches on this and am still
somewhat new to actionscript.
Any help would be appreciated.
Litron.
|