Flash Builder RichTextEditor extra line feeds

In Flash Builder 4 I am using the RichTextEditor, specifically for the formatting features.  The input is stored in a MySql database; when I retrieve the html text back and shown again in RichTextEditor it has extra line feeds, if I show the text in a Alert box as standard text it has extra line feeds.  Even after removing the extra line feeds and resubmitting to the database it comes back with extra line feeds.  Any suggestions?
Thanks in advance.

Hello popster;
I had the extra line feed problem and now I don't, I don't know what changed
to fix it, I wish I could tell you what I did (that way I would know for
next time). 
I'm sure you know, but just keep updating Flash Builder, I'm telling myself
maybe this is what fixed it.
As time allows I will eventually replace the halo RTE with a sparks Text
Area and make my own format toolbar with sparks components, to follow Adobes
advice and use a sparks component if available.
John

Similar Messages

  • Remove Line feed at the end of the file while using file adapter

    Hi All,
    I have a requirement. We are sending a file from SAP to FTP using file adapter. we are successful in sending the file to FTP but at the end of the file a extra blank line is created .
    Can anyone please suggest how to remove the extra line feed at the end of the file.
    Thanks and Regards,
    LRK.

    check this:
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/frameset.htm
    To define an additional string as a separator after the last column in a row, specify it here. The system skips this string when it processes the last column (otherwise the system would treat it as part of the last column).
    Also there are solved threads which deal with same problem....you can even check them out...
    regards,
    Abhishek.

  • Create Flash Professional component in Flash Builder 4.7

    Hello,
    I would like to make a Flash Professional Component in Flash Builder.
    This is a lot easier for code hinting and you don't have to use a FLA file.
    Also you don't have to right click the component in the library and "export component SWC"
    The ONLY difference i've seen in the swc file files between a Flash Professional Component and a Actionscript Library Project (created in Flash Builder), is 3 lines of code in the catalog.xml file.
      <components>
        <component className="centomedia.components:CvPlayerComponent" name="CvPlayerComponent" icon="CvPlayerComponent_IconFile.png"  />
      </components>
    Is this in any way possible?
    Thanks for the help!

    Come on, someone must have an answer? no?
    even if the answer is, impossible

  • Flex, Air, Flash, Flash builder, ASC2.0

    After the decision of moving Flex to apache, and with the release of Flash builder 4.7 I am getting a bit confused about what is what anymore.
    Flex development is moving to apache, yet the compilers, packaging tools and more seem to live inside the Flex SDK.
    Air SDK has previously gone on top of the Flex SDK and seems to be an addon on the Flex SDK.
    However in flash builder 4.7, AIR SDK is set as the compiler even for web projects, although the result is a .swf file with no dependency on AIR.
    On top of things now you can get AIR SDK with ASC2.0 that still can build web applications (non-air)
    I am sorry if this is a stupid question, but Isn't this getting a bit complicated and terminologies getting mixed up?
    Am I right to assume that things are moving towards the following:
    AIR SDK - Compiler and core framework/Api for AS3 code that targets either web(swf), air or air mobile (this would be bundled with Flash builder), have command line tools, to build & package applications.
    FLEX SDK - Frameworks for RIA apps (mxml files etc), but ultimately not necessery unless your doing those kinds of apps.

    In the Flex/Flash world, everything eventually gets compiled to SWF despite how the source is written.  SWF consists of media assets as well as bytecode that can be executed.  This is very similar to the Windows world where EXE/DLL files may be a compiled product of C++, VB, Delphi, etc code.
    ASC 2.0 is a new compiler that produces more optimal bytecode.  While Flash is fast, the current ActionScript compiler does not produce good enough bytecodes that gets the best out of Flash player.
    Adobe AIR provides additional capabilities outside of Flash Player to make the applications more desktop friendly.  Flash Player is constrainted by browser security, therefore capabilities such as are local file read/write are limited.  While the security makes sense, when it comes to desktop applications where security model is different, it makes sense to have extentions that enrich the user experience.  Throughout the years, besides API additions, AIR grows to include capabilities such as packaging SWFs for mobile devices.
    Flex is just a framework that's designed to make building business applications easier.  However, business applications can be built without Flex framework.
    p.s.  I am not an Adobe employee, but I have been trying to clear this confusion for many people.  It seems that Adobe's PR is not keen on communicating with developers, while they are awesome in terms of catering creative professionals.

  • Flash Builder 4.7 - Command line ExportReleaseBuild unable to compile to Captive Runtime?

    Hi,
    I am working on a project with the following setup:
    - AIR Desktop running with the ExtendedDesktop Profile with GPU rendermode
    - Apache Flex SDK 4.11
    - SWF version 18
    - Implements the FRESteamWorksNative Extension
    - Flash Builder 4.7 Premium is our work enviroment
    Our problem is that we can compile the project in Flash Builder manually as Captive Runtime, but when we run it with ExportReleaseBuild in our build.xml, it seems to forget our Captive runtime target and just outputs the installer.
    This is our buildscript:
    build.bat:
    SET FLASHBUILDER="%ADOBE_PATH%\%FLASHBUILDER_PATH%\FlashBuilderC.exe"
    %FLASHBUILDER% --launcher.suppressErrors -noSplash -application org.eclipse.ant.core.antRunner -data "%WORKSPACE%" -file "%BUILDXML%" desktop
    build.xml:
    <target name="desktop">
         <fb.exportReleaseBuild verbose="true" destdir="bin-test" project="ProjectName" basefilename="ProjectBaseFileName" packagetype="native" certificate="Certificate.p12" password="passwordToUse"/>
    </target>
    .actionScriptProperties:
    <buildTargets>
        <buildTarget buildTargetName="default" platformId="default">
          <airSettings airCertificatePath="Certificate.p12" airTimestamp="true" anePathSet="true" version="1">
            <airExcludes/>
            <anePaths>
              <anePathEntry path="steamworks/FRESteamWorks.ane"/>
            </anePaths>
            <newLaunchParams/>
            <modifiedLaunchParams/>
            <newPackagingParams/>
            <modifiedPackagingParams>
              <Parameter name="-target" value="air-captive"/>
        <Parameter name="-extdir" value="steamworks/"/>
            </modifiedPackagingParams>
          </airSettings>
          <actionScriptSettings version="1"/>
        </buildTarget>
      </buildTargets>
    Any help with this is much appreciated, and if I missed something, please let me know.

    Hi,
    I've opened bug at Adobe site:
    Bug#3801869 - FlashBuilder 4.7 command line fails due to "Exception in com.adobe.flexbuilder.codemodel.CMCoreActivator.s…
    please vote on the bug.
    thanks,
    Erez

  • Intergrating RSS Feeds into Flash Builder 4...

    I am very new to Flash builder 4 and I want to make an application where the app user can read through all the RSS Feeds and get updates everytime their connected to the internet. I am making this for the BlackBerry Playbook if that makes a difference and also can it be really simple instructions like I said I'm very new to this.

    Ok, I think you might have your message title worded wrong. I think you want RSS feeds in a FLEX application, not Flash Builder 4 itself??
    I, myself, am trying to implement an RSS feed into my application but have other priorities unfortunately.
    The only bookmark I find in my list is this:
    http://insideria.com/2009/04/flex-101-consuming-a-simple-rs.html
    ^ That might help you get started. I cant find any other examples in my bookmarks, but if I do I'll post them here.
    OR, if I get my own code up and working (which should be within the next week hopefully), I'll post that up too. Cheers!

  • Draw line in Action Script project in Flash Builder (Gumbo).

    Hi
    I am working on drawing tool application and want to draw line and rectangle in Action Script project in Flash Builder (Gumbo). Please guide and help me with an example.
    Thanks
    Rangrajan.

    This should be helpful http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7dd9.html

  • App fails to compile with mxmlc command-line but builds fine with flash builder IDE.

    Hi,
    i have this flex app (its a flex project created from flash builder ), it compiles fine when i build it from IDE.
    it fails to compile when i do it from command line through mxmlc.
    i am invoking the mxmlc at the location <flash-builder-installation>\sdks\<flex-ver>\bin\
    the mxml file is test.mxml
    i am invoking like the following
    c:\<bin>\mxmlc test.mxml
    i dont have any dependency on any of custom swc file.
    i am getting the following type errors when i compile it from my .as file
    Error: Type was not found or was not a compile-time constant: TouchEvent
    Error: Type was not found or was not a compile-time constant: File.
    Error: Type was not found or was not a compile-time constant: FileStream
    could you please let me know what i am missing here ?
    thanks,

    Is this a AIR app or a mobile app? If you are building AIR app for desktop then you can use amxmlc instead of mxmlc.
    If its a mobile app then use mxmlc +configname=airmobile
    -Gaurav
    http://www.gauravj.com/blog

  • Where is Flash builder 4.6 for php ?

    Hello,
    I found flash builder 4.5 for php and flash builder 4.6, where is flash builder 4.6 for php ?

    Is it really that difficult to add Flash Builder 4.6 as a plugin to Zend Studio?  I did that for a long time prior to Flash Builder 4.5 for PHP, which is essentially the same thing.  It really doesn't take a rocket scientist.  =/
    On that note, if you own Flash Builder 4.6 and don't feel like shelling out the extra money for Zend Studio or waiting for Flash Builder 4.6 for PHP, then it's really as simple as adding Flash Builder as a plugin to Ecliplse for PHP using PDT.  Also, doesn't take a rocket scientist.  Personally, I don't see the big deal myself.  I don't even bother with using Zend Studio anymore and prefer to use Komodo Edit since it's autocomplete features are awesome and it's very quick at auto complete by simply adding a folder for your favorite PHP apps from different frameworks to different content management systems.  Furthermore, there is still support in Flash Builder 4.6 to connect to a PHP data service if you really just want to create some automated code.  Ultimately though, I don't understand why anyone would use amf.ini or the default options in production.
    Rather than pointing to the default endpoint, if you're using a framework in the first place, it makes a lot more sense to setup a service controller and have the endpoint point to that such as index.php/services/amf (or if you're like me and prefer cleaner url's modify .htaccess to remove index.php).  The bottom line is there really was nothing great about Flash Builder 4.5 for PHP.  Alot of things were broken for one and it was far easier to use the datawizard which still exists for testing purposes.
    After that, you should be focusing on deploying the applicaiton for production, and adjusting the settings in the Zend Framework to create a new project the correct way, dumping your HTML file to a view along with the swf file, and it may be a good idea to point the HTML file to swfobject on the Google Ajax Libraries page.  Everything else is a cakewalk.
    In other news, if you'd like a ligher footprint than using the entire Zend Framework, why not use something like CodeIgniter and create the necesssary hooks to use Zend AMF?

  • Mail attachment generated in UDF in SAP PI 7.1 - Issue with line feed

    Hello,
    Situation is:
    Implemented a scenario in SAP PI 7.1 with a mail receiver following this thread:
    /people/samuel.chandrasekaran2/blog/2008/10/06/xi-mail-adapter-dynamically-building-attachment-and-message-body-content-using-a-simple-udf
    which is about moving message lines from sender into an attachment forn the receiver mail.
    It is working great!
    The receiver gets the mail including the attachment with all added lines.
    But when opening this mail there is an issue depending on the program we are using to open the attachment
    which is defined as txt file
    - Using MS Editor 5.1 (Windows XP 2007, SP3) the Carriage returns and line feeds (added with
    in the UDF) to separate the message lines are not recognized. In the Editor each 
        is shown as □   within the text.  Word wrap (flag set in the editor) is different to the carriage return/line feeds set in the file.
    - Using MS Notepad 5.1 (Windows XP 2007, SP3)   situation is the same but
        is NOT shown as □ , it simply seems to be unvisible. Word wrap (flag set in the editor) is different to the carriage return/line feeds set in the file.
    - Using Word 2007 the carriage returns are recognized and used in a correct way to display the file content. But now mutated vowels (äüö) are not recognized. They are displayed as
    So I followed this thread:
    http://help.sap.com/saphelp_nw04/helpdata/en/96/f04142099eb76be10000000a155106/content.htm
    Nice....
    In the editors there is no change, but when opening the file in Word it asks now how to convert the file content
    (proposing UTF-8) and Word recognizes mutual vowels.
    But there seems to be a side effect....
    Following the second link,  PI recognizes an error.
    This is the error message.
    MP: exception caught with message Null as XI message received (PrincipalData in ModulData is null)
    Adapter Framework caught exception: Null as XI message received (PrincipalData in ModulData is null)
    Delivering the message to the application using connection Mail_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.Exception: Null as XI message received (PrincipalData in ModulData is null).
    But the message is sent to the mail recipient which could be ok if PI would not repeat the mail sending now for several times.
    So we will receive not one but a number of mails.
    So we removed the modul recommended in this help link from the channel.
    Result: Behaviour in Word changed now to the described one. But the errors are no longer coming up in channel monitoring incl. message send repetition. So this is a first success. But the partner wants to process the files first with one of the named editors. So we are looking for another solution now to fix the last issue!
    Your ideas are really welcome!
    Best regards
    Dirk

    Hi,
    as I found this in wikipedia:
    Another common problem is the use of '\n' when communicating using an Internet protocol that mandates the use of ASCII CR+LF for ending lines. Writing '\n' to a text mode stream works correctly on Windows systems, but produces only LF on Unix, and something completely different on more exotic systems. Using "\r\n" in binary mode is slightly better, as it works on many ASCII-compatible systems, but still fails in the general case. One approach is to use binary mode and specify the numeric values of the control sequence directly, "\x0D\x0A".
    Back to my issue:
    In the UDF I am adding "\r\n" but only the "\n" seems to survive!
    In Mapping test line feeds are available and the lines are shown as expected.
    Using Notepad ++ to open the created txt file from the mail shows that LF is in the file at each end of line but CR is missing.
    CR is only at the end of the last line in the file and is not from the UDF that creates the mail or the UDF that creates the attachment lines. Seems that this is added somewhere else behind the mapping.
    This is what I found in galileo computing
    (http://www.galileocomputing.de/glossar/gp/anzeige-11241/FirstLetter-Z, SORRY, only available in german language!):
    In Parsing of XML-Documents the XML-Parser changes the end of line delimiter internally in general to a simple line feed (LF, #0A) as usual in UNIX. ..... In Windows this could result in problems with readability of  source texts (e.g. in Notepad) which can be solved by choosing the right editor.
    My target application is on Windows and not able to "choose" the right editor (PI system is on windoes OS too) !
    But Im wondering where the CR at the end of the text comes from when all the \r\n will be replaced with \n as described.
    Ideas are really welcome!
    Best regards
    Dirk
    Edited by: Meinhard Dirk on May 31, 2011 2:45 PM

  • 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

  • How do we remove Carriage Return (line feed) inserted in FCC files

    Hi Experts,
    The file that we generate has a carriage return at the end.
    Is there any way in which we can remove this carriage return (line feed) from the file?
    The FCC parameters used at our end are as below:
    structure.filedNames:
    structure.fieldFixedLengths:
    structure.fixedLengthTooShortHandling: Cut
    Kindly tell us a solution ASAP.
    Thanks & Regards
    Dhwani

    Dear All,
    Let me elaborate on my query
    Consider that the files output looks like below:
    12  34  45  545 5454 UL
    23  33  43  434 4545 FG
    45  44  44  586 6535 GM
    Now there is an extra line(Carriage Return) getting inserted after the last line 45  44  44  586 6535 GM  which is not required at our end.
    The cursor of the file instead of stopping on the last character M, points to the next line.
    Can you please suggest how to remove this extra line from the files.
    I dont understan how will remove context help in this case.
    Regards
    Dhwani

  • 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

  • Flash Builder 4.7 Embed Error

    I originally posted something similiar in the "Using Flash Builder" section but decided to post something here thinking it would get more coder eyes.
    This worked in Flash Builder 4.5 using the Flex 4.6 SDK with the AIR 3.5 SDK.
    However in Flash Builder 4.7 using the Flex 4.6 SDK with the AIR 3.5 SDK the following:
    package
              import flash.display.Sprite;
              public class TestProject extends Sprite
                        [Embed(source = "Image.png", mimeType = "image/png", compression="true", quality="80")]
                        private static var _imageClass:Class;
                        public function TestProject()
    Is generating these errors:
    Error 1:
    Internal error in outgoing dependency subsystem, when generating code for: C:\Users\users\Adobe Flash Builder 4.7\TestProject\src\Image.png: java.lang.ArrayIndexOutOfBoundsException: 0
              at com.adobe.flash.compiler.internal.units.EmbedCompilationUnit.analyze( EmbedCompilationUnit.java:224)
              at com.adobe.flash.compiler.internal.units.EmbedCompilationUnit.handleOu tgoingDependenciesRequest(EmbedCompilationUnit.java:193)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase.processOu tgoingDependenciesRequest(CompilationUnitBase.java:886)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase.access$50 0(CompilationUnitBase.java:107)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase$6$1.call( CompilationUnitBase.java:378)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase$6$1.call( CompilationUnitBase.java:374)
              at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call( RequestMaker.java:228)
              at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call( RequestMaker.java:222)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)          Image.png          /TestProject/src          line 0          Flex Problem
    Error 2:
    The definition of base class Bitmap was not found.
    With a warning:
    Definition flash.utils.Bitmap could not be found.
    If you drop the quality param:
    package
         import flash.display.Sprite;
         public class TestProject extends Sprite
             [Embed(source = "Image.png", mimeType = "image/png", compression="true")]
             private static var _imageClass:Class;
             public function TestProject()
    The errors change to:
    Internal error in ABC generator subsystem, when generating code for: C:\Users\user\Adobe Flash Builder 4.7\TestProject\src\TestProject.as: java.lang.NullPointerException
              at com.adobe.flash.compiler.internal.embedding.transcoders.JPEGTranscode r.equals(JPEGTranscoder.java:220)
              at com.adobe.flash.compiler.internal.embedding.EmbedData.equals(EmbedDat a.java:522)
              at java.util.WeakHashMap.eq(Unknown Source)
              at java.util.WeakHashMap.get(Unknown Source)
              at com.adobe.flash.compiler.internal.workspaces.Workspace.getCanonicalEm bedData(Workspace.java:933)
              at com.adobe.flash.compiler.internal.units.EmbedCompilationUnitFactory.g etEmbedData(EmbedCompilationUnitFactory.java:120)
              at com.adobe.flash.compiler.internal.units.EmbedCompilationUnitFactory.g etCompilationUnit(EmbedCompilationUnitFactory.java:62)
              at com.adobe.flash.compiler.internal.tree.as.EmbedNode.resolveCompilatio nUnit(EmbedNode.java:116)
              at com.adobe.flash.compiler.internal.tree.as.EmbedNode.resolveCompilatio nUnit(EmbedNode.java:126)
              at com.adobe.flash.compiler.internal.tree.as.EmbedNode.resolveCompilatio nUnit(EmbedNode.java:43)
              at com.adobe.flash.compiler.internal.units.EmbedCompilationUnitFactory.c ollectEmbedDatas(EmbedCompilationUnitFactory.java:136)
              at com.adobe.flash.compiler.internal.as.codegen.ABCGenerator.generate(AB CGenerator.java:184)
              at com.adobe.flash.compiler.internal.units.ASCompilationUnit.handleABCBy tesRequest(ASCompilationUnit.java:374)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase.processAB CBytesRequest(CompilationUnitBase.java:870)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase.access$30 0(CompilationUnitBase.java:107)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call( CompilationUnitBase.java:309)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase$4$1.call( CompilationUnitBase.java:305)
              at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call( RequestMaker.java:228)
              at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call( RequestMaker.java:222)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)          TestProject.as          /TestProject/src          line 0          Flex Problem
    Internal error in outgoing dependency subsystem, when generating code for: C:\Users\user\Adobe Flash Builder 4.7\TestProject\src\TestProject.as: java.lang.NullPointerException
              at com.adobe.flash.compiler.internal.embedding.transcoders.JPEGTranscode r.equals(JPEGTranscoder.java:220)
              at com.adobe.flash.compiler.internal.embedding.EmbedData.equals(EmbedDat a.java:522)
              at java.util.WeakHashMap.eq(Unknown Source)
              at java.util.WeakHashMap.get(Unknown Source)
              at com.adobe.flash.compiler.internal.workspaces.Workspace.getCanonicalEm bedData(Workspace.java:933)
              at com.adobe.flash.compiler.internal.units.EmbedCompilationUnitFactory.g etEmbedData(EmbedCompilationUnitFactory.java:120)
              at com.adobe.flash.compiler.internal.units.EmbedCompilationUnitFactory.g etCompilationUnit(EmbedCompilationUnitFactory.java:62)
              at com.adobe.flash.compiler.internal.tree.as.EmbedNode.resolveCompilatio nUnit(EmbedNode.java:116)
              at com.adobe.flash.compiler.internal.tree.as.EmbedNode.resolveCompilatio nUnit(EmbedNode.java:126)
              at com.adobe.flash.compiler.internal.tree.as.EmbedNode.resolveCompilatio nUnit(EmbedNode.java:43)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase.updateEmb edCompilationUnitDependencies(CompilationUnitBase.java:946)
              at com.adobe.flash.compiler.internal.units.ASCompilationUnit.handleOutgo ingDependenciesRequest(ASCompilationUnit.java:458)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase.processOu tgoingDependenciesRequest(CompilationUnitBase.java:886)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase.access$50 0(CompilationUnitBase.java:107)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase$6$1.call( CompilationUnitBase.java:378)
              at com.adobe.flash.compiler.internal.units.CompilationUnitBase$6$1.call( CompilationUnitBase.java:374)
              at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call( RequestMaker.java:228)
              at com.adobe.flash.compiler.internal.units.requests.RequestMaker$1.call( RequestMaker.java:222)
              at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
              at java.util.concurrent.FutureTask.run(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)          TestProject.as          /TestProject/src          line 0          Flex Problem
    If you try to set compression to false:
    package
         import flash.display.Sprite;
         public class TestProject extends Sprite
             [Embed(source = "Image.png", mimeType = "image/png", compression="false")]
             private static var _imageClass:Class;
             public function TestProject()
    You get the following:
    The attribute compression can't be used with the mime type: image/png
    Change it to jpeg:
    package
         import flash.display.Sprite;
         public class TestProject extends Sprite
             [Embed(source = "Image.png", mimeType = "image/jpeg", compression="false")]
             private static var _imageClass:Class;
             public function TestProject()
    You get the following:
    The attribute compression can't be used with the mime type: image/jpeg
    Is anyone else getting these same results with Flash Builder 4.7 with Flex SDK 4.6 and AIR SDK 3.5? I expect that we still should be able to compress embedded assets within Flash Builder?

    Upgraded Flex 4.6 SDK to use the new AIR 3.6 SDK and the Flash Builder 4.7 to use the new AIR 3.6 SDK with the new compiler and I am still getting this. I had some other people try these steps and they got the exact same error so it doesn't seem to be just me. Is noone here getting this or am I the only one trying to embed a png directly into a Flash Builder project? =/

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

