[Help] Linking scenes using buttons within a MovieClip - CS3 AS 3.0
im trying link series of buttons have created within movie clip scenes have created. code buttons along lines of:
sun_btn.addeventlistener(mouseevent.click, sungo);
function sungo(event:mouseevent):void {
movieclip(root).gotoandstop(1,"sun");
};
when testing code error:
argumenterror: error #2108: scene sun not found.
at flash.display::movieclip/gotoandstop()
at planets_mainpage_fla::mc_mainnav_4/sungo()
ive checked have named scenes accordingly , have, no other errors produced. apperciated
flash disagrees , flash correct.
check spelling/check case/check white space.
More discussions in ActionScript 3
adobe
Comments
Post a Comment