Flash Builder 4.5.1 Creating iOS Mobile App creates components not Spark views

Hi
I have Flash Builder 4.5.1 on Windows 7 using SDK 4.5.1.
Following many of the Hello World video tutorials (including what's on Adobe TV's website) I create a new Mobile based Application in Flash Builder. I set it up to be a View Based Application targeting iOS and iPhone (although the problem is for any iOS device).
I follow all the instructions and yet the MXML that's created at the end is component based and not targeting Spark Views. This floors running or viewing the app! Code for both Application class and View is as follows:
<?xml version="1.0" encoding="utf-8"?>
<components:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                     xmlns:s="library://ns.adobe.com/flex/spark" xmlns:components="spark.components.*" firstView="views.MyMobileProjectHomeView" applicationDPI="240">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
</components:ViewNavigatorApplication>
<?xml version="1.0" encoding="utf-8"?>
<components:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                 xmlns:s="library://ns.adobe.com/flex/spark" xmlns:components="spark.components.*" title="HomeView">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
</components:View>
I have no idea why Flash Builder is creating code that's namespaced to components and not the spark framework.
The code that's created in the course is below and yet if I import their project and try and view in Design view Flash Builder tells me 'An unknown item is declared as the root of your MXML document. Switch to source mode to correct it.':
<?xml version="1.0" encoding="utf-8"?>
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.HelloWorldHomeView" applicationDPI="240">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
</s:ViewNavigatorApplication>
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
    <fx:Declarations>
        <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <s:Label text="Hello World"/>
</s:View>
Please help
Many thanks in advance
David

Here's the solution:
The problem did not exist on an installation of Flash Builder on a spare MacBookPro.
On my main computer (the one with the Flash Builder issue) I uninstalled and reinstalled Flash Builder 4.5 (then updated to 4.5.1). Creating an iOS Mobile Application now creates the correct code.
I have no idea why it was creating dodgy code.
The only difference with the new Flash Builder install is that SourceMate 3.0 is not installed yet. Perhaps something had gone wrong in the Adobe Updater when going from 4.5 to 4.5.1, who know...all speculation...anyhow it works now!

