Skip to main content
September 2, 2011
Question

Work with flex buider 3 and adobeairsdk2.7

  • September 2, 2011
  • 1 reply
  • 475 views

how can I do for to work with flex builder 3 and adobeairsdk2.7?

In other words, I would write my ".as" files with flex3 and to import the class TouchEvent pressing "CTRL+SPACE", how can I do?

thanks

This topic has been closed for replies.

1 reply

Participating Frequently
September 2, 2011

This might work, but I haven't tried it (and I'm going from memory, so make allowances for the fact that I haven't used FB3 in quite awhile):

Make a copy of the latest version of the Flex SDK that works with Flex Builder 3.

Copy the AIR 2.7 SDK into that Flex SDK folder.*

Setup that Flex SDK in Flex Builder

Create a new Flex project

Select the desktop application option

One or two pages in the project wizard later, change the main file name from foo.mxml to foo.as**

*On the Mac you have to be careful about copying folders since it doesn't do the right thing in this case by default. Easiest to use the ditto command from the terminal:

ditto AIRSDK FlexSDK

**You can also create a new ActionScript class in a project and then add it as a application in the project properties dialog

September 5, 2011

I done like you have tell me, I copy AIR sdk2.7 over my flex sdk 3.6.0.16995, this work fine, TouchEvent's imported, but in my new project air the src give me an error: BitmapData didn't find ... I pressing CTRL+SPACE and the sdk import to my project "BitmapDataChannel" and not "BitmapData", why?

I forget... also "Multitouch" isn't recognized.

thanks