Flasher Archive

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


Subject: Re: FLASH: Making variables work for me?
From: John Graham
Date: Wed, 12 Apr 2000 16:07:20 +0100


> John Graham wrote:
>> I was trying to set it up so it would just "go to the next frame" and play
>> the ending sequence of the first button pressed and at the end of the
>> sequence go to the variable of the button pressed... but I'm not having any
>> luck.

> DSG Wrote:
>
> I would do each button with this functionality:
>
> On press
> set go = XX
> //XX being the 1st frame of the separate intros
> go to the next frame
> end
>
> ok.. so it sets a variable then moves on to the next frame to do an
> 'ending sequence' for the intro... at the last frame of that (an
> actionscript in the frame):
>
> go to and play (go)
>
> then we see the "intro sequence" for that button's frame/section.
>
> well, if each button is now set to assign 'go' the value of it's 'intro
> sequence' we just build our 'ending sequence' in the next frame on, view
> it with the 'go to the next frame' and finally, at the end of that, it
> jumps to the intro of the pressed button (based on the variable go).


Yes, that does make sense, and actually I do have that logic in place and it
is working. I used the variable (button) as opposed to XX. What I'm trying
to do to it now is create some sort of If statement, say, if button 1 has
been pressed and is in the stopped state of that movie, and someone presses
button 1 again, it does not play the ending sequence and replay the entrance
sequence for that button. I wish there was an easy way to say something in
the MC, IF movie is on current frame X, then ignore on release of button Y.

Could I do that if I made the buttons, a button in a MC, and placed the MC
in the MC? Then tell the MC to .... Hmm.. don't think I can do that either.

I'm gonna go play with this some more.

John G


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml

Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Commenting out code..., Glen Rhodes

Replies
  Re: FLASH: Making variables work for me?, DSG

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