Flasher Archive

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


Subject: RE: FLASH: Variable Dump
From: Paul Willoughby
Date: Fri, 14 Jul 2000 13:04:05 +0100

Hey Scott,

Richard's idea sounds pretty cool, but in effect your "hiding" the variables
instead of resetting them. The only way to completely reset a variable
within a movie is "this" = "". What I do if I have a lot of variables that I
need to reset at different points in the movie is set up a process clip.
This has 2 frames, the first is an empty keyframe with a stop action. The
second contains all the "this1" = "", "this2" = "" etc. Put this clip on
it's own layer in your movie, then at any point you want to reset the
variables you enter code sumink like this:

tell target (your process clips name)
play

All this does is save you writing huge amounts of code more than once.

Regards

Paul


-----Original Message-----
From: Robert Bleeker [rbleekeratcadre [dot] com [dot] au (mailto:rbleekeratcadre [dot] com [dot] au)]
Sent: 14 July 2000 05:21
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Variable Dump


Hi Scott,

Thing I do is create an empty MC on the main timeline and call it "global"
then whenever I set a variable I use:

Set Variable ("/global:someVariable")

You can use this from where ever you happen to action script. the to read
the variable all you have to do is "/global:someVariable" to get it, again
it doesn't matter where you are action scripting.

Now to do a complete dump all you have to do is go to a frame in the main
timeline that doesn't have the "global" MC (ie blank keyframe in the layer
of the "global" MC) and it will be completely empty.

Good luck

Robert


on 14/7/00 5:23 AM, Scott McDonald at scottmacatmorriscookbooks [dot] com wrote:

> i can load and unload a movie.
> i can load variables
> i can make variables
> is there a practical way to unload veriables without having to set
variable:
> "this" = ""
>
> i need a movie clip with sever (about 100) variables to start over without
> having all the choices, um, chosen... and without making a whole new
> instence of the movieclip... any suggestings?
>
> Echo


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Variable Dump, Echo
  FLASH:Psuedo 3D effect question, Dean Kerrigan

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