Actionscript 3 :: Compiling Project To Swc File In Flashbuilder?

Jun 23, 2011

i have a question and i'm hoping to find an answer here, i created a flashbuilder project that contains some classes with functions that i use often, i have around 6 classes, would it be possible to compile these classes to a swc file so i just have to add the swc in a new project to access them?

Or isnt it possible to create swc's with flashbuilder? Maybe i could do it in flash but dont have any idea how to compile multiple classes into 1 swc. file.

Sorry if this is a stupid question but ive never used it before and couldnt find much about is.

View 2 Replies


Similar Posts:


Actionscript 3 :: Using FXG With FlashBuilder 4.5 On Mobile Project?

Aug 1, 2011

I've been successfully building AS3 projects that import FXG graphics using FlashBuilder 4 for web. I'm now upgrading to FlashBuilder4.5 so I can build mobile apps but I'm getting an error when I try and using FXGs.The error is ,The definition of base class SpriteVisualElement was not found. [Generated code (use -keep to save): Path: datagold-interface.as, Line: 6, Column: 27].The line and column number don't seem to relate to anything I can understand..

View 2 Replies

Flex :: Error When Migrating A FlashBuilder Project To FDT?

Dec 6, 2010

I'm migrating a FlashBuilder project (actually a project I'm working on with FlexBuilder eclipse plugin on Linux) to use FDT. I managed to import the project, and make it aware of other projects it depends on.

However I get lots of compile errors for things that seem harmless (and used to compile). At least, for example :

