Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Remembering variables after leaving a swf |
From: | Jurus |
Date: | Fri, 7 Apr 2000 02:44:34 +0100 |
I found the problem.
The action::
> AT FRAME ONE:
>
>
> If (html = 1)
> Go to and Stop (149)
> Else
> End If
>
The "Control: Go to and Play" needs to be checked. I thought that it
was something simple.
Thank you everyone for your help and bandwidth.
Sincerely,
jurus
<< do you mean something like a 'backtrack' button in a flash mc? yes, that's
also something i'm looking for to place it into a web menu (flash) and have
users click on a back-track button which records the url's......
Something like that. This is the ultimate goal:
+ The user enters the site
+ The animation plays and stops at the end
+ The user presses a button which goes to an HTML link
+ When they hit back it needs to go to an identical swf without the
animation
+ When they hit back again, or when they re-access the site, the animation
should start from the beginning. Then the cycle should be repeated.
It was suggested in a previous post that the actions (listed below) would
solve
the problem, and it seems very logical:
+ set a variable before getting the html link (set variable html=1),
+ then in the 1st frame of the whole animation check this variable to see if
it is equal to 1.
+ If it is, jump to the static frame.
+ Then, in this frame reset the variable and go on.
But for some reason it is not working. I am thinking that it has to be
something
very simple, or that the actions or variables are not written correctly.
> ON THE BUTTON THAT LOADS THE HTML LINK:
>
> On (Release)
> Set Variable: "html" = 1
> Get URL ("http://www.xxx.com/page.html")
> End On
>
>
>
> AT FRAME ONE:
>
>
> If (html = 1)
> Go to and Stop (149)
> Else
> End If
>
>
>
>
> ON THE STATIC FRAME (149)
>
>
> Stop
> Set Variable: "html" = 0
>
>
>>
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]