how to find library.swf file in adobe air library project - actionscript-3

I am creating ane file for my requirement. I Crated Actionscript library project and generated xxx.swc file through build time, but I can't able to generate library.swf file in Actionscript libary project within the bin directory or in the project directory. Even though my Actionscript library project enabled include Adobe AIR libraries.
Can I create ane file without library.swf file? or please give me steps to get library.swf file.

Have you googled it before?
swc file is a zip file, just rename it from *.swc to *.zip, and unzip it, you will find library.swf.

Related

Distribution of Executable jar file in netbeans

I have created a database desktop application using netbeans. Netbeans creates a jar file in the project folder. When I run it, it works fine.
The problem is when I take that jar file outside the project folder and then try to run it, it shows an exception of org.sqlite.jdbc. This exception keeps on striking until I close the process using Windows task manager but it is not running.
In dist folder, you will find three things :
the .jar file of your project
a lib folder
Readme.txt
Make sure that when you take your .jar file outside the project folder, take the lib folder as well.
The lib folder contains all the libraries and jar files you've used in your project and are essential to make the jar file run.
Hope it helps!! :)
Thanks. I have found a solution here http://arunasujith.blogspot.in/2011/08/how-to-build-fat-jar-using-netbeans.html?m=1.

Can't add the Mobile Apps Tracking bindings to my project

I'm trying to use the MAT bindings in my project however it seems that the .jar file is not included on: http://libgdx.badlogicgames.com/robovm-ios-bindings/
I have also tried adding it to my project by downloading the repository from: https://github.com/BlueRiverInteractive/robovm-ios-bindings/tree/master/mobileapptracking and adding the project to my Robovm build path but it's not working as well.
Any idea how to solve this ?
Thanks,
ASM
I have made a bindings project into a jar file doing the following. I am sure there is an easier way to get the framework in the correct folder, but I have not yet found it.
load bindings project in eclipse
export the source folder (you should get org/robovm/bindings/mobileapptracking/) to .jar file
open the jar file with winrar or similar program
add folder: robovm/ios/libs/ in META-INF folder
add the .framework(s) to this folder
now you should have a similar .jar file as on the libgdx site!

Can't import .ane file into Flash CC

I've been trying for days now to import an .ane file into a Flash CC project in order to use admob banners with it.
I've searched everywhere and I just can't make it work.
Here's what I'm doing exatcly:
I downloaded the .zip file from this github: https://github.com/lilili87222/Admob-ANE
Inside the .zip file, I got the "admob_all_in_one_6.12.2.ane" file only and put it into a "lib" folder, together with my project .fla.
Then, inside Flash CC I open the "Advanced ActionScript 3.0 Settings" window, navigate to the "Library Path" tab and click the "Browse to Native Extention (ANE) File" button.
I select my .ane file inside the lib folder and click ok. I try to compile the project, and I get this error:
"The content cannot be loaded because there was a problem loading an extension: Error: Extension namespace is invalid"
Any ideas?
Thank you
I got the same problem, but after I have updated the Air SDK, it works very well...
Follow this step to update Air SDK.
"namespace is invalid", check the AppName-app.xml
<application xmlns="http://ns.adobe.com/air/application/15.0">
Change your Adobe AIR SDK for a newer

how to dynamic linking for the .ane files

I created a native extension. I can debug this application as an desktop application. Working well, there is no problem while using native extension classes. But When I debug for Premiere Pro, I get "
Class com.extenison.samples.ANESample::myClass could not found
" error.
Do you have any idea what I'm missing while debugging for Premiere Pro extension ?
- I added .ane file on Native Extensions tab of Properties
- Also added .swc file on Library Path tab
- checked Package in Flex Build Packaging tab
- I can see .ane file on Package Contents section of Flex Build Packaging
Thanks
Edit : this issue is about linking native extensions. Any helps appreciated about this
If we are creating .ane files for application that runs on some devices, that means we are gonna package our project and device will read files from package.
My native extension (.ane) file was working on local, as desktop application because there was no packaging process.
was not working on Adobe Premiere because ;
put .ane file under yourproject/src/ directory to some folder
go to project/properties/Flex Build Packaging and checked your .ane file
on same directory above,Click Package Contents tab and ensure that your .ane file is in the list
I didn't do this:) But you do this.
You can ignore this error and move on with creating an .ipa with you adt commands. The error is because of cross platform.
Though check with the points, You make the .swc as external reference from the properties.

Unzip local file in adobe air

Does anyone know a good library to unzip local files in adobe AIR for with actionscript 3?
I have:
A local file named somefile.zip
I need:
To give some external library a path where I want to save the unzipped version of file.
It must be able to process the file and not load it all into the memory.
I found the FZip library - but it loads all archived data into the memory.
And also found the nochump library, but there is no such parameter to choose where I want to unzip the file.
Thanx for your help.
Try FZip by Claus Wahlers from cĂ´deazur brasil lab.
"FZip is an Actionscript 3 class library to load, modify and create standard ZIP archives."
http://codeazur.com.br/lab/fzip/