MovieClip(scrollpane.content).gotoAndStop(2);
i need main swf tell swf b (swfb scrollpane content or source) gotoandstop @ frame 2 doesn't communicate.
here code on frame 2 in swfb:
to better visualise doing; swfa website lots of pages, swfa has 1 page* holds scrollpane, inside scrollpane swfb flplayback (*this page tv page). when exit tv page page on website tv must stop. swfb has flplayback on frame 1, frame 2 blank (no tv).
here code on main swfa:
function xbutton (e:mouseevent):void {gotoandstop("p1");movieclip(sp.content).gotoandstop(2);}
button.addeventlistener (mouseevent.click, xbutton);
button.addeventlistener (mouseevent.click, xbutton);
here code on frame 2 in swfb:
stop();
soundmixer.stopall();
soundmixer.stopall();
to better visualise doing; swfa website lots of pages, swfa has 1 page* holds scrollpane, inside scrollpane swfb flplayback (*this page tv page). when exit tv page page on website tv must stop. swfb has flplayback on frame 1, frame 2 blank (no tv).
ps: code in swfb works fine independently! know because tested adding button (when pressed goes frame 2 , code stop tv).
anyone?
More discussions in ActionScript 3
adobe
Comments
Post a Comment