Hi,
 
You can look at <mx:Image /> and <mx:Canvas /> tag for the same.
 
 
You can search the flexcoders archives(link is given in mail footer), there has been some discussions on the same.
 
To get you started, here is code a sample code without drag and drop thingy:
 
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
    <mx:Script>
        function startDragging()
        {
            //
        }
 
        function stopDragging()
        {
        }
    </mx:Script>
    <mx:Canvas width="640" height="480">
        <mx:Image source="@Embed('image.jpg')" mouseDown="startDragging()" mouseUp="stopDragging()"/>
    </mx:Canvas>
</mx:Application>
 
 
Above would embed(at compile time) a image in the SWF and show inside a canvas. Having Canvas tag would allow u absolute position of its children. So you can add code to drag the image....
 
 
Does that make sense?
 
-abdul


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of ze_fsaldanha
Sent: Tuesday, December 27, 2005 9:31 PM
To: [email protected]
Subject: [flexcoders] Like in Flash what is the rigth aprotch in Flex

Hi Flex Coders

Iam new to flex and I make a movie clip in Flash and inside a MC i put
one image and I zoom or drag the MC everything in MC is child and zoom
with it an drag to.

In Flex what is the solucion to that kind of work.

Thanks








--
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




Reply via email to