House of Fusion
Home of the ColdFusion Community
Hostmysite ColdFusion Hosting

Search adobe-integrated-runtime

August 30, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
           1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31             

Subscribe Now
Fusion Authority Quarterly Update - ColdFusion 8 Special Edition

For ColdFusion hosting try HostMySite.com.
Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  Adobe Integrated Runtime (AIR)

Custom draggable area in HTML/HS based AIR app?

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andy Matthews
03/12/2008 11:58 AM

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?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Holmes
03/12/2008 10:38 PM

You can use any JS library you like for this in AIR. JQuery is probably a good start - or perhaps ExtJS. The manuals are p[retty comprehensive: http://livedocs.adobe.com/air/1/devappshtml/ http://livedocs.adobe.com/air/1/jslr/index.html On Thu, Mar 13, 2008 at 1:58 AM, Andy Matthews <andymatthews@comcast.net> wrote: ----- Excess quoted text cut - see Original Post for more ----- -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists