FORUMS: list search recent posts

play xml imported images at the end of an animation

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Brendan Lewis
play xml imported images at the end of an animation
on Feb 28, 2008 at 2:23:18 am

Hi coding gurus,
I'm hoping someone has an answer for me.

I have text menu btns that load different thumbnails (depending on the btn) via xml, you click on a thumbnail to load a full size pic into the content area.

Both the content area and thumbs have an animated box that they sit in.

My problem is they play at the same time the animation starts.
I want the animation to finish playing (it's 35 frames, empty first frame) then the picture i clicked on to load

currentThumb.onRelease = function(){
for(a=0;a < main_mc._totalFrames;a++){
main_mc.play();
startPreload(this.pic);
description_lv.load(this.desc);
}else{
startPreload(this.pic);
description_lv.load(this.desc);
}
}


I tried this, but the animation(main_mc) plays behind the pic (loaded into empty mc on stage). I need the preload up there to load after the main_mc has reached its end.

an help would be greatly appreciated


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]