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.
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.
Im testing a program in FlashDevelop, which uses Flash player 10. Need externalInterface to work, but on running this simple test program, it displays "ExternalInterface is not available". How do I get ExternalInterface working? [URL]
<mx:Script> <![CDATA[ import mx.controls.Alert; private function init():void { if (ExternalInterface.available) { [Code] .....
By the way, this script shows "External Interface is available" when I run it in my browser. Its only when I run it in Flash Player 10, that it is not available.
I am trying to embed some xml into my application but I get the following error Fault] exception, information=TypeError: Error #1090: XML parser failure: element is malformed.Here is my code.
Trying to learn some flash and got a question. How do I play a flv video, below code compiles correctly and load flash player but doesn't play anything
var vid:FLVPlayback = new FLVPlayback(); var ui:UIComponent = new UIComponent(); this.addChild( ui );
I've tried a few ways of import an swc I made in flash but i keep getting a transcoding error. The symbol is set to export for actionscript and its baseclass is Movieclip. What is the simplest way to do this
I'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?
I have inherited a Flash project that (I THINK) was started in FlexBuilder, but I dont have FlexBuilder. I have CS3 and FlashDevelop, is it possible for me to continue this project using the tools that I have?
There are a bunch of wierd files like ".project" and ".actionScriptProperties", and obviously no .FLA file.How can I get up and running using either CS3 or FlashDevelop?
So I got this AS3 game thats completely written in Flex without the .fla file and I want to put a clickable button that links back to a webpage to the mainmenu screen.
In the IDE and AS2(which is what I usually work in), it was just simply:
Drag button onto the screen Convert it into a button symbol and then do this:
I am trying to embed a movieClip with flashDevelop but apparently its not working because its not recognizing the movieclips that are within it.[code]...
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.
I am working on a flash game based on an AS3 project using FlashDevelop. I need a textbox with scroll bar. I was able to create an editable TextField, but I can't find a way to add a vertical scroll bar.
I'm just started doing 'hands-on' learning of Actionscript 3 using FlashDevelop. I've now managed to subclass a sprite, load a graphic from the library, and manipulate it around the stage. Next step is doing the same with a MovieClip, but it doesn't seem to be as simple. Basically, I want a simple subclass of MovieClip, that uses a SWF that I created & exported in Flash CS5 (anything else that can create them?), and then added it into my library in FlashDevelop.
In my 'Main' class, I want something like this: package { import flash.display.MovieClip; import flash.events.Event; public class Main extends Sprite { private var myClip:MovieClip;
But that says the child is null, and I'm not sure I should be creating a 'new' MovieClip inside my sub-classed MovieClip anyways.
I've got an ActionScript 3 project in FlashDevelop. How can I embed an FXG file and use it? I've tried to import the file directly (import graphics.Filename) and instantiating it, but doesn't draw anything.
I have been working with Flixel in FlashDevelop for quite some time, and I recently updated my Flixel library to the latest version. Some things have changed names or have been moved or had their inputs changed. For some reason, FlashDevelop is still showing me the documentation from the old version of Flixel as I type things in, so I keep trying to use variable and functions etc that no longer exist.
I'm following directions to set up a debugging in FlashDevelop in web browser.I'm getting confused on 'Configure your project' step. It says:
Open the Project properties and change the "Test Movie" option to "Open Document...". Click on the button which should appear, and enter bin/index.html (path to html page, relative to project root) in the prompt.
What is the bin/index.html file? Is it where my SWF is loaded? I currently have a SWF that loads from a PHP page. So I pointed it to my PHP project's index.php page build project. After build I get a generic Windows message that Windows cannot open the file with that extension.
Is it possible for me to debug my SWF from my PHP page which loads it?
i am tryin to impor the following classes in my FlashDevelop project, import fl.transitions.Tween; and fl.transitions.easing.*; however, in my flashdevelop project i can't seem to find this, i can only seem to find the flash.XXX classes. What do i need to do to gain access to the fl.XXX classes? do i need to download a new sdk or change my ide to something else?
I am developing a word game using flashDevelop . the game is working fine when I compile and run using flashdevelop and it also working fine when I directly open [swf] file from the source [bin] folder. But the problem is when I try to copy and open [swf] file from other than original location its not working. I have also tried to copy the whole bin directory but that also not working. I am using XML file to load in swf file. I am also using flash [swc] file for fl.controls.package.
why is it that when i import the fl.transition packages (probibly others too) that it does not recognise them? it makes the intelisense fail and im relying on that at the moment.I also cant preview swf files from within FlashDevelop, i have to go to flash and do crtl+enter there.
I'm trying to use the FLVPlayback class with Flashdevelop(ie - I am not using Flash CS3 and I don't have the privilege of dragging an FLVPlayback onto the stage). In the as3 language reference it says:
To access the properties, methods, and events of the FLVPlayback class, you must import the class to your application either by dragging the FLVPlayback component to the Stage in your Flash application, or by explicitly importing it in ActionScript using the import statement.
From the above it makes it sound like you can use FLVPlayback without having it in your Flash CS3 library...but I've done some reading and everyone is saying that it must be in your Flash CS3 library to use.
When I try and do this in Flashdevelop(simplified code):
Code: import fl.video.FLVPlayback; var video:FLVPlayback;
I get:
Type was not found or was not a compile-time constant: FLVPlayback
I have 3 questions:
1. Is it possible to use FLVPlayback with pure actionscript? ie - can I just import the class with the import statement and use it without having to connect it in with some IDE like flash or flex?
2. fl.video.FLVPlayback is listed in the AS3 language reference...even if FLVPlayback isn't going to work without it being in my library - why do I get an error when I try to import fl.video.FLVPlayback? Why can't this class be found?
3. If I can only use FLVPlayback by adding it to the library, then are there any video player classes out there that are pure actionscript without this limitation?
I'm completely new to ActionScript (as well as brand new to this forum). I'm using FlashDevelop and Flixel to attempt to make games.
The error code I'm getting is: "Call to a possibly undefined method addEventListener through a reference with static type QuitButton." I have an image, quit.png, that I want to use as a Quit button. When clicked on, I'd like the game to go back to the MenuState. I have the image embedded in QuitButton.as, and MenuState is MenuState.as. The actual button appears in PlayState.as. Here is QuitButton.as, as this is where the problem lies:
[Code]...
I have done some intense googling to try to find a solution, which I'd assume is obvious since I've only just started with flash and I'm not programming anything too difficult yet.
keep in mind I normally use pure as3 and FlashDevelop :)I am really new to this "working with Adobe Flash Professional" thing and I am working with an artist that basically put all the art in a .fla file.I am a veteran pure as3 programmer and I never tried to work with a Fla file(or Flash Pro). I want to work the right easy way and use my classes with the fla to load assets directly.I've tried to find a comprehensive tutorial but had no such luck.Basically I have a bunch of working pure AS3 code in FlashDevelop and a bunch of art assets saved into one .fla file. And my goal is to rasterize (turn into bitmapData) the art assets so I can blit (copyPixel) them whenever I need quickly for good gaming performance.This is a project I am doing to help a friend and I don't have much time to research this by myself so simply pointing me in the right direction to an easy to follow tutorial would be a great start.I tried to read and understand the in-house wiki for FlashDevelop and the instructions there were not clear as far as using Flash Pro 5.5 in conjunction with FlashDevelop.
Currently, 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.