Andy,

Try the following from Adobe:

http://livedocs.adobe.com/air/1/jslr/index.html

Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com
Steve "Cutter" Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer
_____________________________
http://blog.cutterscrossing.com

Andy Matthews wrote:
> For my second AIR app, I've decided to try using JS as I'm more comfortable 
> with that than I am with Actionscript 3.
> 
> I'm having trouble figuring out how to define a specific div to be the 
> draggable area for my app. It's fairly straightforward with Actionscript.
> 
> Define an event listener in the init method
>       // initialize the draggable area for the title bar
>       navBar.addEventListener(MouseEvent.MOUSE_DOWN,startMove);
> 
> The startMove method:
>       // this method triggers the navbar drag functionality
>       private function startMove(event:MouseEvent):void{
>               stage.nativeWindow.startMove();
>       }
> 
> How am I supposed to trigger this functionality? Also, is there a good, 
> comprehensive reference for Javascript developers who want to build AIR apps? 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:5086
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to