Maybe you are looking for

  • How do I get my bookmark toolbar back on the top instead of in a drop down box under bookmarks.

    I have a check mark in the "view bookmark toolbar" but it still doesn't show. This just changed after I turned my computer on again. When you go to bookmarks and click on "bookmark toolbar", all the websites are still there, but I want them to show u

  • B2B in PI 7.0 - EDIFACT format to IDOC and vice versa

    We need to establish B2B scenario in PI 7.0 IDOC to EDIFACT and EDIFACT to IDOC. Please let me know the solution without using any third party adapter like seeburger. Any example scenario of the same case will be helpful

  • How to "reset" the index of a WDTable footer?

    Hi to everyone It seems I have a rather trivial question since nobody has had this problem in the forum. I am developing a WebDynpro Application and got stuck with tables. The application has a tree; by clicking on a node a context node will be fille

  • Missing Keys...NEED HELP

    I am glued to my computer for work and personal at least 6 hrs. a day, so it will be a few weeks before i can send my MBP to Apple to get this fixed...but Both of my Command keys have popped off, and use a TON of keyboard shortcuts. This may be a sho

  • Scaling an element in gif animation

    I try to make stars twinkle in a gif animation. I have frame 1, with stars and other stuff on separate layers. I make frame 2 where the star is smaller, and tween to get the frames inbetween. Always when I scale the star, it changes in ALL the frames