peteragentweb
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by peteragentweb
-
-
Hi,
Is it possible to affect a motionBlur to a DiplayObject which properties tween with different velocities ?
This works, but all the properties tween with the same velocity :
TweenLite.to(logo, 1.5, {x:35, y:ls.stage.stageHeight -17.5 , width:70 , height:35, ease:Quint.easeInOut, motionBlur:{strength:3, quality:3}});
but when i applicate different tween velocity, the tweens don't work anymore :
TweenLite.to(logo, .3, {width:70 , height:35, ease:Quint.easeInOut, motionBlur:{strength:3, quality:3}}); TweenLite.to(logo, .5, {x:35, ease:Quint.easeInOut, motionBlur:{strength:3, quality:3}}); TweenLite.to(logo, .7, {y:ls.stage.stageHeight -17.5, ease:Quint.easeInOut, motionBlur:{strength:3, quality:3}});
Is there something wrong in my code ?
EDIT : ok, sorry for this i solved my problem : I just had before tweening :
OverwriteManager.init(OverwriteManager.AUTO);
and now : it works fine : Great Pluggin !
-
Hi,
I'm testing some of the stuff i purchased yesterday. I'm very glad, but i've got one question :
Is it possible to use motion blur pluggins with dynamicTween and LiquidArea ?
I try this and it doesn't seem to work :
package com.peteragentweb.atelierblick.labo { import com.greensock.plugins.TweenPlugin; import com.greensock.easing.Quint; import com.greensock.layout.AlignMode; import com.greensock.layout.ScaleMode; import com.greensock.layout.LiquidArea; import com.greensock.plugins.MotionBlurPlugin; import flash.events.MouseEvent; import com.greensock.layout.LiquidStage; import flash.display.StageQuality; import flash.display.StageScaleMode; import flash.display.StageAlign; import flash.display.MovieClip; /** * @author peteragentweb */ public class LayoutTest extends MovieClip { private var ls : LiquidStage ; private var area : LiquidArea ; private var area2 : LiquidArea ; private var menuIsDeployed : Boolean = false; public function LayoutTest() { stage.align = StageAlign.TOP_LEFT; stage.scaleMode = StageScaleMode.NO_SCALE; stage.quality = StageQuality.BEST; TweenPlugin.activate([MotionBlurPlugin]); var mc : MovieClip = this["mc2"]; mc.buttonMode = true; mc.addEventListener(MouseEvent.ROLL_OVER, over); mc.addEventListener(MouseEvent.ROLL_OUT, out); var mc2 : MovieClip = this["mc"]; ls = new LiquidStage(this.stage, 900, 600, 900, 600); area = new LiquidArea(this, 0, 570, 900, 300, 0x0000FF); area.attach(mc, ScaleMode.STRETCH); area2 = new LiquidArea(this, 0, -550, 900, 550, 0xEEEEEE); area2.attach(mc2, ScaleMode.HEIGHT_ONLY, AlignMode.LEFT, AlignMode.CENTER ); } private function over(e : MouseEvent) : void { if(!menuIsDeployed) { area.dynamicTween(.4, {y:ls.stage.stageHeight - 300, ease:Quint.easeInOut, onComplete:complete, motionBlur:{strength:3, quality:3}}); area2.dynamicTween(.441, {y:-area2.height + 30, ease:Quint.easeInOut, motionBlur:{strength:3, quality:3}}); } } private function out(e : MouseEvent) : void { if(menuIsDeployed) { area.dynamicTween(.41, {y:ls.stage.stageHeight - 30, ease:Quint.easeInOut, onComplete:complete, motionBlur:{strength:3, quality:3}}); area2.dynamicTween(.41, {y:10, ease:Quint.easeInOut, motionBlur:{strength:3, quality:3}}); } else { } } private function complete() : void { menuIsDeployed =!menuIsDeployed; } } }
have you any suggestion, ?
Thank You.
*EDIT : perhaps, the motion doesn't affect tel liquidareas?
SOLVED-dynamicTween-LiquidArea-MotionBlurPlugin-problem
in TransformManager (Flash)
Posted
Thank tou for your answer and your explanations.
I decided to simply pin my object to "motionBlur" them.
It works fine.