How to migrate a flex app from Flex Builder 3 to Flash Builder 4.7

Hello,
I have written an extensive application using Flex Builder 3. I have maintained the app for several years using FB3. In the mean time I have created several mobile apps using Flash Builder 4.7. So I am very familiar with the the new framework. However, my client has requested some big changes to the app. I figured this would be a great opportunity to migrate the app to FB4.7. I would like to keep the mx structure for the time being. So, are there any good documents concerning this migration path? What SDK should I use. Should I start using the Apache Flex SDK?
Thanks,
--randu

Hello Raja,
Thanks. Your reply has been very helpful.
For deploying the Flex app, as a web on NW 04S, I did the following:
- Created a web project and included the following files as web-content. These files were created using the Flex builder or in the Flex development perspective of NWDI - CE, you can find them in the "bin" folder of your Flex project.
   - AC_OETags.js
   - your-app.html
   - your-app.swf
   - history.htm
   - history.js
   - history.swf
   - playerProductInstall.swf
   - crossdomain.xml - This file is important, if our Flex app wants data from the server.
    ( I made the simplest possible crossdomain.xml containing
       <allow-access-from domain="*" secure = "false"/>
  -  Declare "your-app.htm" as the welcome file in web.xml
  -  Package, this .war after building this web project in an Enterprise application project and build it.
  Now, you have the .ear made, which is deployable on your NW Web AS.
Apart from this, another thing which is important to be included in your Flex mxml code is the following:
( Thanks to Abesh for this........ )
- You have to tell the Flex app, in the action script, as to from where should the Flash engine pick the crossdomain.xml ( in case you are accessing the server for data from your app)
You might have noticed, we packaged the crossdomain.xml along with our other web content in the .war.
So mention, something like this in your action script.
Security.loadPolicyFile("http://<hostname>:<http-port>/<context-root fo your web app>/crossdomain.xml");
The code will work like a charm.
Hope this helps everyone.
Thanks guys.
Best Regards, Gagan.

Similar Messages

  • How to migrate a web app from JDev 904 to JDev10132?

    Hi,
    I'm looking for any recommendation on how to migrate a web application from JDev 904 to JDev 10132? The application uses BC4J, Struts and DataTags.
    Is there tool support to migrate from DataTags to ADF DataBinding?
    Any hints are welcome.
    Thanks,
    Markus

    There is no automated migration of jbo data tags to the new binding architecture.
    see:
    http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/desupport1013g.html

  • How to call Flex app from Javascript in portal question

    I've setup my flex 4 app with a callback function. The flex app is embedded in a Java portlet on a WebLogic Portal 10.3.2. How can I call the Flex app from the portlets javascript function? Code below shows how the flex app is embedded in the wrapper jsp.
    <script language="JavaScript" type="text/javascript">
            AC_FL_RunContent(
                        "src", "<%= srcPath %>",
                        "id", "<%= (String)request.getAttribute("portlet_name") %>",
                        "name", "<%= (String)request.getAttribute("portlet_name") %>", 
                        "width", "<%= request.getAttribute("width") %>",
                        "height", "<%= request.getAttribute("height") %>",
                        "align", "middle",
                        "quality", "high",
                        "FlashVars", "PORTLET_WS=<%= request.getAttribute("window_state")%><%= wsrpEncodedChannel %>",
                        "allowScriptAccess","sameDomain",
                        "type", "application/x-shockwave-flash",
                        "pluginspage", "http://www.adobe.com/go/getflashplayer");         
    </script>

    Thanks for the response. I followed the instructions in the link, but it does not appear to work within a Weblogic 10.3.2 portal. My Flex app is wrapped in a Java JSR 286 portlet. Should this approach work or is there a different approach for the portlets wrapper JavaScript to call a Flex callback function?
    thanks
    Dan

  • How can I migrate my iphone apps from a Windows Computer to a new imac so that I can syncronize my iphone from now on on this machine?

    ow can I migrate my iphone apps from a Windows Computer to a new imac so that I can syncronize my iphone from now on on this machine?

    Redownload all your purchased/free apps.
    How to redownload purchased apps from the App Store

  • How does one upload a file from flex to a cfc

    How does one upload a file from flex to a cfc?   Can you do the file upload via remote object? I usually do uploads cia cfm but prefer the asnc capabilities of remote object calls.

    Hi,
    The issue here is myFile. For flex we need to pass this name as paramenter becuase it's not html form item like:
    <cfcomponent>
        <cffunction name="uploadFile" access="remote" output="false" returntype="void">
        <cfargument name="file" required="Yes" type="any">
            <cffile action="upload" filefield="#arguments.file#" destination="C:\temp\" nameconflict="makeunique">
        </cffunction>
    </cfcomponent>
    From flex I'm getting the file using fileReference like:
    private function browseAndUpload():void
                    fileReference = new FileReference();
                    fileReference.addEventListener(Event.SELECT,fileReference_Select);
                    fileReference.addEventListener(Event.CANCEL,fileReference_Cancel);
                    fileReference.browse();
                private function fileReference_Select(event:Event):void
                    fileReference.addEventListener(ProgressEvent.PROGRESS,fileReference_Progress);
                    fileReference.addEventListener(Event.COMPLETE,fileReference_Complete);
                    fileReference.addEventListener(IOErrorEvent.IO_ERROR,onLoadError);
                    //fileReference.upload(request);
                    fileName = fileReference.name;
                    myFile.htmlText = fileReference.name;
                    SM_RO.importNSA();
    filerReference have an upload method to upload the file but I can't use that becuase I need to process my upload with my cfc.
    I'm getting an error:
    Failed to import the file. The cffile action="upload" requires forms to use enctype="multipart/form-data". Please also make sure the file is not open.
    I can't find the way to setup the enctype becuase again i can have html form items in flex, or I can?
    Thanks
    Johnny

  • How do you get your apps from the i tunes library onto your mac?

    how do you get your apps from i tunes library onto your mac

    You don't.  Apps from iTunes are for iOS devices.  Apps for the Mac come from the Mac app store.  Click the apple >> app store.

  • How can i download an app from iTunes store, that exists just in a "swiss store". Because my account isn't allowed to download apps from other stores than a slovene. ???

    how can i download an app from iTunes store, that exists just in a "swiss store". Because my account isn't allowed to download apps from other stores than a slovene. ???

    You have to be in a country, and have a billing address in that country, to download from its store. You can try requesting that the app be added to the Slovenia store, but unless the app's developer/rights-holder agrees to it then Apple won't be able to sell it there : http://www.apple.com/feedback/itunes.html

  • How do I download an app from the Mac App Store but not install it yet?

    How do I download an app from the Mac App Store but not install it yet?
    Can I simply download it and not install?
    What if the App gets updated before I download it?
    Why? Well, I am very busy and wish to install at my leisure even though I have purchased the App (required at a specific day in the month in order to appear on my business accounts).
    Thanks.

    There is a difference in what Kappy stated and what you stated. A major paid upgrade (v2.x to v3.0), yes, costs money, as it would in any other delivery stream. Updates (v3.0 to v3.1) to a a major version are free.
    Most apps sold through the Mac App Store (MAS) are the type that use the simple drag & drop installation. Those are downloaded directly to the designated apps folder and installation is done. Large pro-type apps download an installer to your Apps folder. Those you can install at your leisure. The MAS does not have a lot of apps using this type of installation.
    Be sure to always backup your MAS purchases, because there is no guarantee that the app will always be available for download in the future and it is your responsibility to archive copies.

  • How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.

    How can I delete an app from launchpad, that doesn't have the little cross in the left top corner. The app isn't an App Store app. The application is also not present anymore in my application's folder in finder.
    I tried to use the attached command through TERMINAL :
    sqlite3 ~/Library/Application\ Support/Dock/*.db "DELETE from apps WHERE title='Help';" && killall Dock
    sqlite3: Error: too many options: "DELETE from apps WHERE title='Help';"
    Use -help for a list of options.
    But i didn't work as I got the above error message.
    best regards
    Jeroen

    I'm in the same boat as you -- except that I manage both a school lab (volunteer job) and macs in the enterprise (pay job).  What I think we need is the Education Volume Purchasing Program
    http://www.apple.com/education/volume-purchase-program/faq.html
    Unfortunately this all seems a little rough around the edges -- for example, I have found updates for AppStore apps on the support.apple.com updates download site, but then when I install them via ARD they don't actually update the software.  (The AppStore icons still show as needing the updates, and the version info reports the old version.)  The documentation is also vague about which AppleID to use in which circumstance.  I think they just haven't finished thinking through the implications of the various procedures and policies upon the various kinds of customers.  When we deployed Mountain Lion on the school lab, we made an install usb and went around and installed it on each computer -- and it appears that you are on the honor system as far as paying for all of the licenses that you install.  We did!  But they appear to have no way to enforce it.
    So far, I have only deployed 9 Lion macs in my day job, and our "solution" to the AppStore showing updates problem has been to drag the AppStore icon off of the users' docks so they don't see them!

  • How can i share some apps from my macbook pro to iMac on different IP?

    how can i share some apps from my macbook pro to iMac on different IP?

    sign into same id on both computers in the app store
    see this
    http://support.apple.com/kb/HT2519
    Peace, Clyde

  • HT5625 my apple id has been disabled and i do not know how do i can download app from app store again

    my apple id has been disabled and i do not know how do i can download app from app store again

    If changing your password does not resolve, then contact itunes support

  • How do i move an app from one page to another

    how do i move an app from one page to another? When I upgraded to the latest software on my 4s, the camera went to the last page rather than remaining on the home page

    What Rudegar says is true, but it's a lot easier to rearrange icons in iTunes:
    Connect your phone and open iTunes. 
    Click on the Apps tab. 
    You will see your home screen in the main window, with the other screens in a scrollable column on the right. Scroll down and click on the last page to put it in main window. 
    Now scroll the column so the home page is visible on the right.
    Click on the Camera and drag it onto the home page at the right. 
    Be careful not to accidentally insert it into another app, thereby creating a group.

  • HT204053 How can I transfer my apps from one account to another

    How can I transfer my apps from one account to another

    Apple will not permit transfer of applications from one account to another. Suppose your mom has presented an iPad to you and before presenting she has downloaded some Apps with her account. If you want to update those Apps, you must know her pass word or send the iPad to her and request her to update and give back. If you feel it is time consuming and difficult, the best way is purchase new iPad and down load  the latest version of App. Whenever you come across you go on purchasing new iPad. This will help you to have latest version of iPad with you.
      Ramanujam, Hyderabad.

  • How can I move purchased apps from one itunes account to another account?

    How can I move purchased apps from one itunes account to another account?

    You can't. The apps must be purchased separately.

  • How do I remove an app from my Ipad that is stuck in paused mode

    How do I remove an app from my ipad that is stuck in paused mode?

    Tap the app so that it can complete then delete it by holding your finger on the app until it starts to wiggle then tap the "x" in the left top corner. This is the iPad guide. http://manuals.info.apple.com/en_US/iPad_iOS4_User_Guide.pdf

Maybe you are looking for

  • Dynamic header data in Sapscript

    Hi everybody, How can i print header data dynamically? for eg: Window PERMIT |                    |                                                       |         Permit           | |                    |                    ORDER                    

  • How to debug FM used in event type linkage?

    Hi experts, I have actived below linkage by tcode SWETYPV. BO BUS2032  ALECREATED    , and I find the Receiver Function Module is PUR_ORDER_CREATE_VIA_SD_EVENT, can we debug this function module? Thank you in advance. Richard

  • How to get IAttributeStrand for each Cell in Table

    Hello All, I am trying to set the font and size depending upon the user inputs under each cell in the table. For Text frame I am able to achieve this by using ITextModel->QueryStrand(). But for Table I am not able to find any function which can allow

  • Listener (and database instance) does not starts up automatically: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor

    Hi at all.... I'm a newbie with database oracle., I have the follow problem: I installed Oracle Database 11g R2 XE on my guest operating system CentOS 6.5. I have changed  the hostname in my SO CentOS (where is installed oracle 11g R2 XE) after insta

  • Creating lots in SRM 4.0

    Hello everyone, Do you know if lots can be created in SRM version 4.0? I've read information about for version 5.0, but nothing concerning 4. Thanks in advance, Henrique Hermont