flashdevelop

flash.display.Loader blocks on load in release build

I'm loading a swf-file from my program written in as3 using the flash.display.Loader class. When I'm using the debug build configuration in FlashDevelop everything works fine. But when I'm using the release build configuration the program freezes for around two seconds efter the loader sends the progress events and before sending the com...

When I zip up my demo FlashDevelop project..why does it break?

I built an AS3 image gallery using FlashDevelop. Before I zip up the application, I can run the image gallery in my browser by simply opening the index.html for the project. Everything works perfectly. I then zip up the project as proj-0.1.2.zip using winrar. I then unzip this newly created zip and try to load the application using th...

Possible to manipulate UI elements via dispatchEvent()?

Hi all! I'm trying to manually dispatch events on a textfield so I can manipulate it indirectly via code (e.g. place cursor at a given set of x/y coordinates). However, my events seem to have no effect. I've written a test to experiment with this phenomenon: package sandbox { import flash.display.Sprite; import flash.events.MouseEvent...

How to measure Silverlight or Flash control load time with Google Analytics

Hi everyone I have a simple silverlight page for for finding available domain names. This problem is equaly valid for a flash control as well. I use Google Analytics for monitoring the traffic. I would like to find out how long it take for users to download and render the Silverlight control. Once the java script on a page is loaded...

Visual Web Developer 2010 auto return and tab

Hi, I'm trying to get Visual Web Developer to treat HTML like FlashDevelop does. In that FlashDevelop will change: <div>|</div> to this: <div> -tab-| </div> with just a press of the enter key after auto completion. I have no idea what this is called and I've looked all through Visual Web Developer's settings. Or I'm hoping that I ...

What components can you use to create AIR apps?

Dear community, I'm creating AIR apps in FlashDevelop using the free Flex SDK. Are there any AS3 components that I can use to speeden up the development process?? For example: List with renaming Tree with dragging items, renaming I searched Google lots, but in vain. ...

Why does my Actionscript 3 program randomly get stuck in an infinite loop?

mBlocks is a 2-dimensional array of Block objects. Every time my application runs, it runs the InitGridNumbers function. Sometimes, it will get stuck in an infinite loop. Other times, it builds and runs without issues. public function InitGridNumbers():void { var tempRow:Array; var tempColumn:Array; var tempNum:int; for ...

Can flashdevelop projects output more than one file?

If I'm using FlashDevelop for multiple swfs that get loaded, can I work with all of them in one project, or do each of the "modules" need their own project? ...

How can I access data from a .fla file using Actionscript 3, Flex 4 SDK, and FlashDevelop?

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

Trouble compiling flashbuilder project with sdk 3.*

Hi everyone, I have a series of projects that we have been using Flex3/Flashbuilder to work with, but I've recently been trying to move over to Flashdevelop for most of my development but I have hit a snag with a certain project structure that Flex/FB can handle but FD/mxmlc can't with sdk 3.* What I have is something like this: proje...

startDrag event on Movie Click only drags one layer flash actionscript3

I have a problem with the startDrag function I'm using in AS3. Right now I have a movie clip which is made up of 4 different layers. I export the movie clip, create and object of it, add in an event listener for mouse clicks that calls the startDrag function. However, instead of dragging the entire Movie Clip and all of its parts, it onl...

flash crash when loading external swf (with code example this time around)

This is a AS3 project created in FlashDevelop. It targets flash player 10. I have a disturbing problem when running this code: package { import flash.display.Loader; import flash.display.MovieClip; import flash.display.Sprite; import flash.events.Event; import flash.net.URLRequest; public class Main extends Mov...

not able to position externally loaded swf

I´m having troubble positioning an externally loaded swf. It simply does not respond to any settings of its x and y values. The swf I´m loading is a pure as3 project created in FlashDevelop where the main class extends sprite. I´ve even tried modifying the x and y values afterwards using MonsterDebugger but with no luck. The swf is loa...

Flash based network of navigable links

I found this site: http://www.silobreaker.com/FlashNetwork.aspx?DrillDownItems=11_81046 and i'm trying to figure out how such a flash component can be made. I'm sure the data points mentioned are predefined beforehand rather than "live", so thta part's fine, but how are the secondary nodes spread out, how does double clicking on another ...

Setting compiler.theme option for Halo/Flex 4 in FlashDevelop

Here's what works with ant build.xml: <mxmlc file="${module.main.dir}/main.mxml" keep-generated-actionscript="false" output="${module.output.dir}/main.swf" fork="${flex.fork}"> <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/> <source-path path-element="${FLEX_HOME}/frameworks"/> <compiler.the...

Flash Components falling apart despite grouping. (AS2)

I am a newbie flash developer who is trying to create a "message box" symbol in my flash application. This message box should appear on an event, so I have as2 code like this which is trying to achieve that: (mcError1 is the instance of my symbol). _root.mcError1.visible = true; _root.mcError1._x = 100; _root.mcError1._y = 8...

Compiling old Flex 2 application with FlashDevelop

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

MinimalComps Flash GUI and Transcoding Errors.

Basically, irrespective of what changes I make to my source, compiling alway yields either a transcoding error, or a missing definition. I'm new to flash so it's difficult for me to understand how to go about fixing the problem. Anyway here is the source. The stack overflow link I always put in all my source, to look at for encouragement...

FlashDevelop Compile settings

I'm using FlashDevelop (latest version) + Flex 4 SDK for some projects, and am finding it a very efficient setup so far. However, I have a problem. Say I create an AS3 project in FlashDevelop, and add AS3 10 classes to it (in 10 .as files), one of them being my main class which will be the principal SWF. As expected, my main class comp...

what is jat file found in flash web games?

Hi Guys I found many .jat files when i analyse a flash web game with firebug. It maybe a user model.But I don't know how does it make? ...