flashdevelop

FTD3: Existing Flex project No Code Assist

Hi guys, I am starting to use FDT3, and added an existing Flex project, from what I was using previously,Flex Builder, setting core library to default as3 library I suppose. I however do not have the ability to either (a) get live syntax checking or more importantly (b) predictive syntax completion. I think somewhere it said i should c...

Accessible Flash Content for the blind

Hi All, I am working on a browser project for the blind in my university. For swf files, I am trying to access the contents of an SWF and parse so that screen readers can use it to read it aloud. I was successfully able to extract static text using swfutils.jar from inside the Flex SDK. But I was wondering if the following i spossibl...

Can't embed XML in FlashDevelop

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. package { import com.objects.EngineApi; import com.objects.Rectangles; import flash.display.Sprite; import flash.events.Even...

(mx.core.UITextField is flash.text.TextField) returns false. How is that possible?

I'm traversing the children of an SWF loaded using flash.display.Loader, in an AS-only project under FlashDevelop. Calling flash.utils.getQualifiedClassName(obj) on the object returns "mx.core::UITextField" and while it is a subclass of flash.text.TextField, Calling (obj is flash.text.TextField) returns false. Any insights on that? Am ...

Attach() or Listener for Events (such as onTweenComplete, onTweenUpdate)

I have an instance of an object that starts and stops tweens for sub-movieclips. However I want to do stuff when the tween is finished. So I would like to assign a calling object to events; such as the attach() function does. However when using the attach() function on events it is called right away with the correct object, but when the...

How to remove this?

Hi Am using the flash player, when i right click on it, its showing like this How i can remove MediaXxxScript.com when i rightclick on the player? please help me. Thanks in advance. ...

Dynamicly embed symbols from a swf?

I'm trying to embed an x number of symbols with this: [Embed(source='graphics/backgrounds.swf', symbol='background01')] private var Background01 : Class; the problem is that i have like 100 background symbols and would like to embed them without writing every single one like the code below here: [Embed(source='graphics/backgrounds.s...

How to add support for a new language in FlashDevelop?

I am interested in making a plugin for FlashDevelop to add support for another language. I am not too sure where I should start. So any starting points, hint, tips, or advice would go down well. There is a Plugin Development article on the FlashDevelop Wiki, but the section about adding support for new languages is just a "TODO". So thi...

Actionscript project that loads a Flex SWF, "Could not find resource bundle" Error when using LayoutManager

Hi guys. I'm using an actionsciprt only project (under FlashDevelop) to load an .swf flex file built by another department of the company I work for. Using the follwing code: var mLoader:Loader = new Loader(); var mRequest:URLRequest = new URLRequest('flexSWF.swf'); mLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, onCompleteHa...

How to create ActionScript 3.0 component capable of rotate/translate/skew/scale animation for use in Flash CS?

I need a very special component written in ActionScript 3. It is a rectangle filled with a bitmap. The bitmap is loaded from an external URL based on some programmed rules. The textured rectangle is then animated using Flash CS. Animation is performed using rotate/translate/scale/skew tools. How to create such a component and add it to ...

How to get netstream bytesLoaded and bytesTotal from streaming .mp4?

I have a flex 3 app that uses netstream and a video object to stream .mp4 movies. I want to use the bytesLoaded and bytesTotal properties of the netstream to display the buffering information. I would also like to get any information about the number of frames that are dropped if possible. When I've tested on .flv I'm able to get the ...

how determine if a video is loaded in flex sdk 3.4?

Hello I wanted to know which event determines if an external video is loaded (using Action Script 3, Flex SDK 3.4 compiler and FlashDevelop -VideoEvent is not present here-). I'm using a flash.media.video component I've tried with NetStatusEvent.NET_STATUS and "NetStream.Buffer.Full" but it does not seem to work. Thank you. ...

Flash 10 - read file from a drag and drop action?

Hi, I'm looking at how to read a file in flash 10 here: http://www.thedesilva.com/2008/11/flash-10-file-reference/ is there a way to initiate the file read from a drag and drop? For example, the user drags and drops a text file onto my flash element in the browser - can I initiate the file read from that? Thanks ...

Trace() method doesnt work in FlashDevelop

When I put a trace("test"); at the entry point of my flashdevelop project and run it. The application runs fine but I do not see the trace in the output. Below is my code package { import flash.display.Sprite; import flash.events.Event; /** * ... * @author Anthony Gordon */ public class Main extends Spri...

Concerns about reading a file in Flash 10

Hi, I'd like to read an xml file on a user's machine (which can be kind of large). There's no point in me sending the file to my server as I can do all the work I need on the file right on the client's machine. Not sure if this is a good fit though, was wondering if anyone can answer these questions before I dive in: I see at adobe's ...

What do we need for flash 10 development?

Hi, I'm looking to do some development in flash 10, specifically for the new file api (reading/writing files on the user's local machine). What do I need to develop for flash 10, just Flash cs4?: http://tryit.adobe.com/us/cs4/flash/c/?sdid=ETJMX& or is there some other ide? All I'm really interested in doing is: Make a small swf...

Is there an equivalent to C#'s #region directive in AS3?

Just started coding in AS3 with FlashDevelop and coming from a C# background, I would like to know if there's something equivalent to the #region directive in AS3? The #region directive in C# essentially allows an IDE e.g Visual Studio to collapse or expand a section of code to improve readability. With #region directives, you can split...

Are there any good tutorials for learning AS3 with FlashDevelop?

I found this question, and it mentions the FlashDevelop wiki. However, I couldn't find anything there at all. Where is a good place to start? I have done some work with MXML projects using the Flex SDK, but never any ActionScript programming. ...

flashplayer for my website.

hey everyone. Lets assume i got 3 .flv files in a folder. How can i create a flashplayer which can read the amount of .flv files from that folder and play them. And if example, i add 2 more videos to that folder, the flashplayer will detect them too, and play them chronologically after the name, date, etc.. ?? just need some guide or ...

Use Network Services for FDT

Hi everybody, I've recently started using FDT, for a while I was using FlashDevelop, it had a really handy feature in Compiler options where you can set UseNetworkServices to false which would stop the compiled swf from connecting to the internet and became very useful for running standalone flash apps without security warnings when load...