...

View Full Version : mouse hover AS3



dantes
06-09-2009, 11:00 PM
Hello

I have a client that is looking at some before/after photo effects at www.alevelfx.com and wishes to have the same thing done to some of his photos. I know how to make an object follow the mouse in AS3 but not really sure how to apply this type of effect to accomplish what he wants. Anybody have an idea? Thanks in advance

gnomeontherun
06-09-2009, 11:20 PM
http://edutechwiki.unige.ch/en/ActionScript_3_event_handling_tutorial

This will help figure out the events. In the example, the event probably triggers the movieclip to jump a frame or causes it to change a box color for example.

dantes
06-10-2009, 12:01 AM
Thanks for the link but it doesn't really explain anything on that site

gnomeontherun
06-10-2009, 09:47 AM
It talks about events with mouses, listeners, and provides some links. I can't write the code for you as I don't know exactly how the event should occur.


function clickHandler(event:MouseEvent):void {
// do stuff
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum