[ jesko78 @ 03.03.2011. 16:57 ] @
Poceo sam praviti sajt prateci tutorijal sa linka youtubei zakucao se u delu koji treba da zaustavi traku sa fotografijama kada je mis u poziciji preko njih. Dobijam poruku: TypeError: Error #1123: Filter operator not supported on type class flash.events.Event. at Untitled_fla::MainTimeline/frame2() at flash.display::MovieClip/gotoAndStop() at Untitled_fla::MainTimeline/buton2_clicked() kod na tom mestu izgleda ovako import flash.events.MouseEvent; stop (); function buton1_clicked (e:MouseEvent):void { gotoAndStop("page1"); } function buton2_clicked (e:MouseEvent):void { gotoAndStop("page2"); } function buton3_clicked (e:MouseEvent):void { gotoAndStop("page3"); } function buton4_clicked (e:MouseEvent):void { gotoAndStop("page4"); } buton1.addEventListener(MouseEvent.CLICK, buton1_clicked); buton2.addEventListener(MouseEvent.CLICK, buton2_clicked); buton3.addEventListener(MouseEvent.CLICK, buton3_clicked); buton4.addEventListener(MouseEvent.CLICK, buton4_clicked); Kod je pisan u AS 2.0, a ja sam koristio AS 3.0. Moze li sa, nekako izvrsiti konverzija iz AS 2.0 u AS 3.0? |