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.

Similar Messages

  • FlasCC SWC freezes FB 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.

  • How to create Theme SWC using Flash Builder 4

    I have created a library project in flex which contains spark skin classes for certain controls and a style sheet class. The problem is when I use the SWC generated by thsi project  and import this SWC as Theme and apply it to another test project. the stylings chasnges are not reflected.
    IF I use comand line to generate Theme SWC the changes are reflected.
    Can any one help me use FLash Builder to create and apply theme SWC.

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • Flash Pro CC produces swc that Flash Builder can't compile

    I've been using Flash CS6 to work with graphics and I export swc files to use them in my FlashBuilder project.
    Today I tried to use to new Flash Pro CC. But now I've got the following issue. When I try to Run/Debug my project шт FlashBuilder - compiling is never be finished. It stucks on 57%. And it doesn't show any error.
    I worked fine when I used Flash CS6 to made swc files.
    I tried to use FlashBuilder 4.5 and 4.7 with different FlexSDK (from 4.0 to 4.6). But it didn't help.
    By trial and error I could figure out the problem is in any code I use in frames in my fla files. I usestop(); in many MovieClips. But that's enough that my projects can't be compiled now
    I tried to comment stop(); but Flash Builder still can't finish the compilation. Only full removing all the code from my fla files allowed the project to be compiled.
    Has anyone catched this bug too? Maybe is there better solution?
    Sometimes I use stop(); and gotoAndPlay("frameName") in frames to loop some animations - it's really convinient. And I wouldn't to give up this convenience
    P.S. Just in case I work on Mac.

    Try changing target player in Flash Professional to match Flex SDK version. For example Flex SDK 4.6 targets Flash Player 11.1.

  • Create library (swc) in Flash Builder 4 / Flex Project (not in a Library Project)

    I want to create a swc file to use it in an other project. I can't use the Flash 4 Library Project to do this, because in a Library Project I
    haven't the possibility to use data/services, which I need for my library. After click on "data / services" I get the message "This view is only for Flex-Projects available".
    Has anyone a solution for my problem?
    Thanks for your help.

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • 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.7 SWC contents garbled, works in FlashDevelop

    I have an all-defaults Action Script - Desktop (Runs in Adobe AIR) project with a single MovieClip on the stage from a SWC file created in newest Flash Pro CC. The MovieClip contains buttons, text, etc, for a menu system.
    When I build and run it in my regular IDE (Flash Develop), it looks correct:
    http://snag.gy/7UFFN.jpg
    When I build and run in Flash Builder, it is a complete mess:
    http://snag.gy/7Er2e.jpg
    The problem is more than visual; DisplayObjects within GfxMainMenu have been randomly swapped with others from the same SWC. When I try to hook up my buttons, I find some of them are actually missing. The weird upside-down ghost logo MovieClip has actually replaced the orange SimpleButton. Needless to say this makes profiling difficult. I've been having this problem with Flash Builder for 3 years across many versions of FB, AIR, Windows, etc etc. Every year I try again with a new approach, hopeful that they've fixed this and I might be able to use FB's excellent profiler for this project. But the basic issue is the same: FB hates the contents of this SWC and I can't find a way to cleanse the demons from it.
    This is the code:
    public function Main():void
      addChild(new GfxMainMenu());
    You can download the project and SWC here - I'd love to know if others can at least recreate this:
    https://dl.dropboxusercontent.com/u/11786661/FlashBuilderTest.zip
    Anybody have any clues?

    Looking into this further, all the garbled symbols appear to be SimpleButtons. Their up, over, and down states are either blank, or they contain random symbols from elsewhere in the file. Many of my buttons contain dynamic TextFields with embedded fonts... but I think the problem may occur in a situation as simple as having 1 shape-filled button and 2 exported symbols in the same swc. I've been taking things out of the swc or copying them to a fresh fla all morning trying to track down a specific simple example of the bug.
    But it's gotten hard as FB started crashing and nuking my workspace repeatedly. I remember how much I hate this thing now. FlashDevelop has a great editor and debugger, and Scout is a good profiler, but there are things that only FB can do. Specifically, tell me which references are preventing my objects from being garbage collected.

  • SWC PNG's invisible when compression is set to JPEG in Flash Builder 4.7/AIR 3.4

    Moved my ActionScript Mobile Project game from Flash Builder 4.6 / AIR 3.2 yesterday to the new release of 4.7 / AIR 3.4. One side effect was that when my PNG's in my assets SWC were set to use JPEG compression instead of PNG, they are invisible at runtime. I haven't found any mention of this when searching so far. I can just use PNG compression for now, but it's nice to have the choice. Anyone else run into this problem?

    I haven't seen this come up, however you might want to give our latest AIR 3.5 build a try (12/11/2012 - AIR 3.5 Runtime and SDK Update).  If it still occurs, could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.

  • SWC buttons not working in a Flash Builder 4.7 ActionScript Project

    Howdy,
    I have this BIG issue. Every button in my swc causes issues when compilling in Flash Builder 4.7. Two things will happen, one or the other:
    1. I get this error in the class that extends a linked library item:
    Error #1107: The ABC data is corrupt, attempt to read out of bounds.
    2. The swf compiles with no errors but all buttons display the wrong art.
    Both problems go away when I remove the buttons.
    I found this article:
    http://inflagrantedelicto.memoryspiral.com/2012/12/flash-builder-4-7-useflashsdk/
    I tried this solution but it did not work.
    This problem occurs with all my projects. I'm creating SWCs via Flash Pro, and using them in a Flash Builder ActionScript Project.
    Does anyone have any solutions?
    Thanks!

    Hi,
    I followed the directions here: http://inflagrantedelicto.memoryspiral.com/2012/12/flash-builder-4-7-u seflashsdk/
    But the only "Use Specific SDK:" options are Flex 4.6.0 and Flex 3.6a.
    When I select Flex 4.6.0 (under "Use Specific SDK:"), I get errors, it seems that some sub classes don't have access to their parents protected methods and properties. The only way to fix this is to delete the project and create it again.
    I downloaded the apache flex SDK, and added it via the Flash Builder preferences. Then went into the project and set "Use Specific SDK:" to the appache flex. This brought up more errors, double clicking the errors wouldn't take me to any class, they where mostly something about bitmap...
    And the only way to fix it is to delete the project and create it again.
    Should I not use Flash 4.6? or not use SWCs? This is really frustrating.

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

  • 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 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 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");

  • Flash Builder 4.6 can't detect a Flash CC SWC

    Hello,
    I'm using Flash Builder 4.6 to create a mobile application. I typically create an AssetLibrary.fla file in Flash and use that to skin my apps. I just upgraded my Flash from 4 to Flash CC and now Flash Builder has major issues detecting classes in the SWC. I also had issues with the FLA itself on animation where I had to remove simple commands like this.stop(); from animations before it would compile.
    I cannot upgrade to Flash Builder 4.7 because it horrbily forces the Air SDK to be locked in place and I have my own missmatched SDK with the latest OSMF which is required for my streaming video apps.
    Has anyone else experienced this before?

    I've found a work around of removing the swc then adding it back. Such a damn pain in teh ***!

  • [svn:fx-trunk] 12087: Dev only. Checking in Flash Builder 4 " Library Projects" for building Flex SDK SWCs in trunk.

    Revision: 12087
    Revision: 12087
    Author:   [email protected]
    Date:     2009-11-21 20:56:09 -0800 (Sat, 21 Nov 2009)
    Log Message:
    Dev only. Checking in Flash Builder 4 "Library Projects" for building Flex SDK SWCs in trunk. These projects are easier to import and do not require linked resource variables to be specified.
    Note: although the trunk does not build textLayout.swc, there appears to be a legitimate compiler error in FlowGroupElement.as as a cast is missing. I'll follow up with TLF.
    QE notes: N/A
    Doc notes: N/A
    Bugs: N/A
    Reviewer: N/A
    Tests run: N/A
    Is noteworthy for integration: No
    Modified Paths:
        flex/sdk/trunk/build.xml
    Added Paths:
        flex/sdk/trunk/frameworks/projects/airframework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/airframework/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/airframework/.project
        flex/sdk/trunk/frameworks/projects/airframework/.settings/
        flex/sdk/trunk/frameworks/projects/airframework/.settings/org.eclipse.core.resources.pref s
        flex/sdk/trunk/frameworks/projects/airspark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/airspark/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/airspark/.project
        flex/sdk/trunk/frameworks/projects/airspark/.settings/
        flex/sdk/trunk/frameworks/projects/airspark/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/flex/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/flex/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/flex/.project
        flex/sdk/trunk/frameworks/projects/flex/.settings/
        flex/sdk/trunk/frameworks/projects/flex/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/framework/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/framework/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/framework/.project
        flex/sdk/trunk/frameworks/projects/framework/.settings/
        flex/sdk/trunk/frameworks/projects/framework/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/halo/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/halo/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/halo/.project
        flex/sdk/trunk/frameworks/projects/halo/.settings/
        flex/sdk/trunk/frameworks/projects/halo/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/osmf/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/osmf/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/osmf/.project
        flex/sdk/trunk/frameworks/projects/osmf/.settings/
        flex/sdk/trunk/frameworks/projects/osmf/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/rpc/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/rpc/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/rpc/.project
        flex/sdk/trunk/frameworks/projects/rpc/.settings/
        flex/sdk/trunk/frameworks/projects/rpc/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/spark/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/spark/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/spark/.project
        flex/sdk/trunk/frameworks/projects/spark/.settings/
        flex/sdk/trunk/frameworks/projects/spark/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/sparkskins/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/sparkskins/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/sparkskins/.project
        flex/sdk/trunk/frameworks/projects/sparkskins/.settings/
        flex/sdk/trunk/frameworks/projects/sparkskins/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/textLayout/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/textLayout/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/textLayout/.project
        flex/sdk/trunk/frameworks/projects/textLayout/.settings/
        flex/sdk/trunk/frameworks/projects/textLayout/.settings/org.eclipse.core.resources.prefs
        flex/sdk/trunk/frameworks/projects/wireframe/.actionScriptProperties
        flex/sdk/trunk/frameworks/projects/wireframe/.flexLibProperties
        flex/sdk/trunk/frameworks/projects/wireframe/.project
        flex/sdk/trunk/frameworks/projects/wireframe/.settings/
        flex/sdk/trunk/frameworks/projects/wireframe/.settings/org.eclipse.core.resources.prefs

    Status Update - don't know if this is a bug, design flaw, install problem or my misunderstanding.
    I got it to work by first changing my Flex library to 4.5.0 - still didn't work with current
    app and update mxml files using "2.6" for their namespace versions. But I did at least
    get the popup error number 16815 - indicating an error in the update version namespace.
    By leaving my application namespace version at "2.6" and changing the update version to "2.5" ... bingo!
    I got my new update installed autiomatically.
    Is this how it's supposed to work - or are my runtimes mixed up?
    Will this work the same using the Flex 4.5.1 SDK? I'll find out shortly
    Hope this helps others.

Maybe you are looking for

  • ICal is no longer synching events

    My wife has an iCloud account where all of her calendars are stored. I subscribe to them and receive them on my iphone and MacBook through iCal. When trying to update her calendar on my MacBook Pro, I get the following error : There was an unexpected

  • One handling unit wrongly updated to the delivery out put

    Hi gurus,          Internal handling unit number is showing delivery document number in table *vekp* but real handling unit contains no delivery document number and shipping point. Could any one guide me how to find out the delivery document of this

  • IPhoto isn't importing my iPhone photos?

    When I try and import my photos off my iPhone into iPhoto, it says there was an error downloading one photo and doesn't import any of the photos? PLEASE HELP, I realllllllllly need to get these photos off my phone. If you don't know how to fix it, is

  • JClient 2 Tier Application Release Connection

    We have a 2 tier application with many application modules which can be open at the same time. In each screen we call "Release" when it is closed but in Toad we see it is not releasing the connection. There is a post on this but nothing about if this

  • Location of 9.2.0.1.0a patch

    The BI Beans 9.0.3 pre-release is available at http://otn.oracle.com/software/products/bib/ The 9.2.0.1.0a patch is available at http://download.oracle.com/otn/java/olap/pe2499827.zip PM Team