what are you trying to achieve with this anyhow? a drop down menu type
of system or what?
thanks for the help. If you say it can never work, then I assume it can
never work... I'll do a little rethinking as you suggest and use the
oldstyle buttons where needed.
Ben
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy
Johnston
Sent: maandag 20 maart 2006 1:41
To: Flashcoders mailing list
Subject: Re: [Flashcoders] movieclip actions not working
ben, you cannot have a button inside another button...
That is why your code wont work.
paste this over your current code
m1.onRollOver = function ():Void
{
this.gotoAndStop (20);
};
m1.onRollOut = function ():Void
{
this.gotoAndStop (1);
};
m1.m2.onPress = function ():Void
{
trace("HI")
getURL ("http://www.cnn.com", "_blank");
};
as you will see the trace("HI") will never fire because the m1 button
movieClips hit area will expand to the total size of the movieClip.
rethink your setup, this will never work despite all the help in the world
have you tried that Byron, and does that work for you? I've tried it here,
and makes no difference at all...
strange that such a simple thing is so hard to solve...
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Byron
Canfield
Sent: maandag 20 maart 2006 1:18
To: [email protected]
Subject: RE: [Flashcoders] movieclip actions not working
Actually try this, instead.
m1.onRollOver = function(){
delete this.onRollOver;
//this.play();
this.gotoAndStop(20);
}
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com