Dear All,
How to invoke parallel transition effect or filter to object that create on
Base State without trigger event from another object ?
( It's mean when I run my apapplication, I point some effect to Object,
without click or rolling over my mouse )
I try to create on actionscript like that :
import mx.effects.*;
public var myZoomShow:Zoom;
public var myRotateShow:Rotate;
public var ZRShow:Parallel;
private function createEffect(eventObj:Event):void {
// Create a Zoom effect.
myZoomShow=new Zoom(panLogin);
myZoomShow.zoomHeightFrom=0.0;
myZoomShow.zoomWidthFrom=0.0;
myZoomShow.zoomHeightTo=1.0;
myZoomShow.zoomWidthTo=1.0;
// Initialize a Rotate effect.
myRotateShow=new Rotate(panLogin);
// Initialize a Parallel effect.
ZRShow=new Parallel();
ZRShow.addChild(myZoomShow);
ZRShow.addChild(myRotateShow);
ZRShow.play();
}
When I add createEffect(event) on <mx:Application creationComplete= ... /> I
get null reference..
Thanks