this might be confusing so bare with me,
I have a movie clip containing five letters (which i made into movie clips) all moving on guide layers in different directions. what i going for is that when you role over one of the five letters they will stop where they are on the screen. ive tried the:
bla.onRollOver = function(){
this.stop();
}
bla.onRollOut = function(){
this.play();
}
but i might be placing the code in the wrong place, or maybe it doesnt even apply to what im trying to do…
thanks for your time.
please help
ActionScript Code:
[FONT=Courier New][LEFT]bla.[COLOR=#0000FF]onRollOver[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR][COLOR=#000000]{[/COLOR]
bla.[COLOR=#0000FF]stop[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}[/COLOR]
bla.[COLOR=#0000FF]onRollOut[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR][COLOR=#000000]{[/COLOR]
bla.[COLOR=#0000FF]play[/COLOR]COLOR=#000000[/COLOR];
[COLOR=#000000]}
//where bla is the instanceName
[/COLOR]
[/LEFT]
[/FONT]
like this ?
should i be placing the code in the actions layer or on the actual movie clip???
neither is working
it should be in a frame on the timeline.
You have to give the movieclips names…in this case “bla”
figured it out thanks so much