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


Similar Posts:


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

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

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

Css In Flex Without Compiling?

Jun 9, 2009

I added an external stylesheet file (css) to my flex project. Is there a possibility that the css is not compiled with the swf? It would be great if I could put the swf on my webspace and afterwards only change a css file to customize my application and fit it to the colors of my homepage.

View 1 Replies

Flex :: Compiling Projects With Remote Ant?

Jul 23, 2009

I'm having problems compiling applications with remote ant, something similar to this. However the flex compiler seems to have problems with this. When I run the same script on my local compiles everything without any problems but when I try the remote ant it fails without giving more information.

View 1 Replies

Flex :: Flashdevelop Not Compiling Correctly?

Feb 7, 2010

When I try to compile my application in flash develop. it wont compile. even if I put a simple trace in the Main class. Nothing happen. the sdk is in the correct place.

View 2 Replies

Flex :: Flexbuilder Keeps Compiling Old Files

Feb 28, 2010

I'm working on a project on Flex AS3.0 project in Flex Builder. It was working fine, I changed the name of one of my classes and all the related process. Now when I compile dubug the thing, it keeps on compiling an older version even if I comment all the code in main. It still compiles the old files. I have cleaned the project , but still the same old problem.

View 2 Replies

Flex :: Run Custom Scripts Before Compiling/building?

Mar 9, 2009

I am creating an AIR app. In this app there's a need to copy a folder from a fixed known localtion C:xyz to app:/. I would like to know how can I do this copying before compilation/build so that they get packaged when I run the 'Export Release Build'

View 1 Replies

Actionscript 3 :: Compiling Resource Bundles In Flex

Mar 17, 2011

I want to compile my locale, resource.properties file into a swf.The documentation on Adobe site seems to be insufficient.

View 3 Replies

ActionScript 3.0 :: Compiling Old Flex 2 Application With FlashDevelop

Aug 5, 2010

I am having trouble compiling a project built in TextMate on a Mac. I have Flash Builder 4 and FlashDevelop on PC, and I cannot seem to compile the project even when I've downloaded the Flex 2 Hotfix 3 SDK. Flash Builder cannot work with Flex versions prior to Flex 3, so I'm left with Flashdevelop. When I assign the SDK path to point to the Flex 2 SDK, I get the following message when I try to compile:

command line: Error: unknown configuration variable 'static-link-runtime-shared-libraries' Use 'mxmlc -help' for information about using the command line. Build halted with errors (mxmlc). Is there something I'm missing, and is there an alternative way for me to compile this old project?

View 0 Replies

ActionScript 3.0 :: Compiling In Flex Versus WonderFL?

Oct 19, 2009

If I compile this[URL]in WonderFl it works great in both my browser and on my desktop.However, when trying to do it in Flex - Line for line - it runs very badly struggling to get 5fps.This doesn't make any sense, WonderFL uses the flex engine to compile so why does my SDK suck? I'm doing this on OS X as well by the way.. if that makes any difference?

View 8 Replies

Flex :: Compiling Application With Unknown Context Path

Jul 22, 2009

I would like to compile my flex application with a services-config.xml file. However, I am forced to supply a context.root. In my setup, the context root (context path) isn't known until my .war file is named and dropped into the webapps directory.

View 1 Replies

Flex :: Adobe Strip From Embed Symbols When Compiling?

Aug 9, 2009

I wanted an animation to dispatch custom events as it cycled. It became apparent that not even trace() was running. After some searching, I found the following at Adobe:[URL].."If the SWF file contains any ActionScript code, Flex prints a warning during compilation and then strips out the ActionScript from the embed symbol. This means that you can only embed the symbol itself."

I also found a work-around by Grant Skinner at:[URL].. I can proceed, but I'm still wondering. Why does mxmlc strip ActionScript from Flash compiled resources when embedding their symbols into Flex apps using metatags?

View 2 Replies

Flex :: Advanceddatagrid - Runtime Error When Compiling Application With ANT?

Sep 18, 2009

I'm using a licensed version of Flex Builder Pro to develop an application.I compiled the swc and generated swf successfully using ANT tasks.It contains an Advanced Data Grid also. When this application is accessed, I get a runtime error and it fails to load.

TypeError: Error #1007: Instantiation attempted on a non-constructor.
at mx.controls::AdvancedDataGridBaseEx/getSeparator()
at mx.controls::AdvancedDataGridBaseEx/createHeaderSeparators()

[code].....

View 3 Replies

ActionScript 3 :: Flex - Compiling Files From The Command Prompt?

Dec 28, 2009

I have a file Employee.as with the following source code. I am unable to compile it from the command prompt.

