Flash builder 4 html component

Hi,
I have a html loader ( <mx:HTML... ) on my air app developed with flash builder 4 and I have a problem.The links that have the target="_blank" attribute can't be opened (when I ckicl a such link nothing happens). I want them to be opened in a new browser window (or in a new air window).
Links that not have the target="_blank" attribute works well and are opened in the same html loader component.
Is there any way to make the links with  target="_blank" attribute works ?

Try using StageWebView: http://www.adobe.com/devnet/air/quick_start_as/quickstarts/qs_using_stage_web_view.html

Similar Messages

  • Flash Builder 4.7 -- Cannot resolve ViewNavigatorApplication

    Flash Builder 4.7 said my license expired, forced me to reinstall.  Put in my credentials, everything is fine there.  Except now my mobile project says that it can not resolve ViewNavigatorApplication to a component implementation.  Last working build was using Air 3.5.  I have tried overlaying various versions, 3.5 ac2, 3.6 ac2, even the old 3.5 doesn't work anymore.  What is going on?!

    Hi
    I am having same issue.
    Have followed the instruction at: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
    When go to compile my mobile flex app I get cant resolve ViewNavigationApplication and new flex mobile projects do not 'finish' when using the wizard.
    [Update]
    Have AIRSDK 3.5 with ASC 2.0 is working nicely. Also must remember, when updating SDK need to make sure there are not firewall restrictions to the new commands (adt)
    This has solved my ios deployment issue with AIR 3.4 (which was only reason invesigating AIR 3.6 in the first place)

  • Flash builder 4.7 air 3.6 new adt compiler

    Hi. Ive been having serious issues when i tried to "Export release build" using air 3.4 and/or air 3.5 on Flash builder 4.7. Goit a lot of nonsense java.lan.nullpinter exceptions and similar errrors.
    When i tried to debug or run, even on device generating the ipa, everything ok. But when i tried to export the project, and it tried to re-compile it, always got absurd java errors.
    Ive tried everything: downgrade the java virtual machine, reinstalling flash builder, air, even windows!!! Nothing worked. Even recovering previous stages of the project where I originally could export it (its even published on the appstore!). No use. The app that was working no problem, now when trying to export returns a lot of javanull pointers or similar crap.
    BUT, when trying to generate the ipa through via command lines  on the ms dos console it works!! So... its obvious the problem was on the adl+java duo.
    Thing is, I updated to the just released AIR 3.6 (not the beta, the release version). It uses .exes(on windows, which is the system im using)  instead of java, so it showed promise.
    I overlayed the air version on the flash builder following this instructions:
    http://forums.adobe.com/message/4797974
    Well, not exaclty, because then flash builder throws a lot of errors and dosent show me the package explorer for instance.
    I made a copy of the AIR folder, but not deleted the content, just copied the new air version files over and substitute the replicas, but kept the originals where no new file substituted them (dont know if im explaining it ok, sorry for my english).
    It worked... except for the damn "Export release build" option. It keeps trying to debug it using java instead of using the new adt. And I cant find how to change that.
    The adt on the other hand is being used ok, as i can check it when I try to run or debug the project targetting a device. Before I could check the command used and now Im not, so Im pretty sure its using the new .exe instead of the java version. But now I dont know how to generate the ipa targetting the app store, for instance via command line using the new adt nor can i do it exporting the project from the flash builder IDE.
    SO...
    is there anyone having similar problems?
    How can I correctly overlay air 3.6 over Flash Builder 4.7 and force it to use the new air adt and adl?
    Anyone tried?
    Thanks in advance folks!!!

    Thanks everyone for your collaboration.
    Hey Nabren, What do you mean by "as well"?
    Just to make it clear. I already followed the instructions here:
    http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder. html
    to overlay the air sdk. And the folder you are pointing me is the ONLY ONE the instructions tell me to replace. BUT when you say "as well" I understand something else have to be done.
    Ill explain the whole process Ive followed and the consequences:
    As I said I replaced the content on the AIRSDK placed in the fodler C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722 (or similar), for the content of the new SDK.
    The result is that flash builder throws me a lot of errors and is unable  to show even the package explorer, for instance or create a mobile project, so I went back to the original AIR folder. No problem there.
    When I was using flash builder 4.6 I overlayed the sdks in this way: made a copy of the last flex SDK (which already had the air sdk inside), and copied the content of the  latest AIR SDK over the current sdk, replacing only new files, keeping those not includded on the air sdk. That way I could keep several flex+air sdks, and could select wich sdk to use for each library/project. Now this doesnt work anymor on flahs builder 4.7.
    So I tried this:
    I made a copy of the AIR sdk under C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722 and copied over the new sdk ont he folder overwritting new files,keeping those not included on the new sdk... and this works! Everythings fine. I can debug complex projects on air simulator even launch it on an iphone or ipad...
    BUT it keeps throwing me JAVA errors (null pointer exceptions and things like that) when exporting that makes no sense at all (different errrors without making any change, now no error now another one...).
    More info on the projects provoking this behaviour:
    They are mobile projects (ios mainly). They use several libraries. Some of them come from compiled swcs from flash cs6 (wich contains classes we are using as views). All libraries have been double checked. They are fine. The problems emerge when trying to export targetting the apple store. Weve double checked the provisioning and the certificate. They are correct. In fact, when we try to generate the ipa using adt via command lines on ms-dos it works!
    Weve tried to remake and the rebuild the project class by class, even recreate the flas we are using to generate the swcs to be used as libraries on the project... it only works when the project is almost empty. As soon as some content is added.. bumm! Java errrors all over when trying to export.
    Our main machine is an i7 2.93 Ghz, 8 GB ram, 64 bits. Windows 7 Ultimate 64 bits, using Flash builder 4.7 64 bits and flash cs6 64 bits. But we have checked on other mahines and sme thing happens.
    Doesnt anyone else have these problems? Is there any other way to overlay the air sdk?
    Thanks again.

  • Flash Builder 4.7 licence activation

    Hello,
        My company bought a flash builder 4.7 premium licence, but apparently it doesn't work...
         I created a small projet to test and add that piece of code to see if it's ok :
    protected function applicationCompleteHandler(event:FlexEvent):void
                                            Many features require a Flash Builder Pro (Premium) license to function properly (i.e. automation)
                                            The LicenseUser class registers a handler (LicenseHandler) to be called if a Flash Builder Pro license is NOT present;
                                            if a Flash Builder Pro license IS present, then the compiler will remove the LicenseHandler class for the SWF
                                            if (Class(this.systemManager.getDefinitionByName("licence.LicenseHandler")))
                                                      Alert.show("This SWF was compiled WITHOUT a Flash Builder Pro license")
                                            else
                                                      Alert.show("This SWF was compiled WITH a Flash Builder Pro license")
       [RequiresLicense("mx.fbpro", handler="licence.LicenseHandler")]
        public class LicenseUser
            public function LicenseUser()
        public class LicenseHandler
            public function LicenseHandler()
    It's a piece of code we can find on some forum and works for some people.
    But the message which is displayed is always the first one => "This SWF was compiled WITHOUT a Flash Builder Pro license"
    I found that page (http://helpx.adobe.com/flash-builder/kb/flex-automation-issues-flash-builder.html) to replace the licence.jar but it still doesn't work...
    The profiler doesn't work either...
    Have you got any ideas please ?
    Thanks.

    Hi
    I am having same issue.
    Have followed the instruction at: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
    When go to compile my mobile flex app I get cant resolve ViewNavigationApplication and new flex mobile projects do not 'finish' when using the wizard.
    [Update]
    Have AIRSDK 3.5 with ASC 2.0 is working nicely. Also must remember, when updating SDK need to make sure there are not firewall restrictions to the new commands (adt)
    This has solved my ios deployment issue with AIR 3.4 (which was only reason invesigating AIR 3.6 in the first place)

  • Invalid Launch Image in Flash Builder 4.6

    I've been making updates and releases to my iPad app for the last several months, but just recently, I started receiving this email back from Apple:
         iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. As of May 1, all new iPhone apps and app updates submitted must support the 4-inch display on iPhone 5. All           apps must include a launch image of the appropriate size. Learn more about iPhone 5 support by reviewing the iOS Human Interface Guidelines.
    I've been googling this for a while, and have tried adding  Default.png (320x480), Default-586h.png (640x960), and [email protected] (640x960) files to the root directory and made sure they were being compiled into the .ipa file.  With the [email protected] file, I received an additional error in the nastygram from Apple:
         Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.
    So I took out the @2x file and it still failed.  Now, my app isn't even intended for the iPhone5, it's intended for the iPad.  What can I do to make them happy so I can keep making releases?

    These are the errors tackled with this post:
    iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. As of May 1, all new iPhone apps and app updates submitted must support the 4-inch display on iPhone 5. All apps must include a launch image with the -568h size modifier immediately following the <basename> portion of the launch image's filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the iOS Human Interface Guidelines and iOS App Programming Guide.
    Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.
    Non-PIE Binary - The executable 'C-Print Mobile.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable
    I followed these steps to get my app .ipa to the point where Apple would accept it:
    Download the latest AIR SDK. My Flash Builder was using the AIR SDK 3.6. From within Flash Builder I clicked "Check for updates..." and Flash Builder said it was up-to-date. BUT when checked the AIR SDK website, there in fact was a newer version. So you may need to update, even if Flash Builder says otherwise. To check, go to Windows -> Preferences -> Installed AIR SDKs. If you have AIR SDK 3.6 or less, you need to update.
    The latest SDK can be downloaded here:
    http://www.adobe.com/devnet/air/air-sdk-download.html
    IMPORTANT: If you are building a Flex project (that was my situation), you will need to download the SDK without the compiler. This will be under the "Note: Flex users will need to download the original AIR SDK without the new compiler." section.
    Install the downloaded SDK. The instructions are different for Flex projects and ActionScript projects.
    Flex: http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    ActionScript: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
    Reference the correct version in your app.xml file. My app was using AIR SDK 3.1, which is very old. As of this writing, I'm now using:<application xmlns="http://ns.adobe.com/air/application/3.7">
    Include a splash screen image called [email protected] in the top-most level of your source. This file must be 640x1136 (width x height), and is required for iPhone 5 devices.
    Read the following forum thread about the Non-PIE Binary issue. As of this writing, it is being regarded as "not a big deal", but Apple may become more strict about this in the future.http://forums.adobe.com/message/5281575
    Best of luck. If these steps work for you, let me, and others, know here in the forums!

  • Incorrect ADT version when compiling using updated AIR SDK in Flash Builder

    I was wondering if anyone else has come across adt version issues when compiling with Flash Builder.
    I just downloaded Flash Builder 4.7 (I had 4.6 installed previously).  I upgraded due to AIR SDK issues when trying to send my app to iOS.  I downloaded AIR 3.7 SDK and done the whole "overlay" described here http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html but when trying to compile it Flash Builder, it states that version 3.7 is not only up to 3.1  I did a check of the adt that is being used (adt -version) and it returns back that it is version 3.1  This is the one contained within the sdks/4.6.0/lib folder.  If I copy the one from the AIRSDK folder and check the version on that 3.7 comes up correctly, but it needs files that are contained in the AIRSDK folder, so I'll need to copy more than just the adt.jar file.
    Really I'm just trying to see if anyone knows what I can change in Flash Builder to point to the AIRSDK folder instead of the sdks/4.6.0/lib folder so I'm not constantly updating my adt.jar file each time I install a new AIR SDK.

    OK, not the best solution (hopefully someone will be able to tell me where to update Flash Builder to point to the AIRSDK directory instead of {FB install dir}/sdks/4.6.0/lib, but until then, here's a work around.
    First make sure to backup your old aot and android directories in your {FB install dir}/sdks/4.6.0/lib and your original adt file (I just renamed them to fileOrDir_original)
    Then copy your adt.jar file, aot dir, android dir, and I copied legacy dir also to your {FB install dir}/sdks/4.6.0/lib
    You should now be able to compile using the 3.7 AIR SDK.  There's another fix for PIE in AIR 3.8, so I may be updating again soon to the labs build.  I'm hesitant to copy any more files over in case it stops my non-mobile AIR builds from working, but hopefully this will be good enough for mobile builds and for anyone else having this issue in Flash Builder.

  • How Can I buy Adobe Flash Builder 4.6 in India?

    Hi,
    I need to buy Flash Builder 4.6, But I am not able to do so.
    Whenever I try to buy it, I am transfered to Adobe India Store, in which i cant see Flash Builder 4.6 in the available downloads.
    Also I tried contacting the Adobe resellers but they are also not able to provide me with Flash Builder 4.6 License.
    Please Help.

    Hi,
    Flash Builder 4.7 Premium is available both in the Creative Cloud as well as on the Adobe Store - India. The links with pricing are available on the right hand side in this link:
    http://www.adobe.com/in/products/flash-builder.html
    Creative Cloud is offered at Rs. 2700/month for a one year plan.
    Hope this helps.
    Thx.
    Shrihari, Adobe India

  • Apple ios support Flash builder 4.5

    Hi ,
    I'm trying to build a mobile application. While creating the application i cant see Apple ios option in target platforms. Any help is appreciated.
    Thanks and Regards,
    Kanthi

    Hi,
    You need to download and install the free upgrade to Flash Builder 4.6 --> http://www.adobe.com/products/flash-builder.html?promoid=FDLKS
    Download the trial version and use your FB 4.5 serial to upgrade for free. Once you do that, you should see iOS targets for Actionscript and Flex Mobile projects.
    iBrent

  • Flash builder 4.7 periodic workspace save

    Hi users!
    I've recentlly installed Flash builder 4.7.
    After 1/2 days without any issue, i encouter now an issue that make me crazy!
    It's appen when FB try to save my workspace, my system become really unstable (sometime Kernel panic!!!  ) for a while.
    After a panel appear inside FB4.7 that say :
    flash builder 4.7 periodic workspace save encouter ..... blabalbal
    Someone have the same issue, or i'm a poor lonesome user?
    thank you for helping me !

    Hi
    I am having same issue.
    Have followed the instruction at: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
    When go to compile my mobile flex app I get cant resolve ViewNavigationApplication and new flex mobile projects do not 'finish' when using the wizard.
    [Update]
    Have AIRSDK 3.5 with ASC 2.0 is working nicely. Also must remember, when updating SDK need to make sure there are not firewall restrictions to the new commands (adt)
    This has solved my ios deployment issue with AIR 3.4 (which was only reason invesigating AIR 3.6 in the first place)

  • Automation stops at 30 despite using Flash Builder Premium 4.0

    I'm a developer trying to release a build to QA. QA is telling me their build is stopping their test cases after 30. This shouldn't be the case.
    I'm running Flash Builder Premium 4.0.1.
    I've included this line on my additional compiler arguments:
    -include-libraries+="${flexlib}/libs/automation/automation.swc","${flexlib}/libs/automatio n/automation_agent.swc","${flexlib}/libs/automation/automation_dmv.swc","${flexlib}/libs/a utomation/automation_spark.swc","${flexlib}/libs/automation/automation_flashflexkit.swc"," ${flexlib}/libs/automation/qtp.swc"
    After initial attempts failed I tried fixing it by following the instructions on this link: http://helpx.adobe.com/flash-builder/kb/flex-automation-issues-flash-builder.html
    However the same issue exists where QA can only run 30 test cases.
    Any idea what else I can do other than trying to upgrade to Flash Builder 4.7?
    Brad

    I did a workaround by adding this compiler argument:
    ${flexlib}/libs/automation/automation_agent.swc
    ...which points to that file in Flex 4.5. I can now build the app.
    Why do I need to do this now when I didn't need to do so before ?

  • Using Flash Catalyst Custom Component in Flash Builder

    I created a custom component in  Flash Catalyst that is intended to be used in the way that one would use  a BorderContainer in Flex/Flash Builder. Can anyone advise me how I  might go about doing this?
    many thanks,
    Mark

    And also there's a lot of new content to help every one started at http://www.adobe.com/devnet
    If you're a CF/Flex developer you're gonna enjoy the new content here too
    http://www.adobe.com/devnet/flex/flex_cf.html?devcon=f3

  • Custom List component in Flash builder 4.5

    Hi,
    Am new to Flash builder 4.5. I want to create a custom list component. In that i have some queries.
    They are,
    1. What are the basic procedures/steps to be followed for Component development in Flash builder 4.5
    2. What are the approaches to the component development in Fladh builder 4.5?
    3. Is there any reference sutes available?
    Thanks,
    Manikandan

    http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_06.html
    you could also search blogs for custom component creation. There might be many implementations for your learning/usage.

  • Carousel component in Flash Builder 4.5?

    How to create a Carousel component in Flash Builder 4.5?
    I need to build a carousel component in Flash Builder 4.5 I've created a container with the left and right buttons in Flash. How do I import and Use it in Flash Builder??

    http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_06.html
    you could also search blogs for custom component creation. There might be many implementations for your learning/usage.

  • Captivate and HTML issues in Flash Builder / Air App

    I have a Flash Builder project that includes an HTML component and several Captivate SWFs that play in another window of the app. If I do not have the HTML component on, all works fine. However, when I add the HTML component, I get the following error when I go from one Captivate SWF to another:
    Error #2037: Functions called in incorrect sequence, or earlier call was unsuccessful.
    at Error$/throwError()
    at flash.html::HTMLLoader/throwIllegalMethod()
    at flash.html::HTMLLoader/getChildByName()
    at com.adobe.captivate.main::cpMovieController/restoreFocusObject()
    at com.adobe.captivate.main::cpMovieController/skipFrames()
    at com.adobe.captivate.main::cpMovieController/movieonEnterFrame()
    Does anyone have a suggestion on how to suppress the Captivate movie from calling the restoreFocusObject or how to suppress the error? I have tried  using the HTMLUncaughtScriptExceptionEvent handler but that is not capturing it.
    Thanks!

    Instead of using the File object, try URLRequest instead:
                                            var urlReq:URLRequest = new URLRequest("Special_Assignment_Title.flv");
                                            ns.play(urlReq.url);
    Chris

  • How to embed html code in flash builder 4 ?

    How to embed html code in flash builder 4 ?

    Ya i tried by keeping <fx:Declarations> part but still it is throwing error,
    In flex3 we are making a component ex: <mx:canvas> and changeing that component to
    <cairngorm:ServiceLocator xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:cairngorm="com.adobe.cairngorm.business.*">
    </cairngorm:ServiceLocator>
    if any one used 4.5 with cairngorm let me know
    thanks

Maybe you are looking for