Flash Builder hangs a lot

Guys, seriously, Flash Builders hangs in all our machines like 4-5 times a day. If you press CTRL+F2 to terminate the debugging session, it hangs 1 in 2. I think that you have serious problems with the multithreading.
Debugging is hellish, more or less 10% of the times it can't connect with the debugger and gets stuck in the 57% (waiting to connect).
The bridge between the debugger and the flash player is weak! For instance, If you close the browser before the connection with the debugger, flash builder doesnt realize it and hangs (not responding...)
Why do you have so many problems with the Flash Player connection??? You need to drop the current approach and choose something more solid!
In overall, the flash builder experience is poor.
I still remember the bug:
http://bugs.adobe.com/jira/browse/FB-16153
But you didn't launch a new flex in order to solve it. We waited for Flash Builder to come. And it is still weak!!!!!!!!!!!!
Mike Morearty has let??? Who is working in Flash Builder? Please, make it rock solid!!!
And, by the way, I love Flex 4. The spark skinning. The states syntax. The two-way binding. It is incredible! You have improved over the Microsoft work in WPF. It is simpler and more elegant. Please, repair Flash Builder.

My Flash Builder 4 (Version 4.0.1 build 277662) also hangs (1-2 times per day).   It can hang randomly, but often I think it's related to the Content Assist window getting stuck.
I run it on Windows 2003 Server SP2 with 1.5GB RAM.     I generally launch apps to IIS 6 and use IE7 for the browser.
My only recovery is to kill the Flashbuilder task and start it up again.     I'm pretty much in the "save and save often" mode nowadays.    Especially when I'm doing anything that might bring up the Content Assist window.
I've included a jstack trace.
Thanks.
C:\Java\jdk1.6.0_21\bin>jstack 752
2010-10-10 09:05:13
Full thread dump Java HotSpot(TM) Client VM (14.2-b01 mixed mode):
"com.adobe.flexide.editorcore.editor.IdleTypingReconciler" daemon prio=2 tid=0x3
9974c00 nid=0x9e0 in Object.wait() [0x3ee0f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:179)
        - locked <0x0c79fc28> (a org.eclipse.jface.text.reconciler.DirtyRegionQu
eue)
"Worker-34" prio=6 tid=0x3958f400 nid=0xb24 in Object.wait() [0x3c62f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
        - locked <0x052e14b0> (a org.eclipse.core.internal.jobs.WorkerPool)
        at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:21
7)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
"Worker-33" prio=6 tid=0x33c97400 nid=0xccc in Object.wait() [0x3b85f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
        - locked <0x052e14b0> (a org.eclipse.core.internal.jobs.WorkerPool)
        at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:21
7)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
"Worker-32" prio=6 tid=0x39766c00 nid=0xef0 in Object.wait() [0x3b73f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
        - locked <0x052e14b0> (a org.eclipse.core.internal.jobs.WorkerPool)
        at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:21
7)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
"Worker-31" prio=6 tid=0x36a7dc00 nid=0xb00 in Object.wait() [0x3b62f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
        - locked <0x052e14b0> (a org.eclipse.core.internal.jobs.WorkerPool)
        at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:21
7)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
"com.adobe.flexide.editorcore.editor.IdleTypingReconciler" daemon prio=2 tid=0x3
3e98800 nid=0xcd4 in Object.wait() [0x3b49f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:179)
        - locked <0x0b6ee648> (a org.eclipse.jface.text.reconciler.DirtyRegionQu
eue)
"com.adobe.flexide.editorcore.editor.IdleTypingReconciler" daemon prio=2 tid=0x3
9a2d400 nid=0xa24 in Object.wait() [0x386bf000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:179)
        - locked <0x0b734bb0> (a org.eclipse.jface.text.reconciler.DirtyRegionQu
eue)
"com.adobe.flexide.editorcore.editor.IdleTypingReconciler" daemon prio=2 tid=0x3
932d800 nid=0x2c8 in Object.wait() [0x384bf000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:179)
        - locked <0x0b5c39a8> (a org.eclipse.jface.text.reconciler.DirtyRegionQu
eue)
"com.adobe.flexide.editorcore.editor.IdleTypingReconciler" daemon prio=2 tid=0x3
9828800 nid=0x994 in Object.wait() [0x3793f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread
.run(AbstractReconciler.java:179)
        - locked <0x0b5c3a28> (a org.eclipse.jface.text.reconciler.DirtyRegionQu
eue)
"Worker-26" prio=6 tid=0x36e8a800 nid=0xb5c in Object.wait() [0x3b17f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
        - locked <0x052e14b0> (a org.eclipse.core.internal.jobs.WorkerPool)
        at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:21
7)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
"Worker-25" prio=6 tid=0x397d3800 nid=0xecc in Object.wait() [0x3cd2f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:185)
        - locked <0x052e14b0> (a org.eclipse.core.internal.jobs.WorkerPool)
        at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:21
7)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:51)
"AWT-Windows" daemon prio=6 tid=0x3941e800 nid=0xed4 runnable [0x385bf000]
   java.lang.Thread.State: RUNNABLE
        at sun.awt.windows.WToolkit.eventLoop(Native Method)
        at sun.awt.windows.WToolkit.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
