Copy link to clipboard
Copied
you need an object in your library with class name = Saf_Jan01_25.
if you think you do, and clicking that button has no effect, embed a screenshot showing that object's symbol properties panel:
Copy link to clipboard
Copied
do you have a question?
Copy link to clipboard
Copied
I'm hoping you can help me with my dilemma. I have 96 buttons that when one is clicked it load its corresponding movie clip from the library to stage and plays. If another movie clip is already playing, it is removed and the other one can load and play. The AS3 script below but there seems to be something wrong because no movie loads when button is clicked and also I'm not sure how to write the code to remove a movie if one is playing prior to a button click. Any help would be greatly appreciated. Thank you
btn_SAFER_25_1Jan.buttonMode = true;
btn_SAFER_25_1Jan.addEventListener(MouseEvent.CLICK, fl_MouseOverHandler2);
function fl_MouseOverHandler2 (e:MouseEvent):void {
var saf_Jan01_25:Saf_Jan01_25 = new Saf_Jan01_25();
this.addChild(saf_Jan01_25); saf_Jan01_25.x = 394;//sets the x position
saf_Jan01_25.y = 344;//sets the y position }
Copy link to clipboard
Copied
you need an object in your library with class name = Saf_Jan01_25.
if you think you do, and clicking that button has no effect, embed a screenshot showing that object's symbol properties panel:
Find more inspiration, events, and resources on the new Adobe Community
Explore Now