Flasher Archive

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


Subject: Re: FLASH:action script question
From: Robert Bleeker
Date: Mon, 22 May 2000 03:59:20 +0100

OOPs! slight change.

You have to check if the "buttonReleased" variable is NOT true, then you
might want to reset it for re-use.

Hi Ilia,

Try this:

On (Release)
Begin Tell Target ("/dastage")
Go to and Play ("play2")
End Tell Target
Set Variable "buttonReleased"=1
End On
On (Roll Over)
Begin Tell Target ("/dastage")
Go to and Play ("play1")
End Tell Target
End On
On (Roll Out)
If (NOT buttonReleased)
Begin Tell Target ("/dastage")
Go to and Play (2)
End Tell Target
End If
Set Variable "buttonReleased"=0
End On


Robert

Robert Bleeker
CADRE design
http://www.cadre.com.au
+61-2-96859889

-+-

on 22/5/00 10:20 AM, Ilia Pasymansky at iliap75athotmail [dot] com wrote:

> Hi!
> i have a simple script on the button
>
> On (Release)
> Begin Tell Target ("/dastage")
> Go to and Play ("play2")
> End Tell Target
> End On
> On (Roll Over)
> Begin Tell Target ("/dastage")
> Go to and Play ("play1")
> End Tell Target
> End On
> On (Roll Out)
> Begin Tell Target ("/dastage")
> Go to and Play (2)
> End Tell Target
> End On
>
> The question is: if button is pressed (on release) i don't want to go to the
> frame 2 anymore(on roll out) even when i roll out
> what is the trick.?
> Thank You
> Ilia


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer

Register before May 25 mention flasher and save 25%!! www.wacfest.com

Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH:action script question, Ilia Pasymansky

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