Hi,
Did you import flash.events.MouseEvent; ?
Assuming CS3 as your complier, did you store the caurina folder in the same
directory as the FLA or add the path to the caurina directory in the
classpaths in your actionscript settings?
-jonathan
On Mon, Aug 11, 2008 at 1: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
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
--
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders