Flash :: Format Actionscript In Flashdevelop?
Jun 16, 2009is there a way to format/beautify actionscript (as3) in flashdevelop? if not are there easy ways to do this without using the Flash IDE.
View 2 Repliesis there a way to format/beautify actionscript (as3) in flashdevelop? if not are there easy ways to do this without using the Flash IDE.
View 2 RepliesI'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 RepliesI 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.
package
{
import com.objects.EngineApi;[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 );
[Code]....
I am trying to load my png file to my application. here is the code
var map:mapLoader = new mapLoader();
map.loadMap("tile.png");
Then here is my file that loads it. it throws the error right when it gets to
loader.load(new URLRequest(currentMap));
if I comment it out. then the error goes away. below is the code in its entirety
package {
import flash.display.Loader;
import flash.net.URLRequest;
[Code].....
How to compile a theme using FD 3 or 4? I have a CSS file with assets and would like to get a SWC file (not SWF) like halo.swc
View 2 RepliesFor developing Flash / ActionScript packages on Windows, there is no better free tool than FlashDevelop.Unfortunately, its reliance on the .Net framework make it ill-suited for AS3 development on Ubuntu. (My attempts to get it working with Mono failed - the installer wouldn't even work.)Is there a similar tool for use with Ubuntu?
View 2 RepliesI'm making a game in actionscript using the FlashDevelop tool and the FlashPunk game engine. I have a designer making movie clips for me to put into this game using Flash CS3.
My problem is that when I add these movie clips into my game they are playing much quicker than they should. Is there a specific frame rate clips need to be made in within CS3 or any other export options set to enable them to play at the correct speed or is this something that I need to deal with in my code.
EDIT
Another problem that I'm having is that the command movieClip.stop() doesn't work. Is there anything special that needs doing while exporting or the programming side?
EDIT
Here is how I'm loading in my swfs:
public var movieClip:MovieClip = new MovieClip();
private var myLoader:Loader;
public function MyMovieClip(location:String)
{
[Code].....
Whenever I compile my project using FlashDevelop in 'Debug' the Flash Player window remains after I have clicked the 'Stop' button in Flash Develop. I have to then switch over to the flash player, click through any error messages and then close the player, which wastes a lot of time in the long run.Any way to make it so Flash Player closes when I click 'Stop' in the Flash Develop debug tools? EDIT: My setup is a fresh install of Windows 7, a new copy of Flash Develop 4 and Flash Player 10.
View 2 RepliesWhen I type a class name without new before, FlashDevelop does not show autocompleate. Is it a way to enable that feature? (do you have the same issue?)
View 2 RepliesI'm trying to figure out why, when I create a movieclip in flashdevelop, said movieclip always ends up being null.Here is the code I'm trying to use:
import flash.display.MovieClip;
import flash.events.Event;
import flash.display.Sprite;
[code].....
I'm developing a website which will need to communicate with an AIR application, I develop with javascript and don't know much about actionscript. I'm at the early stages of this and I'm using a trial of Adobe Flash to create some swf files which can communicate with javascript, the code from the Action window is as follows (most of it is bastardised from web examples):
import flash.external.ExternalInterface;
var myText:String = "Example String";
ExternalInterface.addCallback("sendOutput", sendStaticTextFromAS3);
function sendStaticTextFromAS3():void {
ExternalInterface.call("receiveTextFromAS3", myText);
}
All this is doing is receiving a call from javascript and sending back a string and calling the function which will deal with it (it will become more complex).
My problem is that Flash is going to expire soon, and to future proof the project without having to spend a lot on flash I want to move into FlashDevelop. As I don't need any objects on the stage all I need is to edit actionscript, so FlashDevelop is all I need. I create a new AS3 Project in FlashDevelop and I get given this code:
package
{
import flash.display.Sprite;
import flash.events.Event;
[Code].....
I'm guessing Adobe Flash adds this automatically when compiling the swf so I have no idea where my code is supposed to go, except to add the import flash.external.ExternalInterface; at the top?
i recently switched from cs5.5 to FlashDevelop and i have trouble publishing my app (as3)how do i publish my app to an swf file?
View 1 Repliesim kinda confuse why people use flash cs5 and some are using flex, flashdevelopl and etc..
View 3 RepliesSomeone sent me a .fla file containing several art assets, with instances all configured to be displayed properly and in the right positions. However, since I'm using FlashDevelop with the Flex 4 SDK, I have no idea how to access these instances in code. Some of the objects are MovieClips that I need to modify the size of, and others are Dynamic Text objects that I need to change the display strings of at runtime.
View 2 Replieshow to publish live video feed from webcam in h.264 format non VP6 format with FMS 3.5.2 without using Flash Media Live Encoder, and how to set all parametersto have a good quality and smooth video without interruption, i have a server with 50Mbit bandwidth output enough for a publisher and 10 clients meunderstand this thing's been months since I try but the quality ugly
View 1 RepliesCan anyone offer a clue as to why flashdevelop would compile to a smaller swf than Flash Builder?The FD swf is 150k, FB swf is 220k.I'm exporting as a release build in FB.
View 1 RepliesI want to make a textinput where a person can type in a price. I used "restrict" to only allow numbers and decimal. But the person can type in several decimals and create numbers like 11.1.1.1 or 11...11 or 1.11111
i want to restrict the entry to only one use of a decimal and only two numbers after the decimal.
any other way to format a textinput to a currency format?
I want to format a number in indian format.
for example,
x= 123456 should be formatted as 1,23,456.
How can i do it in flex?
Is there any library in Action Script that be able to convert any video format to .FLV?
I've been looking for it with no success. I thought that as3 had functions for that purposes but not found.
I want to give the possibility that in my site, users can upload any video, so I need to convert it to a standard and compress it to a fixed resolution.
I just installed flashdevelop and downloaded a sample project source at the bottom of this link. I open it up in flashdevelop and when I go to run it, I get an error saying I have to set the field: path to Flash IDE. I'm confused, why is the IDE asking me for the path to the IDE?
View 1 RepliesI'm trying to compile the following program. I have downloaded the TweenMax already added correctly to the folder of the Global Classpaths FlashDevelop as I always do, but when I try to compile it gives the following error in the Output:
"C: MyLibraries greensock-as3 com greensock TweenLite.as: Error: A file found in the source-path must have the Same package structure'', to the definition's package,[url]... Build halted with errors (FCSH)."
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'm trying to use a swc in a FlashDevelop AS3 project, and have been wracking my brain trying all kinds of ideas with no luck. Here is the situation.
1. i have created a swc of a Combobox in the Flash IDE (CS3 Version 9.0) and published it as a swc named "ComboBox1.swc".
[Code]...
I have series of data which is stored in Array
eg :
Code: dateArray:Array = [["user1","1-5-2007"],["user1","13-5-2007"],["user10","21-5-2007"]];
then I loop the array to search the data I want to return to another function...my problem is how to format the date value in array to become this format before I can make a comparison with this value....
5/21/2007--> this value got from this current date
so the problem is how to convert the value in array from this format
21-5-2007 to this 5/21/2007 for all the values....the data I load from dtbase actually that's why it store that kind of format....
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'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
View 2 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 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?
I need to add a combobox in my project. But every example i see is for CS3/CS4 or a as3 flex project. or sfw files
I'm working in Flashdevelop AS3 Project. Does anyone have the most basic script version with a combobox so we can use it, and add on to it.