package Office{
public class Employee{
private var _firstName:String = "";

[Code]....

Error: A file found in a source- path must have the same package structure '', as the definition's package, 'Office'.

how to compile multiple files in a folder from the command line. I am planning to create a package with multiple files to form a library which I can use in my flex projects.

View 2 Replies

Flash :: Flex And Compiling RSLs Into The SWF And The #2032 Error

Sep 21, 2011

I've been working on a SWF that will be converted into a Projector file, no particular great shakes but some fun logic driving some aspects. Written Flex 4.5 it has been a doddle until I test the projector on a new / clean machine and without (v important this) a network connection. What happens is the movie fails with an... Error #2032: Stream Error: URL: file:///C:|/mydirectory/framework_4.5.0.20967.swz

after some research I realise this is an RSL (Runtime Shared Library) that is cached on the local machine (WIN7) under the 'C:Users\AppDataRoamingAdobeFlash PlayerAssetCache<8 Char Path>' along with a host of other RSLs. But in my disconnected state it doesn't work, however, if the machine is connected it does work (by downloading and caching the appropriate libraries from Adobe). Unfortunately I need to deploy this Projector file as a single entity and often into disconnected scenarios. Reviewing Flex's build options I've selected 'Merged into code' for the Framework Linkage that I assumed would create my single, deployable object but alas no.

View 2 Replies

Windows :: Flex Web - Warnings Or Exceptions Were Found While Compiling Null?

Jul 17, 2009

I did have the capability to compile my mxml files via the browser on my local machine. I've had to do a reinstall but now I'm having problems trying to compile.My current setup is:

WAMP 2.0i
- Apache 2.2.8
- PHP 5.2.8
- MySQL 5.1.36

FlashDevelop 3.0.0 RC1
Win XP

I've tried compiling in Firefox 3.5, IE8 & Chrome but all receive the same error:

Compilation results

Errors, warnings or exceptions were found while compiling null.Visit the online Flex documentation or API reference for further information. An error occured on the server.

Server error is: 'Error occurred in server thread; nested exception is: java.lang. NoSuchMethodError: flex.license.License.(Ljava/util/ Map;Ljava/lang/ String; Lflex/ license/Logger;)V'

I've followed the instructions from adobe:

http:[url]....I can compile without an issue via CMD but I prefer to use the browser as I find that much faster.

View 2 Replies

Flex :: Changing Order Of Font Managers When Compiling Argument?

Jul 22, 2009

I've recently had the need to use the managers compiler argument, because the project had an Open Type font embedded, and was generating errors at compilation. Now I need to use the same argument in my ant task, but for some reason it doesn't work. I'm using Flex SDK 3.2.

The task looks something like:
<mxmlc
file="${main.class}"
output="${swf.export}"
actionscript-file-encoding="${ENCODING}"
keep-generated-actionscript="false"
[Code] .....

I've tried different variations, from using manager as a child element of mxmlc, to using it as an attribute, and combining it with prefixes (fonts, compiler.fonts). I've also tried to use it as sub-element of the element fonts, but nothing worked. I've considered using a shell task instead, but I'd rather not. For now I've changed flex-config.xml in the frameworks directory of the sdk, and it seems to do the trick, but I'm thinking there's got to be a way to do this in the task. Any exact elements I need to add to the task to make it work, without having to modify "flex-config.xml"?

View 1 Replies

Flex :: Compiling Content Of Directories / Wildcard To SWC Using Compc Ant Tasks

Jul 29, 2010

Here is how I usually write the compile task:

[Code]...

What I'm looking for is a way to compile the entire director of classes without having to specify each class. I'm sure there's already an option for that, but I couldn't figure out the exact syntax.

View 1 Replies

Flex :: Compiling Flex Modules With Ant?

Nov 25, 2010

I can compile the main application fine and I can compile some of my modules fine. Any module that has dependencies in a sub package is failing saying Error: Type was not found or was not a compile-time constant. I do all my development on Windows using Flash Builder 4 so I can compile everything but what I need to do is move the compiling to a headless Linux based server (which is where Ant comes in).I've created a simple project to test my problem:

src-> Main.mxml
|->modules
|-> module1-> Module1.mxml

[code].....

View 1 Replies

Flex :: Build - Including Configuration Files While Compiling A Application With MXMLC

May 17, 2010

I'm using:

- Flex SDK 3.5.0
- Parsley 2.2.2.
- Flash Builder 4

Down in my src folder (which is configured as part of the source path in the Flash Builder), I have a logging.xml which I configure via Parsley:

[Code]....

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 :: Compiling Flex 4.0 App On Flex 4.5/4.5.1 Flex Sdk?

Oct 21, 2011

where I can find info about compiling flex 4.0 sdk on flex 4.5/4.5.1 sdk.I am having troubles. compilation goes well on 4.0 but whe I compile on 4.5 or 4.5.1 I get blank swf.

Note: I have set flash player 10.2 for compilation and also as default.

View 1 Replies

Actionscript 3 :: Using External Xml Data In A Flex Application Without Compiling The Source Into The Application?

Jul 15, 2011

I want to read xml data to a mxml application from a xml file on my filesystem. The example I found was for AIR,link2, link3. But I want to target the Flash Player runtime. If I use the the tag, I can do it; however the xml compiles into my swf. How can I retain the xml file in my release build?

View 2 Replies

Windows :: Flex - MXMLC Throws A Java.lang.NullExceptionPointer When Compiling In Windows (not In Mac Nor Ubuntu)

Feb 23, 2011

I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:

[Code]...

All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.

View 1 Replies







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