A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Where are there downloadable tutorials for AIR ?

  1. #1
    Senior Member Ray Beez's Avatar
    Join Date
    Jun 2000
    Posts
    2,793

    Where are there downloadable tutorials for AIR ?

    Simple stuff like like close and minimize buttons?
    Dragging the app around the screen?

    Any sample files anywhere?

  2. #2
    Junior Member
    Join Date
    Jun 2004
    Location
    Leduc
    Posts
    15
    This stuff is in the documentation, pretty straight forward. Add onclick events, and then use the appropriate window action.

    http://livedocs.adobe.com/flex/3/htm...Windows_4.html

    Code examples there ^.

    for the current window you could use this.close(), this.maximize(), this.minimize() .. also if you use your own defined function you can capture the event, so add an init function for the flex, and then add Event Listener for mouse down for the button, and have it fire off to a function that will maximize/restore appropriately and change the button text/icon if you want) and this way you have one button responsible for maximizing a window and restoring it (like the way Windows does).

    Just started flex a few days ago and that was the first thing I learned in like 30 minutes, the livedocs are amazing.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center