buttonMode=true not working with movieclip with flashcode inside

Posted by cgayton 
buttonMode=true not working with movieclip with flashcode inside
November 05, 2010 05:40PM
I do a roll_over roll_out filter effect like that :

import com.jumpeye.flashEff2.filter.aura.FEFAura;

var myEffect:FlashEff2Code = new FlashEff2Code();

var fireFilter:FEFAura = new FEFAura();
fireFilter.shadowColor = 0xFF3300;



function addeff():void
{
myEffect.addFilter(fireFilter);
this.addChild(myEffect);
myEffect._targetInstanceName = "txt";
txt.visible = true;*/
}

function removeeff():void
{
myEffect.removeFilter(fireFilter);*/
}




--> it works fine but the buttonMode = true doesnt work

Even if i create a transparentbox inside this movieclip and buttonmode=true this box, it doesnt work

any ideas ?
Re: buttonMode=true not working with movieclip with flashcode inside
November 09, 2010 02:27PM
Why exactly you want to set the buttonMode to true and on what? on flasheff or on the target?

Thanks.



Edited 2 time(s). Last edit at 11/09/2010 02:35PM by florodebat.
Re: buttonMode=true not working with movieclip with flashcode inside
November 10, 2010 12:17AM
Thanks for replying.

My MovieClip is a text. It is cliquable (I added a MouseEvent.CLICK on it), in addition it have a RollOver / RollOut filter effect (the flash eff code I posted).

I want the ButtonMode = true on this MovieClip for having the finger with the hand on it, not the simple arrow.

It looks like when you do the flasheff filter, it creates a bitmap ABOVE all (above all layers of this clip), so the buttonmode is not working, even if you create a transparent box inside this MovieClip, on a layer above the text and do buttonmode=true on it (it works outside of the effect filter aera, but not where the filter is)

The only way i found is to create a transparent box above my MovieClip on the main timeline, and to applying the buttonmode=true on this transparent box (and assigning event listeners to this box btw...).

Is there a better solution ?
Re: buttonMode=true not working with movieclip with flashcode inside
November 10, 2010 07:51AM
Try to set the useHandCursor property on the flasheff, myEffect.useHandCursor=true (this will only work if the flasheff target is already set).
Re: buttonMode=true not working with movieclip with flashcode inside
November 13, 2010 04:18PM
kneo Wrote:
-------------------------------------------------------
> Try to set the useHandCursor property on the
> flasheff, myEffect.useHandCursor=true (this will
> only work if the flasheff target is already set).

Thanks a lot, it works !
Re: buttonMode=true not working with movieclip with flashcode inside
January 30, 2016 09:24AM
You can also target your ads to be seen by those with specific likes, and by those who like certain pages. most views youtube
Sorry, you do not have permission to post/reply in this forum.