Flasher Archive

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


Subject: Re: FLASH: Quick Easy Variable Question,
From: John Graham
Date: Wed, 5 Apr 2000 23:04:58 +0100


> Yes, John, that is exactly how I set and retrieve variables I want to be
> "global" - I either put them on the main timeline in the main-level movie,
> or create a separate movie clip that is always present, and call them there.

That is a done deal. I read on the moock site that he/she also sometimes
creates a movie to store sub-routines, I'll have to look into figuring that
out.

> But I sure would not set a yes/no variable for each of your buttons. I
> would set ONE variable, call it "moviename" and then each of your buttons
> will change the value of that one variable to the name of the movie you want
> to load.
>
> So, button number one will set "moviename" = "movie1.swf"
> button number two, set "moviename" = "movie2.swf" etc.......
> Then at the end of your child movies, you just have to say "Load movie
> (moviename,3)" or however that syntax is...and you don't have all of those

Excellent Idea. I've been working on that now for awhile, but it's that
damn syntax that I keep getting wrong.


For example: **My button (on _level6) has

Set Variable: "_level0:beauty" = "products/nato/beauty.swf"


**My Child movie (on _level14) in the last frame has

Load Movie ("_level0:beauty", 14)
Stop
Comment: Stop just placed for debugging


And this doesn't work. I've tried,

Load Movie ("products/nato/beauty.swf", 14) //AND IT WORKED.

So I know I'm not getting Variable syntax correct. Here are some others I
tried with no sucess,

Load Movie ("_level0:(beauty)", 14)
and
Set Variable: "beauty" = "_level0:beauty"
Load Movie ("beauty", 14)


But w/o any luck. I know I have to missing something simple.

John


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpatchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Quick Easy Variable Question,, Cheri Harder

Replies
  Re: FLASH: Quick Easy Variable Question,, Cheri Harder

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