Flash Builder 4.5 - auto closing curly brace

Hey,
Is there any method to turn off closing curly braces when you write a function, conditional... ?

I discovered my problem was uid seems to be a built in global or something and was filling in that data field with a bunch of letters and number, like the device id. Because of the letters flex was throwing a fit. So if you're using Facebook API in flex be sure to not go with uid for the user id, which is was facebook api calls it.

Similar Messages

  • Auto closing curly braces

    Is there any options in Dreamweaver 8 that is capable of auto
    closing curly braces and parenthesis like I see in a lot of code
    editors. I'm trying to use the coding environment. Thanks.

    Nope. Please suggest this to the dev team, though -
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "monfreex" <[email protected]> wrote in
    message
    news:evpm3j$f5s$[email protected]..
    > Is there any options in Dreamweaver 8 that is capable of
    auto closing
    > curly braces and parenthesis like I see in a lot of code
    editors. I'm
    > trying to use the coding environment. Thanks.

  • Flash Builder 4.5 Auto-Gen Code For PHP Data Service Produces Errors

    Hello
    I'm currently running a fresh install of MAMP on my Mac and when I start a new flex project, add a php data service that pulls from a mysql database I have. Everything works fine until I try to compile. The error I'm getting is 'uid' being the primary key which is a bigint(20). The file _Super_Users.as (auto-gen based on the user table below) reports 2 errors: [Managed] requires uid to be of type 'String'. (same error on 2 lines of code) Now the MySQL table wants it to be a int, the auto gen code seems to want it to be an int as well but for some reason its putting in these requires for String on the getter and setters for 'uid'. The is before I even add any of my own code, just auto-gen then compile.
         * data/source property getters
    [Bindable(event="propertyChange")]
        public function get uid() : int /*error line*/
            return _internal_uid;
         * data/source property setters
        public function set uid(value:int) : void /*error line*/
            var oldValue:int = _internal_uid;
            if (oldValue !== value)
                _internal_uid = value;
    This is what my database looks when I export it:
    CREATE TABLE `users` (
      `uid` bigint(20) unsigned NOT NULL,
      `name` varchar(150) NOT NULL,
      `first_name` varchar(50) NOT NULL,
      `middle_name` varchar(50) NOT NULL,
      `last_name` varchar(50) NOT NULL,
      `gender` tinyint(1) NOT NULL,
      `locale` varchar(5) NOT NULL,
      `link` varchar(255) NOT NULL,
      `username` varchar(50) NOT NULL,
      `email` varchar(255) NOT NULL,
      `picture` varchar(255) NOT NULL,
      `friends` text NOT NULL,
      `created` datetime NOT NULL,
      `updated` datetime NOT NULL,
      PRIMARY KEY (`uid`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    It's empty right now...
    Apache 2.0.64
    MySQL 5.5.9
    PHP 5.2.17 & 5.3.5
    APC 3.1.7
    eAccelerator 0.9.6.1
    XCache 1.2.2 & 1.3.1
    phpMyAdmin 3.3.9.2
    Zend Optimizer 3.3.9
    SQLiteManager 1.2.4
    Freetype 2.4.4
    t1lib 5.1.2
    curl 7.21.3
    jpeg 8c
    libpng-1.5.0
    gd 2.0.34
    libxml 2.7.6
    libxslt 1.1.26
    gettext 0.18.1.1
    libidn 1.17
    iconv 1.13
    mcrypt 2.5.8
    YAZ 4.0.1 & PHP/YAZ 1.0.14
    I tried to give as much info as possible, if you need more let me know...

    I discovered my problem was uid seems to be a built in global or something and was filling in that data field with a bunch of letters and number, like the device id. Because of the letters flex was throwing a fit. So if you're using Facebook API in flex be sure to not go with uid for the user id, which is was facebook api calls it.

  • Preview issue (native and embedded via Safari) wth cut-paste and nested curly braces

    Environment:
        OS X 10.6.8
        Preview 5.0.3 (504.1)
        Updates:  current as of 0800 CDT 24 Jul 2011
             -- updates issued on 24 Jul 2011 are being applied but the changelog(s) do not mention this issue
        Any PDF document containing code fragments which have more than 1 level of curly-brace
    Issue:
        Pasted text copied from PDF files is produced with lines out of order, line wrap and string breaks
        in unexpected locations, and partial lines appended in unexpected ways.  This appears to be an
        issue with Preview since it can be reproduced by opening appropriate PDF content either in Preview
        or Safari with the canonical Preview support for PDF documents.
    To Reproduce:
        1.  Open the PDF with Preview or Safari
         2.  Position and size the viewing window to avoid any display-pane-induced line wrapping.
        2.  Drag-select the code block and paste into another document, the following have been tried with identical results:
            - OpenOffice (writer) 3.3.0 (OOO330m20 Build 9567)
             - Terminal 2.1.2 (273.1) (into a vi session in "insert" mode)
    Results:
        1.  Original end-of-line positions are not preserved.
        2.  Line-wrap not preserved in original *or* visual aspects.
        3.  Lines trailing the first closing curly brace for the first curly brace pair at greater than nesting=2 are out of order.
    Example:
        original text:  PDF download of O'Rielly document "JavaScript Cookbook"
         origin:  downloaded from O'Rielly web site, 2011-07-24@15:49
            MD5 (JavaScript_Cookbook.pdf) = 9c6463ac28377bb69230536266369ccb
         source lines:  page 335, lines 5-30
              <body>
              <svg:svg width="600" height="600">
                   <script type="text/ecmascript">
                         <![CDATA[
                             // set element onclick event handler
                              window.onload=function () {
                                  var square = document.getElementById("square");
                                  // onclick event handler, change circle radius
                                   square.onclick = function() {
                                       var color = this.getAttribute("fill");
                                       if (color == "#ff0000") {
                                            this.setAttribute("fill","#0000ff");
                                       } else {
                                            this.setAttribute("fill","#ff0000");
                        ]]>
                   </script>
                   <svg:rect id="square" width="400" height="400" fill="#ff0000"
                   x="10" y="10" />
              </svg:svg>
              <body>
    Copying this text from PDF form -- either in Preview or in Safari wth Preview doing the heavy lifting -- and pasting into a Terminal window running 'vi' in "insert" mode yields this:
              <body> <svg:svg width="600" height="600">
              <script type="text/ecmascript"> <![CDATA[
              // set element onclick event handler window.onload=function () {
              } ]]>
              </script>
              var square = document.getElementById("square");
              // onclick event handler, change circle radius square.onclick = function() {
              var color = this.getAttribute("fill"); if (color == "#ff0000") {
              this.setAttribute("fill","#0000ff"); } else {
              this.setAttribute("fill","#ff0000");
              <svg:rect id="square" width="400" height="400" fill="#ff0000" x="10" y="10" />
              </svg:svg> </body>
    NOTE THAT LINE SEQUENCE 3-4-5-6 OF THE PASTED TEXT CORRESPONDS TO LINES 6-21-20-22 OF THE ORIGINAL TEXT.

    Shocking.
    But best to let Apple know of any issues. We're just users here.
    If your part of the ADC then bugreporter.

  • Air Auto Update Error -- Flash Builder Burrito.

    This is my first attempt at this, so I may be missing something simple.
    I'm not having any luck getting an Air app to automatically update.
    If I manually go to  http://localhost/air1/air1.air and redownload the file I will get a popup that asks if I want to update the app, but when I say ok I get this error.
    "There was an error checking for updates. Error# 16816"
    I haven't found a reason yet,
    Any ideas?
    update.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
      <version>2.0</version>
      <url>http://localhost/air1/air1.air</url>
      <description>1.0 - First version</description>
    </update>
    file -- air1.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           applicationComplete="init()">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import air.update.events.UpdateEvent;
                import air.update.ApplicationUpdaterUI;
                import mx.controls.Alert;
                protected var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI(); // Used for auto-update
                protected function init():void
                    // Check for update
                    this.checkUpdate();
                    Alert.show("checking update");
                // This function is triggered when the application finished loading.
                // Initialize appUpdater and set some properties
                protected function checkUpdate():void
                    // set the URL for the update.xml file
                    appUpdater.updateURL = "http://localhost/air1/update.xml";
                    appUpdater.addEventListener(UpdateEvent.INITIALIZED, onUpdate);
                    appUpdater.addEventListener(ErrorEvent.ERROR, onUpdaterError);
                    // Hide the dialog asking for permission for checking for a new update.
                    // If you want to see it just leave the default value (or set true).
                    appUpdater.isCheckForUpdateVisible = true;
                    appUpdater.initialize();
                // Handler function triggered by the ApplicationUpdater.initialize.
                // The updater was initialized and it is ready to take commands.
                protected function onUpdate(event:UpdateEvent):void
                    // start the process of checking for a new update and to install
                    appUpdater.checkNow();
                // Handler function for error events triggered by the ApplicationUpdater.initialize
                protected function onUpdaterError(event:ErrorEvent):void
                    Alert.show(event.toString());
            ]]>
        </fx:Script>
        <s:Button x="47" y="55" label="Button"/>
        <mx:ColorPicker x="61" y="119"/>
        <s:ComboBox x="77" y="216"/>
        <s:ComboBox x="77" y="185"/>
        <s:ComboBox x="77" y="154"/>
    </s:WindowedApplication>
    file  -- air1-app.xml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.5">
    <!-- Adobe AIR Application Descriptor File Template.
        Specifies parameters for identifying, installing, and launching AIR applications.
        xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/2.5
                The last segment of the namespace specifies the version
                of the AIR runtime required for this application to run.
        minimumPatchLevel - The minimum patch level of the AIR runtime required to run
                the application. Optional.
    -->
        <!-- A universally unique application identifier. Must be unique across all AIR applications.
        Using a reverse DNS-style name as the id is recommended. (Eg. com.example.ExampleApplication.) Required. -->
        <id>air1</id>
        <!-- Used as the filename for the application. Required. -->
        <filename>air1</filename>
        <!-- The name that is displayed in the AIR application installer.
        May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <name>air1</name>
        <!-- A string value of the format <0-999>.<0-999>.<0-999> that represents application version which can be used to check for application upgrade.
        Values can also be 1-part or 2-part. It is not necessary to have a 3-part value.
        An updated version of application must have a versionNumber value higher than the previous version. Required for namespace >= 2.5 . -->
        <versionNumber>2.0.0</versionNumber>
        <!-- A string value (such as "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be shown to users. Optional. -->
        <!-- <versionLabel></versionLabel> -->
        <!-- Description, displayed in the AIR application installer.
        May have multiple values for each language. See samples or xsd schema file. Optional. -->
        <!-- <description></description> -->
        <!-- Copyright information. Optional -->
        <!-- <copyright></copyright> -->
        <!-- Publisher ID. Used if you're updating an application created prior to 1.5.3 -->
        <!-- <publisherID></publisherID> -->
        <!-- Settings for the application's initial window. Required. -->
        <initialWindow>
            <!-- The main SWF or HTML file of the application. Required. -->
            <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
            <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
            <!-- The title of the main window. Optional. -->
            <!-- <title></title> -->
            <!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
            <!-- <systemChrome></systemChrome> -->
            <!-- Whether the window is transparent. Only applicable when systemChrome is none. Optional. Default false. -->
            <!-- <transparent></transparent> -->
            <!-- Whether the window is initially visible. Optional. Default false. -->
            <!-- <visible></visible> -->
            <!-- Whether the user can minimize the window. Optional. Default true. -->
            <!-- <minimizable></minimizable> -->
            <!-- Whether the user can maximize the window. Optional. Default true. -->
            <!-- <maximizable></maximizable> -->
            <!-- Whether the user can resize the window. Optional. Default true. -->
            <!-- <resizable></resizable> -->
            <!-- The window's initial width in pixels. Optional. -->
            <!-- <width></width> -->
            <!-- The window's initial height in pixels. Optional. -->
            <!-- <height></height> -->
            <!-- The window's initial x position. Optional. -->
            <!-- <x></x> -->
            <!-- The window's initial y position. Optional. -->
            <!-- <y></y> -->
            <!-- The window's minimum size, specified as a width/height pair in pixels, such as "400 200". Optional. -->
            <!-- <minSize></minSize> -->
            <!-- The window's initial maximum size, specified as a width/height pair in pixels, such as "1600 1200". Optional. -->
            <!-- <maxSize></maxSize> -->
        <autoOrients>false</autoOrients>
        <fullScreen>false</fullScreen>
        <visible>false</visible>
      </initialWindow>
        <!-- We recommend omitting the supportedProfiles element, -->
        <!-- which in turn permits your application to be deployed to all -->
        <!-- devices supported by AIR. If you wish to restrict deployment -->
        <!-- (i.e., to only mobile devices) then add this element and list -->
        <!-- only the profiles which your application does support. -->
        <!-- <supportedProfiles>desktop extendedDesktop mobileDevice extendedMobileDevice</supportedProfiles> -->
        <!-- The subpath of the standard default installation location to use. Optional. -->
        <!-- <installFolder></installFolder> -->
        <!-- The subpath of the Programs menu to use. (Ignored on operating systems without a Programs menu.) Optional. -->
        <!-- <programMenuFolder></programMenuFolder> -->
        <!-- The icon the system uses for the application. For at least one resolution,
        specify the path to a PNG file included in the AIR package. Optional. -->
        <!-- <icon>
            <image16x16></image16x16>
            <image32x32></image32x32>
            <image36x36></image36x36>
            <image48x48></image48x48>
            <image72x72></image72x72>
            <image128x128></image128x128>
        </icon> -->
        <!-- Whether the application handles the update when a user double-clicks an update version
        of the AIR file (true), or the default AIR application installer handles the update (false).
        Optional. Default false. -->
        <!-- <customUpdateUI></customUpdateUI> -->
        <!-- Whether the application can be launched when the user clicks a link in a web browser.
        Optional. Default false. -->
        <!-- <allowBrowserInvocation></allowBrowserInvocation> -->
        <!-- Listing of file types for which the application can register. Optional. -->
        <!-- <fileTypes> -->
            <!-- Defines one file type. Optional. -->
            <!-- <fileType> -->
                <!-- The name that the system displays for the registered file type. Required. -->
                <!-- <name></name> -->
                <!-- The extension to register. Required. -->
                <!-- <extension></extension> -->
                <!-- The description of the file type. Optional. -->
                <!-- <description></description> -->
                <!-- The MIME content type. -->
                <!-- <contentType></contentType> -->
                <!-- The icon to display for the file type. Optional. -->
                <!-- <icon>
                    <image16x16></image16x16>
                    <image32x32></image32x32>
                    <image48x48></image48x48>
                    <image128x128></image128x128>
                </icon> -->
            <!-- </fileType> -->
        <!-- </fileTypes> -->
        <!-- Specify Android specific tags that get passed to AndroidManifest.xml file. -->
        <!--<android>
            <manifestAdditions>
            <![CDATA[
                <manifest android:installLocation="auto">
                    <uses-permission android:name="android.permission.INTERNET"/>
                    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
                    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
                    <uses-configuration android:reqFiveWayNav="true"/>
                    <supports-screens android:normalScreens="true"/>
                    <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                    <application android:enabled="true">
                        <activity android:excludeFromRecents="false">
                            <intent-filter>
                                <action android:name="android.intent.action.MAIN"/>
                                <category android:name="android.intent.category.LAUNCHER"/>
                            </intent-filter>
                        </activity>
                    </application>
                </manifest>
            ]]>
            </manifestAdditions>
        </android> -->
        <!-- End of the schema for adding the android specific tags in AndroidManifest.xml file -->
    </application>

    This appears to be a Flex question. Please try posting to the Flex forums here http://forums.adobe.com/community/flex/flex_general_discussion for better response.

  • Flash Builder 4.7 closing emulator when clicking outside

    Starting today I now have my Flash Builder 4.7 closing the android emulator if I click anywhere outside the emulator screen. Which makes it really hard to debug, only started today, and I have no idea what has caused it.
    Also, launching it on a device (Motorolla XOOM), it's closing pretty much as soon as it loads.
    My main issue is that I have idea at all why it's doing this, and there's no error message or anything, it just closes and the console goes dead.
    Anyone else had this issue, or know where to look for error log info?

    AAAAAAAAAAAhhh!
    Found the issue.
    My co-worker had overridden a handler thusly:
    override protected function deactivateHandler(event:Event):void
                                            super.deactivateHandler(event);
                                            NativeApplication.nativeApplication.exit();
    This was for some reason or other... but it wasn't affecting him as he was only testing on a nexus 10, which for some reason that event doesn't get fired unless you are actually trying to exit the app.
    But on the Galaxy Xoom, and the air emulator it gets called just whenever the app is told to go to sleep or lose focus I guess.
    Wow, that wasted a LOT of time!

  • Flash Builder improvements, Syntax coloring, Custom format, Auto close

    Hello,
    I'm trying Flash Builder 4.7 but I see there is missing features in the Softaware.
    I didn't found this important features in the preferences and I think you could add this new features in the new version of FB:
    Syntax coloring like Flash Professional: Coloring the AS3 keywords properties and methods like (addChild, x, y, width, height, etc.)
    Custom format code. In FB 4.7 there no way to custom the format code in AS3 but you can do it for Java.
    AutoClose : Inserts matching bracket, paren, brace or quote
    A list of color themes
    I hope it will help to improve this software.
    Cheers.

    I've always had the feel/assumption that Flash is more of a priority to Adobe than Flex / FlashBuilder evere was/is. Try using FlashDevelop with Flash to compile.
    If by action we can assume answer then the following I would assume:
    Adobe: Don't fix old bugs in FlashBuilder even when it was still named Flex, only seen updates to major / critical bugs
    Assumed reasoning for this: Low priority product, not enough resource allocated to product development, no development time assigned to enhancing / correcting the old components, eclipse product enhancement is beyond their skill set, or just simply don't care...... pick one and go with it.
    Joe Public: Requested better code colouring, syntax highlighting, language recognition (many years ago)
    Adobe: Added new commands to intelisense and informational popups when they arrived but apart from that not much else has been done.
    Assumed reasoning for this: Low priority product, not enough resource allocated to product development, no development time assigned to enhancing / correcting the old components, eclipse product enhancement is beyond their skill set, or just simply don't care...... pick one and go with it.
    Joe public: Left to hoping Eclipse plugins can help with this

  • Flash Builder is closing at random while I'm working

    I'm using Flash Builder 4.6, sun jdk 1.6 on Windows 7 Enterprise Edition.
    A couple of days ago as I started diving in to my first real flash project, my Flash Builder started closing at random intervals with no connection between events.  Does anyone know why this is happenning?  It's infuriating.  I lose any unsaved changes and have to restart flash builder and tomcat.  I've tried creating a new workspace and project, reinstalling Flash Builder and I'm getting the same result.  It closes when I'm editing all types of files (mxml, as, java, properties) and my actions at the mouse and keyboard have had no consistent relationship either.  I've even seen it close while I was focused on another application.  Something is seriously not right.
    I'm hoping someone out there might have some hints as to how to fix this.  It looks like a system wide error at this point but honestly, I could just be doing something stupid, too.  I am at my wits end with this.  Any reasonable suggestions are much appreciated!!
    Thanks in advance,
    Bryce

    Of course, I knew that. Thanks seeren.
    Louise

  • Flash Builder 4.5 Application SDK 2.6 Auto Update Fails

    I have developed a few applications using Flex Builder 3 and have recently switched to using Flash Builder 4.5 for my air application developement of new applications. ApplicationUpdaterUI worked fine in FB3, but now in FB4.5 it fails with:
    [StatusUpdateErrorEvent (type=updateError text=unknown update descriptor namespace id=16815 + subErrorID=0)]
    My Application descriptor reads:
    <application xmlns="http://ns.adobe.com/air/application/2.6">
    So I changed my update descriptor in my Update.xml on the server from 1.0(for FB3) to 2.6 like so:
    <update xmlns="http://ns.adobe.com/air/framework/update/description/2.6">
    This give me the error above...
    If I change the update descriptor to 2.5 like so:
    <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
    I get the following Error:
    [StatusUpdateErrorEvent (type=updateError text=Application namespace and update descriptor namespace are not compatible id=16831 + subErrorID=0)]
    I have read in multiple forums that you need to switch the updater descriptor back to 2.5, or even back to 1.0. I have tried both of these, and it still will not work! Here is my updater code. I just put this flex component on the start state of my application. I believe this is all correct, but please fill me in if I am wrong...
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx" width="400" height="32"
    creationComplete="checkForUpdate()">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import air.update.ApplicationUpdaterUI;
    import air.update.events.StatusUpdateErrorEvent;
    import air.update.events.UpdateEvent;
    import flash.events.ErrorEvent;
    import mx.controls.Alert;
    private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();
    private function checkForUpdate():void{
    appUpdater.updateURL = "http://test.example.com/root/updates/update.xml";
    appUpdater.isCheckForUpdateVisible = false;
    appUpdater.addEventListener(UpdateEvent.INITIALIZED, onUpdate);
    appUpdater.addEventListener(ErrorEvent.ERROR, onError);
    appUpdater.addEventListener(StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateError);
    appUpdater.initialize();
    private function onError(event:ErrorEvent):void{
    Alert.show(event.toString());
    private function onUpdate(event:UpdateEvent):void{
    appUpdater.checkNow();
    private function onUpdateError(event:ErrorEvent):void{
    Alert.show(event.toString());
    ]]>
    </fx:Script>
    </s:Group>
    And here is my update.xml...
    <?xml version="1.0" encoding="utf-8"?>
    <update xmlns="http://ns.adobe.com/air/framework/update/description/2.5">
    <version>1.0.1</version>
    <url>http://test.example.com/root/updates/Application_1.0.1.air</url>
    <description><![CDATA[
    1.0.1 (07/20/2011)
    Testing the update code
    ]]></description>
    </update>
    PLEASE HELP!!

    Hi,
    I'm getting the same 16831 error, and I'm using the 2.5 namespace and "versionNumber". Anyone have any idea of what the cause may be?

  • Adobe AIR.dll_unloaded When Flash Builder 4.6 closed.

    I found nothing about Adobe AIR.dll_unloaded by Google.

    I've been seeing what sounds like a similar problem (Windows application "BEX" error when attempting to close Flash Builder via its [X] icon).
    (Win 7 Enterprise, SP1, 64-bit, i5 + 8GB RAM), Flash Builder 4.6, Java 1.7.0_07)
    I tried the following:
    -- Launching Tour de Flex (from the task bar icon), and then updating AIR to the latest version
    -- Right-clicking on the Flash Builder task bar icon and then selecting "Run as Administrator"
    -- Right-clicking on the Flash Builder task bar icon and then selecting "Troubleshoot compatability", then applying the compatability fixes it suggested.
    Somewhere along the way, the problem went away. I then ran the compatability troubleshooter again and (I think) removed the compatability changes (since windows security was asking me whether I want to let the application update my computer every time I launched FlashBuilder--annoying!).
    The problem still appears to be fixed--but only with a whole ten minutes testing. I'll just have to see if the above is really a fix/work-around.

  • Flash Builder 4.6 horribly unresponsive

    I'm using Flash builder 4.6 (and have used prior versions of flash builder as well) with a flex/actionscript project on a Windows 7, 64 bit box.  Flash Builder itself (not the launched application) is horribly slow and unresponsive.  I do not have the auto build turned on or design mode on
    Here are some of the problems I regularly have:
    - Opening the window, if it has been minimized, and clicking anywhere on it causes the window to be greyed out and have the "(not responding)" message added to its title bar.  It starts working after 15 seconds.
    - Using the arrow keys to move up and down in a .as or .mxml file is jerky.  I.e., some keystrokes move at the rate I hit them, but others pause, wait a few seconds, and then move.  This also occurs with mouse actions.
    - Using code navigation like F3 or <CTRL>-<SHIFT>-G causes Flash Builder to pause while it thinks.  In the case of <CTRL>-<SHIFT>-G, it pauses so long that one thinks there are no references (because the search starts with 0 results).
    - Building code within flash builder takes minutes.  Even the modification of a single file takes forever.
    In general, I've found working with Flash Builder one of the worst development experiences (I've worked with Eclipse for the last 6 years, VIM, & Visual Studio too) I've had.
    These are the installed components:
      Adobe Data Modeling Core Components 4.5.304901.v20110217 com.adobe.model.feature.core.feature.group Adobe Systems Incorporated
      Eclipse IDE for Java Developers 1.4.0.20110615-0550 epp.package.java null
      org.eclipse.equinox.p2.operations NLS Support 3.7.0.v20110716043402 org.eclipse.equinox.p2.operations.nl1_3.7.0.v20110716043402 Adobe Systems Incorporated
      org.eclipse.wst.internet.cache NLS Support 3.7.0.v20110716043402 org.eclipse.wst.internet.cache.nl1_3.7.0.v20110716043402 Adobe Systems Incorporated
      RDS Core and Database Components 4.5.304901.v20110217 com.adobe.rds.feature.feature.group Adobe Systems Incorporated

    I have similar problems with some .as files. The compiler/formatter/assistant seems to hang, consuming 100% cpu (or 25% on my quad-core) and blocking the UI. Each keystroke / click takes 10-15 seconds. The cursor flashes very slowly. Sometimes the window goes white with "not responding" in the title bar.
    I have not yet been able to pinpoint the problem precisely or reproduce with a simple code sample, but it seems to happen when
    a)  your code contains inline (anonymous) functions and
    b) you have typed an opening bracket but no closing bracket yet -  ( ), { }, [ ].
    The situation continues until the brackets are balanced.
    Can either of you confirm that this is so in your case?

  • Flash Builder 4 LDAP issue on IIS 7 with Coldfusion 8

    I have a cfc that returns empty strings back into my project when I attempt an auto login through LDAP. The same files perform correctly on a different server with IIS 6. I set up a simple cfm  on the IIS 7 server and received the appropriate data. I set up a cfm on the IIS 7 server  to invoke the very same cfc that fails in the flash builder and received the appropriate data. Both servers are inside the company firewall.
    The web folder is set up as an application with windows authentication enabled, disabling and enabling the anonymous authentication seems to have no impact on any of the scenarios. I am assuming I am missing some configuration in the ColdFusion Flex integration but I am not sure what it is. Anyone have a shot in the dark on this one?
    Enable Flash Remoting support  &
    Enable Remote Adobe LiveCycle Data Management access  are both checked
    SSL connections are not being used.

    I absolutly did read the guidance notes and it was based in them that we installed.
    Quote:
    "Now that we have had an opportunity to undertake further testing with the final release of Mac OS X 10.7, we are pleased to report that there are only minor usability issues when using Flash Builder 4.5.1 on Mac OS X 10.7 and, as such, we will be updating our previous statement to confirm compatibility of these releases"
    What I am now experiencing on two different machines is what appears to be outside the scope of these notes and either a new issue that is reproducible, or a Java issue related to 10.7. Not being a Java guy I'm not sure were to begin short of trying Eclipse on its own.
    I am able to produce a crash of FB 4.5.1 by just trying to close an MXML file by clicking the close button of the tab, or by closing a project. This is on two seperate machines now.

  • Help with my Flash Builder code.

    Hello,
    I am getting two errors, well four but three are the same. 1083 && 1084.
    here is my code, can someone look over it and tell me what I am doing wrong. I am fairley new to Flash Builder so please no harassement.
    //Check The Login
                    var userName: String= "requestofone";
                    var passWord: String= "robots96";
                        if (userName == "requestofone" && passWord == "robots96"){
                        trace("Welcome requestofone")
                        }else{ (userName != "requestofone")
                        trace("User not found. Try again.")
                        }else if{ (passWord != "robots96")
                        trace("Password does not match our records.");
                        //Tire Pressure
                        var frontTires:Array = ['43', '43'];
                        var rearTires:Array = ['45', '45'];
                        if (frontTires:Array != uint: 43 && rearTires:Array != uint: 45){
                            trace("Get Your Tires Checked Out")
                        }else{ (frontTires:Array == uint: 43) && (rearTires:Array == uint:45)
                            trace("Tires pass the spec")}
    Description
    Location
    1083: Syntax error: else is unexpected.
    line 48
    1084: Syntax error: expecting rightparen before colon.
    line 56
    1084: Syntax error: expecting rightparen before colon.
    line 58
    1084: Syntax error: expecting rightparen before colon.
    line 58
    I have been trying to figure this out for a while now. Please help.

    Not to be nasty or "harass", but you need to go back and learn the syntax.  Each line of code should end with a semicolon, and I'm also not sure what you are trying to accomplish with your "else{(userName != "requestofone")".  Are you trying to do a conditional test?  If so you need to use an "else if".  That said, the "else if" you do use is incorrect.  The parens should come out side the curly braces like you did for the initial "if" condition, and the "else if" needs to come before your final "else" since that is where the flow will go when no previous condition is met.
    Example:
    if (a == b){
    trace("do something");
    else if (b == c){
    trace("do something different");
    else{
    trace("do some default thing");
    I hope this helps.

  • Flash Builder 4.5 Compiles super super super slow

    We're using Flash Builder for an enterprise application. It builds super super super super slow. It takes roughly 3'25'' to build. This kind of compiling speed is unbearable for front-end development. Please help!!!!
    Here're the specs of my machine:
    Processor: Intel(R) Core(TM) i5-2520M CPU @2.50GHz 2.50GHz
    Installed Memory: 4.00GB (3.89GB usable)
    System type: 64-bit Operating System (Windows 7)
    Here's the log from FB:
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:39.431
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:39.431
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:40.481
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:40.481
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:42.352
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:42.352
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:43.402
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:43.402
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:44.403
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:44.403
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:45.405
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:45.405
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:46.455
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:46.455
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:47.456
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:47.456
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:48.506
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:48.506
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:49.556
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:49.556
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:50.577
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:50.577
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:51.627
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:51.627
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:52.677
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:52.677
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:53.728
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:53.728
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:54.778
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:54.778
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:55.828
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:55.828
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:56.829
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:56.829
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:57.879
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:57.879
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:58.930
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:58.930
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:33:59.981
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:33:59.981
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:01.034
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:01.034
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:02.085
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:02.085
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:03.135
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:03.135
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:04.185
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:04.185
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:05.236
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:05.236
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:06.286
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:06.286
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:07.287
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:07.287
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:08.339
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:08.339
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:09.372
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:09.372
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:10.423
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:10.423
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:11.474
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:11.474
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:12.525
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:12.525
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:13.591
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:13.591
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:14.641
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:14.641
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:15.692
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:15.692
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:16.693
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:16.693
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:17.743
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:17.743
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:18.794
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:18.794
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:19.844
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:19.844
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:20.896
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:20.896
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:21.946
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:21.946
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:36.581
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:36.581
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:37.631
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:37.631
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:38.681
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:38.681
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:39.731
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:39.731
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:40.781
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:40.781
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:41.831
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:41.831
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:42.881
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:42.881
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:43.932
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:43.932
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:44.983
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:44.983
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:52.266
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:52.266
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:53.316
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:53.317
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:54.367
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:54.367
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:55.417
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:55.417
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:56.467
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:56.467
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:57.468
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:57.468
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:58.518
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:58.518
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:34:59.521
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:34:59.521
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:00.561
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:00.561
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:01.611
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:01.611
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:10.946
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:10.946
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:12.003
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:12.003
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:13.054
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:13.054
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:14.104
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:14.104
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:15.154
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:15.154
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:16.204
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:16.204
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:17.205
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:17.205
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:18.257
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:18.257
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:19.308
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:19.308
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:20.358
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:20.358
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:21.408
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:21.408
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:22.459
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:22.459
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:23.509
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:23.509
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:25.610
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:25.610
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:28.761
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:28.761
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:29.812
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:29.812
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:30.862
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:30.862
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:31.866
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:31.866
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:32.917
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:32.917
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:33.968
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:33.968
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:35.018
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:35.018
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:36.072
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:36.073
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:37.074
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:37.074
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:38.125
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:38.125
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:39.176
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:39.176
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:40.227
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:40.227
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:41.886
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:41.886
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:42.937
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:42.937
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:43.987
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:43.987
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:45.037
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:45.037
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:46.087
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:46.087
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:47.089
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:47.089
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:35:48.139
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:35:48.139
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:06.990
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:06.990
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:08.040
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:08.040
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:09.090
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:09.090
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:10.141
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:10.141
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:11.192
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:11.192
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:12.243
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:12.243
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:13.293
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:13.293
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:14.344
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:14.344
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:15.394
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:15.394
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:36:16.449
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:36:16.449
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:37:22.768
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:37:22.768
    !MESSAGE Problem occurred in auto-refresh native code: 5.
    !ENTRY org.eclipse.core.resources 4 1 2014-07-16 17:37:28.005
    !MESSAGE Problems occurred refreshing resources
    !SUBENTRY 1 org.eclipse.core.resources 4 1 2014-07-16 17:37:28.005
    !MESSAGE Problem occurred in auto-refresh native code: 5.

    Thanks for the reply srvikram13, I really appreciate it.
    Unfortunately this did not solve my problem.  The application was developed in Flex sdk 4.1 and I have installed the 4.1 sdk and told the Flex Compiler to use that specific sdk to no avail (I even re-tried per your post, but no success).  The fact is that the project compiles fine with either 4.1 or 4.5 sdk, it just has issues finding the imorted classes until I manually open the class files.
    Further debugging and info:
    I actually thought I had it fixed for a second.  I renamed my "com" directory and right clicked on "src" and chose "New" > "Package" then repeated that for each directory under "com".  I then closed FB and in windows explorer copied my original com directories into the new one created by FB.  When I launched FB and opened the main file all my imports were recognized!  I then closed FB and re-opened again to see if it was truly fixed and ... epic fail.  The squiggly underlines are back and FB doesn't recognize any reference to them.
    I also found that even if I navigate to the class files in the Package Explorer then right click on the file and choose properties, then click cancel (never opening or changing anything) the reference to that specific file is now valid... at least until I close and reopen FB.
    Any other ideas?

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark"
                                     xmlns:mx="library://ns.adobe.com/flex/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

Maybe you are looking for