[COLOR=#000000][FONT=Arial]Please I am in hurry.[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]I have on scene five buttons and a movieClip. Iwant to load dynamically movieClips from the library in the movieClip after click on button (each button calls a movieClip).[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]the movieclip name is « container » and those are in library (01, 02 ,05)[/FONT][/COLOR]
[COLOR=#000000][FONT=Arial]I wrote these lines but doesn’t work.[/FONT][/COLOR]
btn_01.addEventListener([COLOR=#2B91AF]MouseEvent[/COLOR].CLICK, show_detail);btn_02.addEventListener([COLOR=#2B91AF]MouseEvent[/COLOR].CLICK, show_detail);btn_03.addEventListener([COLOR=#2B91AF]MouseEvent[/COLOR].CLICK, show_detail);btn_04.addEventListener([COLOR=#2B91AF]MouseEvent[/COLOR].CLICK, show_detail);btn_05.addEventListener([COLOR=#2B91AF]MouseEvent[/COLOR].CLICK, show_detail);[COLOR=#00008B]function[/COLOR] show_detail(e:[COLOR=#2B91AF]MouseEvent[/COLOR]):[COLOR=#00008B]void[/COLOR] { [COLOR=#00008B]var[/COLOR] gate=e.currentTarget.name.substr([COLOR=#800000]4[/COLOR]); container.addChild(gate) ;}[COLOR=#000000][FONT=Arial]What should I do please?[/FONT][/COLOR]