--- In [email protected], "rockmoyosa" <[EMAIL PROTECTED]> wrote:
> I'm am manually playing an effect on a HBox. The HBox moves but does
> not respond on an effectEnd or effectStart. Which it normally does
> when you set moveEffect in MXML. Why does the HBOX not listen!!?
> 
> 
> 
> ---------------Code AS----------------
> 
> public function moveMeRight(object:Object) {
>       var move = new mx.effects.Move(object);
>       move.xBy = -146;
>       move.playEffect();
> }
> 
> ------------- MXML --------------------
> <mx:HBox id="tile_hbox" x="7" y="7" horizontalGap="12"
> effectEnd="mx.controls.Alert.show('Boink');left_img.enabled =
> true;right_img.enabled = true; helper.setControls();"
> effectStart="right_img.enabled = false;left_img.enabled = false;">

Never mind. Forgot to set listener. move.listener = object.




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to