Flex SDK 3.5, BlazeDS 3/4, Spring 3, FB4 Data/Services (Wizards)

Is it possible to use the Data Centric functionality of Flash Builder 4 to connect to a BlazeDS 3/4 (with Spring 3.0) with the Flex SDK 3.5? Or, does one need to use the Flex SDK 4.0+?
I have enabled the RDSDisptachServlet and have attempted to connect to it, but I receive the error: Status Code: 500 (Internal Server Error).
Anyone try this configuration?

Is it possible to use the Data Centric functionality of Flash Builder 4 to connect to a BlazeDS 3/4 (with Spring 3.0) with the Flex SDK 3.5? Or, does one need to use the Flex SDK 4.0+?
I have enabled the RDSDisptachServlet and have attempted to connect to it, but I receive the error: Status Code: 500 (Internal Server Error).
Anyone try this configuration?

Similar Messages

  • Running "Flex test drive" - Got error while attempting to connect to data service

    Hi,
    I'm a Flex / Flash builder beginner. I downloaded the 60 days evaluation, and started to run the "Flex test drive" :
    http://www.adobe.com/devnet/flex/testdrive.html
    My configuration :
    XP SP3 PRO french edition
    Tomcat 6.0
    My local Eclipse :eclipse-jee-helios-SR2-win32 (but also got the issue on the Flash Builder Eclipse, which version is 3.4.0 (Generation ID M20090211-1700)
    Flash Builder 4 with Eclipse plug-in
    All on same PC
    The Test Drive proposes examples in three technologies : Cold Fusion, PHP and Java. I'm doing the Java examples.
    Installation of Flash Builder, as well as step 1 of the Test Drive (Build the user interface) went fine. I could run the project, which at the end of step 1 correctly displayed the UI in my browser.
    Only one problem, I don't know if it is relevant for the rest of this post : I first got an error, saying that ports 8080, 8005 and 8009, requested by Tomcat, where used. After a short Google search, I fixed it by changing these ports to 8081, 8006, and 8010, in the Tomcat 6.0\conf\server.xml file.
    The Test drive second step is "Connect to data". I found some discrepancies between the Test Drive doc, and what is displayed in Flash Builder. The Test Drive says :
    "Use the Data menu and the Service Wizard to create a service for your application server. For ColdFusion and Java, specify the service file you put on your application server earlier (see Figure 9 for a PHP example). For Java, select the No password required check box, select the employeeService destination, and change the service package to services.employeeservice."
    --> But there is no "No password required check box".
    Also, when running the "Connect to data/service..." wizard, it was not at first completely clear what to choose. The proposed choices were :
    BlazeDS
    ColdFusion
    HTTP
    LCDS
    PHP
    Web Service
    XML
    Since all others choices, when tried, declared to be unconsistent with my project's server type, I finally selected "Web Service".
    In the next wizard's form, according to the Test Drive indications, I specified the URI of my EmployeeService class : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\testdrive\WEB-INF\classes\services\EmployeeService.class
    That defined correctly the other fields.
    But when pressing the "Next >" button, Flash Builder issued the following error message :
    English translation : Unable to extract operations and entities from specified WSDL. Reason : an error occured while instrospecting the service.
    And the full error text is :
    An error occured while instrospecting the service. WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/testdrive/W EB-INF/classes/services/EmployeeService.class'.: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
    It is usually relatively easy to find fixes through Google searches, but this time, it didn't work. So here I am, expecting a bunch of wise answers from all the nice Flex / FB gurus that I'm sure haunt this forum .
    Thanks and best regards.
    Marc.

    For those who would have the same problem, here is how I could eventually fix it.
    Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
    Entry point :
    http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
    As suggested, I used the New Project wizard to create a new project, with :
    Application server type : J2EE
    Check the radio button "Use remote object access service : BlazeDS"
    Then, as indicated in following pages (section "Accessing BlazeDS")... :
    file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
    ...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
    There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
    Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
    Very nice product anyway, so far, congratulations...
    Rgds
    Marc.

  • [svn] 962: fix SDK-15020 get the proper values in flex-sdk-description. xml when packaging flex_sdk_4.zip

    Revision: 962
    Author: [email protected]
    Date: 2008-03-27 09:49:15 -0700 (Thu, 27 Mar 2008)
    Log Message:
    fix SDK-15020 get the proper values in flex-sdk-description.xml when packaging flex_sdk_4.zip
    -also add setup.sh.build.xml,build.properties
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15020
    Modified Paths:
    flex/sdk/trunk/build.xml

    Revision: 962
    Author: [email protected]
    Date: 2008-03-27 09:49:15 -0700 (Thu, 27 Mar 2008)
    Log Message:
    fix SDK-15020 get the proper values in flex-sdk-description.xml when packaging flex_sdk_4.zip
    -also add setup.sh.build.xml,build.properties
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-15020
    Modified Paths:
    flex/sdk/trunk/build.xml

  • HOT TO INTEGRATE, WCF flex 4 data services

    OK.  I am trying to build a simple HELLO WORLD WCF Sample and use FLEX 4 (new data servic
    es wizard to invoke it).
    I have the WCF Client
    Tested the WCF Client  (works great with JQUERY)
    Now I have a brand new flex project and was able
    to click the "DATA/SERVICES" and establish a good relationship to the wsdl
    http://llocalhost/service.svc?wsdl
    Flex 4 finds the service and the correct methods.
    WHEN IT TEST IT OUT using the "TEST OPERATION" panel..it fails with a very ugly error.
    a:InternalServiceFaultError in deserializing body of request message for
    operation 'HelloWorld'. OperationFormatter encountered an invalid Message
    body. Expected to find node type 'Element' with name 'HelloWorld' and
    namespace 'http://localhost'. Found node type 'Element' with name
    'q0:HelloWorld' and namespace 'http://tempuri.org/'OperationFormatter
    encountered an invalid Message body. Expected to find node type 'Element'
    with name 'HelloWorld' and namespace 'http://localhost'.  .........
    I also decided to try and test invoking it from a mxml file
    NOTHING HAPPENS AT ALL..OR IT GET NULL OR OTHER ERRORS
    <s:Application 
    xmlns:testWcFWebServices="services.service.*"
    protected function helloWorld():void
    //Alert.Show(ServiceTest.HelloWorld().result);
    HelloWorldResult.token = ServiceTest.HelloWorld();
    Alert.show(HelloWorldResult.lastResult);
     <fx:Declarations>
     <s:CallResponder id="HelloWorldResult"/>
     <testWcFWebServices:Service id="ServiceTest" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>  </fx:Declarations>
    </fx:Declarations>
    PLEASE HELP...this is very disturbing when trying to figure this out.
    search:
    flex 4 CallResponder wcf wsdl hello world
    flex 4  wcf wsdl data services
    flex 4  wcf wsdl data services 2010
    flex 4  wsdl data services wizard
    flex 4 web service hello world example
    flex 4 data services web service hello world example
    flex 4 data services hello world example
    flex 4 data services example
    flex4 wcf
    flex InternalServiceFaultError in deserializing body of request message for
    flex services InvocationTargetException

    Holy cow???? it finally came through....It really should not be that Hard.  I should be able to right click the "DATA/SERVICES" icon and it generate a MXML action script file on how to consume it...
    IF JUST WORKING WITH a simple Data Type:
    DO NOT NEED TO work with a
    <s:CallResponder id="myHelloWorldResult"/>
    JUST SIMPLE CREATE A RESULT EVENT IN THE DECLARATION:
      <testWcFWebServices:MyHelloWorld id="ServiceTest" result="ServiceTest_resultHandler(event)" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
    protected function ServiceTest_resultHandler(event:ResultEvent):void
    showResult(event.result.toString());
    private function showResult(reqResult:String):void {
    Alert.show(reqResult);
    TO NOTE: I DID USE THIS SAMPLE AS I GUIDE: Even though this guy used action script...and I wanted to use the DATA\SERVICES wizard.
    http://cookbooks.adobe.com/post_Connecting_Flex_4_with_WCF_Services-17006.html

  • Flex Data Services tutorial error

    In the "Before You Begin" section of the Flex Data Services
    tutorial in "Getting Started with Flex", the first bullet is
    incorrect. It text should be:
    "Ensure that you have installed the Flex Data Services Beta 3
    release and that you can run the applications in the samples web
    application."
    The installation instructions are located here:
    http://www.adobe.com/go/flex2_installation
    The tutorial zip file is located here:
    http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip
    - Mike Peterson
    Adobe Flex documentation team

    Hi, I found some more "issues" with these data services
    tutorial.
    First of working with the notes example at first I couldn't
    get the two browsers to talk to eachother until I found this
    comment by funk_sf on the livedocs:
    quote:
    after some searching, I located a link to the tutorial.zip
    here:
    http://www.macromedia.com/go/flex2beta1_quickstart_tutorial_zip.
    i unzip'd the contents into my samples directory so that I had the
    following path: C:\fds2\jrun4\servers\default\samples\tutorials
    the xml file in WEB-INF for the standalone flexbuilder 2b3 is
    located at C:\fds2\resources\config as mentioned in the comments on
    the previous page (
    http://livedocs.macromedia.com/labs/1/flex20beta3/00000129.html)
    as for creating the tutorial1.mxml file, i created a new Flex
    project with the following settings (this is from memory, so
    hopefully i recall all the steps right):
    File->New Flex Project
    How will you flex application access data? -> Flex Data
    Services -> Compile application locally in Flex Builder
    root folder: C:\fds2\jrun4\servers\default\samples
    root url:
    http://localhost:8700/samples/
    I left the build paths to their defaults (ie. blank)
    named the main application file: tutorial1.mxml
    output folder: tutorial
    output folder url: [blank]
    So I followed his advice, deleted my project and made it in
    the samples directory and the notes application started to work, so
    all appeared good.
    Until I was making the Java example and I'm now faced with
    the following errors:
    Severity Description Resource In Folder Location Creation
    Time Id
    2 Definition samples.contact:Contact could not be found.
    tutorial2.mxml Tutorials line 8 6 juni 2006 16:36:25 20
    Severity Description Resource In Folder Location Creation
    Time Id
    2 Type was not found or was not a compile-time constant:
    Contact. tutorial2.mxml Tutorials line 13 6 juni 2006 16:36:25 21
    I'm not sure what is happening, I think it can't find the
    data service files but I don't know how to make it so that it does
    find those files, the manual is still a bit vague on that and when
    I try to run this application it just shows a blue (flex) screen.
    The code I'm using is straight from the example documentation after
    tinkering around for 2 days to get this to work I thought using
    original code is the best way to go.
    My application tries to run from
    http://localhost:8700/samples/bin/tutorial2.html
    The documentation states:
    Open the following URL in two browser windows:
    [L=http://localhost:port/samples/tutorials/tutorial2.mxml
    The screenshots in the documentation show:
    Window1: /tutorial/tutorial1.mxml
    Window2: /dataservice/contact/tutorial_step4.mxml
    Now I'm just confused, tutorial1.mxml is my notes application
    which was the previous tutorial and there was no mention of a
    tutorial_step4.mxml file ?
    Someone help me please with where to place these files and
    why so I can understand what is happening here.
    Thanks :)

  • Slow data communication (LCDS 3.1) after upgrading to Flex SDK 4.1

    I wonder if anybody experienced something like that.
    It's quite a big project, currently running with Flex SDK 3.5.
    After converting to SDK 4.1 and making all required adjustment the UI runs as good as before, with one problem - creation of new complex UI components takes much longer (3-5 times). Creation of some components involves a number of server calls, which according to Network Monitor do run much longer (e.g. 13 seconds instead of 4).
    I'm considering 2 possibilities:
    1. Something in UI is holding all threads, preventing service calls from finishing promptly, and making impression of slow network.
    2. Server communication somehow got much slower. Against that the fact is because server calls are asynchronous they shouldn't prevent UI from drawing at least empty components.
    Server code is the same for old and new UI, it runs Spring, Hibernate, Jetty (in dev mock) or Tomcat (on dev server), LCDS 3.1.
    I've tried several LCDS 3.1 libraries with and without patches, SDK3 and SDK4 specific, with the same result.
    Flash Player 10.1.xx debug.
    Any idea?
    Thanks, Andrei.

    It turned out that delays where caused by slow instantiation of visual components.
    See http://forums.adobe.com/thread/786472?tstart=0
    Presumably Network Monitor registers facts that server communication is initiated (queued?), but doesn't say when Flash Player frees resources to make actual calls (switch to the second Frame?). Or something like that.

  • [svn] 2942: Add webapps/webtier/WEB-INF/flex/flex-sdk-description. xml to the ignore list.

    Revision: 2942
    Author: [email protected]
    Date: 2008-08-21 07:52:24 -0700 (Thu, 21 Aug 2008)
    Log Message:
    Add webapps/webtier/WEB-INF/flex/flex-sdk-description.xml to the ignore list.
    Property Changed:
    flex/sdk/trunk/webapps/webtier/WEB-INF/flex/

    java.lang.ClassNotFoundException: flex.messaging.HttpFlexSession
    This class exists in flex-messaging-core.jar
    Looks like BlazeDS libraries are not loaded. Check if BlazeDS libraries exists in your WEB-INF/lib directory.
    webapps\{yourwebapp}\WEB-INF\lib
    Hope it helps you.

  • Tracing references in the Flex SDK

    I work with Flash Builder on a daily basis and I find great value in  "Find reference (Ctrl+Shift+G)" and "Open declaration (F3)". In Flex SDK 4.6.0 I was able to find references and open declarations not only in my own projects but also in the SDK files which I find valuable for various reasons. Using Apache Flex SDK 4.11.0 Flash Builder seems to have lost this ability: Open declaration works half the time and most often navigates to the wrong place in the file, and Find references does not work with SDK files at all. I have tried with both Flash Builder 4.6 and 4.7.
    By tracing references in the SDK I mean working with the files accompanying the compiled Flex SDK (ie. C:\sdk_location\framework\projects\project\src\).
    Any ideas how I can make Flash Builder help me browsing the SDK again?
    Details:
    My project compiles with both
    Apache Flex SDK 4.11.0
    Flex SDK 4.6.0
    I can use Find references in my own project.
    I can use Find references in Flex SDK 4.6.0.
    I can't use Find references in Apache Flex SDK 4.11.0.

    Change to the Flex bin directory and use mxmlc like this:
    mxmlc path/to/my/App.mxml
    This should create a SWF file that you can then run. If you
    plan on posting the app somewhere, you'll probably want to create
    an HTML wrapper. You can use the wrappers in the html-templates
    directory.
    For more info on using mxmlc, see the online help (type
    "mxmlc -help list") or look in the Compilers chapter of the
    Building and Deploying book. For more on using the wrappers, look
    in the wrappers chapter of the same book.
    hth,
    matt horn
    flex docs

  • How to setup Flex SDK with latest AIR SDK?

    Now the latest AIRSDK web page has a small link at the bottom for Flex users and it states that Flex users should take the SDK version without the compiler. BUT....
    the http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html page says to download the SDK from
    http://labs.adobe.com/downloads/asc2.html
    but this page now redirects to:
    http://helpx.adobe.com/air/kb/archived-air-sdk-version.html
    which contains a large list of archived SDK's. So that help page never really says which version of the SDK to use - with or without the compiler. But other forum posts have implied its suppose to be the one with the compiler.
    Now since we're overlaying the ...plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK folder that would make sense.
    But now there's a second overlay instructions page at:
    http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    with different instructions.
    So my questions are:
       Which overlay instructions are we really suppose to use?
       Which version of the AIR SDK (with or with-out compiler) are we suppose to use?
       What does the Flex Library Project properties -> Flex Library Compiler -> 'Include Adobe AIR libraries' checkbox really do?
            If I've followed the (first) overlay instructions above, does this checkbox now mean I'm using the overlaid AIR SDK 3.6
            with the current Flex SDK I've chosen?
            What if I'm using the Apache Flex 4.9.1 SDK? Will the AIR SDK 3.6 overlay that?
                (Doesn't Apache Flex have AIR 3.4 embedded - will this confuse Flash Builder 4.7 ?)
    Is it just me, or is this just getting more and more confusing? Can we perhaps get a AIR SDK combo box to go beside the Flex combo box and when we check the 'Include Adobe AIR libraries' then we can select the AIR SDK we want? And get a 'configure AIR SDKs...' link too? Then perhaps we can get completely away from overlays and all this merged SDK nonsense. I've had nothing but problems with it.
    The real reason I need all this info is because I'm trying to use Flash Builder 4.7 to build an Android ANE and I'm having a devil of a time just trying to find my resources. When I use context.getResourceID() I'm not getting the correct resources - and after reviewing other posts here I came to the conclusion that it might be due to bugs in older AIR SDK's. So really, at the moment I could care less about the latest Flex SDK, I just need to know I'm working from the latest AIR SDK.
    Thanks in advance.

    If you are not using Flash Builder go here: http://www.adobe.com/devnet/air/air-sdk-download.html
    At the bottom it says:
    Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows.
    Download the proper one for your OS and then extract it over your existing Flex SDK directory.
    EDIT: Just read your post again and noticed you mentioned Flash Builder. In that case you want to follow these directions: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and grab the version with the compiler at http://www.adobe.com/devnet/air/air-sdk-download.html

  • The selected Flex SDK does not support building mobile projects

    I am unable to create a new Actionscript Mobile project.  The new project dialogue gives the error: "The selected Flex SDK does not support building mobile projects."  I tried seting the default Flec SDK both to the SDK included with Flash Builder 4.7, and also to a version of the 4.6.0 SDK (build 23201) with AIR 3.3 SDK overlayed on it, which already existed on my computer.  Both resulted in the same error.  Any ideas?

    Hi ,
    Actionscript Mobile projects use AIR SDK by default in Flash Builder 4.7 . Flex SDK won't be used for Actionscript projects.
    Could you please try creating an Actionscript project in fresh workspace and let me know if the issue still exists.
    Also attach screenshot and error log if any.
    Thanks,
    Sanjay

  • Flex SDK and AIR runtime version in mobile

    Hi, guys.
    I'm trying to make my first Flex mobile app.
    I'm a little confused about the relationship between Flex SDK and AIR  runtime versions for mobile development.
    In the "Developing Mobile Applications with ADOBE FLEX 4.6 and ADOBE FLASH BUILDER 4.6" pdf document, it says:
    "AIR requirements
    Flex mobile projects and ActionScript mobile projects require AIR 2.6 or a higher version. You can run mobile projects on physical devices that support AIR 2.6 or a higher version of AIR.
    You can install AIR 2.6 or a higher version only on supported Android devices that run Android 2.2 or a higher version. For the complete list of supported Android devices, see Certified Devices. Also, review the minimum system requirements to run Adobe AIR on Android devices at Mobile System Requirements.
    Note: If you do not have a device that supports AIR 2.6 or a higher version of AIR, you can use Flash Builder to launch and debug mobile applications on the desktop."
    So, I go and check the Certified devices in http://www.adobe.com/devnet-apps/flashruntimes/certified-devices.html and find that the minimun FLASH PLAYER version accepted by ALL devices is FP 10.1
    1. Does this mean that if I want to release an app to target ALL mobile devices, then I can only use Flex 4.5?
    2. Do support for Flash Player mean the same than support for Adobe AIR? Or the application will prompt the user to install whatever version of the AIR runtime and all of them would be supported by the device, even in the FLASH PLAYER support is for a lesser version?
    Thanks!

    Thanks for your help, Flex harUI,
    The first impression that comes to mind is that FP version is indeed only for the web browser plugin. Then, why does the official Flex 4.6 mobile development documentation have a link to that page that only speaks about the supported FP version in mobiles under the title "AIR requirements"??
    This makes it way too confusing.
    Do you know whether there is something like an equivalent matrix/list of mobile devices with their supported AIR runtime versions?  I went a great deal in trying to keep my original app under 400kb... I didn't know that in the end it would end up weighing 9.5Mb... :S
    Thanks again,

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

  • Maybe Flex SDK bug: Setting visible of DataGrid item renderers

    Hi all, I'm still a noob at flex but this looks a bit strange to me.
    I've been trying to hide a button renderer in a DataGrid but it just wouldn't hide.  I've been setting visible inside the mxml and also in the the class that extends buttonbut it just wouldn't hide.  I then overloaded the visible property set/get and traced what was setting the property to true and found that inside DataGridBase.as the function setupColumnItemRenderer always sets visible of the renderes to true.
    DataGridBase.as
    protected function setupColumnItemRenderer(c:DataGridColumn, contentHolder:ListBaseContentHolder,
                        rowNum:int, colNum:int, data:Object, uid:String):IListItemRenderer
            var listItems:Array = contentHolder.listItems;
            var item:IListItemRenderer;
            var rowData:DataGridListData;
            item = listItems[rowNum][colNum];
            if (!item || itemToUID(item.data) != uid
                || columnMap[item.name] != c)
                item = createColumnItemRenderer(c, false, data);
                if (item == null)
                    return null;
                if (item.parent != contentHolder)
                    contentHolder.addChild(DisplayObject(item));
                // a space is used if no data so text widgets get some default size
                columnMap[item.name] = c;
                if (listItems[rowNum][colNum])
                    addToFreeItemRenderers(listItems[rowNum][colNum]);
                listItems[rowNum][colNum] = item;
            //[Matt] moved from inside the block above to outside because
            //the item definitely exists at this point, and always needs
            //its data refreshed
            rowData = DataGridListData(makeListData(data, uid, rowNum, c.colNum, c));
            rowMap[item.name] = rowData;
            if (item is IDropInListItemRenderer)
                IDropInListItemRenderer(item).listData = data ? rowData : null;
            item.data = data;
            item.visible = true;
            if (uid && colNum == 0)
                contentHolder.visibleData[uid] = item;
            return item;
    Why does it do this?  Shouldn't it respect the visible property already set for the renderer in mxml and not force it to true on init?

    Renderers use the visible property for recycling.  Invisible renderers are not supported.  The hit detection logic would find it the cell it belongs to even if it was invisible.  You can set alpha=0, but it won't stop the hit detection logic.
    Why are you trying to hide a renderer?
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • AS3 Preloader (without Flex SDK or Flash CS)

    I use FlashBuilder but not the Flex SDK, just pure Actionscript. I have a swf application that is too long to download, so I would like to display a progressbar while the swf is being downloaded from the host.
    My main class is a Sprite. I tried to add a progressEvent.PROGRESS listener on root.loaderInfo in the constructor of my main Sprite, but then a PROGRESS event is fired only when all the swf is downloaded. Useless.
    On a Flex project, you have a Preloader included in the main Application, that displays a progressBar while the application swf is being downloaded from the server and initializing.
    That's what I want.
    Does someone understand how the Flex Preloader works ?
    Do you know how to do that without Flex SDK ?

    Here is the Preloader class :
    public class Preloader extends MovieClip
      public function Preloader()
        super();
        stop();
        if (root && root.loaderInfo)
        root.loaderInfo.addEventListener(Event.INIT, initHandler, false, 0, true);
      private function initHandler(e:Event):void
        root.loaderInfo.removeEventListener(Event.INIT, initHandler);
        displayProgressBar();
        root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler, false, 0, true);
        root.loaderInfo.addEventListener(Event.COMPLETE, completeHandler, false, 0, true);
      private function progressHandler(e:ProgressEvent):void
        displayProgressBar(e.bytesLoaded, e.bytesTotal);
      private function completeHandler(e:Event):void
        root.loaderInfo.removeEventListener(ProgressEvent.PROGRESS, progressHandler);
        root.loaderInfo.removeEventListener(Event.COMPLETE, completeHandler);
        removeProgressBar();
        nextFrame();
        var mainClass:Class = Class(getDefinitionByName("MainApplication"));
        if(mainClass)
          var app:Sprite = new mainClass();
          stage.addChild(app);
        stage.removeChild(this);
      private function displayProgressBar(bytesLoaded:int = -1, bytesTotal:int = -1):void
       // add a progressBar and display the progress
      private function removeProgressBar(bytesLoaded:int = -1, bytesTotal:int = -1):void
       // remove the progressBar

  • How to install Flex SDK in IBM RAD?

    Hi All,
    I'm new to Flex and facing some trouble in installing flex 4.6 sdk in my existing IBM RAD application.
    There are few flex files that are included in the new release and I need to work on those files (test/debug) to make sure that existing application is not affected with these files.
    I have installed Flash Player and latest Flash Builder 4.0 and 4.6 plugin on my system for this purpose.
    The Flex SDK, however, I'm not able to configure on my RAD.
    Because of this, I'm not able to see the Flex Prespectives in my RAD and mxml & as files are giving error in text editor.
    Please guide -
    1. How to configure the latest Flex 4.6 SDK in RAD.
    2. Apart from what I have done already, do I need to do anything else to debug/test the newly added flex files in my RAD.
    Thanks in Advance.

    Hi,
          Thanks for your great reply i greatly appreciate you efforts.
    Arie the thing is that i saw the post you mentioned above and it's kind of tangled,isn't there anyway or any sourceful website for step by step guide because i already mentioned that i am a brand new c/c++ programmer and i have no experience how to do programming in c/c++ as i am android and java developer using eclipse tool so visual studio is somewhat a new world for me.
    Please if you have any step by step guidence link or website in your mind,do let me know i anxiously look forward for a step by step guide,but let's say if you don't have anything i want it's perfectly fine i ll try to dig more and work and look in VS 2010 because may be i am new and that's why i can't find the SDK integration.
    Once again Arie thanks for your helpful and fast reply i greatly appreciate your co-operation.
    Thanks,
    Brian

Maybe you are looking for

  • PSE9 - Organizer not importing to Catalogue on Mac OS 10.6.5

    Hi All Recentlly purchased Photoshop Elements 9. It installed. Editor works fine, butr when opening the Organizer, it gives an error message saying that the online function could not be initialized, and that one should re-install. (the product has be

  • Debit / credit indicator

    Hi all For a movement type in T156 , we can get the debit / credit indicator. like wise for a Transaction in Invoice verification where can we get the debit / credit indicator. thnks

  • Select List based on other select List

    Hi I have 2 select lists when a selection is made in one I want the second list to be limited but when nothing is selected in the first list I want the second list to display all. Apolgies if this is really a plsql thing . Heres what I have so far if

  • No ichat after leopard

    hi all very new to this.... i have an imac and just loaded leopard and ichat will not work. when i try it runs for about 30 secs then comes up with a communication error. i have a neat gear dg834g v3. up until the change to leopard all was ok can any

  • Grouping Displays songs out of order

    I was wondering why a grouping would be played out of order even though the tracks are in order with the rest of the cd?