"Java2D Disposer" daemon prio=10 tid=0x396d3800 nid=0xf94 in Object.wait() [0x38
3bf000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x09fc0d20> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x09fc0d20> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at sun.java2d.Disposer.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
"[ThreadPool Manager] - Idle Thread" daemon prio=6 tid=0x36b35400 nid=0xd64 in O
bject.wait() [0x3813f000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Ex
ecutor.java:106)
        - locked <0x058ca3e8> (a org.eclipse.equinox.internal.util.impl.tpt.thre
adpool.Executor)
"Provisioning Event Dispatcher" daemon prio=6 tid=0x33f0c000 nid=0xb94 in Object
.wait() [0x37f1f000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x05897be8> (a org.eclipse.osgi.framework.eventmgr.EventMa
nager$EventThread)
        at java.lang.Object.wait(Object.java:485)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
vent(EventManager.java:393)
        - locked <0x05897be8> (a org.eclipse.osgi.framework.eventmgr.EventManage
r$EventThread)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:333)
"Thread-4" prio=6 tid=0x33f13000 nid=0xb58 runnable [0x3713f000]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(Unknown Source)
        - locked <0x056975c0> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(Unknown Source)
        at java.net.ServerSocket.accept(Unknown Source)
        at com.adobe.flexbuilder.flexunitrunresults.data.ClientSocketsManager.li
sten(ClientSocketsManager.java:64)
        at com.adobe.flexbuilder.flexunitrunresults.data.ClientSocketsManager.ru
n(ClientSocketsManager.java:113)
        at java.lang.Thread.run(Unknown Source)
"Bundle File Closer" daemon prio=6 tid=0x366d0c00 nid=0xec in Object.wait() [0x3
703f000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
vent(EventManager.java:393)
        - locked <0x056976f8> (a org.eclipse.osgi.framework.eventmgr.EventManage
r$EventThread)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:333)
"Thread-1" prio=6 tid=0x3379e800 nid=0x6e8 runnable [0x3529f000]
   java.lang.Thread.State: RUNNABLE
        at com.adobe.flexide.nativelibs.BridgeTalk.WaitForMessages(Native Method
        at com.adobe.flexide.nativelibs.BridgeTalkInterface$BridgeTalkMessageHan
dlerThread.run(BridgeTalkInterface.java:166)
"[Timer] - Main Queue Handler" daemon prio=6 tid=0x33b8a000 nid=0x71c in Object.
wait() [0x3413f000]
   java.lang.Thread.State: TIMED_WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerI
mpl.java:141)
        - locked <0x052e1540> (a java.lang.Object)
        at java.lang.Thread.run(Unknown Source)
"Framework Event Dispatcher" daemon prio=6 tid=0x33607800 nid=0xbf8 in Object.wa
it() [0x33b3f000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
vent(EventManager.java:393)
        - locked <0x051cf228> (a org.eclipse.osgi.framework.eventmgr.EventManage
r$EventThread)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:333)
"Start Level Event Dispatcher" daemon prio=6 tid=0x336bb400 nid=0x598 in Object.
wait() [0x33a3f000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x051cf2a0> (a org.eclipse.osgi.framework.eventmgr.EventMa
nager$EventThread)
        at java.lang.Object.wait(Object.java:485)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
vent(EventManager.java:393)
        - locked <0x051cf2a0> (a org.eclipse.osgi.framework.eventmgr.EventManage
r$EventThread)
        at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
tManager.java:333)
"State Data Manager" daemon prio=6 tid=0x33699c00 nid=0xd24 waiting on condition
[0x3393f000]
   java.lang.Thread.State: TIMED_WAITING (sleeping)
        at java.lang.Thread.sleep(Native Method)
        at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.j
ava:306)
        at java.lang.Thread.run(Unknown Source)
"Low Memory Detector" daemon prio=6 tid=0x32d61400 nid=0xf0c runnable [0x0000000
0]
   java.lang.Thread.State: RUNNABLE
"CompilerThread0" daemon prio=10 tid=0x32d5ac00 nid=0x7e4 waiting on condition [
0x00000000]
   java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x32d59400 nid=0x864 waiting on condition [
0x00000000]
   java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x32d58000 nid=0x87c runnable [0x00000000
   java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x32d47c00 nid=0xe78 in Object.wait() [0x330cf000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        - locked <0x05120420> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(Unknown Source)
        at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=10 tid=0x32d43400 nid=0x770 in Object.wait() [0x
32fcf000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
        - locked <0x05120090> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x00906c00 nid=0x2a4 runnable [0x0012f000]
   java.lang.Thread.State: RUNNABLE
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2410)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3471)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBui
lderApplication.java:109)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
"VM Thread" prio=10 tid=0x32d40400 nid=0x254 runnable
"VM Periodic Task Thread" prio=10 tid=0x32d62c00 nid=0xe48 waiting on condition
JNI global references: 1690

