| Peter Blumenthal 2006-03-27, 6:44 pm |
| > on(press){
> //gotoANDplay ("scene x", frame)
> gotoANDplay("scene 4", 1)
> }
This will cause you problems. Firstly, this is targeting the timeline of the
movieclip with the onPress handler not the movie, secondly scene names are
unreliable when using gotoAndPlay from a movieClip.
You'd be better to give the frame in the scene you wish to go to a name
(select the frame in the timeline, enter a name in the 'Frame' box in the
properties panel) and target that using the relevant scope from your MC. If
the mc is on the _root timeline, you would use:
b1.onPress = function(){
this._parent.gotoAndPlay("myFrameName");
}
Where "myFrameName" is the name assigned to the frame you wish to go to.
--
-------------------------------
Remove '_spamkiller_' to mail
-------------------------------
|