Home
> FlashEff 2.0
> Topic
Problem with preset on effect blur
Posted by ninmorfeo
Problem with preset on effect blur November 03, 2011 06:46PM | Registered: 15 years ago Posts: 6 |
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
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 09:51AM | Admin Registered: 15 years ago Posts: 547 |
Re: Problem with preset on effect blur November 08, 2011 09:54AM | Registered: 15 years ago Posts: 6 |
Re: Problem with preset on effect blur November 08, 2011 11:40AM | Admin Registered: 15 years ago Posts: 547 |
Re: Problem with preset on effect blur November 08, 2011 12:49PM | Registered: 15 years ago Posts: 6 |
Re: Problem with preset on effect blur November 08, 2011 03:25PM | Admin Registered: 15 years ago Posts: 547 |
Re: Problem with preset on effect blur November 08, 2011 05:52PM | Registered: 15 years ago Posts: 6 |
Re: Problem with preset on effect blur November 09, 2011 07:40AM | Admin Registered: 15 years ago Posts: 547 |
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 08:31AM | Registered: 15 years ago Posts: 6 |
Re: Problem with preset on effect blur November 09, 2011 12:52PM | Admin Registered: 15 years ago Posts: 547 |
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?
I assume you are a premium plus user right?
Re: Problem with preset on effect blur November 09, 2011 01:10PM | Registered: 15 years ago Posts: 6 |
Sorry, you do not have permission to post/reply in this forum.