Flex :: Flashdevelop Not Compiling Correctly?
Feb 7, 2010When 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 RepliesWhen 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 RepliesI 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?
I can not generate a working .swf file from my old files. It is either that I have not saved the correct file from 2005 or my cs3 is not compiling it
correctly.
I'm having trouble using the following tutorial and flashdevelop template to build a flash project for iOS. [URL] Whenever I compile my project (using FlashDevelop 3.3.4) I get an error from adl.exe saying "Error loading initial content". Using the iOS applicationpackager.bat, I get an error saying: application.xml: error 305: Intial window content SWF version 11 exceeds namespace version [URL]I'm using air 2.7 and Flex 4.5.1 on Windows XP.
View 1 RepliesHere's what works with ant build.xml:
[Code]...
I tried the following values in Project > Properties > Compiler Options > Additional Compiler Options but none of them worked:
I have been programming with as3 for the past 4 months and Ive been getting rather good at it. I just recently decided to work with flashdevelop. I notice that there is alot of code that is availible in the flex sdk that isn't available in as3 with flash cs4. Like embedding of assets and such. I've been trying to find some up to date tutorials on how to embed things like xml and so far the tutorials are inaccurate or unclear about how to go about doing so. Ive been trying to find some good books that cover that and havnt been able to.
The books either cover as3 with flash or as and flex builder. Which is more towards working with the mxml. I havnt been able to find any books on how to work with as3 and flex sdk. Which show examples like embedding of xml and so on. I was just curious does anyone know of any good books that cover EVERYTHING there is to know about as3 and the flex sdk. Not so much on flex builder and mxml.
In a sense, I just want to get better with working with as3 projects with flashdevelop. And it would be great if there was books that covered that. Cause lets just face it, We developers sometimes just get sick of searching the web for bits of pieces of things. and its just great to have that one good book that references everything.
[Code]...
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 RepliesI'm using FlashDevelop (cos it's free!) with Flash CS4. Is FlashDevelop basically the opensource version of Flex or is it something completely different again? Or is that what AIR is?
View 2 RepliesI'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 RepliesI am trying to embed a movieClip with flashDevelop but apparently its not working because its not recognizing the movieclips that are within it.[code]...
View 3 RepliesI try to use the example from Adobe help reference as following address:
[URL]
I open FlashDevelop IDE, creat a new Flex 3 project, then copy the code of example to the main.mxml, save it, then run builder.
It failed with "...TreeExampleTreeExamplesrcMain.mxml(5): Error: Could not resolve <s:Application> to a component implementation." error message.
There is a "How to use this example" link beside this example, but I didn't find any useful information I want.
How can I run this example in FlashDevelop IDE?
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 RepliesI'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 RepliesCurrently, i have been compiling my applications with FD/CS3 and want to make the switch to the flex compiler. One of the main things i want to experiment with the flex compiler is using Macros in AS3. For instance, say i have some extremely expensive operation that i wish to carry out:
private function Main():void
{
extremelyExpensiveOperation(params);
}
but i want to avoid the cost of a function lookup. So instead of using a function lookup I do something like
private function Main():void
{
<macro expandExtremelyExpensiveOperationHere(params)/>
}
obviously the syntax doesn't have to look exactly like that, but the macro gets expanded before compilation thus avoiding function lookup.
I am completely new to the whole FlashDevelop/Flash/etc toolchain, but wanted to do some experimenting. I installed FlashDevelop and Flex SDK on my laptop, and thinks worked out just fine, except for one thing: the compiler messages are localized! Messages like "gebruik van een niet-gedefinieerde eigenschap" (Dutch.. sort of) are limiting my productivity. I don't recognize them because they look nothing like what I'm used to in any other programming environment, as a proper sentence they make even less sense than English error messages, and I certainly can't google them properly. Now I've already seen there are a couple of xml files and java/mxmlc/fcsh/etc configs I can tweak, but nothing so far helped.
[Code]...
In my controls I have keydown events that control my hero. As of right now, I am trying to rotate my hero but he refuses to turn . Below is my Hero Class, my control class, and gameobject class. pretty much all the classes associate with the controls class.
package com.Objects
{
import com.Objects.GameObject;
/**
[Code]....
I have a movieClip within another MovieClip. I gave the child movieClip the instance name "hSprite" and I added it to the parent movieClip stage. Now I get an error like the following.
[Fault] exception, information=ReferenceError: Error #1056: Cannot create property hSprite on com.objects.Hero. If I remove the instance name from the child movieclip, then the error goes away. but when I add the instance name back, the error reappears again.
Keep in mind that both classes are set for export. The parent class is embeded by a custom class which work perfectly fine. But the minute I give the child movieClip a instance name, the error starts up again.
[Code]...
I'm migrating a FlashIDE Actionscript 3.0 project to Flashdevelop Actionscript 3.0 (Pure AS). I've noticed that assets importing and project structure are different. What are the other things to lookout for when doing a migration?
View 1 Replieshow to setup, develop and run flex application with flashdevelop.
I am an experienced programmer (PHP, JAVA, JS, ActionScript....) so I just need a good quickstart....
I am trying to open a flex project( created using Adobe Flex) using FlashDevelop.
View 2 RepliesI need to import a flex project into FlashDevelop. However I am unable to find the .actionScriptProperties file. How would I be able to import the project?
It would be great if someone could help me out with it.
How do I have to configure my project to open the generated swf file in the debug flash player? When I hit f5 FlashDevelop tells me the following
INITIALIZING: Adobe Flex Compiler SHell (fcsh)
Starting new compile.
Loading configuration file D:ProgrammierungFlexflex_sdk_3frameworksflex-config.xml
Loading configuration file D:ProgrammierungFlexFlashDevelop_workspaceTestobjTestConfig.xml
objTest633795421567473000 (1009 bytes)
(fcsh)
Build succeeded
Done (0)
[Capturing traces with FDB]
Anwendung nicht gefunden (Application not found)
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 RepliesI want to compile my locale, resource.properties file into a swf.The documentation on Adobe site seems to be insufficient.
View 3 RepliesIf 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 RepliesIs there any way to automatically deploy to a server after I build a flex app, and then debug using the remote url ?
This is totally possible in FlashBuilder, but I am highly hoping that it can be done in FD as well.
im kinda confuse why people use flash cs5 and some are using flex, flashdevelopl and etc..
View 3 RepliesI'm having trouble; the Facebook API that I'm using throws a whole bunch of errors where it has [Bindable] and such. I'm a bit stuck.
View 6 RepliesI 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 RepliesI 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?