Building iOS mobile project succeed in Fast Packaging method not in Standard method

Hi All,
I am using FlashBuild 4.6 Standard edition to build iOS mobile project for iPAD. When I tried using Fast packaging method, I have no problem to create ipa file, and run it on devices, however, when I tried using Standard packaging method, I always run into the following exceptions:
"Launching iOS" has encountered a problem.
Error occurred while packaging the application:
Exception in thread "main" java.lang.NullPointerException
    at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6944)
    at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:5909)
    at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4628)
    at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3514)
    at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2215)
    at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:526)
    at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:336)
    at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:472)
    at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:82)
Compilation failed while executing : ADT
Any help will be truly appreciated.
Kind Regards,

My mobile app is supposed to load SWF assets from an external server.
Is there any chance at a work around?  Could something like the ByteArray class be used to convert the SWFs to BitMap (given than static images would be acceptable)? In my case, I may only need to import external SWF that are static (not animated).
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/ByteArray.h tml
If ByteArray is implemented to immediately convert imported SWFs within the source FlashBuilder project, then when the app is packaged into native iOS, will it retain that functionality to convert the SWF to bitmap data?

Similar Messages

  • Release build and standard packaging doesn't work for iOS mobile project.

    Hi,
    We are trying to port our web application on iOS(iPad). Made some minor changes and package ipa with fast packaging method. It works great.
    Now we are try to package application for AppStore and use Standard method. But error occurs.
         Error occurred while packaging the application:
         Exception in thread "main" java.lang.Error: Unable to find named traits: spark.components::Application
             at adobe.abc.Domain.resolveTypeName(Domain.java:225)
             at adobe.abc.Domain.resolveTypeName(Domain.java:142)
             at adobe.abc.GlobalOptimizer$InputAbc.resolveTypeName(GlobalOptimizer.java:272)
             at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:994)
             at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:390)
    Distribution certificate and provisioning profile are used for compilation.
    Restarting FB and OS doesn't help. Packaging via command line also throws same error.
    Exporting Release build shows other error. After opening Export Release build window and click next error occur:
         Encountered errors or warnings while building project XXXX.mxml.
         configuration variable 'runtime-shared-library-path' requires a value 'rsl-url'.
    All the libraries are merged into code, not RSL.
    OS: Windows XP SP3, Windows 7.
    Flash Builder: 4.5.1.
    Flex SDK: 4.5.1 build 21328.
    AIR: 2.7.1(2.7 shows erros also).
    Thanks in advance for your answers.

    Hi,
    Please send your swf and app-xml to [email protected] so that we can try it at our end.
    Thanks,
    Amish.

  • Flex Mobile project scaling with Retina display iPad (3rd gen).

    Adobe et al,
    With the new iPad 3 we now have a ton more pixels to utilize. I'm familiar with and have already successfully tested the AIR 3.1+ commandline compiler option (-platformsdk) to get Retina display on the new iPad. In ActionScript mobile projects the content is rendered beautifully on the new iPad. But with Flex Mobile projects, something is happening that causes it to render incorrectly. It's retina display alright, but the size is way too small.
    Below is an image WITHOUT the -platformsdk build tag, that causes the app to be pixel doubled to fit on the new iPad:
    Notice that it's scaled proportionally, even though the text and components are slightly pixelated. Not a big deal, but noticeable on the device.
    This image is taken with the app rendering in Retina display (setting the -platformsdk pointing to iOS 5.1 SDK):
    As you can see, the text/components are rendered really clear, but the scale is way off. Obviously it's getting the width of 2048x1536 from the device, but it's way too small.
    How do I fix this? I've tried changing the applicationDPI, but it doesn't fix it. Setting a width/height of 1024x768 does nothing either. It seems we need to overrride a behavior that causes it to fit everything in so small.
    A little help?
    Thanks,
    iBrent

    Alright, kevinkorngut's answer was the right one. It appears that even though AIR 3.x can render high resolution apps, it still returns the incorrect DPI for the new iPad. In a Flex Mobile project you have to override the DPI using the method mentioned above.
    Here are the results I got:
    Using the runtimeDPIProvider property on the TabViewApplication tag (works for any of the three project types) I created a class that extends RuntimeDPIProvider. To detect which iPad I was on, I used the following code:
    override public function get runtimeDPI():Number
         var os:String = Capabilities.os;
         if(os.indexOf("iPad") != -1)
              if(Capabilities.screenResolutionX > 2000 || Capabilities.screenResolutionY > 2000)
                   return DPIClassification.DPI_320;
              } else {
                   return DPIClassification.DPI_160;
         } else {
              return Capabilities.screenDPI;
    I'm returning a DPI of 320 as this gives the best result that matches the proportions of the device. In other words, even though the iPad DPI is 264, setting the app to 320 gives the correct size at the new Retina display.
    In order for this to work, you must compile the app with the -platformsdk flag pointing to iOS 5.1 SDK, and currently that means you need a Mac running Lion with Xcode 4.3.1. Here's the adt command I used:
    adt -package -target ipa-test -storetype pkcs12 -keystore ~/Desktop/iOS_DevCert.p12 -provisioning-profile ~/Desktop/iOS_DevProfile.mobileprovision newiPadTest.ipa newiPadTest-app.xml newiPadTest.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS5.1.sdk
    Also, the -app.xml descriptor file must have the <requestedDisplayResolution>high</requestedDisplayResolution> within the <iPhone> tags.
    Thanks everyone for their replies!
    iBrent

  • Burrito mobile project charting components

    I have a problem when trying to use the charting components in a Flex Hero mobile project with Flash Builder Burrito.
    The release notes(http://labs.adobe.com/wiki/index.php/Flex_SDK_Hero) of Flex Hero state that the charting components aren't included in a mobile project by default, but that you can add the swc's manually.
    So I created a new "Flex Mobile Project" in Burrito and added the charting swc's (datavisualization.swc and mx.swc) to the project. But when I try to use the Barchart component or any other chart component I get errors in my Flex application because it cannot resolve the component.
    I have a feeling this problem has something to do with the com.adobe.flexide.project.multiplatform.multiplatformnature used in the .project file in a mobile project, but I'm not 100% sure.
    Anyone else having this problem and is there any way to resolve this problem?

    ok, so here's another problem with charting in a mobile project... if I'm not mistaken there's a problem with the mobile skin.
    Although this renders (if you have the datavisualisation.swc and mx.swc and sparkskins.swc in your libs folder) you will not see any text on the axis or in the tooltips.   Does anybody have an explanation and solution?  I'm not understand how the skinning is put together in spark :
    <?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="Home" xmlns:local="*"
            xmlns:mx="library://ns.adobe.com/flex/mx"
            xmlns:charts="mx.charts.*"
            xmlns:datavis="mx.charts.series.*">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
            <fx:Script><![CDATA[
                import mx.collections.ArrayCollection;
                [Bindable]
                public var expenses:ArrayCollection = new ArrayCollection([
                    {Month:"January", Profit:2000, Expenses:1500, Amount:450},
                    {Month:"February", Profit:1000, Expenses:200, Amount:600},
                    {Month:"March", Profit:1500, Expenses:500, Amount:300},
                    {Month:"April", Profit:500, Expenses:300, Amount:500},
                    {Month:"May", Profit:1000, Expenses:450, Amount:250},
                    {Month:"June", Profit:2000, Expenses:500, Amount:700}
            ]]></fx:Script>
            <mx:Panel title="Plot Chart">
                <charts:PlotChart id="myChart" dataProvider="{expenses}"
                              showDataTips="true">
                    <charts:series>
                        <datavis:PlotSeries
                            xField="Expenses"
                            yField="Profit"
                            displayName="Plot 1"
                            />
                        <datavis:PlotSeries
                            xField="Amount"
                            yField="Expenses"
                            displayName="Plot 2"
                            />
                        <datavis:PlotSeries
                            xField="Profit"
                            yField="Amount"
                            displayName="Plot 3"
                            />
                    </charts:series>
                </charts:PlotChart>
                <charts:Legend dataProvider="{myChart}"/>
            </mx:Panel>
    </s:View>

  • Adobe Tutorial - "Hello World: Build a mobile app in five minutes"

    Ok, I was able to follow everything in the tutorial down to where we are testing the application on the actual device.  Running the app on the desktop worked just fine.
    When I told FB to test app on my LG Optimus V (Virgin Mobile phone with Andriod 2.2 installed), I get the following error:
    Can someone point me in the right direction on how to fix this???  This is the very first time of trying to produce any mobile app (ever).
    I am running Windows XP (SP3), Flash Builder for PHP 4.5 installed, manually updated SDK to 4.5.1.  I have loaded the LG Optimus V phone drivers (downloaded from LG website).  They have 3 versions.  None of them worked when I tried testing my app.
    Tony

    MMM, good question.  Going to take some digging.  I asked the people at Virgin Mobile and they were clueless.  I have an email into technical people at LG (my phone is a LG model VM670).  I guess they don't have anyone working on the weekends.  Hopefully, they will answer sometime this monday.
    Tony
    Date: Sat, 30 Jul 2011 10:41:42 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adobe Tutorial - "Hello World: Build a mobile app in five minutes"
    I'm not familiar with that device, do you know if it is ARM7?
    >

  • Flash Builder 4.6 Mobile Project Using Blazeds & Native Extension

    Hi,
    I'm building a Flex Mobile project in FB, that uses BlazeDS to access data through a Spring Project, and also uses an ANE file to access the device's contacts.  I want to debug the application on a device connected with a USB cable, so had to set my root and output folders in Server Settings  using UNC so it can be found from my device thru my wifi network. I also have added the native extension via the Build Path and Packaging tabs.  When I debug from a desktop emulator, things launch OK and the extension correctly tells me it's not supported on the emulator. However, if I debug on the device, FB throws an exception at launch, complaining of a java null pointer exception.  The Eclipse log, in part, looks like this:
    com.adobe.flexbuilder.project.AbstractXMLModel$FileReadException: org.eclipse.core.internal.resources.ResourceException: Resource '/NewOne-debug/NewOne-app.xml' does not exist.
              at com.adobe.flexbuilder.project.air.internal.xml.ApplicationXMLModel.<init>(ApplicationXMLM odel.java:102)
              at com.adobe.flexbuilder.project.air.AppXMLCreator.init(AppXMLCreator.java:91)
              at com.adobe.flexbuilder.project.air.AppXMLCreator.<init>(AppXMLCreator.java:80)
              at com.adobe.flexbuilder.project.air.AppXMLCreator.<init>(AppXMLCreator.java:73)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.getAppXMLCreator (AppXMLFileANEExtensionHandler.java:153)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.retainExtensionI ds(AppXMLFileANEExtensionHandler.java:315)
              at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANECont roller.java:371)
              at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANECont roller.java:338)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AbstractANEPackageHandler.modifyAppXMLforPacka ging(AbstractANEPackageHandler.java:91)
              at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandl er.applyNativeExtensionDetails(AbstractMultiPlatformLaunchHandler.java:164)
              at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage(ADBLaunchHan dler.java:424)
              at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch(ADBLaunchHandle r.java:250)
              at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatfor mLaunchDelegate.java:191)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:244)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:134)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
              at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
              at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/NewOne-debug/NewOne-app.xml' does not exist.
              at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:320)
              at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194)
              at org.eclipse.core.internal.resources.File.getContents(File.java:287)
              at org.eclipse.core.internal.resources.File.getContents(File.java:278)
              at com.adobe.flexbuilder.project.air.internal.xml.ApplicationXMLModel.<init>(ApplicationXMLM odel.java:100)
              ... 19 more
    I guess the problem is that when the application tries to run on my device, the extension is not finding the application descriptor file.  Is there anything else I need to do?
    I appreciate any help.
    Jay

    Here's the fix in case anyone else runs into this problem.  When Flash Builder is building the deployment during launch, it converts the mapped path to a mangled local path for the ane to find the descriptor to a relative path, which can't be found and throws the null pointer.  Making the Output Folder path actually local to the computer, as opposed to the default that FB creates, resolves the error, and still allows blazeds access from the device.

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

  • Flash Builder Error Compiling Ipad Actionscript Mobile Project.

    I just bought a brand new ipad for testing. I am using flash buider 4.7 to make an actionscript mobile project. I created an app ID, provisioning profile, and certificate. I have done this before in flash professional so it wasn't too bad. However, when I run or debug  even a blank application I get this error in flash builder:
    Error occurred while packaging the application:
    'Launching AppName' has encountered a problem.
    Error occurred while packaging the application.
    Exception in thread "main" java.lang.Error: Unable to find llvm JNI lib in:
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/adt.jar/Darwin
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/aot/lib/x64
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/adt.jar
    /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib
                    at adobe.abc.LLVMEmitter.loadJNI(LLVMEmitter.java:582)
                    at adobe.abc.LLVMEmitter.<clinit>(LLVMEmitter.java:596)
                    at com.adobe.air.ipa.AOTCompiler.generateExtensionsGlue(AOTCompiler.java:419)
                    at com.adobe.air.ipa.AOTCompiler.generateMachineBinaries(AOTCompiler.java:1790)
                    at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:378)
                    at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:762)
                    at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:91)
                    at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:245)
                    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:571)
                    at com.adobe.air.ADT.run(ADT.java:419)
                    at com.adobe.air.ADT.main(ADT.java:469)
    I have no idea where to even start in trying to figure out what could be the problem. I am pretty sure the itunes developer information is correct. Are there any kinds of drivers or developer modes that I need to set for a new iPad?
    Thanks!

    Thanks Shongrunden for your reply.
    Yes, you are right. If I make a new Flex mobile project, I did not see the issue.
    But that did not fully answer my question, my concern is: can an actionscript project use spark components?
    Thanks.

  • StageVideo with Flex Mobile Project on iOS

    In a Flex Mobile project using StageVideo, StageVideoAvailabilityEvent always returns StageVideoAvailability.UNAVAILABLE.
    I've been reading all day and it looks like StageVideo might not be supported with Flex projects, but I can't find a concrete answer.
    I need a definitive answer, using Flash Builder 4.6, AIR 3.1, and Flash Player 11, can StageVideo be used. If so, any help as to how to get this working would be greatly appreciated.
    Thank you in advance.

    After much trial and error, I finally have a definitive answer. The answer is yes, you can use StageVideo in a Flex Mobile project. To be honest I found StageVideo to be completely useless, at least for what I was hoping to use it for.
    The first big problem is that the StageVideo plays underneath all Flash content. Second, at least on iOS, there were no video controls. I suppose you could roll your own, but I didn't take the time to experiemnt with this. I ended up just using StageWebView.
    More information here: http://www.unfetteredthoughts.net/2012/01/12/embedded-h-264-video-on-ios-with-a-flex-mobil e-project/
    I hope that helps anyone else looking for this.

  • Any sample ActionScript mobile project for iOS

    Hi,
    I am looking for some sample example of ActionScript mobile project for iOS to get started. I am very excited with new flash builder 4.5 tool but looking for some example so that I can quickly try it.
    -Greg

    Hi Greg,
    http://va.lent.in/blog/2011/03/25/air2-6-app-for-ios/ should get you started. Once you familiar with the basics, you can check out the new features. Following links should help:
    http://www.adobe.com/devnet/air/articles/ios_features_in_air26.html
    http://tv.adobe.com/watch/adc-presents/developing-for-ios-with-air-for-mobile-26/
    http://www.adobe.com/devnet/devices/ios.html
    Thanks,
    Sanika

  • 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 mobile project - ant build issue

    Hi,
    I am getting an error when i compile my mobile project with ant build script. "Could not resolve <s:ViewNavigatorApplication> to a component implementation." But, I am using the same build file to build a simple helloworld mobile project which works fine.
    <mxmlc
       file="${main_class}"
       output="${output_loc}"
       locale="${LOCALE}"
       static-rsls="false"
       accessible="false"
       configname="airmobile"
       debug="${debug_mode}"
       failonerror="true"
       fork="true"
       maxmemory="512m">
       <source-path path-element="${class_path}"/>
       <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
           <include name="libs/*"/>
          </compiler.library-path>
       <library-path dir="${FLEX_HOME}/frameworks/locale/${LOCALE}" append="true"/>
          <library-path dir="${lib_path}" includes="*.swc" append="true"/>
       <external-library-path file="${AIR_GLOBAL}" append="true"/>
       <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs/air" includes="airfds.swc" append="true"/>
          <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs" includes="fds.swc" append="true"/>
          <compiler.library-path dir="D:/Program Files/Apache Software Foundation/Tomcat 7.0/webapps/MobilityServer/WEB-INF/flex/libs" includes="fiber.swc" append="true"/>
       <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/external/robotlegs/1.4.0/bin" includes="robotlegs-framework-v1.4.0.swc" append="true"/>
       <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/CommonMobileLibrary/bin" includes="CommonMobile.swc" append="true"/>
       <compiler.library-path dir="C:/Perforce/mobility/main/NextGen/client/libraries/NativeMobileLibrary/bin" includes="ASNativeLibrary.swc" append="true"/>  </mxmlc>
    Message was edited by: betheflexcoder

    Sounds like you are missing mobilecomponents.swc

  • Fast packaging iOS in Flash

    Is any way to set fast packaging method for iPhone Packager in Flash Professional CS6 like in Flash Builder 4.6??

    A better question is, do you have Flash Builder 4.6? If so, why would you ever use Flash CS6? Stick to using it to create animations easy and export that SWC back to Flash Builder. FB > Flash CS6.

  • ANE for one platform on Flex mobile project for iOS and Android

    I'm very new at Flex Mobile Projects and native extension.
    I have a big doubt... If I have an ANE that only works on iOS or Android, can I use it into a project for Android AND iOS?
    I mean, if I want to do something and I've only found and ANE that works for iOS and another ANE that works for Android, can I create only one project and depending on the device use one or another? or should I create two different projects?
    Thanks in advance

    You can set them both up and when you publish just comment out the code that does not apply, this way you still keep it as one project but you can use the ANEs as needed, I had to do this with the iAd ANE only for Apple obviously and AdMob ANE which at the time was Android only.
    Example
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Now when you publish for iOS comment out the Android related stuff
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Also dont forget to update your included ANEs when you publish and remove the ones that dont apply and update the XML files as needed. Its possible, but annoying, it would be nice if it was automated or could be flagged somehow so the Flash publisher would auto ignore it.

  • Flash Builder 4 - Mobile (Adobe read this!)

    This is the second time I've written this letter. The first was a five-paragraph rant detailing the chronicles of my journey into mobile using the Adobe tools. This time, however, I've decided to break it down in a different way. It goes like this:
    - Adobe spends considerable effort trying to convince Flash (AS3) developers to migrate to Flex (Flash Builder)
    - After spending time with Flex, I am one of those who is convinced by the ease and power of what it offers. I buy Flex (Flash Builder)
    - Adobe announces it will provide support for building iOS application but insists you use (buy) Flash CS5.
    - Support (and methods) for using Flash Builder to create iOS applications is complex, messy and tedious at best.
    - I buy an iPad ($3500), pay for an Apple developer account($100) and start using Flash CS5.
    - I have to strip out the AS3 from my Flex project to bring it into Flash CS5. (Abandoning all the Flex components that made it great in the first place)
    - I get my AS3 application running locally on my iPad. Despite every effort, it runs considerably slow (to my surprise)
    - Apple makes it's TOS changes, restricting 3rd party developer tools.
    - I'm now **** out of luck getting my Flash based application public (iTunes Store)
    - Adobe starts to turn it's attention to Android (a move I fully supported despite my own shortcomings)
    - AIR for Android starts to unfold. So, I start taking a look at it in addition to downloading the Android SDK.
    - Publishing anything to an Android device, using Flash Builder, is (again) a complex, messy and tedious task. Command lines etc.. nightmare.
    - Now, Apple reverses it's TOS policies.
    - More Android 2.2 Froyo devices begin to emerge now (especially tablets like the Galaxy)
    So, at this point I digress.
    So, Adobe. You wanted us to migrate to Flash Builder. So, we did. This, by the way, means we BOUGHT the software. ($780)
    So, you want to demonstrate Flash's power to publish to mobile devices. (meaning, now, iOS and Android)
    ALRIGHT THEN, WHY DONT YOU SPEND SOME TIME GETTING FLASH BUILDER 4 UP TO PAR ALREADY? WHY DON'T YOU MAKE PUBLISHING FOR BOTH PLATFORMS (iOS and ANDROID) MORE ELEGANT NOW? WHY SHOULD WE HAVE TO BUY FLASH CS5 NOW THAT WE'VE FINALLY COME ON BOARD WITH FLASH BUILDER? WHY DONT YOU SPEND SOME TIME PROVIDING AN ELEGANT SOLUTION FOR MOBILE PUBLISHING - LIKE YOU'VE ALREADY DONE FOR FLASH CS5 (MONTHS AGO). I SHOULD BE ABLE TO FILL OUT A FEW FIELDS, SELECT A FEW OPTIONS FROM A MENU AND PUBLISH MY APPLICATION FROM FLASH BUILDER. NOT DOWNLOAD SDK'S, DOWNLOAD SPECIAL BUILDS OF AIR AND FLASH PLAYER ON A WEEKLY BASIS. GET FLASH BUILDER 4 UP TO PAR SO WE CAN WRITE ONCE AND PUBLISH (PUSHING A BUTTON) TO BOTH iOS AND ANDROID WITHOUT SPENDING HOURS FIGURING OUT HOW TO GET IT ALL WORKING.

    Again, my issue is not with Flash Builder itself. In fact I think Adobe is doing a tremendous job regarding many things at this juncture. They've been under a considerable amount of pressure, especially since Apple tried to declare Flash an obsolete technology. I'm proud of Adobe and Flash - which I thoroughly enjoy working with. I also enjoy working with Flash Builder.
    My issue is in regards to support. It's that simple. I understand that many features take time to prepare prior to their public release. This is obvious. There are a lot of tests to be made prior to even a first release. My issue is a specific one. It is in regards to Flash Builder and their attitude towards this piece of software as it relates to this "mobile storm" that has approached. Everything is about MOBILE, MOBILE, MOBILE. Well, ok.. it's about mobile. Adobe really only has two (count that, 2!) pieces of software that creates Flash content. (and NO, that isn't a lot). There's the Flash IDE and Flash Builder, which is SUPPOSED TO BE FOR DEVELOPERS. One would think that more time would have been spent of getting ELEGANT mobile publishing solutions into Flash Builder at this point. I'm tired of reading one massive pdf after another just to understand what the hell I'm supposed to be doing. AND.. on top of this.. they get simple, fluid, elegant solutions into the FLASH IDE in the meantime. iPhone, Android publishing with the click of a button in the Flash IDE? DONE! Months ago.. Flash Builder 4 with the same capabilities? Nothing. Command lines... Terminal windows.. give me a break.

Maybe you are looking for