FEBFlip click Event

Posted by matloc 
FEBFlip click Event
January 22, 2009 12:28PM
Hi all,
first of all compliments for the prodcuts and the video tutorials. This is firts time I use flash and I wab able to create a cool flip effect in 20 minutes.
Only on thing I cannot understand from tutorial. I'm tryng to associate the mouseClick event to my FEBFlip button. So I associate the event with the instance of the button on the stage, but when I try it does not work. I think I have to associate it with the backFlip but don't know how to do it.

Thanks,
Mattia
Re: FEBFlip click Event
January 23, 2009 01:09PM
Thank you for your compliments.
To get this right: you are trying to make a button that flips when you roll over right? And on the same button you want to have a mouse down event. To do so you will have to drag the Fleff component on your movieclip, set up your button by selecting the button tab and choosing the rest of the parameters you want to use. After you've done that make sure the button flips when you roll over. If it does you will have to add the following code:

import com.jumpeye.Events.FLASHEFFEvents;
myEffect.addEventListener(FLASHEFFEvents.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(evtObj:FLASHEFFEvents): void {
trace("MOUSE DOWN on target object");
}

myEffect is the instance name of the component.
Hope this helps.
-Ionut



Edited 1 time(s). Last edit at 01/23/2009 01:12PM by Ionut.
Sorry, you do not have permission to post/reply in this forum.