Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: variables...please help
From: Jim Warwick
Date: Sat, 19 Aug 2000 16:16:11 +0100

hey flashers.

i'm not very advanced in flash, but i'm trying to expand my horizons. i'm
working with variables in 2 places on my site but neither is working. i
have a movie clip on the main timeline with several buttons in it. when
each button is clicked it sets a variable and it goes to a certain frame and
plays the movie clip. here's the syntax for each button

On (Release)
Set Variable: "prof"="button1" (other buttons are "button2", "button3",
etc.)
Go to and Play "35"
End Release

Then when the movie clip is done playing, i have a frame action on it that
stops the movie and has an if statement saying basically if button1 was
pressed load movie "movie1", if button2 was pressed load movie "button2"....

here's the syntax

Stop
If (prof="button1")
Load Movie "button1.swf,1)
Else If (prof="button2"0
Load Movie "button2.swf,1)
...

the point of this situation is just so i can get the movie clip to finish
playing before the swf gets loaded into place. this is not working for some
reason. no, matter what button i press it always loads movie "button1.swf"
(or whatever the first condition is in the if statement). if anyone knows
a better way to do what i am trying to do, please help. i've spent WAY too
much time running around in circles on this problem. Thanks in advance.

Jim
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: variables...please help, V�ctor Vill�n
  Odp: FLASH: variables...please help, axel

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]