Flasher Archive

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


Subject: Re: FLASH: PLZ Help - TellTarget & Variable
From: Roland Combes
Date: Tue, 3 Oct 2000 15:38:16 +0100

>>> the changing of the variable in the next frame that what doe's not
work... <<<

The changing of the variable a1 in the next frame of the movieclip does
work. However, since the variable is inside the Movie Clip "1a" it is local
to that movie clip. For rg, which is outside the movieclip, to be able to
access that variable you need to define the variable as rg =
movieclipInstanceName.a1, where movieclipInstanceName is the name of the
instance of that movie clip.

But.... Flash doesn't like instances that start with a number. So you can
either change the name of the instance to an something like "i1a" or you can
make your a1 variables more global by adding "_root" or "_parent" to the
start of the a1 variables inside your instance (i.e. _root.a1 = 1). It's
better practice though to name your instance with a letter to begin with. I
generally prefer using the letter i to indicate an instance.

One last thing, you need to change the Stop action in layer "Action for A"
to GotoandPlay(4) and move it a few frames to the right. Otherwise rg won't
update.

Even after all this the variable rg won't update immediately. If you want
an immediate update, set rg = a1 in the same script the sets a1 to a number.

Hope that helps.
- Roland Combes
ehealthLA.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: PLZ Help - TellTarget & Varia, Rami

Replies
  RE: FLASH: sorry for dumb question?, Bawol, Brian
  FLASH: PLZ Help - TellTarget & Variable, Rami
  Re: FLASH: PLZ Help - TellTarget & Varia, Randy Kato
  Re: FLASH: PLZ Help - TellTarget & Varia, Rami

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