Similar Messages

  • Flash Builder Hangs when compiling to AIR App

    I created a presentation in Catalyst with some embedded objects and some linked objects, then jumped it to Flash Builder to have my developer add in some scripts. We then tried to Export Release Build to create an AIR application. Problem is, it won't pull the linked assets. If I check the box to include the assets it hangs on the compilation. I can just keep clicking the "Finish" button and nothing happens. If I deselect the "Assets" I can click "Finish" it compiles the AIR application, but I'm left with a basically empty application. I don't understand what's happening. Any help please.
    Thanks
    Jim

    Well Anirudh, it somewhat worked. I added the new source
    folder just like you diagrammed and when I compiled the project to an AIR application the application file size jumped from 3mb to 500mb. So it obviously pulled the linked images. But when we installed the AIR application the images still weren't found. Any ideas?
    Right now there are two items in the project that have Assets in the name. I don't think this is correct.
    Here's a screen grab.

  • Flash Builder hangs on load

    I am trying to use flash builder and when I load the application, it freezes and I am forced to quit. Any solution? Thanks.

    Not sure what ver. of flash you are using but there are a couple of hotfix patches for CS4 pro (mac and pc) from adobe that may help. Read here:
    http://adobe.com/support/flash/downloads.html
    Hope it helps.

  • Flash builder 4.7 air 3.6 new adt compiler

    Hi. Ive been having serious issues when i tried to "Export release build" using air 3.4 and/or air 3.5 on Flash builder 4.7. Goit a lot of nonsense java.lan.nullpinter exceptions and similar errrors.
    When i tried to debug or run, even on device generating the ipa, everything ok. But when i tried to export the project, and it tried to re-compile it, always got absurd java errors.
    Ive tried everything: downgrade the java virtual machine, reinstalling flash builder, air, even windows!!! Nothing worked. Even recovering previous stages of the project where I originally could export it (its even published on the appstore!). No use. The app that was working no problem, now when trying to export returns a lot of javanull pointers or similar crap.
    BUT, when trying to generate the ipa through via command lines  on the ms dos console it works!! So... its obvious the problem was on the adl+java duo.
    Thing is, I updated to the just released AIR 3.6 (not the beta, the release version). It uses .exes(on windows, which is the system im using)  instead of java, so it showed promise.
    I overlayed the air version on the flash builder following this instructions:
    http://forums.adobe.com/message/4797974
    Well, not exaclty, because then flash builder throws a lot of errors and dosent show me the package explorer for instance.
    I made a copy of the AIR folder, but not deleted the content, just copied the new air version files over and substitute the replicas, but kept the originals where no new file substituted them (dont know if im explaining it ok, sorry for my english).
    It worked... except for the damn "Export release build" option. It keeps trying to debug it using java instead of using the new adt. And I cant find how to change that.
    The adt on the other hand is being used ok, as i can check it when I try to run or debug the project targetting a device. Before I could check the command used and now Im not, so Im pretty sure its using the new .exe instead of the java version. But now I dont know how to generate the ipa targetting the app store, for instance via command line using the new adt nor can i do it exporting the project from the flash builder IDE.
    SO...
    is there anyone having similar problems?
    How can I correctly overlay air 3.6 over Flash Builder 4.7 and force it to use the new air adt and adl?
    Anyone tried?
    Thanks in advance folks!!!

    Thanks everyone for your collaboration.
    Hey Nabren, What do you mean by "as well"?
    Just to make it clear. I already followed the instructions here:
    http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder. html
    to overlay the air sdk. And the folder you are pointing me is the ONLY ONE the instructions tell me to replace. BUT when you say "as well" I understand something else have to be done.
    Ill explain the whole process Ive followed and the consequences:
    As I said I replaced the content on the AIRSDK placed in the fodler C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722 (or similar), for the content of the new SDK.
    The result is that flash builder throws me a lot of errors and is unable  to show even the package explorer, for instance or create a mobile project, so I went back to the original AIR folder. No problem there.
    When I was using flash builder 4.6 I overlayed the sdks in this way: made a copy of the last flex SDK (which already had the air sdk inside), and copied the content of the  latest AIR SDK over the current sdk, replacing only new files, keeping those not includded on the air sdk. That way I could keep several flex+air sdks, and could select wich sdk to use for each library/project. Now this doesnt work anymor on flahs builder 4.7.
    So I tried this:
    I made a copy of the AIR sdk under C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722 and copied over the new sdk ont he folder overwritting new files,keeping those not included on the new sdk... and this works! Everythings fine. I can debug complex projects on air simulator even launch it on an iphone or ipad...
    BUT it keeps throwing me JAVA errors (null pointer exceptions and things like that) when exporting that makes no sense at all (different errrors without making any change, now no error now another one...).
    More info on the projects provoking this behaviour:
    They are mobile projects (ios mainly). They use several libraries. Some of them come from compiled swcs from flash cs6 (wich contains classes we are using as views). All libraries have been double checked. They are fine. The problems emerge when trying to export targetting the apple store. Weve double checked the provisioning and the certificate. They are correct. In fact, when we try to generate the ipa using adt via command lines on ms-dos it works!
    Weve tried to remake and the rebuild the project class by class, even recreate the flas we are using to generate the swcs to be used as libraries on the project... it only works when the project is almost empty. As soon as some content is added.. bumm! Java errrors all over when trying to export.
    Our main machine is an i7 2.93 Ghz, 8 GB ram, 64 bits. Windows 7 Ultimate 64 bits, using Flash builder 4.7 64 bits and flash cs6 64 bits. But we have checked on other mahines and sme thing happens.
    Doesnt anyone else have these problems? Is there any other way to overlay the air sdk?
    Thanks again.

  • Flash Builder's debugger is hanging my browser!

    Hi everyone!
    I've been running into a situation where every time I try to debug my app, in Flash Builder my browser hangs!
    I've tried installing both Flash Player debuggers I found on the Adobe site: The Windows Flash Player ActiveX control content debugger for Internet Explorer and Netscape compatible browsers.
    Both IE and Mozilla freeze when my app tries to make a connection back to my local server (localhost), which stops either browser from connecting to Flash Builder.  Google Chrome simply cannot install the Flash Player debugger plugin.
    I can't seem to get around this. There seems to be a bug in the Flash Player debugger!!
    Does anyone know how to fix this?
    I read from http://bugs.adobe.com/jira/browse/FB-16153 that the installed Flash Player is the wrong version. And reinstalling a debugger version of Flash Player 9 would solve it. But what if I need the Flash Player 10? Then what?
    Thanks.
    I'm working with:
    Flash Builder 4
    Flash Player 10.3
    Mozilla 4.0 Beta 7
    Internet Explorer 8.0.6

    I think I can help because I had the same problem and I spent a lot of hours trying to fix the problem. I tried several solutions but none of them worked. The problem is that the Flash Player in the browser hasn't debugging capabilities. The link mention earlier, http://flashplayerversion.com/, is a really good one to check if your browser's Flash Player has this feature.
    The solution for IE and Firefox can be found from this link http://www.adobe.com/support/flashplayer/downloads.html.
    Make sure you download:
    Download the Windows Flash Player 10.1 ActiveX control content debugger (for IE) (EXE, 2.93 MB)
    Download the Windows Flash Player 10.1 Plugin content debugger (for Netscape-compatible browsers) (EXE, 2.90 MB)
    The first link will install debugger player for your IE and the second one for your Firefox. I think it's a bit misleading to mention "Netscape" nowadays, it should be switched to Firefox.
    Because Chrome has the Flash Player integrated (which is GREAT) it does, however, cause more problems to get a debugger player for it. However, as long as I have at least one browser that makes debugging in Flash Builder function -- I'm happy!
    One last thing, in Flash Builder make sure your web browser in Preferences is one that has a debugging supported browser. Go to Window > Preferences and choose General > Web Browser. Make sure the browser is either IE or Firefox. I also tried with Opera (v. 10.63) and it had the debugged version of Flash Player. So, Google just needs to do add a little improvement that developers can have a debugged player and everything is perfect.
    I hope this helps!
    --Herman
    Small typos fixed. Message was edited by: UpNorthWeb

  • I cannot install flash builder 4.6.  Installation hangs while unpacking files

    Below is the information from the event viewer.  I am using Windows XP SP3.  I don't know, but I wonder if it has something to do with our roaming profiles.  The place it seems to be trying to unpack to is \\EssexHQVM\Desktops$\user.name\Desktop\Adobe Flash Builder 4.6 Installer, which has a special character in it.  I can't find any way to have the file unpack to another location, it doesn't prompt for a location.
    Event Type:
    Error
    Event Source:
    Application Hang
    Event Category:
    (101)
    Event ID:
    1002
    Date:
    12/9/2011
    Time:
    10:56:55 AM
    User:
    N/A
    Computer:
    MIKESHOST
    Description:
    Hanging application FlashBuilder_4_6_LS10.exe, version 1.0.1.2, hang module hungapp, version 0.0.0.0, hang address 0x00000000.
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 41 70 70 6c 69 63 61 74   Applicat
    0008: 69 6f 6e 20 48 61 6e 67   ion Hang
    0010: 20 20 46 6c 61 73 68 42     FlashB
    0018: 75 69 6c 64 65 72 5f 34   uilder_4
    0020: 5f 36 5f 4c 53 31 30 2e   _6_LS10.
    0028: 65 78 65 20 31 2e 30 2e   exe 1.0.
    0030: 31 2e 32 20 69 6e 20 68   1.2 in h
    0038: 75 6e 67 61 70 70 20 30   ungapp 0
    0040: 2e 30 2e 30 2e 30 20 61   .0.0.0 a
    0048: 74 20 6f 66 66 73 65 74   t offset
    0050: 20 30 30 30 30 30 30 30    0000000
    0058: 30                        0      

    So, the best solution that I have come up with, which is a poor solution, is to run the .exe file on a machine that is not connected to our network and wait for the files to unpack.  Then copy the files to a thumb drive and move them to the computer that I work from.  I can then install Flash builder with no problem. 
    This is a kludgy work around that ought not be.  How hard is it to have the unpacking routine prompt for a location?  That would allow me to give it a location to unpack that would not cause a hang up.  Or, failing that, why not unpack in the same location as the file that is doing the unpacking?  Then I could simply place the file in a good location and let it run.

  • Flash Builder 4.5.1 for Mac hanging/crashing during startup "Loading Workbench"

    Hello,
    I'm having ongoing trouble with Flash Builder 4.5.1 hanging/crashing during startup.
    Sometimes the following Terminal command fixes the issue:
    cd ~/Documents/Adobe\ Flash\ Builder\ 4.5/cascaded/308971/configuration/.settings
    rm org.eclipse.ui.ide.prefs
    However this isn't a silver bullet solution, and sometimes the only way is to uninstall and reinstall FB4.5.
    But this is a major hassle, especially after 3 or 4 times!
    I am running Mac OS X 10.7 and have updated to FB 4.5.1 Premium and also installed Subversion/Subclipse as well as the BlackBerry PlayBook SDK.
    Problems seem to occur when working in SVN projects.
    I have also noticed that the Delete and Arrow keys and Right Click fails to work sometimes also.
    Is there a way to reset / clear FB 4.5 Prefs / Workbench?
    Thanks,
    David Douglas
    Here is the console report below:
    /Applications/Adobe/Adobe\ Flash\ Builder\ 4.5/Adobe\ Flash\ Builder\ 4.5.app/Contents/MacOS/Adobe\ Flash\ Builder\ 4.5 ; exit;
    !SESSION 2011-09-13 15:07:58.914 -----------------------------------------------
    eclipse.buildId=M20100909-0800
    java.version=1.6.0_26
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86, WS=cocoa, NL=en_US
    Framework arguments:  -keyring /Users/david/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86 -keyring /Users/david/.eclipse_keyring -consoleLog -showlocation
    !ENTRY org.eclipse.core.resources 2 10035 2011-09-13 15:08:02.101
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
    !ENTRY org.eclipse.ui 2 0 2011-09-13 15:08:02.905
    !MESSAGE Warnings while parsing the commands from the 'org.eclipse.ui.commands' and 'org.eclipse.ui.actionDefinitions' extension points.
    !SUBENTRY 1 org.eclipse.ui 2 0 2011-09-13 15:08:02.906
    !MESSAGE Commands should really have a category: plug-in='com.qnx.flashbuilder.multiplatform.qnx.ui', id='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.OpenInfoCenter', categoryId='com.qnx.flashbuilder.multiplatform.qnx.ui.commands.category.help'

    Delete the Adobe Flash Builder 4.5 folder from your Documents (assuming you don't have anything valuable in there). That seemed to work for me, as I don't keep my projects in there but there were some temp files that were breaking it. You'll probably have to re-inport your projects.
    Adobe, I'm getting very sick of your (expensive) products wasting my time.

  • Flash Builder 4.5 Hangs When Loading Large Projects

    I recently upgraded from Flash Builder 4.0 to Flash builder 4.5.  I am running the 32 bit version of Eclipse Helios on windows 7, 64 bit.  I have installed the latest 32 bit Java build, jdk1.6.0_25
    Smaller projects and libraries appear to build and run fine.  However when I attempt to load my main application, which is quite large, Eclipse Hangs for several minutes.  Occasionally it will return after some time, but as soon as I move the mouse cursor again it hangs again.  The last attempt had 1.8 Gigs of memory allocated to the eclipse process before I killed it.
    Some other things I have noticed.
    *) 4.5 does appear to be more sluggish for me generally than 4.0 for the demo apps I have built to test weather or not the install is working
    *) If I do not attempt to actually open any files, I am able to clean the project and have it produce an executable
    *) I have "build automatically" turned off, the problem does not seem to be initiated by the build. The problem seems to be something to do with loading large mxml files or files which include large mxml files.
    *) The log files only complain about Eclipse being closed improperly (from me killing it aftter a prolonged hang) and about a collision with the ctrl+shift+G key combination
    *) I have reverted to the original 4.0 plugin and the project still builds fine
    *) Opening the stand alone flash builder 4.5 and pointing it at the same projects that work in 4.0 yields the same hanging symptoms as the 4.5 plugin version
    *) I have juiced up my Eclipse memory settings and confirmed that they work quite well for my 4.0 build.  My Eclipse.ini looks like:
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256m
    -startup
    plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
    -product
    org.eclipse.epp.package.java.product
    --launcher.defaultAction
    openFile
    --launcher.defaultAction
    openFile
    -vm
    c:/Program Files (x86)/Java/jdk1.6.0_25/bin/javaw.exe
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms1024m
    -Xmx1024m
    -XX:PermSize=256m
    -XX:MaxPermSize=256m
    I am really interested in several of of the new 4.5 features.  Any comments / suggestions welcome.  I am out of ways I know how to trouble shoot this short of rebuilding my app up from scratch by adding components one at a time, which would take a very long time.
    If it would be at all helpful, I would be happy to drop by the San Francisco office with my laptop to trouble-shoot this
    -Chris.

    When I run the application in the memory profiler under FB 4.0 it takes
    about 80MB of RAM peak.
    I can not get the app to launch out of FB 4.5.
    I have reproduced this issue on two different machines running only Eclipse
    both stand alone and the plugin versions.
    My machine has 4GB of RAM, my typical usage is less than 2GB.
    Right now with FB 4.0 I am working on the problem project and a few sample
    projects and Eclipse is consuming about 600MB which seems normal to me.
    The confusing thing for me is that everything works fine and is responsive
    with FB 4.0 and the issue does not seem to be actually compiling the
    application, rather it has something to do with how FB is parsing my source
    code that causes the hang.  Almost like somehow a circular dependency check
    that used to work is now failing or something like that.
    I am not sure how to find out what FB 4.5 is hanging on precisely.  I can only
    see that the logs look normal and memory usage climbs out of sight while it
    is hanging.
    -Chris

  • Flash builder 4.7 consuming lot of memory in VMware VDI environment.

    Flash builder 4.7 consuming lot of memory in VMware VDI environment. When we debugg the application then it is throwing out of memory exception. We need to close and relaunch Flash builder IDE numerous times. Can you please help us with setting changes we need to make for flash builder or VMware VDI environment so that we can resolve this issue?

    Hi Atul_Saini,
    So I checked your link and all seems correct on my computer.
    At the bottom of the link you provided there is "see also" section, about activation / deactivation.
    I did not deactivated my licenses before my window re-install, and if now I go to Flash Builder -> Help , desactivation button is greyed out. Could it be the source of my problem that I used my licenses on two computer and did not deactivated them ?
    If yes, how could I deactivate thoses products ? I searched on my profile but I can't find a way to do it.

  • Flash Builder 4: Installation hangs

    Hi,
    just downloaded Flash Builder 4 and try to install, but installation hangs on at "Installing..." screen. What can cause the problem?
    I use Windows XP SP3.

    Where did you extract your installer to? There's a known bug where a subcomponent hangs when installing on windows when the path contains a leading space https://bugs.adobe.com/jira/browse/FB-26442.
    Jason San Jose
    Software Engineer, Flash Builder

  • Flash Builder Constantly Hangs. HELP!!

    I'm running Flash Builder CS5 on a 64bit Windows 7 HP box and it constantly hangs while typing, selecting text, pasting, and other normal actions in the editor. It hangs for 5 to 10 minutes and then goes back to working normal again. However, sometimes for not more than a single character being typed and it hangs again! It's gotten so frustrating I'm wondering how I am ever going to complete my AIR app. Some days it is hung for longer than it is working and so I get virtually nothing done.
    Does anyone have an idea why it might constantly hang? I am not running any versions of Eclipse or Aptana on this machine.
    Thanks!
    PK

    Well, I finally figured this out. Even though I had uninstalled Webroot Security Essentials (anti-virus software) it never really was gone. Because I didn't know that I brought my machine back to factory software state and reinstalled Adobe. Flash Builder was working great so I re-installed Webroot and FB started crashing again. This time I was able to uninstall Webroot completely and FB is working again.
    I switched to XFinity security (Norton) and it is still working correctly.
    Although I ranted against Adobe a bit (sorry, guys) it wasn't directly their fault. Still, for the amount of money the company makes on these products it would be nice if they tested them against the leading anti-virus packages so if there is a problem it can get resolved by the software companies. Just a thought.

  • Flash builder mobile app hangs on Realease Build after air 3.1 (3.2 - 3.8) for IOS devices

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

  • Flash Builder 4.5, debugger hanging at 57% need a solutions

    I have been reviewing "All" the web solutions to my problem and have not found a solution.  I have rebuild my work space so many times I can do it in my sleep.  I have installed/uninstalled the flash player (debug version) again so many time I can do it in my sleep.  I have rebooted and rebooted so many times I can tell how long it takes down to the second when my system will be available.
    I am not an ID10T, yet I am starting to feel like one.
    Here is my environment:
    Windows (wishing it was an apple)
    Browser(s): FireFox version 6
    Flash Builder version 4.5
    Flash player (latest debug version)
    Attached snapshot from FlashPlayerVersion.com
    As you can see from the image I have a debug version installed and the debugger options is disabled, this makes no sense to me and real assistance is appreciated.
    Thank you
    Harold
    Just because one guy can make a baby in 9 months, doesn't mean 9 guys can do it in 1 --> Debug takes time not just bodies.

    This is what I did and it worked fine, now I am really confused.  Your
    continued assistance is appreciated.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Script>
    <![CDATA[
    import mx.controls.Alert;
    protected function button1_clickHandler(event:MouseEvent):void
    // TODO Auto-generated method stub
    Alert.show("in...")
    ]]>
    </fx:Script>
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Button x="52" y="110" label="Button"
    click="button1_clickHandler(event)"/>
    </s:Application

  • Flash Builder will not debug app with .ane on Android Device

    Hello ,
    I'm having a big issue with the overall stability of Flash Builder 4.7 on my Mac (OS X 10.7.5)
    I developped an extension on FB 4.6 for iOS and Android and it was  working good. In the meantime I updated to 4.7, and since then I keep on running in to lots of problems when debuggin or compiling.
    Now my extension needs to be extended, and suddenly the complete project stopped, because debugger refuses working on android devices.
    The error I get is:
    An internal error occurred during: "Launching MyAppWithExtension".
    java.lang.NullPointerException
    at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.retainExtensionIds(AppXMLFileANEExtensionHandler.java:309)
    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANEController.java:360)
    at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANEController.java:326)
    at com.adobe.flexbuilder.project.ui.utils.ANE.AbstractANEPackageHandler.modifyAppXMLforPackaging(AbstractANEPackageHandler.java:86)
    at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandler.handleANEPackagingDetails(AbstractMultiPlatformLaunchHandler.java:195)
    at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandler.applyPackagingDetails(AbstractMultiPlatformLaunchHandler.java:168)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.initialisePackager(ADBLaunchHandler.java:533)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage(ADBLaunchHandler.java:409)
    at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch(ADBLaunchHandler.java:350)
    at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatformLaunchDelegate.java:184)
    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:244)
    at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:134)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
    at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
    at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
    at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Session Data:
    eclipse.buildId=M20110909-1335
    java.version=1.6.0_51
    java.vendor=Apple Inc.
    BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
    Framework arguments:  -keyring /Users/myusername/.eclipse_keyring -showlocation
    Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/myusername/.eclipse_keyring -consoleLog -showlocation
    This is a continuation of log file /Users/myusername/PathToMy/Workspaces/MyAppWithExtension/.metadata/.bak_0.log
    Created Time: 2013-07-24 11:43:14.053
    What I tried so far:
    - Creating new workspace
    - Running Flash Builder with -clean parameter at startup
    - Reinistalling Flash Builder using Adobe Clean Tool
    - Stripping all metadata from the project (keeping only the source files) and make a complete new project setup.
    All to no avail.
    There's a good chance, I have a problem in my .ane code, but how am I supposed to find out, if debugger isn't working?
    BTW, I can make an release build of the project, but it hangs after the splash screen. I don't know, if it's a build or coding error, though.
    Ironically, I convinced my my employer to update FB to 4.7 due to the advanced iOS debugging features, but now I already spent about 10 times more working hours in finding workarounds to debugging / compiling issues than these features will ever be able to save me.
    Maybe anybody here has an idea on how to solve this issue ?

    Ok, this is an old post but i still needed a couple of hours to find a solution, so here we go:
    - Most likely you have TWO executable build targets in your project (two mxml that you can launch). If so, go to the Project settings > Flex Applications and remove the one you don't need so you only have one.
    - My case was a bit complex though - i was using an ANE and Coldfucion server. In this case change the Output folder in the Project Properties > Flex Server > Output folder to something like "temp" instead of "C:..." generated by Flex Builder. The Android device gets confused by a "C:" reference but still can understand a local "temp" folder
    I hope i have saved your day

  • Flash Builder 4 Extremely slow under Windows 7 + Java

    Hello,
    I have the following configuration:
    Sony VAIO SZ
    Intel Core 2 Duo 2.1 GHz (T8100)
    4GB DDR3
    NVidia 8400M GS
    320GB (7200 RPM) HDD
    Windows7 Ultimate (6.1.7600)
    I'm trying to use Adobe Flash Builder 4 (build 272416) in Trial mode.
    I was working for a long time already with the Flex Builder Plug-in 3. Compilation time was always a headache, true, but it still was affordable. But with the Flash Builder 4 production that became so bad that I can't simply use it event to test.
    When started form the "clean" workspace, bundled Eclipse and only one project (Flex) is created - everything looks fine. Even if you add a "hello world" pop-up to your application (that's sarcasm, yeah =)
    The situation changes dramatically when you have any number (greater than zero of course) of Java projects in your workspace.
    Compilation time skyrockets to about 1 - 2 minutes - first (on an empty project created with wizard). Second - it starts crashing with or without reason.
    When I'm trying to create a new Flex project (having several Java projects in the workspace) - the moment the wizard is complete and it's going to show me the contents of the newly created MXML (yes, a few lines with no logic at all) it crashes. When I'm trying to open existing project - well, it opens, but compilation times are greater than 2 minutes (that's a tiny project with a few screens with primitive design, three AS classes and two CSS files and one image included) whenever I just put an empty string to even the main MXML.
    When I'm trying to switch to design view - it crashes 80% of time. The rest 20% it show "gray field" and bugs UI completely.
    When building starts - the only way to avoid it ... well ... go drink a tea. It's impossible to cancel and if I try to cancel it - it hangs forever. Only killing the eclipse process helps.
    And, really, 2 minutes of compilation time? Are you serious? It's like, change the line of code, save, wait 2 minutes with 50% chance of observing never-ending activity?
    Btw, I've tested the Flash Builder Beta - there were no such problems. Everything was really cool and smooth. Compilation time was even faster than Flex Builder 3. And such a surprise with the production version.
    It's all with the JDK 6u14 (yes, I've tested it with the most recent one - 6u18 - the same picture).
    So, is there anyone experiencing the same behavior and any hints on how to fix it? It's really annoying especially knowing and waiting to get hands on all those great SDK 4 features.
    Thanks!

    I think the longer compile times when embedding fonts are sort of to be expected. You're embedding an awful lot of glyphs into your SWF (versus using device fonts or setting an explicit unicode range).
    For example, I tried with the following simple example in Flex 4.0:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark"
            xmlns:mx="library://ns.adobe.com/flex/mx"
            applicationComplete="lbl.text = (loaderInfo.bytesTotal / 1024).toFixed(2) + ' KB';">
        <fx:Style>
            @namespace s "library://ns.adobe.com/flex/spark";
            @namespace mx "library://ns.adobe.com/flex/mx";
            @font-face {
                fontFamily: Calibri;
                fontWeight: normal;
                fontStyle: normal;
                src: url("c:/windows/fonts/calibri.ttf");
            @font-face {
                fontFamily: Calibri;
                fontWeight: bold;
                fontStyle: normal;
                src: url("c:/windows/fonts/calibrib.ttf");
            @font-face {
                fontFamily: Calibri;
                fontWeight: normal;
                fontStyle: italic;
                src: url("c:/windows/fonts/calibrii.ttf");
            @font-face {
                fontFamily: Calibri;
                fontWeight: bold;
                fontStyle: italic;
                src: url("c:/windows/fonts/calibriz.ttf");
            global {
                 fontFamily: Calibri;
                 fontSize: 24;
        </fx:Style>
        <s:controlBarContent>
            <s:Label id="lbl" color="red" fontWeight="bold" />
        </s:controlBarContent>
        <s:VGroup horizontalCenter="0" verticalCenter="0">
            <s:Label text="Calibri regular" />
            <s:Label text="Calibri bold" fontWeight="bold" />
            <s:Label text="Calibri italic" fontStyle="italic" />
            <s:Label text="Calibri bold+italic" fontWeight="bold" fontStyle="italic" />
        </s:VGroup>
    </s:Application>
    Now, the .SWF file in my /bin-debug/ folder was pretty large (~1440 KB -- or about 1.4 MB). When I exported a release version of the .SWF using Builder that number dropped down to ~970 KB (or 0.9 MB). Still rather large.
    Typically when embedding fonts you'll want to specify a unicode range so you only embed the characters you care about (English uppercase/lowercase, punctuation, numbers, etc). Or you could embed Thai ranges or whatever else you want.
    So if I specify the following unicode range for each of the four embed statements, the SWF sizes drop considerably:
    unicode-range 
    : U+0020-002F,U+0030-0039,U+003A-0040,U+0041-005A,U+005B-0060,U+0061-007A,U+007B-007E;
    /bin-debug/: ~970 KB (67%)
    /bin-release/: ~520 KB (53%)
    You can find some examples of unicode ranges in the /frameworks/flash-unicode-table.xml file in the Flex SDK. Also, you can specify custom named unicode ranges in your /frameworks/flex-config.xml file:
    <!-- Defines ranges that can be used across multiple font-face declarations. -->
    <!-- See flash-unicode-table.xml for more examples. -->
    <!-- not set -->
    <!--
    <languages>
      <language-range>
        <lang>englishRange</lang>
        <range>U+0020-007E</range>
      </language-range>
    </languages>
    -->
    And this way you could just specify a unicode-range of "englishRange" instead of having to do U+0020-002F, etc.
    Hope that helps,
    Peter

Maybe you are looking for

  • Losing Title Bar when changing Look and Feel on the fly

    Hello, I have an option in my Swing app for the user to change the Look & Feel on the fly by selecting from a radio button list. The look and feel is changed when the user make the selection, however the Windows Title Bar disappears. Any ideas what I

  • Discounting line inventory items in Web Customer

    I have implemented field sales on line for opportunity management and contacts. I am using Web Customer to generate quotes which are then pushed through to OE. Web Customer does not allow discounting of line items. Has anyone figured out how to disco

  • Make a table rowHeader scrollable

    Hi all, i have a JTable whit a JList like a rowHeader. It works ok but the row�s names are too long. And now i need to make the rowHeader scrollable and resizable, to allow the user see the part that he wants. I have tried with: JScrollPane rowScroll

  • Lock and wait free data structures...???

    Hi - I am developing an application that requires multi-threading. We are testing this on CentOS 5, 64 BIT, running on Intel Quad Core machines, with 8 GB RAM (3 of them). I am using a III party tool to create a datagrid, and have 2 more machines in

  • Having trouble with JInternalFrame

    I posted about this and was advised that self-contained runnable code is a better way of illustrating the problem. I've written up an app which replicates the class structure and makes the same calls as a real app but is compilable and runnable. The