Home
> FlashEff 2.0
> Topic
Can't make showDelay to work with FETAlpha
Posted by dududucon
Can't make showDelay to work with FETAlpha August 04, 2010 09:00PM | Registered: 14 years ago Posts: 2 |
Hey Guys
ShowDelay doesn't work in my code. If I don't use effect.show() nothing happened. If I do use it, the effect starts right away. Any ideas?
Thx
fred
ShowDelay doesn't work in my code. If I don't use effect.show() nothing happened. If I do use it, the effect starts right away. Any ideas?
Thx
fred
package com.globalworks { import flash.display.MovieClip; import flash.text.TextField; import flash.text.TextFormat; import FlashEff2Code; import com.jumpeye.flashEff2.text.alpha.FETAlpha; public class test2 extends MovieClip { [Embed(source = '../Verdana.ttf', fontFamily = "Arial", mimeType = "application/x-font-truetype")] public static const verdana:String; public var pic_mc:MovieClip; public function test2() { var effect:FlashEff2Code = new FlashEff2Code(); addChild(effect); var pattern11:FETAlpha = new FETAlpha(); pattern11.preset=1; pattern11.groupDuration=0.1; pattern11.partialGroup='letters'; pattern11.partialPercent=100; pattern11.partialBlurAmount=0; pattern11.partialStart=50; pattern11.tweenDuration=0.7; pattern11.tweenType='Quadratic'; pattern11.easeType = 'easeInOut'; effect.showTransition = pattern11; var txtFormat:TextFormat = new TextFormat(); txtFormat.font = "Arial"; txtFormat.align = "center"; txtFormat.color = 0x0099FF; txtFormat.size = 40; var _linkLabelText2:TextField = new TextField(); _linkLabelText2.type = "dynamic"; _linkLabelText2.antiAliasType = "advanced"; _linkLabelText2.multiline = true; _linkLabelText2.embedFonts = true; _linkLabelText2.wordWrap = true; _linkLabelText2.autoSize = "center"; _linkLabelText2.width = 200 addChild(_linkLabelText2); _linkLabelText2.defaultTextFormat = txtFormat; _linkLabelText2.htmlText = "The quick brown fox jumps over the lazy dog"; effect.target = _linkLabelText2; effect.targetVisibility = false; effect.showAutoPlay = false; effect.showDelay = 10; effect.show(); } } }
Re: Can't make showDelay to work with FETAlpha August 05, 2010 07:52AM | Admin Registered: 15 years ago Posts: 547 |
Re: Can't make showDelay to work with FETAlpha August 04, 2013 09:29AM | Registered: 10 years ago Posts: 5 |
Sorry, you do not have permission to post/reply in this forum.