01-07-2013 03:52 AM
I want to use the QNX events in my AIR application for BB10 in Flash Professional. As in playbook, am I supposed to add some swc files in order to use the events as I am getting compiling error?
I want to use 'CardCloseEvent' but it is giving compilation error.
Solved! Go to Solution.
01-07-2013 07:39 AM
01-07-2013 09:02 AM
01-07-2013 11:41 AM
01-08-2013 01:15 AM
Yet it does not help in Flash Professional :-(
No one tried using ANE's in Flash Professional and there is no documentation on this.
01-08-2013 11:14 AM
In most languages, from a high level, what you need to do is go into your Project properties and add the ANE's manually. It should be accessible anywhere you find references and assets in the properties.
A good example is here:
1.Launch Flash Professional CS6, and create a new project of the type AIR, AIR for Android, or AIR for iOS (see Figure 1).
2.Choose File > Publish Settings.
3.Click the wrench icon next to Script for ActionScript Settings (see Figure 2).
4.Click the Library Path tab.
5.Click the Browse To Native Extension (ANE) File button (see Figure 3)
6.Navigate to the directory that contains your native extension and select the ANE file.
What they don't mention is to look carefully at the boxes. Once you attach an ANE, they usually have a checkbox that you need to check to actualyl enable it. It usually is off the screen and needs you to scroll over to it (on Flash Buillder 4.6 anyway).
If you keep having big issues, look at downloading the freeware AIR builder from http://developer.blackberry.com/air.
01-08-2013 10:04 PM
Goto File > Actionscript Settings > Library Path
Press the + and browse to the ANE
Note: If it will not allow you to add the ANE --- make a copy and rename it as SWF. It worked for Flash Builder 4.5.
For each ANE, you may need to click on it and press the I button and change it to External.
I'm not sure how Flash Pro builds your packages though - but that should set it up right.