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


Similar Posts:


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 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

Flex :: ArrayCollection Versus Vector Objects In FLEX?

Apr 20, 2010

the applicable differences between an ArrayCollection and a Vector in flex? I'm unsure if I should be using one over the other. I saw that Vector is type safe and that makes me feel better, but are there disadvantages?

public var ac:ArrayCollection = new ArrayCollection();
versus
public var vec:Vector.<String> = new Vector.<String>();

View 4 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

Flex :: Robotlegs Versus Parsley?

Jun 9, 2010

I am planning to start a new project in as3 and I want Dependency Injection in the project. I found that parsley and Robotlegs are two popular frameworks for implementing DI in AS3. Which is the best one among these two?

My main requirements are

lightweight
minimal learning
extensive documentation and active helping community

View 4 Replies

Flex :: DTO / VO Versus Presentation Model

May 5, 2011

In Flex world, is DTO / VO same as Presentation Model?

View 2 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

Flex :: Games - Using Canvas Versus UIComponent?

Oct 10, 2009

For developing simple games with the Flex SDK, what are the consequences of using a Canvas object, versus a UIComponent object, as a drawing surface? Are there performance issues with either one? Are the methods generally the same? Searching around, it seems that most sample code I've found uses UIComponent. Is this just customary, or are there reasons?

I already know one odd difference - I had developed a simple Pong game using:

public class MyGameCanvas extends UIComponent

and then decided to replace UIComponent with Canvas. This caused the line to fail:

[Code]...

However, I have to confirm something, being new to Flex and the various terminology. I'm presuming that people mean I should not be using MXML for games, when they said Flex SDK. Since I thought the Flex SDK was what provided the compiler that generates .swf files. Otherwise, where/how would I even compile AS3?

Assuming that's the case, then my question would be about the suitability of using both MXML and AS3 for (simple) games. Based on what I've read about both, it seemed like the intended use of them was MXML for the interface elements, and AS3 for everything else. Is the overhead that bad for MXML?

View 3 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 :: Parent App Access Versus Events In Modules

Feb 2, 2010

Inspired by this Flex question, is it seen as better practice to dispatch an event back to the parent app, as opposed to calling a method on the instance of the parent app, from within a module? To me it seems that the module shouldn't know what methods are available at the parent, as such approach leads to tight coupling.

View 1 Replies

Flex :: Component IDs And URLs - Hyphens Versus Underscores

Sep 23, 2010

I'm using deeplinking in a Flex 3 application. I've got a ViewStack and I'd like to use the id's of the canvases in the url. I've read that search engines prefer hyphens over underscores as word separators. So, the search engine sees "big-book" as a separate word, but "big_book" as possibly one word. Also, underscores are obscured when a link is underlined. For the above reasons, I thought that it would be good to use hyphens. The problem is that Flex doesn't allow hyphens in an id.

<ViewStack>
<Canvas id="my_stuff"></Canvas>
<Canvas id="my_stuff_more"></Canvas>
<Canvas id="my_stuff_lots"></Canvas>
</ViewStack>

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

Flex :: Getter And Setter Methods Versus Public Properties

Jul 27, 2009

Which is a much better practice in binding a value in Flex?

View 2 Replies

Php :: Flash - Flex - Connect To Data Service Via PHP Versus SOAP?

Aug 26, 2011

I am writing an application in Flash Builder 4.5. I am also writing a PHP Web service to access data from our MySQL database. This Web service will be made available to third party clients for them to develop applications to access our database as well, via SOAP.

Is there a big performance difference between connecting to the service in Flash Builder via connecting directly to the PHP file vs. connecting to a Web Service via SOAP?I would kind of like to connect to this service the same way that our clients will, to make sure things stay as uncomplicated as possible for future development, but performance is my main priority.

View 1 Replies

Performance :: Flex - Memory Usage When Using Visible Versus Add / Remove From Stage

Jul 28, 2011

Is there a performance and/or memory usage difference between these two scenarios?
Scenario 1: N visual elements all added to stage;
N-1 have visible = false, 1 has visible = true;
Scenario 2: N visual elements, only 1 added to the stage at any time.

View 1 Replies







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