Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Help! my variables are being ignored :( |
| From: | mbain |
| Date: | Fri, 10 Sep 1999 07:40:21 +0100 |
Why do you use variables ??
Why dont you just tell the action of the button to "goto and play" or "goto and
stop" the frame you want to jump forwards or back to ???
That how I would have done it :o)
Michael Bain
"(A)bort (R)etry (I)nfluence with large hammer"
IBM Global Services, Tel external: 011 302 7234, Tel ext internal: 11120,
Cel.Phn: 082 926 1856
------> http://www.futuredynamics.co.za/cyberbaby/babym.html
Matt Glubb <matt
Please respond to flasher
To: flash mailing list <flasher
cc: (bcc: Michael Bain/South Africa/IBM)
Subject: FLASH: Help! my variables are being ignored :(
Hi all,
I'm having problems with setting and responding to variables in
flash. I have two buttons on the screen forwards and backwards. I
want flash to go to a scene depending on te value of the variable nav.
back button action:
On (Release)
Set Variable: nav = "01a"
Go to and Play ("01b_continue")
End On
next button action:
On (Release)
Set Variable: nav = "01c"
Go to and Play ("01b_continue")
End On
frame (01b_continue) condition:
If (nav = "01a")
Go to and Play (01a, "01a_content_intro")
Else If (nav = "01c")
Go to and Play (01c, 1)
End If
I need the variable nav to be global across all scenes in the whole
movie. There are no movieclips in the movie - only nested symbols.
I'm really tearing my hair out with this one :/ It just doesn't seem
to work. Almost tempted to embed the bloody thing in shockwave and
control it programmatically that way.....
tia,
matt.
matt glubb
________________________________________
co-founder
http://www.developmental.co.uk
tel/fax: +44(0)171738401
icq : 4830483
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