Similar Messages

  • How do I create accessible Mobile APP for IPAD using flash Builder 4.7?

    How do I create Accessible Mobile App for IPAD usign Flash Builder 4.7?
    I tried updating enabling accessbile = True and other configuratoin from this site: http://www.adobe.com/accessibility/products/flex/best-practices.html
    but NO LUCK. When I tested on IPAD it freezes my App.
    Thanks for your time and help,
    Nim Pat

    In the second example, the photo is set to background with a tile. The other parts are over top of the photo and done with layers with a background color setting.

  • How to create Universal Mobile App in XCode 4.6.2?

    I am new to Xcode, when I create Universal Mobile App project creating with out IPhone & IPad Folder and it's related files in XCode 4.6.2Version.
    Even I created IPhone folder and created the Application Under IOS->UserInterface it's only creating .xib file it's not creating it's related .h and .m files.
    Can you tell me how can I create the Universal Project. or If I want to add .h & .m files how can I add?
    I don't want to Upgrade XCode version. I want create XCode 4.6.2 Only.
    thanks

    As already provided:
    Wrong forum. You need to post this in the iOS Developer's forum.

  • Can't create new Mobile App on preview portal

    Hi all,
    I'm really excited about the new Mobile App feature in the preview portal and want to get started on something. I went to the portal, clicked in to create a new Mobile App and entered the name and service plan then clicked create. The dots started blinking
    and then nothing happened. I've tried it in Safari, Chrome, and IE with the same results. I've tried it with private and non-private browsing. My account is a Partner subscription that allows $100/month in Azure credits. Has anyone else had this problem? Any
    idea how to mitigate it and get to coding my new mobile app? Thanks for any help!
    jared

    The restriction has been removed. You should be able to use any valid name for your resource group now.
    I was unable to create a mobile app using the defaults. I had to create a new service plan and Resource group.
    Also, the docs on resource groups give me a 404. I have no idea what a resource group or service plan even are.

  • Newbie Question: Do mobile apps created in flash builder 4.7 need to install Air in order to run?

    Do mobile users using Android/Apple apps created in flash builder 4.7 need to install Air in order to run the apps? Can the apps be ran without Air installation?

    I haven't seen this come up, however you might want to give our latest AIR 3.5 build a try (12/11/2012 - AIR 3.5 Runtime and SDK Update).  If it still occurs, could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.

  • Flash Builder 4.7 Unit Tests for Mobile Devices

    I am trying to setup a simple unit test using Flash Builder 4.7. I created a Test Suite and a Test Case class.
    Using the menu, I select Run > Run. I see options to select which Test Case / Methods I'd like to run.
    But the strange thing is, next I have to select a launch configuration. I'd assume it would just launch in some console window and give me test results. I did what I could and have it setup to run on the AIR simulator for a XOOM device. Nothing happens I just see a blank screen with a blank bar at the top.
    I've also tried right clicking the project and choosing execute flexunit tests. My FlexUnit Resulst still says 0/0.
    What is the launch configuration I need to use to execute the test cases and get the results?

    I solved it! After looking at example code on google, I realized that the s:ViewNavigatorApplication was missing two key options:
    firstView="flexunit.flexui.FlexUnitTestRunnerUIMobile"
    firstViewData="{getFirstViewData()}"
    Thankfully I was able to derive this. It makes 0 since to me why this wouldn't be added to the automatically generated mxml file but the functions it utalizes does. This to me seems like a defect. If you'd like people to use automatically generated files, make sure they are functional.
    Thanks

  • Flash builder 4.5 + mobile apps + mx components : error#1014

    Hi everyone,
    I found about the capabilities of Flex/Air a few weeks ago and I started experimenting. I'm interested in the mobile apps in particular.
    I downloaded the final release of Flash Builder and started to "code" a few things (I am fairly new to ActionScript too).
    The thing is I have errors when launching the mobile apps on an emulator or on my Desire HD.
    Typical example is this app from Ryan Stewart : http://blog.digitalbackcountry.com/2011/03/slides-and-assets-from-adobe-refresh/
    I tried to run his CollaborationMobile App (as I want to work with LCCS) onto a device emulator thanks to Flash Builder but I get the following errors :
    VerifyError: Error #1014: Class mx.containers::Canvas could not be found.
         at flash.display::MovieClip/nextFrame()
         at mx.managers::SystemManager/deferredNextFrame()[E:\dev\hero_private\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:284]
         at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()[E:\dev\hero_private\ frameworks\projects\framework\src\mx\managers\SystemManager.as:2633]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.preloaders::Preloader/timerHandler()[E:\dev\hero_private\frameworks\projects\framework \src\mx\preloaders\Preloader.as:515]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    VerifyError: Error #1014: Class com.adobe.coreUI.controls::RichTextArea could not be found.
         at flash.display::MovieClip/nextFrame()
         at mx.managers::SystemManager/deferredNextFrame()[E:\dev\hero_private\frameworks\projects\fr amework\src\mx\managers\SystemManager.as:284]
         at mx.managers::SystemManager/preloader_preloaderDocFrameReadyHandler()[E:\dev\hero_private\ frameworks\projects\framework\src\mx\managers\SystemManager.as:2633]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at mx.preloaders::Preloader/timerHandler()[E:\dev\hero_private\frameworks\projects\framework \src\mx\preloaders\Preloader.as:515]
         at flash.utils::Timer/_timerDispatch()
         at flash.utils::Timer/tick()
    and a few others...
    I have no clue of the reason of these errors...
    Thanks for the help

    Try to avoid using MX components in mobile apps.

  • Flash Builder 4.7 Packages AIR iOS Standard Even Without Changes

    "Note: If you have not changed your code or assets since the last debug IPA package was generated, Flash Builder skips the packaging and debugs the application. That is, you can launch the installed application on your device and click Debug to connect to the Flash Builder debugger. This way, you can debug repeatedly without packaging the application every time."
    This appears to not be working in Flash Builder 4.7.  It always worked fine in 4.6.  Basically it packages the application every single time I click Debug, regardless of whether anything was changed.

    Hi Brent, I've got a bug filed in this thread, including a project where I've isolated the probem to a single swc lib:
    http://forums.adobe.com/message/4703810#4703810
    /David

  • Flash builder 4.7 debug via usb device iPhone 4s - device not found

    I cannot find my iphone 4s while trying to debug via usb =(
    i exported ipa and installed it via itunes - this works. but i would love to debug on device.
    im using actionscript mobile project air 3.4
    im using windows 7
    ==================offtopic====================
    also how do i add icons for iphone?
    Thank you for your time! Cheers!

    Hi ,
    Please provide more info on the above issue:
    1.What is the message shown when you try to debug the application via USB on iOS device ?
    2.Are you able to debug on other iOS devices ?
    Run this below command from commandline :
    "C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.348139\AIRSDK\lib \aot\bin\iOSBin\idb.exe" -devices
    Note:Make sure your  device is connected to the machine.
    The above command should list all the iOS devices connected to the machine. If a single device is connected,Flash Builder installs application  on device and waits for debugger connection. If multiple devices are connected, choose device dialog will be shown.
    Thanks,
    Sanjay

  • Flash builder 4 and "Burrito" is the same app?

    Hello!
    I recently bought CS5 Master, and im now digging into android development.
    I was about to start this tutorial: http://www.adobe.com/devnet/flex/articles/employee-directory-android-flex.html
    But I don't have "Flex Mobile Project" in my "Flash builder 4" program!!?
    So I do some research on burrito and thinking to myself that it might be something else than flash builder 4, kind of like photoshop and lightrom.
    But when I download "burrito" it says installing "Flash builder".
    What is going on?
    Why can't I just create a "Flex Mobile Project" from my Flash Builder 4?
    Do I have to install something into my Flash builder 4 maybe? perhaps a Android SDK extension? How do I do that?
    I hope someone can help me on this subject, as I find the documentation somewhat unclear.

    Hi Martin,
    Flex Mobile project is only available with Flash Builder Burrito (which is a preview release of the version after Flash Builder 4) available at http://labs.adobe.com/technologies/flashbuilder_burrito/
    Flash Builder 4 does not support mobile projects.
    Thanks,
    Anirudh

  • Creating a mobile app using Captivate as a base

    Hi All
    I am looking for some advice on a project I have been tasked with.
    I am interested in making a stand alone mobile app. The idea is to create individual courses in Captivate, publish them to HTML5, and then include them in this app. A user may choose which Captivate course to take, click into it, and once completed return to the main app.
    So far I can run the individual courses on the mobile devices using Phonegap.
    My question is, can / should a Captivate project be used as the base for the actual mobile app. It should be able to...
    1) Open other Captivate projects and be returned to once completed. Preferabbly being able to open to a specific slide in the project.
    2) Record the results of the Captivate projects.
    3) Provide a menu interface for selection of these individual courses.
    Has anyone had any experience creating mobile apps with Captivate? Or should I build the actual app in some other way, and just link to the Captivate projects?
    How might I record the results from a Captivate project when I am not using a system which already has the functionality (e.g. Moodle)?
    Thank you for any help and insights you may offer.
    Cheers
    Lewis Carey

    Hi All
    I am looking for some advice on a project I have been tasked with.
    I am interested in making a stand alone mobile app. The idea is to create individual courses in Captivate, publish them to HTML5, and then include them in this app. A user may choose which Captivate course to take, click into it, and once completed return to the main app.
    So far I can run the individual courses on the mobile devices using Phonegap.
    My question is, can / should a Captivate project be used as the base for the actual mobile app. It should be able to...
    1) Open other Captivate projects and be returned to once completed. Preferabbly being able to open to a specific slide in the project.
    2) Record the results of the Captivate projects.
    3) Provide a menu interface for selection of these individual courses.
    Has anyone had any experience creating mobile apps with Captivate? Or should I build the actual app in some other way, and just link to the Captivate projects?
    How might I record the results from a Captivate project when I am not using a system which already has the functionality (e.g. Moodle)?
    Thank you for any help and insights you may offer.
    Cheers
    Lewis Carey

  • Flash Builder 4.7 won't debug air app on Android devices  anymore

    Hi there,
    A strange thing happened today to my Flash Builer 4.7 installation on OS 10.8.5 : it suddenly refused installing and debugging AIR apps.
    At -the famous- 57% of compilation completion I can see the "installing app on device" message, but nothing happens then, and the one minute connection to app timeout is finally triggered.
    I had a look at other threads dealing with this problem here http://forums.adobe.com/thread/1154269 and here http://www.androidpolice.com/2013/02/12/new-android-4-2-2-feature-usb-debug-whitelist-prev ents-adb-savvy-thieves-from-stealing-your-data-in-some-situations/ and I downloaded the latets Android SDK and replaced a bunch of files into the /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/android/bin folder but nothing worked.
    The fun side of the issue is that yesterday it worked, and this morning it did not worked anymore, but I swear I did not ugraded Android on my phone nor I upgraded AIR SDK in FLash Builder or OS X. The Android phone is the same as usual, a Nexus 4 with Android 4.3, that I upgraded 1 month ago.
    I can't debug my Android app anymore, this drives me crazy, and I spent the day trying to find a solution.
    Do you guys had a similar problem ?

    My mistake...
    There was a typo into the XML application descriptor, that prevented the app to install properly on the device.
    Precisely, it wasn't a typo but raher a malformed <intent-filter> node. I launched adb tool from the console with adb install MyApp.apk command, and I saw this : Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] in the terminal. From here it was easy to find the culprit.
    What would be cool is to have this feature inside the Flash Builder's Console panel.

  • Flash Builder and AIR 3.3 for Mac App Store

    The new AIR 3.3 will bring "Improved Mac App Store Support": http://labs.adobe.com/technologies/flashplatformruntimes/air3-3/
    But I have 2 questions:
    In what way will have be the improvement ? What do different from the past in this aspect ?
    Will be (and when) a new Flash Builder version in the configuration of the Mac App Store certificate to deploy AIR apps for the Mac Store ?
    As I can see from here: http://pigsels.com/2012/04/air-app-store-publishing-guide there is a lot of procedures to make that a new Flash Builder could automate/make the developer life easier and what will be different from the guide in the new AIR 3.3 from the AIR 3.2 about the App Store ?

    I tried this
    http://forums.adobe.com/message/1975832#1975832

  • LiveCycle Form Not Loading in iOS Mobile App

    Hi,
    We recently upgraded our LiveCycle server from ES2 to ES4. To test the HTML forms, I've created a new application in ES4 with XDP template. Using the assign task, I have assigned a task to myself and It is not opening in LC Mobile App. However, when I copy the URL from the debug window from xcode and open in a iPAD browser, they are opening fine. Did anyone had a similar issue? Any help is appreciated.
    Thanks,
    Sandeep

    Did you fix the issue..i am facing he same issue. Let me know if you have any fix

  • SAP Mobile app Stock photo not work for network location

    Hi Experts
    I found if we use network location path (e.g.
    servername\pic folder\) in SAP Business One General Settings -> Path, Picture Folder, then if we logon SAP B1 Mobile app from iPad/iPhone, and try to open stock photo, we will get error:
    Processing Failed
    Internal server error: contact your system administrator
    It looks like it only work for local path, e.g C:\pic
    Even we put path as :
    local pc name\pic folder, it is also not work.
    Any idea about this?
    Thanks
    Tim

    The first link is a temporary fix for a machine that only one or two people will use. This will not fix the Library Machines that some 3000 users can use at anytime. I can not pre-add all these users every time we image a machine. We also loan out laptops and I need these machine to wirelessly login dynamically to the domain. But I also need these machine to allow access if these machine are removed from our campus and the wireless access is not available.
    Thank again for the help and I hope someone at Apple can fix this soon. I going to have a hard time telling the client that thay can not use the OS that came with they're machine.