<mx:SomeClass initialize="{this.init()}" ... >
<mx:Script>
<![CDATA[

[code]....

So, I get "unresolved function" for all the calls of the form someAttribute="{this.someFunction()}", even though the function is described in the same block file. Is it that I've been abusing AS3 / FlashBuilder for all this time ?

Also, generic components have problem. Assume I have a class with a deferred 'content' attribute, and I want to instanciate this class and "fill the blank" : I define a custom component in a CustomComponent.mxml file, with a deferred content

<mx:VBox>
<mx:Script>
<![CDATA[
public var content : IDeferredInstance;

[code]....

I'm using FDT 4.0, under Linux, with a (valid) eval key I'm using a custom Flex 3.5 SDK (not one shipped with FDT, but not a too strange one either)

View 1 Replies

Flex :: Put Library Folders Relative To Project In FlashBuilder?

Mar 27, 2011

If I create a new ActionScript project with Flash Builder and want to add some library (for example Tweenlite) where do I have to put the gs folder of Tweenlite relative to my project folder? and what do I need to setup in the project settings in order to be able to use it?

View 2 Replies

Android :: Display AdMob Ads In FlashBuilder 4.5.1 Mobile Project?

Aug 31, 2011

I am currently developing an application in the latest version of FlashBuilder and I cant seem to find out how I can incorporate AdMob ads or any other Ads into my application.There seen to be a few tutorials online focused on Flash however im not sure how to get those to work in the Flex environment.

View 2 Replies

Actionscript 3 :: Osx Compiling Project From The Command Line?

Sep 19, 2010

When working on small projects or some test classes , I would prefer to quickly compile my code from the command line as opposed to creating a full Actionscript project in Flash Builder for instance.

In a previous similar question , an answer was given referring to this article:[URL]..but this is for Windows user...

I had a look at ProjectSprouts, which seems excellent but too heavy for the sort of task I'm looking for.

Would you know of any alternative approach that could be used to quickly compile a swf from the Terminal on Mac OSX?

View 2 Replies

ActionScript 3.0 :: Does Compiling A Project Through Ant Reduce The Size Of The Finished Swf

Nov 10, 2010

Does compiling a project through Ant reduce the size of the finished swf?If not, I've heard of something that helps the classes to not "learn" what another class already knows, (sort of), and thereby reducing the filesize by a big chunk...

View 1 Replies

Flex :: Textmate - Load A Custom Compiler Config When Compiling Project?

Oct 31, 2010

I need to load a custom compiler config when compiling my project with textmate (as3 project).How can i do this?

View 1 Replies

Flex :: Compiling Project - Changing Consts Doesn't Elicit A Recompile

May 7, 2011

I'm not sure what happened but my Flex project seems to exhibit some strange compiler behavior. Two weird things:

1) I have a file with a lot of static consts. Changing consts doesn't elicit a recompile, so I need to clean and recompile to see the effects of any changes.

2) After every clean I get a same error in one of my main files (a type coercion that in fact should not be an error). If I save that file with a slight change, i.e. if I start a recompile due to changes in that file, all goes fine.

View 1 Replies

ActionScript 3.0 :: Deleted A Project In Flashbuilder And It Seems To Have Deleted Everything

Dec 15, 2010

I deleted a project in flashbuilder and it seems to have deleted everything. how can i get this back?

View 1 Replies

Flex :: Definition Could Not Be Found Error Compiling ClassReference In CSS File To Swf File?

Feb 17, 2010

I am compiling my css files to swf files and loading them at run time. I have no problem compiling these and using ClassReference statements most of the time:

[Code]...

Does not work. The difference is that the HeaderBackground is a class in the same project as the css file. That does compiel fine if I move the style into my mxml file though.

I wonder if the compiler uses different source paths when compiling the css fiels or something. This is in FlashBuilder 4 build 269271 SDK 13963

View 6 Replies

Xml :: Flex - Flashbuilder 4 Won't Copy An Xml File In Release Build?

Jul 20, 2010

I have my own conf.xml file (src/conf/conf.xml) consists some properties (alphas, colors,etc). When i try to export release build, I see list of files which not includes that file.Why? When i run my application at debug it file places in "bin-debug" folder.

View 1 Replies

Flex :: FlashBuilder 4.5 Scroll Top While Saving Mxml File?

Oct 18, 2011

I have strange problem, when i try to save mxml file - flash builder scrolling to the top of editors page ? why ?it is the same problem like this

[URL]

View 1 Replies

Flash Project Compiling Without Flash IDE?

Aug 2, 2010

Is it possible to compile a Flash project without the use, or presence, of the Flash IDE?

View 3 Replies

Flash :: Compiling Flash Fla Project Without Ide

Dec 6, 2010

I am fairly new to actionscript but have quickly got sick of the flash IDE, so I have switched FlashDevelop which I like already. The problem I have now is that FlashDevelop still switches to Flash to compile the fla.This wouldnt be too much of an issue but the compile takes 30s + each time, which is a real pain for debugging.

View 2 Replies

Flex :: Compiling SWC File From FDT?

Apr 29, 2010

I've made a library which I'd like to compile to an SWC file, I've tried to do this in FDT by choosing FDT AS3 Library as Run settings, but all I end up with is a 0kb .swc file. Does anybody know what I'm doing wrong? I can't find much when I google it either

View 2 Replies

IDE :: Large Flash File Not Compiling Tweens

Feb 4, 2009

I have a large Flash presentation consisting of 12 slides. When exporting or previewing the movie all of the tweens appear corrupted. They flicker on the first keyframe - go blank - then display the last keyframe all static. I'm using CS3 on a MacBook Pro 2.4GHZ with 2GB of Ram. I have a dual boot setup and the same thing happens in both OS X and Windows XP. I've found a laborious work around in that if I go into each movieclip, and nested movieclip, move the timeline slider then re-export... that particular tween will then animate correctly. I can go through the entire file and thereby export the SWF with animations in tact... But this takes a lot of time and every time I restart my machine it has to be done again from scratch to export the file.... This has happened before on a large Flash file and I reinstalled Flash from scratch and it didn't fix it.

I'm wondering if this could potentially be a bug relating to how much RAM I have? I sent the file to someone who has 4GB of RAM on their PC and it exports correctly. I will be doing a lot of presentations of this nature and would like to know if there is a way to fix this bug or if it is really related to how much RAM you have and how big the Flash file is??

View 1 Replies

ActionScript 3.0 :: Flash Stuck When Compiling File

Oct 25, 2011

I am trying to run this AS code from wonderfl.net: [URL] I have downloaded the right files to ensure this works:

[Code]...

Might the errors be because the code is for Flash Player 11? As I am running Flash CS4, when I go to Publish settings, the highest flash player I can use is 10, so I can't choose 11. If anyone has time to take a peek, I have put the code together here, which contains the FLA, AS file, and the include libraries I mention above:

[Code]...

View 2 Replies

ActionScript 3.0 :: ClassPath Errors On Compiling Main FLA File

Oct 13, 2010

The company I work for outsourced the development of a flash project which I have now taken over. We had a handover from the developer and all was working well. However, I have moved all files onto a new machine and now I get several errors when I compile. The project is set up as follows (this isn't all the folders):
mainFolder
mainFolder-in
mainFoldersrcfolderB
mainFoldersrccases
mainFoldersrccontainerMain.fla (and Main.as)

When I compile Main.fla (all fla's are set to compile to the bin folder) I get the error -
1046: Type was not found or was not a compile-time constant: PageEvent.
Which refers to this line in the class -
protected function pageEventHandler(e:PageEvent):void

PageEvent is a class that is found in the folderB directory - mainFoldersrcfolderBevents
It is imported into the Main class -
import folderB.events.PageEvent;
3 errors appear, all the same for the 3 times the var e:PageEvent is referenced.
It seems that the main.fla/.as cannot find PageEvent class.

Another example is this:
In the directory mainFoldersrccases is a class Case1.as/fla
this class extends CaseSpaceCore which is found here - folderB.pages.cases.spaces.CaseSpaceCore; and is imported into Case1.as
When I try to compile I get the error -
1017: The definition of base class CaseSpaceCore was not found.
and then other errors about overridden methods that is cant find because it cant find the base class.

I am using Flashdevelop (if that makes a difference) as did the developer. I have tried adding the class path in the project settings to srcfolderB but this made no difference.

View 5 Replies

ActionScript 2.0 :: FLA File Doesn't Grasp Last Version When Compiling

Sep 15, 2009

I can't make AS2 classes refresh when editing them, in other words, my FLA file doesn't grasp the last version when compiling, I have to shut/restart my flash program for that.

View 6 Replies

ActionScript 3.0 :: FlashBuilder 4.1 - Writting A Small File Handeling Utility To Make Processing Files?

Oct 29, 2010

Using AS 3.0 and the action script project I was planning on writting a small file handeling utility to make processing files through AS better and easier. The problem is the API states that to call file you go
 
import flash.file
 
Well in flashbuilder going import flash. only gives me filter, and no file handeling imports....

View 1 Replies

ActionScript 2.0 :: MXML Project In Flex 2 - Make SWF File As Main Executable File?

Nov 26, 2006

I have to make a project for school. It will be like a tutorial, but into an application. I already made a part of it in MXML and a bit of action script but I encountered a few problems that are over my newbie limits. So the Flex Builder 2 makes a SFW file, in the main folder of the "project". I want to make that SWF file my main executable file. I have a folder with some pics, and another folder with Action Script Files. The code lvl that I know atm is ABSOLUTE BEGINER... I don know how to make my SWF file have a specific name when I run it.Here is a picture of a training exercices that should make thing more clear:Some people told me that I should use a HexEditor and stuff. Is it ture(what u think?).

Next problem. I dont know how to make the Stage to be fix. I mean.. I dont want the stage to be resizeble. I tryed to change the stagescalemode but that wasn't it. I toke a look at the help files of Flex from the net, about the Resize action and SystemManegment, but I didn't find out what I wantend.

View 4 Replies

Flex :: Comments In FlashBuilder (aka Flex) Mm.cfg File?

Feb 22, 2011

FlashBuilder's undocumented mm.cfg file has a lot of cool options as shown here and elsewhere. But what about commentsout there verify if comments are supported in FlashBuilder's mm.cfg file?If so what are the rules? For example:REM .bat style comment; .ini style comment# shell style commentines?

View 1 Replies

Android :: Make Sure The SWF File From AIR Project Can't Be Opened Like A Regular SWF File?

Jul 7, 2011

I'm making a game with Flash CS5.5 and exporting it to a APK file (AIR for Android).The trouble is that the APK file is really just a ZIP file, so you can extract the content and inside there is my game as a regular SWF file. Anyone can upload this to any website and play the game there.

I don't want the SWF file to work unless opened like it should, inside the APK file through Android.Is there any way to know through ActionScript 3 code if the SWF file has been extracted from the APK file and has been opened as a normal SWF file?

View 3 Replies

Professional :: Use A .ICO File Instead Of A .PNG Or .JPEG File In Flash Project?

Apr 18, 2011

I'm trying to find out if it's possible to use a .ICO file instead of a .PNG or .JPEG file in my Flash project. Is this even possible? The reason I'm asking is that the project I'm putting together uses ActionScript 2.0 code (not sure if that makes a difference or not) and displays a bunch of images for a bunch of different applications. So instead of creating a .PNG file for each application, since I've already got .ICO files on hand, I'd rather use those (saving me a ton of time).

View 4 Replies

Professional :: Move Project To See The Not-project Area Around The Project?

Jun 21, 2010

I cant "center" my project, like you can see its "fixed" (yellow lines) in the left side and I cant see "invisible" part of project... (area around the project). how can I move my project so I can see the not-project area around the project. (picture 2).

At the moment situation... (cant see that area around the project)
http://img19.imageshack.us/img19/1186/68553623.png

View 2 Replies

Javascript :: Is It The Index.template.html File Per Project Or The HTML File Created Per MXML Application

Sep 26, 2011

I was reading about Flex- JavaScript communication via ExternalInterface.But I had a doubt, it said that the javascript code should be written in the HTML file of the application ? Now which is this HTML file ? Is it the index.template.html file per project or the HTML file created per MXML application ?

View 3 Replies

Flex :: Run .swc File In Project?

Mar 18, 2010

I have a .swc file and I learned how to add that swc file into the library. I will be happy if any one explain how to use this .swc file into my flex project and run that with an example .

View 1 Replies

ActionScript 3.0 :: Calling A Swf File From Within A Different Project?

Jul 29, 2009

I am brand new to flash and action script so am just learning the basics.My question is how do I call a swf file from one screen by clicking on a menu in a different project?

View 3 Replies

ActionScript 2.0 :: Embedding SWF File Into FLA Project

Feb 23, 2009

I'm all very new to Flash! I'm a Designer. I recently out sourced a flash project and now my client needs it updating. My project consists of a music mixing desk. You press a button and video pops up. The buttons are in the stage. When pressed, this triggers a movie clip which loads a FLV player. SIMPLE! ([URL] - to see the site in action!) I have a simple flash gallery [URL]. I have put the SWF, image folder and XML in the root. I have tried embedding the SWF gallery into my Flash Project by importing it into the library and dragging it to where video content usually lives (FLV player). It doesn't work. I've tried other techniques (loadMovie etc). But I'm a bit fuzzy on these methods.

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved