maandag, augustus 13, 2007

Adobe AIR and Flash CS3: Demo with source

Here is an AIR demo that encapsulates some neat AIR and AS3 tricks.
It is called the Kevin Bacon Drag and Drop.
You have to drag an image file (jpg, png or gif) to the top of the screen.
When you drop the file it will fall down.
Make sure it lands on Kevin's camera and your picture will appear on the screen behind Kevin.

This a summary of all the features implemented in this demo:
1. compiled and written within Flash CS3 (not Flexbuilder)
2. the Adobe AIR drag and drop API
3. pixel perfect collision detection in AS3
4. the use of custom events and event bubbling
5. Ratio scaling for images

Thanks to Grant Skinner you can now compile AIR files from within Flash CS3.
Download and read the instructions here:

The Adobe AIR API documentation is build in the Flex3 Language reference (look for the classes with a blue dot next to them)

Download the installer file here:

Download the source files here:

Here's a few mac and windows screenshots:





crossposted at

6 opmerkingen:

Anoniem zei

geotorelxzp consolidation loans
debt consolidation services

Anoniem zei

Thanks designed for sharing such a pleasant thought, article is
pleasant, thats why i have read it completely
credit card consolidation loan

Anoniem zei

Ѕo - "Adobe AIR and Flash CS3: Demo with source"
- I wouldn't have thought it would be so good reading as this. Now I must finally go and do some work.

Feel free to surf to my web-site :: cheapest secured loans

Anoniem zei

Plenty has beеn discusseԁ abοut this аrea previοusly, but therеs
a сοuple of replieѕ woгth remembeгing.

Also viѕit my web-site: personal loans

Anoniem zei

I'm wondering what age you start to get more grown up and get used to all this rubbish.

My web blog; fast cash loans online

Anoniem zei

ӏ might gеt around to dοing ѕomethіng similaг mуself very ѕoοn,
if I сan finԁ the funding.

Here іs my webpage; fast cash loans online uk