Problem with preset on effect blur
November 03, 2011 01:46PM
Hi,
i used this code to load the preset 2 of blur effect

import com.jumpeye.flashEff2.symbol.blur.FESBlur;
var effect:FlashEff2Code = new FlashEff2Code();
this.addChild(effect);
var hideEffect:FESBlur = new FESBlur();
hideEffect.preset = 2;
hideEffect.tweenDuration = 2;
effect.hideTransition = hideEffect;
effect._targetInstanceName = "prd1_mc";

but debug return me this message:
Symbol 'Symbol 3' level 'Level 5', frame 31, line 9, 1119: Access to a preset undefined property through a reference with static type com.jumpeye.flashEff2.symbol.blur: FESBlur.

where is problem ?

thanks
Re: Problem with preset on effect blur
November 08, 2011 03:51AM
The problem is that FESBlur effect doesn't contain a property preset, so an error is thrown.
Re: Problem with preset on effect blur
November 08, 2011 03:54AM
so cant i select the other sample of pannel blur trought AS3 ?
Re: Problem with preset on effect blur
November 08, 2011 05:40AM
Sorry but I'm not sure what you mean by that.
FESBlur effect don't have a property preset. If you are a premium plus user, you could easily see that when you go to edit settings(there won't be any preset property).
Re: Problem with preset on effect blur
November 08, 2011 06:49AM
So the problem is:

how can i select in action script the preset 2 in the FFS panel ?
Re: Problem with preset on effect blur
November 08, 2011 09:25AM
Are you talking about the predefined presets of an effect or about the property preset itself which is an entire different thing?
Re: Problem with preset on effect blur
November 08, 2011 11:52AM
yes, predefined presets... :)
Re: Problem with preset on effect blur
November 09, 2011 01:40AM
those are predefined presets(created by editing the settings of an effect) and not some property that you can change or set. In order to obtain the second predefined preset use the online panel ( [www.flasheff.com] ) to copy the code and then to paste it in your file.
Re: Problem with preset on effect blur
November 09, 2011 02:31AM
cant i call this in actionscript ?

i ask for this in my first post....
Re: Problem with preset on effect blur
November 09, 2011 06:52AM
You can get the code(what values were set for the effect's settings) for the second predefined preset of the blur effect if you will go to FlashEff online panel [www.flasheff.com] select the second preset for the blur effect and copy the code which you will need to paste in the actions panel of the fla file.
I assume you are a premium plus user right?
Re: Problem with preset on effect blur
November 09, 2011 07:10AM
oh ok...that was problem..i have this licence FE2 Premium - Unlimited...so i cant access to copy cod button from pannel.
now undestand the reason :\

thanks anyway
Sorry, only registered users may post in this forum.

Click here to login