your transitions are spelt wrong - they should be "linear" - could be that
a On Mon, Aug 11, 2008 at 12:57 PM, Shane Deguara <[EMAIL PROTECTED]>wrote: > > OK i have been trying out an Advanced aftereffect button tutorial from > gotoandlearn.com but > i am having problems with it i have add the custom code and wrote the > code just like in the tutorial plus downloaded the tutorial file now i > get an error from both files the one i made and the one i downloaded > from the site but they are not the same for the one i get from the one > i made is "The class or interface 'MouseEvent' could not be loaded. > function butt_ROLLOVER(e:MouseEvent):void" and i receive these errors > from the other one "1172: Definition caurina.transitions could not be > found. import caurina.transitions.*;"(i receive this error twice) > "1120: Access of undefined property Tweener. Tweener.addTween(ticket, > {_frame:22, time:0.5, transitions:"liner"});" Now i am using Flash CS3 > and it is in a Actionscript 3.0. > > So if anyone knows what is wrong here could you please tell me. > this is the code i am using on both buttons: > import caurina.transitions.*; > > butt.addEventListener(MouseEvent.ROLL_OVER, butt_ROLLOVER); > > function butt_ROLLOVER(e:MouseEvent):void > { > Tweener.addTween(ticket, {_frame:22, time:0.5, > transitions:"liner"}); > } > > butt.addEventListener(MouseEvent.ROLL_OUT, butt_ROLLOUT); > > function butt_ROLLOUT(e:MouseEvent):void > { > Tweener.addTween(ticket, {_frame:0, time:0.5, transitions:"liner"}); > } > > Can someone help me please > > _________________________________________________________________ > Win a Nokia E51 with mobile Hotmail SMS alerts > > http://www.livelife.ninemsn.com.au/compIntro.aspx?compId=4589_______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders