Importing SWC file in actionscript with Sublime Text - actionscript-3

When I compile the .as file, it's not recognizing the swc file that I've put in the library path of my project. It's thus giving me an error on the line in my .as file where I import the swc file. How would I link the swc file with my project in Sublime Text? Thank you.

Related

gdx-setup.jar is not an executable jar file .

My gdx-setup.jar file is downloaded but it is not an executable jar file , so it doesn't show the project generator interface on double clicking. How to fix this?

Importing a downloaded JAR file into a Servlet

I have recently downloaded the json-lib jar, and added it to my libraries using NetBean's library wizard.
I believe to import net.sf.json.JSONObject, I first have to call the package at the beginning of the servlet file.
However, when I try to do 'package net.sf.json', I get the error 'class, interface or enum expected'.
I have placed the jar in the WEB-INF/lib folder. I am certain I'm missing something, but I'm not certain what. Any advice would be appreciated.

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 find library.swf file in adobe air library project

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.

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/