Flash Builder freeze on intellisense

Flash Builder keeps freezing whenever I try to choose something from the intellisense popup.
Have anyone else experienced this problem and have a solution?
(I use Flash Builder 4.5.1 on OSX 10.6.8)

Me too on Windows 7 especially in a file where I am editing a class with a fluent interface like:
class MyBuilder
   public function WithName(name:String):MyBuilder    {  return this;   }
var b:MyBuilder = new MyBuilder().WithName("foo").WithName("bar").WithName("hello").WithName("world");

Similar Messages

  • Is there a limit to the amount of SWCS I can use in my Flash Builder app?

    I have 3 swc folders in my flash builder project that includes about 40 swcs total. Each swc is a simple flash animation with a size of about 500 kb each. When I include and complile about 20 of them in my project, things work fine.
    When I try to include all my swcs, the app compiles, but when i make changes in my code and save those changes, each time the compile becomes slower and eventually my flash builder freezes at about 52%, gives me a "java heap error" message, and then crashes. After restarting FB, when I take out most of the swcs from the build, FB acts normal again. Attached is a screen shot of my error.
    Is there a limit in size or amount of swcs that I can use in my FB application?

    There are no limits. But there is a known memory leak (which is being fixed for a later release).
    Would it be possible to attach a sample SWC so that we can confirm whether this is a known leak or not? I'll take care of filing this in bugs.adobe.com.
    Meanwhile, in your Flash Builder installation directory, you can edit FlashBuilder.ini to bump up max heap size by editing:
    -Xmx512m
    to
    -Xmx800m

  • Flash Builder 4.5 Java Heap Space Error

    Hello everyone,
    I've downloaded Flash Builder 4.5 trial a few days ago. Let me first tell that I like the new features a lot and they help to speed up the development process noticably. I thank Adobe for that very much.
    However I did not notice any performance boost over the Flash Buidler 4. Even worse, the 4.5 version seems to run much slower and use more memory than Flash Builder 4. I constantly keep getting Java Heap Space errors and needles to say, the tool just crashes and I have to restart it.
    Here how my experience working with the new version looks like. I start the Flash Builder 4.5 which has my current project open (for the record, I still use Flex 4.1, and the project includes roughly 300+ classes and 30000+ lines of code (AS and MXML)). At the beggining everything works fine and pretty fast. UI, code completion, snippets and all other good stuff works pretty fast. However, after each build, FlashBuilder.exe process eats up from 50 to 100 megabytes of memory and does not seem to release it or reuse it. So after a 5 or 10 builds it already appears to be using over 1 GB of RAM. At that point the editor becomes sloppy - it can't keep up with my typing, code completion popups takes a few seconds to show up. And a few more builds - the Flash Builder freezes and after a minute or two I get Java Heap Space error.
    I've tried increased the JRE heap space used by the Flash Builder (flashbuilder.ini, flashbuilderc.ini, eclipse.ini) to -Xms512m -Xmx1024m as well as permanent generation heap space to -XX:MaxPermSize=512m -XX:PermSize=256m and the mxml compiler (jvm.config) to -Xms384m -Xmx768m. However this did not solve the problem. Maybe just postponed it a bit.
    Am I the only one observing such behaviour of Flash Builder 4.5? Does any one have any other ideas how to fix this? (by the way, I work on 64bit machine with Widnows Server 2008R2, 4GB of RAM and 2.66 GHz Intel Core 2 Duo).
    Thanks in advance.
    Michael

    I'm seeing nearly the same thing.  I also have a very large set of projects similar to what you are describing and I do have Java Heap Space errors (The details show an error of "java.lang.OutOfMemoryError: unable to create new native thread" occurring for me)
    I had similar issues, although they are more frequent in the 4.5 builder, in the 4.1 builder.  In 4.1 builder, I didn't get the exact same detailed error regarding threads.
    I did install my flash builder into a clean instance of eclipse 3.6.2 vs using the standalone install.  That shouldn't make a difference though.  In 4.1, I tried he standalone install and saw the same issues I saw in the plugin version.
    I'm also using the 4.1 SDK in Flash Builder 4.5 (It appears that is what you are doing).  I've been attributing the crashes to the following bug in the 4.1 SDK, although I have applied the files in the bug report and still have the problem.  I'm hoping when I'm able to switch to the 4.5 SDK it may help.  (I can't switch yet because from what I can tell, it requires 10.2 Flash Player and my company is currently only on 10.0)
    The Bug Report I'm referring to is: https://bugs.adobe.com/jira/browse/SDK-26366
    I've bumped up all of the memory settings you've referred to and it helps the environment run longer, but it still eventually crashes.  One thing I definately do is make sure that the "Build Automatically" is unchecked.
    The machine I'm running on is an Intel 2600K with 16GB of memory running Windows 7 64-bit, so I don't think hardware is the issue.
    No real answer, but your not alone in having similar issues.
    Jon

  • Flash Builder 4.7 Freezing

    Out of curiosity does anyone else have problems with Flash Builder 4.7 freezing while building? I will save a file and it generally seems to freeze on 3% or 27% (those numbers might be related to my project, obviously). This happens several times each day. I have to force it to close and relaunch. Not a big deal since I don't lose any code but it's just more of an annoyance because it interrupts my workflow and the tabs I had open don't save.

    It appears that Flash Builder 4.7 has memory leaks.  FB 4.7 freezes when the (used) heap memory reaches the maximum heap size.
    I ended up tweaking my heap values (FlashBuilder.ini) to allow the application to grow insanely large (-Xmx2048m) to allow the application to run longer before running into the same problem (before restarting FB).
    Until Adobe fixes this issue, if you have the available memory, try increasing the (-Xmx) setting in your FlashBuilder.ini file.
    Look here for assistance: http://helpx.adobe.com/flash-builder/kb/sluggish-performance-out-memory-errors.html

  • Flash Builder 4.5 blank mxml after computer freezes

    Hi !! I have a very strange problem, last night using Flash Builder 4.5 in the moment i was saving the project my computer froze and i rebooted my computer and the Main.mxml file is filled now with blank spaces. The properties says it is 230Kb but opening it in the text editor is just blabk spaces, trying to open in flash builder but ir hangs and when i open the project it gives me "Content is not allowed in prolog." Any ideas ?? Thank you very much !!

    Hi Anirudh !! thanks for the response. I have opened the mxml file in wordpad and in notepad, just blank spaces, 230kb of blank spaces, i think it has to do with saving (flash builder automatically builds the project on save) and freezing just the instant after i saved. I really dont think there is a solution, will have to redo it, thank you very much, hope this does not happen to anyone else, it is very frustating and depressing to lose a project. Best wishes !!

  • FlasCC SWC freezes Flash Builder 4.7

    I have a 1.5 MB SWC created using FlasCC. When I add this SWC to my project, FB 4.7 becomes unresponsive for a couple of minutes. When I close it and then re-open it, it becomes unresponsive for four minutes. After it finally opens, the auto-complete on the CModue class brings up the pin-wheel for a few seconds.
    FB 4.6 is fine. It opens normally and the auto-complete is fast. I'm using OS X 10.8.4.
    Does anyone know what's causing this issue in FB 4.7?

    I have a similar issue. I have used FlasCC to create a trivial SWC (literally one function that just returns an int (2)), and whenever I use autocomplete in my project in flash builder 4.7 it takes an eternity to respond. This is for anything at all, not just members of the library. Member functions in the swc might be even slower than a general autocomplete, but the main problem is that everything is really slow. I think once the autocomplete cannot be something from an SWC then it returns to being fast.
    I haven't noticed the project opening being slow or adding the swc being particularly slow however.
    This issue is present when using the sample SWC created exactly as in sample 5 in the flascc folder. Having created a similarly simple SWC in Flash Builder 4.7 directly there is no delay in autocomplete.

  • Flash Builder 4.7 interrupts while working

    Hi all.
    First, I expect more from Flash Builder 4.7 (x64) - to work much faster instead of FB 4.6, but It seems that it's not like that.
    Probably FB 4.6 and FB 4.7 works same in some way, but I like the fact that I can make a release build for iOS on my x64 Windows machine.
    (which wasn't possible to make release build of big project, with FB 4.6 installed on x64 Windows)
    However, my concern now is that FB 4.7 works great, but after some period of working FB 4.7 begin to interrupts. It is not freezing completly, but it interrupts on each (for example) 5 sec.
    This is happening all the time when I open and close big .mxml and .as files (with big, I mean files that contains 2000 lines of code).
    My scenario is... I found something wrong in UI or AS, then I need to open that "big" file, do the changes on 2-3 lines, and save it.
    I also need to do that on next 20 "big" files.
    I know that "Build Automatically" is causing this, but I need to know if there are some other optios where I can increase workflow for FB 4.7... maybe using more RAM or so...
    I have i5 3.2 GHz processor with 16 GB of RAM... so I have open only FB 4.7 and Firefox when I work (and my memory is clean).
    Thank you all for your investigation on this.

    If only Adobe would respond... Here is my response to a related discussion: http://forums.adobe.com/thread/1166350
    It appears that Flash Builder 4.7 has memory leaks.  FB 4.7 freezes when the (used) heap memory reaches the maximum heap size.
    I ended up tweaking my heap values (FlashBuilder.ini) to allow the application to grow insanely large (-Xmx2048m) to allow the application to run longer before running into the same problem (before restarting FB).
    Until Adobe fixes this issue, if you have the available memory, try increasing the (-Xmx) setting in your FlashBuilder.ini file.
    Look here for assistance: http://helpx.adobe.com/flash-builder/kb/sluggish-performance-out-memor y-errors.html

  • In Flash Builder: "No Disk" Error when trying to switch to Design View

    Just had Flash Builder Beta 1 uninstalled and Beta 2 installed instead.
    When I try to switch to Design View or open a link from Start Page in Flash Builder Beta 2, the application  freezes and "No Disk" error message pops up.

    You have some other problem with your boot drive that has corrupted data backed up to the TimeMacine drive.
    My advice is to boot into each operating system and manually backup just your Users files each to separate regular external drives (no Timemachine or backup software) and disconnect.
    Make a note of any serial numbers, emails, address book contacts, export bookmarks etc. that isn't typically in your users folders data.
    You might be able to Winclone 3 the Windows as a whole thing as it's appearing not to have issues but it's your MacintoshHD partition that is so that will have to be rebuilt from scratch.
    Most commonly used backup methods
    If your OS X parititon doesn't boot, you can use this to recover files.
    Create a data recovery/undelete external boot drive
    Without any further detail about your machine I can't advise specifically what to do, but it involves using Disk Utility to Zero Erase (move slider one spot to the right or in 10.6 using Security Option) the ENTIRE boot drive and reformatting, then installing OSX fresh and then setting up BootCamp again.
    If you wish to switch your boot drive for something better, this is a good time to do this.
    Install/upgrade RAM or storage drive in Mac's
    If your machine is capable of Internet Recovery, then use that, then upgrade.
    If your machine came with 10.6 or earlier, then use the 10.6 install disks and work up from there.
    Erase, formatting, OS X installs on Mac's

  • New MovieClips added to existing SWC library not available in Flash Builder

    To be as brief as possible with this...
    I have 2 swc libraries in my Flash Builder Project. One is in a "Common" project and the other one is in a MobilePlayer project. Obviously the "common" project contains UI assets that apply across the board, while the MobilePlayer version contains assets specific to that version of the application.
    Both swc files are in the respective libraries for each project we are referencing. Up until yesterday I could add new MovieClips to the "common.swc" and they would be available across the board instantly.
    Sometime yesterday I could not get new MCs added to my "common.swc" to show up in the intellisense, or become avaialble whatsoever.
    For troubleshooting I am creating a Square, turning it into a MC symbol, exported for AS with a classname of "Fubar"
    whenever I try and create a new instance of :Fubar() to anything anywhere in my applicatioin I get the Call to possibly undefined method Fubar error message. It does not show up in intellisense menus and it is NON EXISTENT.
    HOWEVER — Named movieclips within my .swc library I have already been using such as "CompanyLogo()" etc etc are STILL fully available and can be referenced from anywhere in my application. I can add a new CompanyLogo()  anywhere I want with no problem.
    As ANOTHER test, I REMOVED the movieclips CompanyLogo (and others) from my Library and re-saved the SWC.
    All of a sudden Flash Buider generates a compiler error (undefined method) for each missing referenced MC in the swc file (obviously, because they are no longer there).
    However, those named MCs still show up in intellisense menus etc etc.
    Basically what I can determine is that Flash Builder is not updating and picking up any changes to this SWC library whenever anything is added or removed from it. At some point it became "locked" in memory (for lack of a better term) and it refuses to recognize that the file has been changed.
    When I extract the catalog.xml from the SWC and read through it, I can find nodes for every single NEW mc I've created yet I cannot get them to show up in Flash Builder. I refresh, close and restart Flash Builder and have done everything I can possibly think of to get my updates to register and they refuse.
    On the other hand my "mobile.swc" updates just fine as I make changes to it. If I add a new MC to it, it is instantly available. If I take away a MC it FB instantly recognizes that it is gone.
    Am I doing something wrong here or am I correct in my assumption that for some reason FB refuses to update the contents of my "common.swc" library into memory?
    Any insight would be appreciated as I cannot find a single relevant answer in 3 hours of Google searching.

    OK,
    Now I see what is really going on. I am trying to reference MCs from my "common.swc" lib which is in a different project, and the reason they are showing up and available is because I used them in MXML files within the "common" project that are called upon and loaded before the mobile specific login screen MXML is loaded.
    I just did a quick test to see if the new button I created would be available within the "common" project and it is there, and shows up with intellisense etc etc as expected.
    When I add an instance of my new button to a MXML file being loaded before the mobile specific stuff I can then drop it into my mobile specific screens and it shows up.
    I either need to figure out how to reference MCs within a swc inside of a different project directly, or just declare them when the application first loads.

  • Cannot open Flash Builder 4.5 after updating

    Hi,
    I have a corporate version of CS5.5 installed on 32bit machine.
    Recently, Flash Builder notified me of an available update. It was for some Java but since Eclipse is Java Based I intalled it.
    Now when I open it, it freezes on the splash screen. Without closing it, I open a new one. It asks for a new workspace since old used, I gave it new one. Still stuck on splash screen. Tried restarting computer. Now when I open Flash Builder, it is not stuck on splash page but and error popups and program exits. The popup tells me to look at a log file.
    Here is the log file contents
    !SESSION 2011-09-15 11:03:52.113 -----------------------------------------------
    eclipse.buildId=M20110210-1200
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.osgi 4 0 2011-09-15 11:03:53.844
    !MESSAGE Application error
    !STACK 1
    org.eclipse.swt.SWTError: No more handles
         at org.eclipse.swt.SWT.error(SWT.java:4109)
         at org.eclipse.swt.SWT.error(SWT.java:3998)
         at org.eclipse.swt.SWT.error(SWT.java:3969)
         at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
         at org.eclipse.swt.widgets.Control.createHandle(Control.java:633)
         at org.eclipse.swt.widgets.Composite.createHandle(Composite.java:305)
         at org.eclipse.swt.widgets.Control.createWidget(Control.java:649)
         at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:134)
         at org.eclipse.swt.widgets.Control.<init>(Control.java:110)
         at org.eclipse.swt.widgets.Scrollable.<init>(Scrollable.java:75)
         at org.eclipse.swt.widgets.Composite.<init>(Composite.java:95)
         at org.eclipse.ui.splash.BasicSplashHandler.getBundleProgressMonitor(BasicSplashHandler.java:159)
         at org.eclipse.ui.splash.BasicSplashHandler.getContent(BasicSplashHandler.java:265)
         at org.eclipse.ui.internal.splash.EclipseSplashHandler.init(EclipseSplashHandler.java:86)
         at org.eclipse.ui.internal.Workbench$8.run(Workbench.java:782)
         at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
         at org.eclipse.ui.internal.Workbench.createSplashWrapper(Workbench.java:798)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2467)
         at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
         at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
         at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.java:108)
         at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: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:619)
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
         at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
    Edit - found another thread with similar issue but still no solution.

    Hello, I'm having the same issue with Flash Builder 4.6.
    I got it off freeriatools.adobe.com, after installing I tried to open it and it said "An unexpected runtime error occured : No more handles" with the following errors in the log file :
    !SESSION 2012-04-25 20:40:19.812 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.ui 2 0 2012-04-25 20:40:36.702
    !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 2012-04-25 20:40:36.702
    !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'
    !ENTRY org.eclipse.osgi 4 0 2012-04-25 20:40:37.412
    !MESSAGE An unexpected runtime error has occurred.
    !STACK 0
    org.eclipse.swt.SWTError: No more handles
        at org.eclipse.swt.SWT.error(SWT.java:4308)
        at org.eclipse.swt.SWT.error(SWT.java:4197)
        at org.eclipse.swt.SWT.error(SWT.java:4168)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
        at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:103)
        at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:96)
        at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2564)
        at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.getTaskItem(Workbench. java:303)
        at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.handleTaskBarProgressU pdated(Workbench.java:319)
        at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.worked(Workbench.java: 268)
        at org.eclipse.ui.internal.Workbench$StartupProgressBundleListener.bundleChanged(Workbench.j ava:420)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImp l.java:847)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue. java:148)
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework .java:1522)
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1458 )
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1453 )
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
        at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
        at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
        at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:107)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :462)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
        at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:120 7)
        at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.ja va:480)
        at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponen tProp.java:271)
        at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.jav a:332)
        at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
        at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
        at org.eclipse.osgi.internal.serviceregistry.ServiceUse$1.run(ServiceUse.java:138)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.internal.serviceregistry.ServiceUse.getService(ServiceUse.java:136)
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegis trationImpl.java:468)
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java :467)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.j ava:594)
        at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:450)
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:185)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:348)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:283)
        at org.eclipse.core.internal.runtime.InternalPlatform.getBundleGroupProviders(InternalPlatfo rm.java:225)
        at org.eclipse.core.runtime.Platform.getBundleGroupProviders(Platform.java:1261)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.getFeatureInfos(IDEWorkbenchPlugin.java:29 1)
        at org.eclipse.ui.internal.ide.WorkbenchActionBuilder.makeFeatureDependentActions(WorkbenchA ctionBuilder.java:1217)
        at org.eclipse.ui.internal.ide.WorkbenchActionBuilder.makeActions(WorkbenchActionBuilder.jav a:1026)
        at org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:147)
        at org.eclipse.ui.internal.ide.WorkbenchActionBuilder.fillActionBars(WorkbenchActionBuilder. java:341)
        at org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3564)
        at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:419)
        at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workben ch3xImplementation.java:31)
        at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1920)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1918)
        at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1202)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1595)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: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:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    !ENTRY org.eclipse.ui.workbench 4 0 2012-04-25 20:40:38.511
    !MESSAGE FrameworkEvent ERROR
    !STACK 0
    org.eclipse.swt.SWTError: No more handles
        at org.eclipse.swt.SWT.error(SWT.java:4308)
        at org.eclipse.swt.SWT.error(SWT.java:4197)
        at org.eclipse.swt.SWT.error(SWT.java:4168)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
        at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:103)
        at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:96)
        at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2564)
        at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.getTaskItem(Workbench. java:303)
        at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.handleTaskBarProgressU pdated(Workbench.java:319)
        at org.eclipse.ui.internal.Workbench$TaskBarDelegatingProgressMontior.worked(Workbench.java: 268)
        at org.eclipse.ui.internal.Workbench$StartupProgressBundleListener.bundleChanged(Workbench.j ava:420)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImp l.java:847)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue. java:148)
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework .java:1522)
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1458 )
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1453 )
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
        at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)
        at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:268)
        at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:107)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :462)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
        at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:120 7)
        at org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.ja va:480)
        at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponen tProp.java:271)
        at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.jav a:332)
        at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
        at org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)
        at org.eclipse.osgi.internal.serviceregistry.ServiceUse$1.run(ServiceUse.java:138)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.eclipse.osgi.internal.serviceregistry.ServiceUse.getService(ServiceUse.java:136)
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegis trationImpl.java:468)
        at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java :467)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.j ava:594)
        at org.osgi.util.tracker.ServiceTracker.addingService(ServiceTracker.java:450)
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:980)
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:262)
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:185)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:348)
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:283)
        at org.eclipse.core.internal.runtime.InternalPlatform.getBundleGroupProviders(InternalPlatfo rm.java:225)
        at org.eclipse.core.runtime.Platform.getBundleGroupProviders(Platform.java:1261)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.getFeatureInfos(IDEWorkbenchPlugin.java:29 1)
        at org.eclipse.ui.internal.ide.WorkbenchActionBuilder.makeFeatureDependentActions(WorkbenchA ctionBuilder.java:1217)
        at org.eclipse.ui.internal.ide.WorkbenchActionBuilder.makeActions(WorkbenchActionBuilder.jav a:1026)
        at org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(ActionBarAdvisor.java:147)
        at org.eclipse.ui.internal.ide.WorkbenchActionBuilder.fillActionBars(WorkbenchActionBuilder. java:341)
        at org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(WorkbenchWindow.java:3564)
        at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:419)
        at org.eclipse.ui.internal.tweaklets.Workbench3xImplementation.createWorkbenchWindow(Workben ch3xImplementation.java:31)
        at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workbench.java:1920)
        at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:1918)
        at org.eclipse.ui.internal.Workbench$21.runWithException(Workbench.java:1202)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1595)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: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:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    !ENTRY org.eclipse.osgi 4 0 2012-04-25 20:40:38.974
    !MESSAGE Application error
    !STACK 1
    org.eclipse.swt.SWTError: No more handles
        at org.eclipse.swt.SWT.error(SWT.java:4308)
        at org.eclipse.swt.SWT.error(SWT.java:4197)
        at org.eclipse.swt.SWT.error(SWT.java:4168)
        at org.eclipse.swt.widgets.Widget.error(Widget.java:468)
        at org.eclipse.swt.widgets.TaskBar.createHandle(TaskBar.java:103)
        at org.eclipse.swt.widgets.TaskBar.<init>(TaskBar.java:96)
        at org.eclipse.swt.widgets.Display.getSystemTaskBar(Display.java:2564)
        at org.eclipse.ui.internal.WorkbenchWindow.createProgressIndicator(WorkbenchWindow.java:3362 )
        at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1130)
        at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowCo nfigurer.java:623)
        at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdv isor.java:300)
        at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1036)
        at org.eclipse.jface.window.Window.create(Window.java:431)
        at org.eclipse.ui.internal.Workbench$22.runWithException(Workbench.java:1211)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
        at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
        at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1595)
        at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlashBuilderApplication.start(FlashBuilderApplication.ja va:108)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java: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:622)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    I was wondering if anyone has found a solution to this problem yet? Because I need this software to work on my laptop in order to start working on my school projects.. Thanks in advance.

  • Flash Builder 4.6 - How can I keep unit test classes out of the finished swc?

         I have a library of code I'm building and I'm working on unit testing but I have a major issue. When my finished swc compiles no matter what I do it includes the unit test classes as part of the intellisense if you load the swc via flash. The classes aren't really in the swc since if you just try and import them they'll come up undefined. They only appear to go into the intellisense for the swc. Does anyone know how can I keep this from happening in the finished source? Currently my folder setup is like this in flash builder.
    src\main - source documents for the library to get compiled
    src\mock - mock class area for unit testing
    src\test - unit test classes
         In the project Properties panel > the first tab of my Flex Library Build path I have selected only the src\main folder for the classes to inlude in the library. No other folder paths are selected.
    The "Flex Library Build Path" doesn't change my results with any setting.
    Thanks,

    Mel Riffe,
    Here's a Help topic about compiler options in Flash Builder: http://help.adobe.com/en_US/flashbuilder/using/WSe4e4b720da9dedb524b8220812e5611f28f-7fe7. html
    For information on using mxmlc, the application compiler, to compile SWF files from your ActionScript and MXML source files, you can see: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7fcc.html
    Hope this helps,
    Mallika Yelandur
    Flash Builder Community Help & Learning
    Adobe Systems Incorporated

  • Flash builder very slow

    Hi all,
    i'm using Adobe® Flash® Builder™® 4.7
    with Windows 7 64bits, Core i5, 8Go RAM, SSD Samsung EVO PRO 256Go
    After a few minutes Flash Builder becomes very slow. I can no longer enter a lineunless it freeze. The processor increases its frequency and everything returns tonormal after a few seconds if I did nothing...
    I tried the methods provided in this link:
    Flash Builder 4 Extremely slow under Windows 7 + Java
    It is better but still not enough.
    Thank you for your help in advance!
    Best regards,
    PY

    Hi,
    Don't know if it's the same problem that I have but here's my problem and solution.
    Every time I embed CFF fonts in code I get the same behaviour, ie:
    [Embed(source="E:/Library/fonts/arial.ttf",
    fontFamily="Arial_CFF",
    fontWeight= "normal",
    fontStyle= "normal",
    mimeType="application/x-font",
    embedAsCFF="true",
    advancedAntiAliasing="true")]
    private const  Arial_Normal_CFF:Class;
    So my solution is to place all embeds in a separate master package like InitMaster.as
    Then I just extend the main class with it.
    package {
         import InitMaster;
         public class Main extends InitMaster{
               public function Main() {
                   //Do your other stuff here          
    The sluggishness (is this a word?) happens only when I open the InitMaster and do copy/paste.
    Oh, and I have a dual cpu, 12 core (24HT) machine with SSD dics and 64GB RAM so it's not a hardware issue.
    Hope this helps.

  • Flash builder crashing at splash screen

    My computer crashed and since then my flash builder hasn't worked. I've reinstalled it twice, but it still silently crashes on the splash screen. I've run it with -clean in teh terminal and get this errror:
    Exception in thread "Thread-1" org.eclipse.swt.SWTException: Invalid thread access
        at org.eclipse.swt.SWT.error(SWT.java:4282)
        at org.eclipse.swt.SWT.error(SWT.java:4197)
        at org.eclipse.swt.SWT.error(SWT.java:4168)
         at org.eclipse.swt.widgets.Widget.error(Widget.java:774)
        at org.eclipse.swt.widgets.Widget.dispose(Widget.java:661)
        at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:611)
        at org.eclipse.swt.widgets.Shell.windowWillClose(Shell.java:2261)
         at org.eclipse.swt.widgets.Display.windowProc(Display.java:5445)
        at org.eclipse.equinox.launcher.JNIBridge._takedown_splash(Native Method)
        at org.eclipse.equinox.launcher.JNIBridge.takeDownSplash(JNIBridge.java:167)
         at org.eclipse.equinox.launcher.Main.takeDownSplash(Main.java:2050)
        at org.eclipse.equinox.launcher.Main$SplashHandler.run(Main.java:111) "
     This is driving me insane not being able to figure this out. Any help before monday would be awesome.I've even tried installing the plugin with eclipse and the actionscript editor just doesn't show up. What the hell is going on?!?!Also, I'm on Mac OSX 10.8.3 running JRE 1.6 
    PLEASE HELP!!!!!

    Quicktime errors http://forums.adobe.com/message/4545437
    I am on Windows, but have a few saved Mac discussions that may help (or, may not... but free to read)
    -Mac 10.9.3 workaround https://forums.adobe.com/thread/1489922
    -more Mac 10.9.3 https://forums.adobe.com/thread/1491469
    -Enable Mac Root User https://forums.adobe.com/thread/1156604
    -more Root User http://forums.adobe.com/thread/879931
    -and more root user http://forums.adobe.com/thread/940869?tstart=0
    Troubleshooting guide for Mac freeze
    http://helpx.adobe.com/x-productkb/global/troubleshoot-system-errors-freezes-mac.html

  • Building complex flash game in Flash Builder 4 - Workflow/Best Practices

    I'm investigating switching to Flash Builder 4 for building a complex game that currently lives purely inside Flash CS4.  CS4 is a pretty terrible source code editor and debugger.  It's also quite unstable.  Many crashes caused by bad behavior in the SWF will take out the entire IDE so are almost impossible to debug.  And I've heard other horror stories.  To be clear, for this project I'm not interested in the Flex API, just the IDE.
    Surprisingly, it seems Flash Builder 4 isn't really set up for this type of development.  I was hoping for an "Import FLA" option that would import my Document Class, set it as the main entry point, and figure out where other assets live and construct a new project.  What is the best workflow for developing a project like this?
    What I tried:
    -Create a new Actionscript Project in the same directory where my CS4  lives
    -Set the primary source file to match the original project's source file and location
    -Set my main FLA as "export to SWC", and added "SWC PATH" to my flash builder 4 project.
    -Compile and run.. received many errors due to references to stage instance. I changed these to GetChildByName("stagename").  Instead, should I declare them as members of the main class?  (this would mimic what flash CS4 does).
    -My project already streams in several external SWF's.  I set these to "Export SWC" to get compile-time access to classes and varaibles. This works fine in cs4, the loaded SWF's behave as if they were in the native project.  Is the same recommended with FB4?
    -Should I also be setting the primary FLA as "export to swc"?  If not, how do I reference it from flex, and how does flex know which fla it should construct the main stage with?
    Problems:
    -I'm getting a crash inside a class that is compiled in one of the external SWF's (with SWC).  I cannot see source code for the stack inside this class at all.  I CAN see member variables of the class, so symbol information exists.  And I do see the stack with correct function names.  I even see local variables and function parameters in the watch window! But no source.  Is this a known bug, or "by design"? Is there a workaround?  The class is compiled into the main project, but I still cannot see source.  If FLEX doesn't support source level debugging of SWC's, then it's pretty useless to me.   The project cannot live as a single SWF.  It needs to be streaming and modular for performance and also work flow. I can see source just fine when debugging the exact same SWC/SWF through CS4.
    -What is the expected workflow with artists/designers working on the project?  Currently they just have access to all the latest source, and to test changes they run right through flash.  Will they be required to license Flash Builder as well so they can test changes?  Or should I be distributing the main "engine" as a SWF, and having it reference other SWF files that artists can work on?  They they compile their SWF in CS4, and to test the game, they can load the SWF I distribute.
    A whitepaper on this would be awesome, since I think a lot of folks are trying to go this direction.  I spent a long time searching the web and there is quite a bit of confusion on this issue, and various hacks/tricks to make things work.  Most of the information is stale from old releases (AS2!).
    If a clean workflow I would happily adopt Flash Builder 4 as the new development tool for all the programmers.  It's a really impressive IDE with solid performance, functional intellisense, a rich and configurable interface, a responsive debugger..I could go on and on.  One request is shipping with "visual studio keyboard layout" for us C++ nerds.
    Thanks very much for reading this novel!

    Flash builder debugging is a go!  Boy, I feel a bit stupid, you nailed the problem Jason - I didn't have "Permit Debugging set".  I didn't catch it because debugging worked fine in CS4 because, well, CS4 doesn't obey this flag, even for externally loaded SWF files (I think as long as it has direct access to the SWC). Ugh.
    I can now run my entire, multi SWF, complex project through FB with minimal changes.  One question I do have:
    In order to instantiate stage instances and call the constructor of the document class, I currently load the SWF file with LoaderContext.  I'm not even exporting an SWC for the main FLA (though I may, to get better intellisense).  Is this the correct way of doing it?  Or should I be using , or some other method to pull it into flex?  They seem to do the same thing.
    The one awful part about this workflow is that since almost all of my code is currently tied to symbols, and lives in the SWF, any change i make to code must first be recompiled in CS4, then I have to switch back to FB.  I'm going to over time restructure the whole code base to remove the dependency of having library symbols derive from my own custom classes.  It's just a terrible work flow for both programmers and artists alike.  CS5 will make this better, but still not great.  Having a clean code base and abstracted away assets that hold no dependencies on the code  seems like the way to go with flash.  Realistically, in a complex project, artists/designers don't know how to correctly set up symbols to drive from classes anyway, it must be done by a programmer.  This will allow for tighter error checking and less guess work.  Any thoughts on this?
    Would love to beta test CS5 FYI seeing as it solves some of these issues.
    Date: Thu, 21 Jan 2010 15:06:07 -0700
    From: [email protected]
    To: [email protected]
    Subject: Building complex flash game in Flash Builder 4 - Workflow/Best Practices
    How are you launching the debug session from Flash Builder? Which SWF are you pointing to?
    Here's what I did:
    1) I imported your project (File > Import > General > Existing project...)
    2) Create a launch configuration (Run > Debug Configuration) as a Web Application pointing to the FlexSwcBug project
    3) In the launch config, under "URL or path to launch" I unchecked "use default" and selected the SWF you built (I assume from Flash Pro C:\Users\labuser\Documents\FLAs\FlexSwcBug\FlexSwcBugCopy\src\AdobeBugExample_M ain.swf)
    4) Running that SWF, I get a warning "SWF Not Compiled for Debugging"
    5) No problem here. I opened Flash Professional to re-publish the SWF with "Permit debugging" on
    6) Back In Flash Builder, I re-ran my launch configuration and I hit the breakpoint just fine
    It's possible that you launched the wrong SWF here. It looks like you setup DocumentClass as a runnable application. This creates a DocumentClass.swf in the bin-debug folder and by default, that's what Flash Builder will create a run config for. That's not the SWF you want.
    In AdobeBugExample_Main.swc, I don't see where classCrashExternal is defined. I see that classCrashMainExample is the class and symbol name for the blue pentagon. Flash Builder reads the SWC fine for me. I'm able to get code hinting for both classes in the SWC.
    Jason San Jose
    Quality Engineer, Flash Builder
    >

  • Flash Builder mxml editing painfully slow

    I'm running Flash Builder on a Windows Vista machine.  I created a default application project and created a new component.  I started editing that new component in the MXML editor, opened the help window to look up some stuff, when back to edit and it freezes up for about 10 seconds.  I edited a little more and then it freezes up again for 10 seconds.  I looked at the FB process footprint (gumbo.exe) and its 500Megs, 5 times larger than anything else including Photoshop. I was also running Flex Builder 3 at the same time.  Is there some known issues...googling I found a similar complaint for Mac.

    This is a known, intermittent issue. Please see http://bugs.adobe.com/jira/browse/FB-19935.
    Jason San Jose
    Quality Engineer, Flash Builder

Maybe you are looking for

  • External DVD drive not working with Lombard G3 333

    I have an external DVD drive that worked when I had 10.4, but had to reformat HD and now only have 10.3.9, and now the DVD drive does not work with DVDs, it will work with CDs and CDR media, but not with DVD media. My Lombard did not come with DVD or

  • Quicktime in vista using with Nvidia driver version 169.25 crashes

    I've been searching the web for a long time to solve this problem, it appears that when quicktime 7.4.1 is used in vista when latest nvidia driver was install will cause the directdraw and direct 3D accelerationg to stop working, therefore the video

  • ?? (string1 == string2) ??

    Can someone please explain the rules here public class A { public static void main(String args[]) { String s1 = "abc"; String s2 = "abc"; System.out.println(s1 == s2); String s3 = new String("abc"); System.out.println(s1 == s3); I was expecting "fals

  • Production order from sales order

    Hi experts, I have created production order from sales order through t-code co07, there it shows error "Sales order has no CO object" like this.. how to resolve this. Thanks

  • Blackmagic decklink extreme 4k capture issues

    I can't get my decklink extreme 4k to capture anything at all! All the settings seem fine. I know the card works and captures in it's own software, but not in Premiere CS6. Nothing shows up! HELP!