[thelist] Flash Question (Novice)

Christopher Joseph christopher at ideadesigners.com
Tue Dec 23 09:44:20 CST 2003


...and to gotoAndStop()

use the same as Jan mentioned but with the gotoAndStop() function.

You could also use the following on the main timeline:

btnMyButton.onRelease = function() {
	this.gotoAndStop("myFrameLabel")
	}




jan guichelaar [artmiks] wrote:

> almost, it like this :
> 
> // if you use frame labels
> 
> on (release) {
> _parent.gotoAndPlay("MyTargetFrameLabelName");
> }
> 
> // or if you use frame numbers
> 
> on (release) {
> _parent.gotoAndPlay(25);
> }

> ----- Original Message ----- 
> From: "Rob Smith" <rob.smith at THERMON.com>
>>On the third frame of my main scene I have a movie clip. Inside this movie
>>clip I have four buttons. If you click on one of the buttons, I want to
> 
> goto
> 
>>and stop at a particular named frame in my main movie scene. The
> 
> root/parent
> 
>>of the movie clip if you will.
>>
>>How do you accomplish this?
>>
>>Rob Smith
>>
>>
>>p.s. I've tried
>>
>>on (release) {
>>gotoandplay("_root.MyTargetFrame");
>>}
>>but since it cannot find that frame, it just replays the movie clip.


-- 
Christopher Joseph

-------------------
[Internet]
http://www.ideadesigners.com  [iseries & web technologies]
mailto: christopher at ideadesigners.com

[Telephone]
mobile:   +44 7966 003860
Office:   +44 1494 731814 ext. 832
Direct:	  +44 1494 731832

[Instant Message]
ICQ: 78019724
YIM = Josephc_98
MSN = christopher at ideadesigners.com



More information about the thelist mailing list