List Info

Thread: RE: Resetting a button




RE: Resetting a button
country flaguser name
United States
2007-03-20 18:44:06
Thanks, Helmut. I tried a few things, and found that adding
an
onReleaseOutside() function fixed the behavior. The only
problem is that
now the button doesn't respond to the rollover at all
(though click
works fine).

I'll see if the client accepts that behavior. It seems
reasonable--it's
very vertical, for the company's sales force.

Cordially,

Kerry Thompson

-----Original Message-----
From: flashnewbie-bounceschattyfig.figleaf.com
[mailto:flashnewbie-bounceschattyfig.figleaf.com] On
Behalf Of Helmut
Granda
Sent: Tuesday, March 20, 2007 6:55 PM
To: Flashnewbie Mailing List
Subject: Re: [Flashnewbie] Resetting a button

You can add an action to the MovieClip that is overlaying
your Button
like
this:

movieClip.onRollOver = function() {
//do nothing;
}

this will trigger the rollOut from the button below. You can
also use
the
Delegate class but this should be enough if all you want to
do is
trigger
the action...

...helmut

On 3/20/07, Kerry Thompson <kerrymagic-hour.com> wrote:
>
> Is there any way to reset the state of a button via
ActionScript?
>
>
>
> I have an old movie that, for historical reasons, has a
button in a
> movie clip. When you click it, t gets blocked by a
popup movie clip,
so
> the popup gets the RollOut, leaving the movie stuck in
the Down state.
>
>
>
> I could go into more detail, but you'd get really,
really bored.
>
>
>
> Cordially,
>
>
>
> Kerry Thompson
>
>
>
> _______________________________________________
> Flashnewbiechattyfig.figleaf.com
> To change your subscription options or search the
archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashnewb
ie
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.c
om
>
_______________________________________________
Flashnewbiechattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashnewb
ie

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om
_______________________________________________
Flashnewbiechattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashnewb
ie

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )