how can i use a component twice in the same movie clip
Excuse me am a beginner in this as2
below is the script used:
PeelIt is a component.
/////////////////////////////////////////////////1st frame contains the below:
PeelIt._visible = false;
PeelIt.init();
PeelIt.Peel();
///////////////////////////////////////////////// then on 2 different buttons:
on (release){
this._parent.PeelIt._visible = true;
this._parent.PeelIt.Stick();
}
and
on (release){
this._parent.PeelIt.Peel();
}
/////////////////////////////////////////////////
1st problem: i need this component to work when the swf loads instead of (on release),
2nd problem: i need to introduce several frames with different movieclips using the component, how can i do so.
thank you