Maybe you are looking for

  • Lightroom CC stuttering when no internet connection on Surface pro 3, is there a fix?

    Hello, In order to see if the creative cloud for photography is suitable for my need I just downloaded the Lightroom CC (6) free test version. I used to work previously on Lightroom 5.7.1 retail version (which is working perfectly) on my Surface pro

  • *HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY*

    HOW TO DELETE THE ARCHIVE LOGS ON THE STANDBY I have set the RMAN CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON STANDBY; on my physical standby server. My archivelog files are not deleted on standby. I have set the CONFIGURE ARCHIVELOG DELETION

  • Phase MAIN_SHDRUN/ACT_UPG is running for more than 24 hours

    Hi All, we are upgrading our ECC 6.0 system to EHP04 SPS6. and the phase "MAIN_SHDRUN/ACT_UPG" in pre-processing phase is running for more than 32 hours. I am wondering how much time it will go. below are the details of our system: 1. total DB size :

  • Pictures using a lot of space

    Guys, I need some help! I was checking the space at my Macbook Air and then I saw that I am using 13 GB of pictures. I am pretty sure that I don't use all this space for pictures but I can't find where this space come from! I cleaned already the tras

  • Difference Inbound Interface at business System Service...

    Hello everybody, if I open a business system service I see tabs: a) receiver --> inbound interfaces b) sender   --> inbound interfaces But there a also interfaces I see when I open the INTERFACE DETERMINATION. My Question: I configured a INTERFACE DE