What is the directory of ActionScript 3.0 classes files? - actionscript-3

Im trying to find transformGestureEvent class file on my windows, have looked through Adobe Flash CC folder and also appData but couldnt find it.

TransformGestureEvent is part of the built-in classes of Flash Player, AIR and Flash Lite.
You can find it on the package: flash.events

Related

create windows(.exe) file using adobe flash

I've create an app using flash cc for android. It works great but now my goal is to publish it in windows. I know I can use air for windows. I've tried it and it works. But the problem with that is, you can see all the swf files on installed folder. That makes my files vulnerable for theft. So I want to know if there's any methods or converter to convert my whole air application in exe so that it doesn't expose all the included swf files. I think game like machinarium was created using flash. But when I got the setup file it include exe files and non of flash files or any other files were exposed. Is it possible to achieve with flash as3? Any help would be much appreciated.
If you're using Adobe Flash you can go to your publish settings and a small menu will pop up and there will be tabs at the top. Go to the tab that has a list of the various file formats you can export to and .exe will be one of them. Check the box and then set the file location, then hit 'Publish' and you should have an .exe file.

How does one import symbols from a .fla file to an AIR project in FlashDevelop?

This is my first time working with AIR. In previous AS3 projects in FlashDevelop, I would create a .fla file with Flash Professional in the same directory as my source files and link my main class as the document class. I used Flash to create symbols and export them for actionscript and then wrote the definitions in FlashDevelop. That isn't working with AIR.
I have the .fla file in the same directory with all of my source files. FlashDevelop AIR Mobile compiles the project fine, but the application is a white screen. Compiling the same project with the same compiler in Flash Professional works perfectly, showing all of the symbols.
How do I access the symbols in my .fla file if I am compiling from FlashDevelop?
Try the following.
In Flash Professional, go to your publish settings. Check the .swc box to export a swc when you publish (and make sure the export location is in one of your flash develop project sub folders. A subfolder called 'lib' is common practice). Also, if desired, uncheck other outputs in your publish settings.
Publish your .fla.
In Flash Develop, find the .swc in the project panel directory tree, right click it, and choose "Add to Library" You may also need to right-click again and choose "options" and tell it to "Include completely".
Now all the symbols from your .fla are available to your FlashDevelop project.

Adobe Air how to bind ANE files

I'm thinking if is possible to connector to bind somehow many ANE files?
For example if I have Vibration ANE , GoogleMaps ANE and AdMob ANE... I have to import each ANE, one by one in my project. My question is: could be there a solution to connect ANES togeter and import only one file and inside this file to be all my ANE...??
Thank you.

Do you need the linked AS files after publishing .fla into .swf in flash professional?

I want to link external ActionScript file with my current fla project file so I can get the advantage of using classes in Adobe Flash professional CS6 in ActionScript 3.0.
But I am wondering if I can delete the AS file once the fla file has been published into swf?
Or even better would be if somebody could suggest me how to create classes in Flash CS6 without creating external files.
Thanks
When you publish a SWF file - all the source code (.as class files, library objects) are embedded into the SWF. (With the exceptions of Runtime Shared Libraries or any other assets you load at runtime).
This means that your SWF is not dependent on those .as files to run.
However, if you want to be able to re-publish or edit your project, you'll definitely need those .as files for that.
In regards to FlashPro, you cannot create class files that embedded in the .fla, they have to be separate .as files. You can however edit the .as class files in FlashPro.

How to import actionscript library and call function?

I need to develop something with data structure and how do I import the library as3ds (http://code.google.com/p/polygonal/wiki/DataStructures) and call the function of the library? It is in swc file format for the new version. While the older as3ds is in as format. I've no idea how to call using the swc. Anyone can help me please?
just place the .swc file where ever you want (usually in your own developer library) and target its path in ActionScript 3.0 Settings of Flash CS5: File > ActionScript Settings... (see attached screen shot).
you could also just place it in with your other library swcs. Flash CS5/Common/Configuration/ActionScript 3.0/libs/
if it's a component, create a folder for it and place the folder in the components folder: Flash CS5/Common/Configuration/Components/