Hi All,

Can someone tell me how to set 
effects(mouseOver,mouseOverEffect,mouseOut,mouseOutEffect,mouseUpevents) to 
createChild().Below line is not working(and giving no compile errors). Checked 
several docs. But found nothing helpful.

var img=target.createChild(mx.controls.Image,"", 
                          {source:img23, x:9, y:2,
                          mouseOverEffect:"myZoom",
                          mouseOver:"popToTop(event.target)", 
                          mouseOverEffect:"myZoom",
                          mouseOut:"restore(event.target)",  
                          mouseOutEffect:"cut", 
                          mouseUp:"doubleClickDestroyChild(event)"});


P.S.
What I want to do is to set effects to all createChild components
which are on the canvas.Is there any way to do this easily.

Thanks,
Prasad







------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
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