check out
Put between the <mx:Script>
public function dragMe():void
{
// just add the panel id
panelID.startDrag();
}
// new function to stop drag
public function stopDragMe():void
{
// same ID of you panel
panelID.stopDrag();
}
now using the code above you just do that in your mxml
<mx:Panel title="Draggble Panel" width="200" height="200" x="60" y="60" mouseDown="dragMe();" mouseUp="stopDragMe()">
</mx:Panel>
Just try it.
Regards.
On 11/2/06, klethron <[EMAIL PROTECTED]> wrote:
Hello All,
I am just starting into Flex 2 and im loving it. Is there any way to
make my Flex Panels draggable?
--
----------------------------
Igor Costa
www.igorcosta.com __._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Software development tool Software development Software development services Home design software Software development company
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
- Re: [flexcoders] Draggable Panels Igor Costa
- Re: [flexcoders] Draggable Panels Michael Schmalle
Reply via email to