I’m creating an image gallery where i could have anywhere between 0-12 images import via external data(most likely xml).
I’ve created a container for an image which is just a movieclip that holds a movieclip with some basic tween. -
whenever the movieclip plays it works fine but the first frame displays throughout the whole tween… e.g small box in first frame, 2nd frame begin tween --> increase box size --> stop here. the box in the first frame doesn’t remove once the tween starts.
actionscript is as follows (main timeline)
var imgContainer:MovieClip;
imgContainer.createEmptyMovieClip(“instanceName”,getNextHighDepth());
instanceName.attachMovie(“linkageName”,“newName”,getNextHighDepth());
actionscript for the movie clip with tween is:
stop();
this.onRollOver = function(){
this.gotoAndPlay(2);
}
any help appreciated.
cheers