Question
same movieclip in consecutive frames
I have an empty movieclip with this code attached to it.
class com.mcTakePicture extends MovieClip{
//*****************************
// public functions
//*****************************
public function mcTakePicture() {
init();
}
//*****************************
// end
//*****************************
// getters and setters
//*****************************
//*****************************
// end
//*****************************
// private functions
//*****************************
private function init():Void {
trace("init");
}
//*****************************
// end
}
The movieclip is placed in the first 3 frames of the timeline. Each in its
own keyframe. Basically when I run it I want it to output 'init' 3 times.
However it only does it once. If I take out the second movieclip it outputs
'init' twice like expected. Shouldn't init be called each time for each
movieclip? It seems that Flash is determining that since they are the same
to only runs once. I don't want to call an onEnterFrame function. Any ideas
on how to get around this. I'm outputting the file as Flash 6.
TIA
Jeff
class com.mcTakePicture extends MovieClip{
//*****************************
// public functions
//*****************************
public function mcTakePicture() {
init();
}
//*****************************
// end
//*****************************
// getters and setters
//*****************************
//*****************************
// end
//*****************************
// private functions
//*****************************
private function init():Void {
trace("init");
}
//*****************************
// end
}
The movieclip is placed in the first 3 frames of the timeline. Each in its
own keyframe. Basically when I run it I want it to output 'init' 3 times.
However it only does it once. If I take out the second movieclip it outputs
'init' twice like expected. Shouldn't init be called each time for each
movieclip? It seems that Flash is determining that since they are the same
to only runs once. I don't want to call an onEnterFrame function. Any ideas
on how to get around this. I'm outputting the file as Flash 6.
TIA
Jeff