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

Similar Messages

  • IOS/AIR Running and Debugging Issues with Flash Builder

    I'm having very frustrating intermittent issues running and debugging Flex applications on an iPad 3rd generation retina with Flash Builder 4.7.
    Until this morning, launching on device using both standard and fast packaging worked pretty well. Every now and again, I'd get a dialog saying the packaging had completed successfully, but it hadn't. A quick change of the USB cable to another port on my iMac and it started working again. I'd also randomly get a "Error occurred while installing the application: Invalid <device> specified" error, which quickly went away.
    This morning, with the same code base, the same certificate and provisioning profiles, Flash Builder has only managed to successfully package and run my application on my iPad twice and I must have attempted to launch fifty or so times. Standard packaging, fast packaging and with and without the useLegacyAOT.
    Does this sound like a Flash Builder issue? Is my iMac USB driver dodgy? Has anybody else experienced this?
    Any help greatly welcomed!
    Thanks,
    Simon

    Hi I have had this problem sometimes. With my Mac Book Pro.
    Try making a new flex application and see if you have the same result.
    When I had this problem I created a new Application and copied every thing from my other application.
    This my be a hard solution but I don't no any others.

  • Unable to access SD Card / External storage from Flash builder / air app in android KitKat.

    Hi
    We are using Adobe Flash builder 4.7 to create an Android app for Andoid Kit kat platform.
    getDirectoryListing() function returns only one folder of SD card i.e. LOST.DIR. It does not return any other directory or file of the SD card.
    Regards
    Sachin

    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                            xmlns:s="library://ns.adobe.com/flex/spark"
                            xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:local="*"
                            width="600" height="600">
         <fx:Declarations>
             <!-- Place non-visual elements (e.g., services, value objects) here -->
         </fx:Declarations>
         <mx:Label text="Hello World"/>
    </s:Application>

  • File System issues in Flash Builder 4.7

    We recently upgraded from Flash Builder 4.0 (and in one case, Flash Builder 4.5) to Flash Builder 4.7. We are using Team Foundation Server for collaboration. We've been having a number of issues, mostly with our file system:
    After downloading a library from TFS, this library will sometimes disappear after downloading another library from TFS.
    Also, after removing an association to a library, that library may disappear.
    When adding additional libraries to source paths, we often find that the library is not acknowledged (errors when trying to use a member of that package)
    After fixing some compiler errors reported in the source code, the Problems window does not always reflect this.
    The compiler error icons in the left column do not always match the line of code it is next to.
    Any experience or resolutions for these issues would be much appreciated.

    Hi Blake,
    In another page (http://forums.adobe.com/thread/1056583), Adobe states that it will be possible to download 4.6 in alternative to 4.7, to still have the Design View. However, I have not seen such possibility yet.
    I will not say that "real programmers don't use design mode". They do, if it works fine.
    However, the Design View was not very useful for mobile projects, if you wanted to create an interface which, at run time, adapts to different screen estates.
    It was very good to draw an initial mock-up, but only the simulator (and the device) can say how the app really looks like (if you want to know more, please have a look here: http://aliencoding.com/2013/02/22/adobe-flash-builder-4-7-has-no-design-view-is-it-blasphe my-no-but-the-software-contains-some-other-blasphemous-aspects/).
    If you develop for desktop, then I agree the Design View lack is a real drag. I think Adobe should at least lower the price of the program, now that it's been scaled down for (I think) copyright issues (the Design mode relies on Flash professional components that was not donated to Apache).
    I love this platform because it really saved my butt in cases of real fast devployment, BUT NOW it lacks support for Windows 8 that PhoneGap has...
    Can we say... it is a legacy framework by now? 

  • 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

  • Flash builder 4.7 upgrade issue from Flash builder 4.5 (key is not valid)

    Hi,
          We (Company) are buying Adobe products more than 6-7 years now. We bought the Flash builder premium 4.5 and Flash builder premium 4.5 for PHP volume licence. Now flash builder 4.7 should be complementary upgrade for us. But when we are using Flash builder 4.7 trial version and adding serial number (Flash builder 4.5 serial number), it's just not working and showing a error "key is not valid".
    I chat with Adobe customer care 4 different people, they end up saying that let us transfer you to volume licence department and then chat ended. No more chat messages, I checked more than one hour and still no message.
    Then I called they, it took 15 mins to connect with customer care. I picked the "upgrade" option from phone menu and then connected with a guy. After listening complete case he forwarded my call to Volume licence executive and the volume licence executive transferred it to some other guy and the other guy redirect it to some specialized person. So total 4 guys. The last guy (specialized) name was Rohit.
    This guy Rohit asked me, did I buy a customer support programme (some product about $2.nn.00 )? I said no, we bought volume licenses for Flash builder premium 4.5 ( about $4000.00 ****). He said, sorry sir I can not help you in this, but I can provide you an e-mail address and you can report your concern there. I already passed my 1.5 hour in this conversation. I said okie. He gave me a case number and told me that he will send a email mentioning that email address as per my request I disconnect the phone.
    I never get that email address.
    Can some one suggest me what to do next. My case number is : 209-788-274.
    My email is: [email protected]
    Thanks,
    Amitabh Arya

    I have the same problem, and i have send request complementary upgrade (Adobe® Flash® Builder® 4.7 Complimentary Upgrade), and only received a Acrobat change licensed...
    I´m working with 4.7 Beta the last mounths, and now all the days have to see "please enter your license". So one problem that you can jump with money (if you have that money..), isn´t a problem. Like a i have license from flex 3, upgrade to flex 4, and upgrade to flex 4.5, i´m going to take de upgrade from 4 standard to 4.7 standard (47,97 euros), and not waste my time and money on calls. So yes, I'll see adobe with another eyes...
    Best regards,
    José Ramón León

  • Install Acrobat Portfolio SDK and plugins in your Flash Builder programming environment

    Hello, Experts
        how would I go about introducing Acrobat Portfolio SDK and plugins to the Flash Builder programming environment ?
    -Alex

    https://learn.adobe.com/wiki/display/PDFNAV/Installing+Acrobat+Portfolios+SDK

  • Transition from my firefox extension to a Flash Builder desktop app

    Trying to make a slow transistion from my firefox extension to a Flash Builder desktop app.
    Okay i'm not familiar on how to go about this I have js code that lets my app sync it self with the lates build it looks for a new version number which is in a txt file. Inside the txt file I have 0.0.0 so evertime I change the version number to 0.0.1. The app checks for new updates and sees the txt file has a new version number and start to pull in the zip file and extrudes the zip into the directory.
    I can't get my head around on how to modify this code ["@mozilla.org/extensions/manager;1"].getService
    to look in the root directory of my Flash Builder app.
    function Xcalibur_Sync(){
        document.documentElement.getButton("accept").disabled = true;
        var Cc = Components.classes;
        var Ci = Components.interfaces;
        var url = xcaliburGetUnicharPref("extensions.xcalibur.downloadurl");
        var Step1 = document.getElementById("xcalStep1");
        var Step1done = document.getElementById("xcalStep1Done");
        var Step2 = document.getElementById("xcalStep2");
        var Step2done = document.getElementById("xcalStep2Done");
        var Step3 = document.getElementById("xcalStep3");
        var Step3done = document.getElementById("xcalStep3Done");
        var Step4 = document.getElementById("xcalStep4");
        var Step4done = document.getElementById("xcalStep4Done");
        var xcalSyncDone = document.getElementById("xcalSyncDone");
        var progressMeter = document.getElementById("xcalProgressMeter");
        var progressPct = document.getElementById("xcalProgressPct");
      // Get Xcalibur version and location
        var GUID = "[email protected]"
        var gExtensionManager = Cc["@mozilla.org/extensions/manager;1"].getService(Ci.nsIExtensionManager);
      //var currentVersion = gExtensionManager.getItemForID(GUID).version;
        var currentVersion = xcaliburPrefs.getCharPref("extensions.xcalibur.installedversion");
        var xcaliburdir = gExtensionManager.getInstallLocation(GUID).getItemLocation(GUID);
        var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
        file.initWithPath(xcaliburdir.path);
        //Step 1 - See if an update is available
        Step1.setAttribute("hidden", "false");
        var req = new XMLHttpRequest();
        req.open('GET', url+"CRV.txt", false);
        try{
            req.send(null);
        }catch(e){
            alert("Cannot get update information from "+url+"CRV.txt\n"+e.toString()+"\n\nSync aborted ...");
            window.close();
            return false;
        }//try
        if(req.status == 200){
            var CRV = req.responseText;
    Any Ideas?
    Thanks,
    Ish

    Have you taken a look at the documentation on updating AIR applications?
    http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff2. html
    Or is it something else you wish to do? You can access the directory where your app is installed by looking at File.applicationDirectory and you can hit a URL by using URLRequest.
    -Anirudh

  • Upgraded to Mac OSX Lion, have an issue with Flash Builder 4.5.1 and Flex SDK 3.2

    Howdy, I upgraded my mac yesterday to 10.7, and have run into an interesting problem.
    I was using Flex Builder 3 before, using Flex SDK 3.2. After upgrading, I found that Flex Builder 3 is not compatible with Lion anymore, so I had to upgrade to Flash Builder 4.5.
    This is fine, I just figured I would add the Flex 3.2 sdk, which I did. However, after adding my project to the workbench for Flash Builder 4.5, I see the following error:
    http://cl.ly/3J3W0E22402G2I1L2U1Q
    However, as far as I can tell, the following two screenshots mean I have installed the Flex 3.2 sdk:
    http://cl.ly/1S0l1m2u1Z0z053Y3U29
    http://cl.ly/3c3k2B161K1d1y2H332P
    Does anyone know if this is even possible to do? I need to get back into development ASAP. If I can get Flex 3.2 SDK working in this environment, I am pretty sure I will be good to go.
    Thanks so much!
    Andrew

    I can't help you with your problem, but maybe this is a good start:
    http://kb2.adobe.com/cps/905/cpsid_90508.html#main_Flash_Builder
    ..... About that... have you encountered any other issue when using FB 4.5.1 with OS X 10.7.0?

  • Unable to install ipa to iphone5s and ipad retina by Flash Builder 4.6 using latest Flex sdk 4.13

    I am using Apache Flex 4.13 FP11.1 AIR14.0 for my Flash Builder 4.6 in my windows 7. attatched is the code. I am using provisining profile and my iphone5 and ipad retina UDID is added in that. But exported application via flash builder for ios is not installing in my ipad retina display and iphone5. I including following default images.
    [email protected]
    Default-Landscape.png
    [email protected]
    Default-Portrait.png
    [email protected]
    Default.png
    [email protected]
    my test-app.xml files contents is as follows.
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/14.0">
      <id>com.miracle.Saraplayer</id>
      <filename>Sara Player</filename>
      <!-- The name that is displayed in the AIR application installer.
      May have multiple values for each language. See samples or xsd schema file. Optional. -->
      <name>
      <text xml:lang="en">Sara Player</text>
      <text xml:lang="zh">Sara Player</text>
      <text xml:lang="cs">Sara Player</text>
      <text xml:lang="nl">Sara Player</text>
      <text xml:lang="fr">Sara Player</text>
      <text xml:lang="de">Sara Player</text>
      <text xml:lang="it">Sara Player</text>
      <text xml:lang="ja">Sara Player</text>
      <text xml:lang="ko">Sara Player</text>
      <text xml:lang="pl">Sara Player</text>
      <text xml:lang="pt">Sara Player</text>
      <text xml:lang="ru">Sara Player</text>
      <text xml:lang="es">Sara Player</text>
      <text xml:lang="sv">Sara Player</text>
      <text xml:lang="tr">Sara Player</text>
      </name>
      <customUpdateUI>false</customUpdateUI>
      <supportedLanguages>en zh cs nl fr de it ja ko pl pt ru es sv tr</supportedLanguages>
      <versionNumber>0.0.0</versionNumber>
      <versionLabel>One</versionLabel>
      <description>Nothing here now</description>
      <!-- Settings for the application's initial window. Required. -->
      <initialWindow>
      <!-- The main SWF or HTML file of the application. Required. -->
      <!-- Note: In Flash Builder, the SWF reference is set automatically. -->
      <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
            <aspectRatio>portrait</aspectRatio>
            <renderMode>auto</renderMode>
      <autoOrients>false</autoOrients>
            <fullScreen>true</fullScreen>
            <visible>true</visible>
            <softKeyboardBehavior>none</softKeyboardBehavior>
        </initialWindow>
      <!-- The icon the system uses for the application. For at least one resolution, specify the path to a PNG file included in the AIR package. Optional. -->
      <icon>
      <image16x16>_icons/16.png</image16x16>
      <image32x32>_icons/32.png</image32x32>
      <image36x36>_icons/36.png</image36x36>
      <image128x128>_icons/128.png</image128x128>
         <image29x29>_icons/Icon-Small.png</image29x29>
         <image48x48>_icons/48.png</image48x48>
         <image57x57>_icons/Icon.png</image57x57>
         <image72x72>_icons/Icon-72.png</image72x72>
         <image114x114>_icons/[email protected]</image114x114>
         <image512x512>_icons/iTunesArtwork.png</image512x512>
         <image50x50>_icons/Icon-Small-50.png</image50x50>
         <image58x58>_icons/[email protected]</image58x58>
         <image100x100>_icons/[email protected]</image100x100>
         <image144x144>_icons/[email protected]</image144x144>
         <image1024x1024>_icons/[email protected]</image1024x1024>
      </icon>
      <!-- Whether the application can be launched when the user clicks a link in a web browser.
      Optional. Default false. -->
      <allowBrowserInvocation>true</allowBrowserInvocation>
        <!-- iOS specific capabilities -->
      <iPhone>
            <InfoAdditions><![CDATA[
      <key>UIDeviceFamily</key>
      <array>
      <string>1</string>
      <string>2</string>
      </array>
      <key>UIStatusBarStyle</key>
                <string>UIStatusBarStyleBlackOpaque</string>
                <key>UIRequiresPersistentWiFi</key>
                <string>YES</string>
      ]]></InfoAdditions>
      <Entitlements>
             <![CDATA[
                 <key>aps-environment</key>
                 <string>development</string>
             ]]>
         </Entitlements>
            <requestedDisplayResolution>high</requestedDisplayResolution>
        </iPhone>
    </application>
    The problem is that when i sync it via itunes. it shows Waiting... then it shows progress for installing. when i click the app icon in device it shows Installing... as shown in these images but never shows finished process.
    Dropbox - 1.jpg
    Dropbox - 2.jpg
    Dropbox - 3.jpg
    source: Dropbox - test.fxp
    i am a bit confused and project is stuck. i am helpless now.

    Even I am facing almost same issue
    Problem installing Adhoc version to iPhone and iPad - Development Environment Is - Adobe Flash CS6

  • Flash builder mobile app hangs on Realease Build after air 3.1 (3.2 - 3.8) for IOS devices

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

    The app stoped working after air 3.1 on IOS devices...Its is a Flex/actionscript mobile project...as of May 1st apple forced us to use newer sdk so i updated to air 3.8 and have tried every version since 3.1...the app only works perfectly in release build from air 3.1...on air 3.8 debug on device works perfectly non-debug run on device crashes with sigbus or sig 11 ...Ive used xcode console and device logs and they have not been helpful...since they reference post compiled native code which i dont have acces to i have tried every fix on the web. Ive been trying to figure this out for days..Does anyone have any insight on this issue.
    Curently Using:
    Flash Builder 4.7
    air 3.8 beta
    Compiler options:
    -locale en_US
    -swf-version=21
    -omit-trace-statements=false
    -keep-as3-metadata+=Inject

  • Flash Builder AIR version

    I have installed the Adobe Creative Cloud and I have installed Adobe Flash Builder 4.7 (64 Bit). It seems that the latest, stable, version of the Adobe AIR SDK is 16.0. However, the Flash Builder that installs from the Creative Cloud installs version 3.1 of the AIR SDK. Why is this? Part of my intent with purchasing the Creative Cloud was to be up-to-date with the latest applications and libraries. This seems like a severe oversight at best, or a poor decision. This is 2015. That SDK is over 4 years old. Why doesn't  the latest builder ship with the latest libraries?

    Moving this discussion to the Flash Builder 4.7 forum.

  • Help please? Static audio, Crashes, ActionScript Errors and more issues with Flash Player 16

    So, this is the first time I'm posting in here and I'm sorry if I mess up or smth.
    Anyway, this is what happened:
    - Firefox tells me Flash Player 15 is vulnerable
    - I update to the newest version
    - After the update I run into several things that are highly annoying.
    First of all:
    - I can't watch any livestreams anymore, neither on picarto nor on twitch. The video keeps loading and buffering, then works for a second or two and then goes back to buffering OR alternatively the video would stop whilst the sound continues or vice versa. (My wifi connection is super fast and I never had any problems until the update)
    - On youtube videos only load for a second or two, then the audio vanishes and the video crashes. (Never had that issue before, EVER)
    - The audio is incredibly wonky, aka, depending on the bass or sounds I hear static noises and weird sounds. (This only happens on videos that require flash, the sound is fine when playing CDs )
    - When watching videos and pausing it or going back a few seconds to rewatch something, the audio suddenly is completely gone.
    - Flash player crashes A LOT
    EDIT: Another Issue appeared:
    - When watchign videos using the Blip player (used by some websites) I get ActionScript errors which then result in crashes
    I'm using:
    Packard Bell EasyNoteLS
    Windows 7 Home Premium
    Firefox 34.0.5
    Adobe/Shockwave Flash 16.0.0.235
    What I've tried to do:
    - revert back to an older version of Flash (but it kept telling me to update so I gave up on it)
    - Try to enable "hardware accelaration" BUT, when right clicking on the Flash Symbol on Adobe's site FF freezes and tells me that Flash player crashed
    - Found out that I already have hardware accelaration enabled and it still keeps crashing
    - I deleted all of its local cache
    - downloaded and installed the debug version
    But none of it helped in the slightest.
    I really hope someone can help me fix this OR that adobe soon comes with a patch/update that fixes all these things ;_____;
    Thanks for reading and helping!

    Just to let you know, I don't tend to send all reports but here are a few from within the last week:
    [@ hang | WaitForMultipleObjectsEx | RealMsgWaitForMultipleObjectsEx | CCliModalLoop::BlockFn(void**, unsigned long, uns…
    https://crash-stats.mozilla.com/report/index/8f9d816a-8fa9-475a-9b6c-b660a2150109
    https://crash-stats.mozilla.com/report/index/a415ab2a-1321-4056-b263-83c212150109
    I tend to submit crash reports most of the times lately but yeah--
    Also, someting that really bugs me are these Actionscript errors because I can't upload a crash report for those--
    (they are more rare now but still happen occasionally)
    EDIT: Added photo of one of the Actionscript Errors when trying to play videos using the blip-player

  • Captivate and Chrome issues

    I'd like to return to the discussion about problems with Google Chrome. My Captivate 7 eLearning starts to play (from Adobe Connect) and then virtually closes itself out and disappears during the second screen. Is there particular issues with Captivate and Google Chrome? My co-workers also cannot run Captivate eLearning on Chrome, while things are fine on Firefox or Safari. Is this a general issue with others, and if so, what can be done about it?

    Perhaps it's some setting that needs to be clicked? Everyone on my team has problems with the eLearning playing in Google Chrome, while Firefox and Safari are no problem at all. The file literally closed on it's own for me. Poof! Gone! While playing in Google Chrome.
    I am using version 7.0.1.237. This is not a new problem for us. Google Chrome has always been problematic. I should also say that it makes no difference if the eLearning is being viewed on a Mac or on a PC. As long as it's playing in Google Chrome, it either won't play for long or it just stalls out.
    Thank you for your help.

  • Limit record and replay when use flash build 4 premium.

    I am trying flex automation in our company via iTest. the product is developed and built by flash builder 4 premium(not the trial version).
    There is a prompt like ""License not present. With the trial verison only limited replays/record are allowed" when I record/replay the tests.
    Perhttp://forums.adobe.com/message/251183#251183, it is caused by the trial version of Flash builder. But actually we do use the flash build4 premium to compile the application.
    Anyone got this problem? Can you provide some input this? thanks a lot.

    Deeptika,
    One more thing need your confirmation. If  I got following picture in Deactivation page, it means the FB4 premium is with license, right?
    I clicked suspend activation in my PC and it showed suspending activation is successful. But when I re-start Flash builder, I still get following page. I am wondering if this flash builder is still with licensing.
    thanks,
    Lucas

Maybe you are looking for