Applying Tween with code

Posted by user1538896 
Applying Tween with code
February 28, 2013 06:19PM
I recently purchased FlashEff 2.0 Premium but can't find any example of how to apply a tween just with code. Can you post an example please? If it could be in the context of the Document Class Example that would be great.

edit: When I say tween I mean "StrongEase" for example

thanks Derek



Edited 1 time(s). Last edit at 02/28/2013 07:23PM by user1538896.
Re: Applying Tween with code
March 21, 2013 12:04PM
Hi,

Just use FlashEff online panel for getting or setting the tween through code(copy code option). [www.flasheff.com]

eg var pattern0:FES3DCamSquareFocus = new FES3DCamSquareFocus();
pattern0.preset='14';
pattern0.squareWidth=35;
pattern0.squareHeight=40;
pattern0.frontSpace=250;
pattern0.backSpace=250;
pattern0.focusIndex=0;
pattern0.alphaPercentage=50;
pattern0.blurCoef=3;
pattern0.blurQuality=2;
pattern0.tweenDuration=1.5;
pattern0.tweenType='Elastic';
pattern0.easeType='easeOut';

fe.showTransition=pattern0
Sorry, you do not have permission to post/reply in this forum.