Flex 4.5 SDK in Flash Builder 4.0

I am attempting to use the Flex 4.5 SDK in Flash Builder 4.0, as my company does not yet have FB4.5.  Everything seems ok, however whenever I try to use the <s:ViewNavigatorApplication>  or the <s:View> Flash builder does not seem to recognize them, I am not getting any code hinting. I undersand the design view would not work, but as far as code view, FB should not know the differnece.  Does anyone know why they might not be showing up in FB 4.0. I can't seem to find anything on the net about it.

Just tried this out on an IIS server with Flash player 10.3.181.14 - it worked.
Are you using the release version of Flash Builder 4.5 with the release version of Flex SDK (not a prior SDK build)?
The URL you mentioned gives me a 403 forbidden error.
-Anirudh

Similar Messages

  • Can i update flex 4.6 sdk to flash builder 4.5 for php ?

    well
    i already downloaded the 4.6SDK from http://www.adobe.com/cfusion/entitlement/index.cfm?e=flexsdk site but once i add the new sdk to flash builder and try to make a new project
    i cannot switch to design mode at all , gives me and erro rmessage: The Design mode is disabled as the project uses incompatible version of the flex SDK.
    What's the deal ?
    have to wait till Q1  / 12 ?
    Cheers
    Lare

    If you're using components specific to the Flex 4.6 release, then it would be a natural assumption that design view will not work.  If you're having this issue while using components that are not unique to Flex 4.6, then I don't have an answer.  On a good note, design view is completely useless anyway.  It's much faster to type than to drag stuff around with your mouse needlessly.

  • Mobile development using Adobe Flex 4.5 SDK and Flash Builder 4.5 for Data Visualization

    Hi,
    I am currently looking at the feasibility of building Data Visualization chart/graph in Android mobile phones. I would like to enquire if the mentioned subject comes with the Data Visualization components as seen in the Tour De Flex.
    Cheers!

    If you're using components specific to the Flex 4.6 release, then it would be a natural assumption that design view will not work.  If you're having this issue while using components that are not unique to Flex 4.6, then I don't have an answer.  On a good note, design view is completely useless anyway.  It's much faster to type than to drag stuff around with your mouse needlessly.

  • How can I overlay AIR 3.5 SDK in Flash Builder 4.7?

    I'm trying to overlay the new Air 3.5 sdk in Flash Builder 4.7 but the option to use specifed sdk is unavailable in the project preferences. What is the solution here?

    Hi,
    Can you please let me know whether you have overlaid it on Win/Mac?
    When you have created the mobile project what does app.xml show? for example if you have 3.5 overlaid you should be able to see something like this in app.xml
    <application xmlns="http://ns.adobe.com/air/application/3.5">
    For overlaying AIR 3.5 SDK on Flex SDK 4.6 locally following the instructions mentioned in the below url and then create a Flex Mobile project using that SDK.
    Overlay help document link : http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    Let me know if you need more information.
    Thanks,
    Hari

  • Installing AIR3 SDK in Flash Builder 4.5.1 ?????

    Hi All,
    Can anyone help me, with installing AIR3 SDK - Flash Builder 4.5.1, logically, I need to overally the sdk, the way, we use to do with previous version of AIR SDK.
    But no luck
    Thanks,
    Ravi

    Hi Ravi,
    just installed AIR3 SDK at work. I try to recap the steps I did:
    1. Locate the "old" SDKs
    They are located in the Flash Builder directory, in my case this was c:\program files(x86)\adobe\flash builder 4.5\sdks
    2. Make a copy of the previous SDK
    Copy a previous SDK (I used SDK 4.5.1 for that) and rename the copied folder to AIR3SDK (or a different name if you like)
    3. Overwrite the copied (!) SDK with the AIR3 SDK
    Copy  all files from the AIR3 SDK into the copied folder. It should ask you  to overwrite files quite a couple of times. After this, you should have a  working AIR3 SDK installed.
    4. Set a name for the new SDK
    I had to to this with the Beta2 - go to the new SDK directory and edit flex-sdk-description.xml - change the <name> content from Flex 4.5.1 to AIR3 SDK.
    6. Add the new playerglobal.swc from Flash Player 11
    Download the current Flash Player 11 "playerglobal.swc" from http://labs.adobe.com/downloads/flashplayer11.html and put it into the correct folder. From the SDKs root folder this was: <sdkroot>/frameworks/libs/player/11.0/ (I had to create the 11.0 folder myself and then just put the file in there and rename it to plain "playerglobal.swc")
    7. Add the AIR3 SDK to Flash Builder
    Under "Project Settings - Flex Compiler" for a project, choose the new SDK as SDK to use for the project. If the SDK does not show up, go to "configure Flex SDKs", then "Add" and select the newly created folder. The new AIR3 SDK should now be included in the dropdown list as a compiler for that project.
    Don't forget to add -swf-version=13 as a compiler flag on the same screen.
    After doing all this, I was able to use the new features, compile my projects and well, work with it
    Edit: I almost forgot - you also have to set the namespace in your -app.xml to 3.0 like this:
    <application xmlns="http://ns.adobe.com/air/application/3.0">
    Best regards,
    Martin

  • Error using Acrobat portfolio SDK with Flash Builder

    Hi all
    I've been trying to customize a navigator portfolio for Adobe Acrobat X using Flash Builder 4.5. I was running this proyect as Navigator but I received the following Flash Player error:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at acrobat.navhost.app::SingleNavApp/set productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\Portfolio\Flash\Libs\NavHo stUtil\src\acrobat\navhost\app\SingleNavApp.as:333]
    at com.adobe.app::AppPrefsBinding/productConfig()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\Acro View\Portfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:93]
    at com.adobe.app::AppPrefsBinding/refresh()[C:\dev\A10_1R1_Sandbox\Acrobat\Viewer\AcroView\P ortfolio\Flash\Libs\NavPreviewShared\src\com\adobe\app\AppPrefsBinding.as:76]
    at Function/<anonymous>()[E:\dev\4.x\frameworks\projects\framework\src\mx\binding\utils\Bind ingUtils.as:180]
    at mx.binding.utils::ChangeWatcher/wrapHandler()[E:\dev\4.x\frameworks\projects\framework\sr c\mx\binding\utils\ChangeWatcher.as:557]
    at flash.events::EventDispatcher/dispatchEventFunction()
    I've installed Acrobat portfolio SDK into Flash Builder and I have followed the documentation of Building a Navigator from http://learning.adobe.com

    Ok, finally got this working.  Many hidden gotchas. 
    1.  You have to make a Trust File for your custom panel.  This is actually in the SDK, around page 53, so my bad -- but the problem is that there is no feedback from the Adobe application if you don't have this.  The application just hangs.  It should produce an error message "can't find trust file, etc.".  This should not be that hard to implement.
    2.  The latest Flex SDK does not seem to work in Bridge CC or other similar applications.  You have to use Flex SDK 3.x, apparently, and this is NOT in the documentation.  Not only should you set the default SDK in Flex Builder to 3.x (I'm using 3.6) but you have to edit the build.properties file to make sure it's pointing to the correct folder, eg: C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0.  Fortunately Flash Builder 4.7 comes with 3.6 installed.  If you have an older version, it's likely to be completely different.
    More info in this thread: http://forums.adobe.com/thread/1114153.

  • Overlaying adobe air sdk in flash builder 4.6

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on this link "http://rubberduckygames.com/how-to-overlay-abode-air-sdk-over-flex-sdk/". Can anyone please suggest me what i need to do in order to get this work.

    Finally Figure it out..
    geo = new Geolocation();
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    has to be executed before checking if it is muted.
    geo.addEventListener(GeolocationEvent.UPDATE, onLocationUpdate);
    Is what requests permissions from the phone to use the gps.
    Hope this saves someone alot of time.
    Tested With Flex 4.9.0 Air 3.8 Beta.

  • Flex4.5 SDK under Flash builder Burito doesnt dispatch Enter key event in Text Area anymore

    Flex 4.5 under Flash builder Burito doesnt dispatch 'Enter' key event in Text Area anymore, in prev version 4.1 it was working properly, this stopped working after migration to Burito + Flex SDK 4.5?
    What that suppose to be?

    Hi
    That's true that Flex4.5 SDK under Flash builder Burito doesn't listen Enter key in Text Area for KeyUp or KeyDown event.
    Here I found a work around you can use.
    Add an eventlistener to the component in actionscript and set the useCapture=true next to eventlistener function. Now you can listen enter key for KeyUp or KeyDown Event
    Hope this helps
    Rush-me

  • Using latest FileInfo SDK, latest Flash Builder, new project crashes in latest Bridge

    I've been trying to create a custom panel in Adobe Bridge.  I downloaded the XMP-FileInfo-SDK-CS6, loaded the jar file into Adobe Flash Builder 4.7 (latest version), created a new project with NO modifications, and published it to the correct Custom File Info Panels folder on Windows 7.  I then restarted Bridge, opened FileInfo in a photo, but when I navigated to the new panel that I just created, it fails to load correctly and hangs the entire application.  The only way to close the window is to restart Bridge.
    So just to be clear -- latest SDK, latest Flash Builder, latest Bridge version, new project, no modifcation, completely crashes Bridge.  The GenericPanel is about the only thing that works without problem, but it's a little too limited for what I want to do (no business logic). 
    Not very reassuring that this is going to work at all.  Has anyone else experienced this?  Is there any workaround, or update I can try instead?
    Thanks.

    Ok, finally got this working.  Many hidden gotchas. 
    1.  You have to make a Trust File for your custom panel.  This is actually in the SDK, around page 53, so my bad -- but the problem is that there is no feedback from the Adobe application if you don't have this.  The application just hangs.  It should produce an error message "can't find trust file, etc.".  This should not be that hard to implement.
    2.  The latest Flex SDK does not seem to work in Bridge CC or other similar applications.  You have to use Flex SDK 3.x, apparently, and this is NOT in the documentation.  Not only should you set the default SDK in Flex Builder to 3.x (I'm using 3.6) but you have to edit the build.properties file to make sure it's pointing to the correct folder, eg: C:/Program Files/Adobe/Adobe Flash Builder 4.7 (64 Bit)/sdks/3.6.0.  Fortunately Flash Builder 4.7 comes with 3.6 installed.  If you have an older version, it's likely to be completely different.
    More info in this thread: http://forums.adobe.com/thread/1114153.

  • Overlay AIR 3.3 sdk for Flash Builder on Snow Leopard

    The AIR 3.3 sdk is now a DMG, used to be a .tbz2 zip file, and there is no merge capabilities with Snow Leopard..
    How can I overlay AIR 3.3 sdk for Flash Builder 4.6 on Snow Leopard 10.6.8?
    Also I may have Lion soon so can you provide steps for FB overlay of the DMG on OSX 10.7?
    Many thanks.
    PS.I am dumbfounded there is no documentation on this by Adobe release after release? For OSX users there is an old Adobe KB article that I can't find anymore, there is a youtube video (http://www.youtube.com/watch?v=S118mZjln3I) I recommend, and a post most mac/FB users use (http://jeffwinder.blogspot.com.au/2011/09/installing-adobe-air-3-sdk-in-flash.html) and none of them remind you to use sudo before the terminal command..

    Thanks eran1976 here is the OSX 10.6.8 process that worked for me:
    1. open the 3.3 sdk DMG and copy all the files into a new emty folder called say AIR33SDK or whatever in your sdks directory
    2. asuming your current Flash Builder sdk with air3.2 or older is called 4.6.0, open terminal and run:
    3. sudo cp -Rp /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/AIR33SDK/ /Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0/
    4. you can now delete AIR33SDK folder if you wish
    5. open Flash Builder and change any existing project xml application files to 3.3
    5. remember to backup your 4.6.0 folder first

  • Creative Suite SDK with Flash Builder 4 tutorial

    Hi,
    For those of you new to the Creative Suite SDK, I've posted a video tutorial in our blog that walks you through all the steps necessary to build an extension using the SDK and Flash Builder 4. It shows you how to get set up with the SDK, create a new project, run and debug the extension in development mode and export it for distribution.
    You will find the recording in the Creative Suite SDK Team blog.
    Maria

    I'm building an InDesign extension using Flash Builder. I have everything working as per the tutorial, but the code-debug cycle is very long. Every time I make a code change, if I want to run it in the debugger, I have to do all of this:
    Save my file, confirm there are no Errors, set my breakpoints.
    In the Finder (I'm on OSX), copy the SWF to the extensions folder.
    In Flash Builder, from the "Run" menu, choose "Debug", then "Other..." The Debug Configurations dialog appears.
    In the Debug Configurations Dialog, select my configuration (which works) and click Debug. The "Installed Adobe Flash Player Is Not a Debugger" dialog appears.
    In the "Installed Adobe Flash Player Is Not a Debugger" dialog, click Yes. The dialog closes
    Launch InDesign. Wait for it to launch.
    Run my extension, stop at my breakpoints, do my debugging.
    Quit InDesign
    Is there any way to set up the debugger to connect to CS5 without having to quit and relaunch the CS5 app itself?
    Is there any way to make my debug configuration the default in Flash Builder, so I can just hit command-F11 to debug?
    Is there any way to automate copying the SWF into the extensions folder?
    Thanks in advance.

  • Installing Flex SDK into Flash Builder 4.7 problems

    Hi,
    Im completely new to Flash Builder, today I have installed Flash Builder 4.7 & Flash CS6 from Creative Cloud for my son to start to learn game programming (with my help), I have used simple coding in web design however this terminology is new to me.
    I bought my son the latest 'Foundation Game Design with ActionScript 3.0' book on recommendation but it was written when FB was version 4.5 so im guessing this might be the problem.
    The book is very easy to follow but have hit problems at the beginning of the tutorials, the book talks about Flex SDK but it seems that FB 4.7 uses AIR SDK ?
    So the first project called HelloWorld, we got up to:
    Got an exclamation mark which said
    'The import flash.display.Sprite is not used
    locally'
    Continuing with the rest of the project the exclamation mark disappeared:
    However on selecting run- Debug we got a blank Flash Player window  ('generate HTML wrapper file' was deselected)
    So either we've done something wrong, or the book and FB version are not compatible?
    Any advice would be great!
    Thank you
    Latest ...
    I thought that installing Flex SDK may solve the problem but after following instructions I have the error message, see image below. Really stumped now!

    Sorry, if I went a little overboard. After re-reading your post, perhaps I should back up a little.
    First, there are little things that Flash Builder (FB) will complain about. Having extra import statements in your code doesn't hurt anything. If I'm trying different solutions and then commenting out the code, the import statements will hang around, FB will complain, but just ignore it. If you see a little icon on the left edge of your code editor and its a red circle with an X in it, then that is something that will have to be fixed.
    When you create an app in FB or Flash you can choose to create a web app which means it will run in a browser window. The project can optionally create an HTML wrapper, or web page that will load your app. In Flash Pro you can choose File->Publish Settings and there will be a checkbox on the left to publish a HTML wrapper. In FB, you can right click your project in the Package Explorer, select Properties at the bottom, select the ActionScript Compiler, and down at the bottom there will be a checkbox to create a HTML wrapper.
    If you're just learning Flash Builder, then the FlexSDK 4.6 and the AIR SDK 3.1 that comes with it should be fine. You mentioned Apache SDK and I'd recently been working with that so I ended up getting side-tracked.
    Getting an AIRSDK to work with when build ActionScript projects is easy. Just go to the adobe site, type AIR SDK in the search box, and you should find a page that will let you downloaded the latest version. There's also a page to let you download the latest AIR runtime, and if you were just going to run AIR apps and not build them, then that's all you would need. As a developer you'll want to install the runtime from the downloaded .exe file. With the SDK, after downloading it, installing it is easy. Just create a new folder an unzip the SDK into it, then place it somewhere easy to find. I put all my SDK's in their own directory right off the c: drive. So I have c:\AIRSDK_3.5.0.880 and c:\AIRSDK_3.7.0.1530. I use very descriptive folder names so I always know which SDK's I have to work from.
    To use the SDK in Flash Pro select Help -> Manage AIR SDK, hit the plus button and add the folder you created. Now when you've opened a Flash project, you go to File->Publish Settings and select the combo box at the top, you'll see options like 'AIR 3.7.0.1530 for Android' in the list that reflect the SDK's you've added.
    Generally with FB you'll be using a FlexSDK, or perhaps a FlexSDK overlaid with a newer version of AIRSDK. Overlaid basically means you copied the contents of the AIR SDK into the Flex Folder. The article I mentioned above will give you all the details on creating those. For instance, I downloaded the Apache Flex installer, installed it, then created an empty folder called c:\ApacheFlexSDK_4.9.1, launched the Apache installer, gave it the new empty folder I'd created, selected all the download options, and let it all download. If it launches a popup box or a security warning, you can allow it, and it will continue. Once you have the SDK and you want to use it with a project in FB, just right click the project, select Properties, selected that Compiler tab again, and up in the right corner you'll see 'Manage SDK's...'. Hit that link, add your new SDK to the list and give it a descriptive name, then selected the checkbox beside it to set it up as your default. If you do this, then all your projects set to use the default will automatically switch to it and rebuild. So if you want a project to stay with a specific SDK then select that option in your Compiler tab, and then you could use the combo box to select your new added SDK.
    When I started with FB I think I spent the first 2 days going round and round with project settings and options until I got them all figured out.
    When I develop, I usually have my browser open and I have bookmarks and favorites to let me quickly get to all the pages I use most often. Here are a few of them:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.html  <---- The API reference. In the packages window check out 'Top Level' at the top and Language Elements near the bottom. I think I have this page open in one or more tabs almost every day.
    http://www.adobe.com/devnet.html
    http://www.adobe.com/devnet/actionscript/learning.html
    http://help.adobe.com/en_US/as3/learn/index.html
    http://helpx.adobe.com/flash.html
    http://help.adobe.com/en_US/flashbuilder/using/index.html
    Free videos to help you learn Flash Pro:
    http://tv.adobe.com/show/learn-flash-professional-cs6-/
    http://tv.adobe.com/show/learn-flash-professional-cs5/
    And you've already found the forums! But if you don't find an answer here, many times you can find your question already answered on www.stackoverflow.com forums.
    Ok, I think I went a little overboard again.

  • Latest flex sdk for Flash Builder 4

    HI,
    We bought Flash Builder 4 Premium and installed it.
    Now I want to use the latest flex sdk to use with it (I am working on a project using TLF 2).
    What is the version I should install, is it sdk 4.1 or 4.5(Hero).
    In Flex 4.1 there are about three variations http://opensource.adobe.com/wiki/display/flexsdk/Downloads. Which one should I download if using 4.1 ?
    Please explain.
    Thanks

    Thanks Chris.
    in sdk 4.1 download there are 3 download types. Can you please tell me the difference of 'Free Adobe Flex SDK' and 'Open Source Flex SDK' and which one should I use?
    Thank you very much

  • Integration between Flex 3 SDK and Flash Builder 4.6

    I buy a book for Flex 3 SDK and I want to create this book exmaple in Flash Builder 4.6 ...
    infact I want to build a CMS with Flash Builder and this book discuss for it but in Flex 3 SDK.
    please show link to me for completely explanation.
    tanks a lot

    dont import it, do it from scratch in fb4

  • Flex Application Only Compiles in Flash Builder

    Hello,
        I am a newbie trying to become familiar with Flex.  I am starting by building and running some sample applications.  For some reason, the applications will execute inside of FlashBuilder, but I am getting a compile error when I compile them on my linux box. The I used the Flash Builder remote services finder to generate the code for the remote service.  The class that produces the error was generated by Flash Builder.  I have appended the class at the bottom of this post.  Any suggestions?  Thanks in advance.
    --Marco
    [mjmatch@mjmatch-linux flexsphi]$ ant
    Buildfile: build.xml
    compile-flex:
        [mxmlc] Loading configuration file /opt/tools/flex-sdk/4.1/frameworks/flex-config.xml
        [mxmlc] /opt/tools/blazeds/4.0.0/tomcat/webapps/flexsphi/src/client/services/_Super_Foo.as(20): col: 68 Error: The definition of base class RemoteObjectServiceWrapper was not found.
        [mxmlc] internal class _Super_Foo extends com.adobe.fiber.services.wrapper.RemoteObjectServiceWrapper
        [mxmlc]                                                                    ^
    BUILD FAILED
    /opt/tools/blazeds/4.0.0/tomcat/webapps/flexsphi/build.xml:16: mxmlc task failed
    Environment
    =========
    Flex SDK 4.1
    Flash Builder 4
    ant compile tasks
    ============
        <property name="FLEX_HOME" value="/opt/tools/flex-sdk/4.1"/>
        <property name="DEPLOY_DIR" value="/opt/tools/blazeds/4.0.0/tomcat/webapps/flexsphi"/>
        <property name="CONTEXT_ROOT" value="flexsphi"/>
        <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar"  />
        <target name="compile-flex">
            <mxmlc file="src/client/Main.mxml"
                    services="${DEPLOY_DIR}/WEB-INF/flex/services-config.xml"
                    context-root="${CONTEXT_ROOT}"
                    output="${DEPLOY_DIR}/flexsphi.swf"/>
        </target>
    _Super_Foo
    =========
    * This is a generated class and is not intended for modification.  To customize behavior
    * of this service wrapper you may modify the generated sub-class of this class - Foo.as.
    package services
    import com.adobe.fiber.core.model_internal;
    import com.adobe.fiber.services.wrapper.RemoteObjectServiceWrapper;
    import com.adobe.serializers.utility.TypeUtility;
    import mx.rpc.AbstractOperation;
    import mx.rpc.AsyncToken;
    import mx.rpc.remoting.Operation;
    import mx.rpc.remoting.RemoteObject;
    import valueObjects.Bar;
    import mx.collections.ItemResponder;
    import com.adobe.fiber.valueobjects.AvailablePropertyIterator;
    [ExcludeClass]
    internal class _Super_Foo extends com.adobe.fiber.services.wrapper.RemoteObjectServiceWrapper
        // Constructor
        public function _Super_Foo()
            // initialize service control
            _serviceControl = new mx.rpc.remoting.RemoteObject();
            // initialize RemoteClass alias for all entities returned by functions of this service
            valueObjects.Bar._initRemoteClassAlias();
            var operations:Object = new Object();
            var operation:mx.rpc.remoting.Operation;
            operation = new mx.rpc.remoting.Operation(null, "getBars");
             operation.resultElementType = valueObjects.Bar;
            operations["getBars"] = operation;
            operation = new mx.rpc.remoting.Operation(null, "addBar");
            operations["addBar"] = operation;
            _serviceControl.operations = operations;
            _serviceControl.convertResultHandler = com.adobe.serializers.utility.TypeUtility.convertResultHandler;
            destination = "foo";
             model_internal::initialize();
          * This method is a generated wrapper used to call the 'getBars' operation. It returns an mx.rpc.AsyncToken whose
          * result property will be populated with the result of the operation when the server response is received.
          * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
          * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
          * @see mx.rpc.AsyncToken
          * @see mx.rpc.CallResponder
          * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
        public function getBars() : mx.rpc.AsyncToken
            var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("getBars");
            var _internal_token:mx.rpc.AsyncToken = _internal_operation.send() ;
            return _internal_token;
          * This method is a generated wrapper used to call the 'addBar' operation. It returns an mx.rpc.AsyncToken whose
          * result property will be populated with the result of the operation when the server response is received.
          * To use this result from MXML code, define a CallResponder component and assign its token property to this method's return value.
          * You can then bind to CallResponder.lastResult or listen for the CallResponder.result or fault events.
          * @see mx.rpc.AsyncToken
          * @see mx.rpc.CallResponder
          * @return an mx.rpc.AsyncToken whose result property will be populated with the result of the operation when the server response is received.
        public function addBar(arg0:String) : mx.rpc.AsyncToken
            var _internal_operation:mx.rpc.AbstractOperation = _serviceControl.getOperation("addBar");
            var _internal_token:mx.rpc.AsyncToken = _internal_operation.send(arg0) ;
            return _internal_token;

    The SWC files are within the resource directory of LCDS.
    For example:
    C:\lcds31\resources\lcds_swcs\FlexSDK4\frameworks\locale\en_US
    fiber_rb.swc
    C:\lcds31\resources\lcds_swcs\FlexSDK4\frameworks\libs
    fiber.swc and fds.swc
    You can use the following within ANT.
    <!-- Get default compiler options. -->
              <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
                <!-- List of path elements that form the roots of ActionScript
                class hierarchies. -->
                <source-path path-element="${FLEX_HOME}/frameworks"/>
              <!-- List of SWC files or directories that contain SWC files. -->
                <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                    <include name="libs" />
                    <include name="../bundles/{locale}" />
                </compiler.library-path>

Maybe you are looking for