Flash error from Captivated swf files

I need to load swf files made in Captivate into a Flash file. Everything has gone smoothly except for a Multiple Choice quiz swf which shows this error in Flash:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
          at com.adobe.captivate.main::cpSoundHandler/com.adobe.captivate.main::getSoundInfo()
          at com.adobe.captivate.main::rdPacemaker/pace2()
          at com.adobe.captivate.main::cpMovieController/com.adobe.captivate.main:cpMovieController::m ovieonEnterFrame()
The quiz can still be taken even if there is an error but when the main swf file is viewed, the error pops out and has to be dismissed. Is there a fix for this? Any help would be appreciated!

loadMovie() is the best option if you want the external swfs
to appear in the same browser window as your menu. you need a
target movieclip into which to load the external swfs (or use
loadMovieNum() ).

Similar Messages

  • Error #2136: The SWF file

    I am trying to learn how to use classes.The book i am using gave me this example.
    In Vechile.as
    package{
                import flash.display.MovieClip;
                import flash.events.Event;
                public class Vehicle extends MovieClip{
                            public var _gasMileage:Number;
                            public var _fuelAvailable:Number;
                            public var _milesTraveled:Number =0;
                            public var _go:Boolean;
                            public function Vehicle(mpg:Number=21, fuel:Number=18.5){
                                        _gasMileage=mpg;
                                        _fuelAvailable = fuel;
                                        this.addEventListener(Event.ENTER_FRAME, onLoop, false,
                                        0, true);
                public function onLoop (evt:Event):void{
                            if (_go){
                                        _fuelAvailable--;
                                        _milesTraveled+=_gasMileage;
                                        if (_fuelAvailable < 1){
                                                    this.removeEventListener(Event.ENTER_FRAME,
                                                    onLoop);
                                        trace(this, _milesTraveled,_fuelAvailable);
                                        this.x=_milesTraveled;
                public function go():void{
                            _go = true;
    In the main.fla
    In frame 1
    var vehicle:Vehicle = new Vehicle(21,18.5);
    addChild(vehicle);
    vehicle.go();
    when I compile it gives an output error.
    Error #2136: The SWF file file:///C|/Users/Ravenwind/Documents/Main.swf contains invalid data.
                    at Vehicle/frame1()
    I am stumped

    " I then assign Vehicle to document class box in the property box" Do not assign the Vehicle as the document class... remove it from there. 
    In the main file, if you didn't already create one, create a movieclip symbol (just draw a shape in it for now).  Right click the symbol in the library and select the Linkage option.   In the interface that appears, select the option to Export for Actionscript, and assign it the Class name "Vehicle" in the field labeled "Class"
    Make sure you save the Vehicle.as file after you put the code into it and have that file in the same folder as your Main.fla file.
    If you do the things I just described you should see an instance of the movieclip moving across the stage when you run the file.

  • Error while importing swf file in to Crystal Xcelsius Designer 4.5

    help me...., Error while importing swf file in to Crystal Xcelsius Designer 4.5

    I read in the book called "CRYSTAL XCELSIUS for DUMMIES" on page 243 under topic called Nesting a Dashboard within another Dashboard.
    sorry i used the wrong word embed, here i am importing the swf using image component.
    My requirement is somethis like this parent child dependency menu.
    eg: i have to two tabs 1)alphabets 2) Numerics  First levet menu
    if you click alphabets tab then the following menu A/B/C/D/..... Z i have diff charts.. under each alphabet.
    If you click numberic tab then the follwing menu should one/two/three/.......ten  here also i have diff charts under number
    in over to avoid complexity in dynamic visibility i divided the into 3 dashboards.  1- alphabets 2- number and 3 -importing both swfs.. everything works fine except first tab and last tab under alphabets and numerics.
    If some one help me with some alernative ... would be great.
    Thanks

  • Component Slider not working when loaded from another swf file

    I have a simple Flash application that uses a component Slider to increase or decrease the size of the text in a TextArea (ta). It works perfectly fine on its own, however, when I try to load the same swf file from another application, I get the following error...
    ReferenceError: Error #1069: Property fl.managers:IFocusManager::form not found
    on fl.managers.FocusManager and there is no default value.
    at fl.controls::Slider/thumbPressHandler()
    Code...
    import fl.events.*;
    import flash.text.TextFormat;
    ta.text = "Lorem ipsum dolor sit amet";
    var tf:TextFormat = new TextFormat();
    tf.color = 0xCCCCCC;
    tf.font = "Trebuchet MS";
    tf.size = 12;
    slider.addEventListener(SliderEvent.THUMB_DRAG, sliderChange);
    style();
    function style():void
        ta.setStyle("textFormat", tf);
    function sliderChange(e:SliderEvent):void
        tf.size = slider.value;
        ta.setStyle("textFormat", tf);
    Could the containing swf file that I'm loading the slider swf file in anyway effect the slider application? I don't quite understand why it works on its own, but not when loaded from another app.

    add a slider component to the main (loading) swf's library.

  • Cross domain error while displaying .SWF files in  portal

    Hi Experts,
    i am working on EP ,
    i am trying to display a .swf file in a iview but that file is  giving an error as
    Add a cross domain policy file to the external data web server
    this swf file is retriving data from BI system.
    Please suggest !!
    i got a solution of putting a crossdoaim.xml file in root directory but thats not possible

    I think two urls will work for you:
    Xcelsius SWF with QaaWS through SSL: Cannot access external data
    http://livedocs.adobe.com/flex/3/html/help.html?content=security2_04.html

  • Targetting a div on a page from an .swf file

    Imagine I have an swf file on an html page.   Beneath it I have a div called "container".  I would like to hit a button in the flash file and have the contents of the container div change.  I've done a similar thing with frames or iframes in the past, but I'm thinking there is a way to tell flash what div I am targetting.  I would love to see the answer in AS3 since I'm trying to get myself away from many years of using AS2. 
    Thanks!

    use javascript to change your div contents and the flash externalinterface class to communicate between actionscript and javscript.

  • How can I publish my flash movie in one swf file in V.2

    Hi
    When I publish my movie to flash format , skin swf file is
    segregated from main movie swf file . How can I publish my movie
    only in one swf file ? I want to merge skin and main movie files
    together in one swf file .

    Hi Corona,
    The screen size is whatever you captured or specified during
    the recording or new movie setup process. This will cause the
    playback control to be placed "on top of" some portion of the
    captured background, but there are two ways around that problem.
    1) When you set the red recording area before recording, drag
    the bottom of the recording area downward about 35 pixels below the
    application window (assuming you are capturing an area that
    includes a "bottom" or even an application window - grin). For this
    to work, it is best if you do your recording against a
    solid-one-colored desktop background, so the "extra" area at the
    bottom doesn't include desktop images that you don't want in the
    capture (even though that area will not be visible in the end ...)
    OR...
    2) Use the Project > Resize Project dialog to increase the
    palette size on the bottom, taking care to leave the original movie
    the same size. This will effectively do the same thing as
    Suggestion #1, create a "blank" area at the bottom of the movie on
    which there is room to mount the playback control bar.
    Best of luck, Corona, and omid02. Hope this helps, in
    conjunction with the advice that Rick has already offered.
    .

  • Cutting a part from a swf file

    Hi,
    I need to cut the last few seconds from a self-made swf file.
    I do not have the fla file anymore, or I would do it in flash. Is
    there a program that allows me to load the swf file, cut a few
    seconds from it, and then save it as swf file again so that it runs
    without the deleted scene? Preferably I'd do it in Flash itself,
    but I don't think I can (right?) . Alternatively, is there a
    freeware option (PC?)
    Thanks,
    Rogier, Rotterdam

    Hi,
    You can decompile the SWF using any SWF decompiler, there are
    many to search for on google. It is just to risky because most of
    them does not decompile the file correctly.

  • How can I control a button from one swf file to another swf file?

    Hi,
    I have a main.swf file. From that file I am accessing the external.swf file which is an external file.
    Now, how can I write code on my main.swf file for the button which is on my external.swf file?
    Activities.MainPanel.close_btn.addEventListener(MouseEvent.CLICK, btnClickClose);
    Activities.MainPanel.close_btn (This buttons is actually on external.swf file, but I want to write code on main.swf file to execute it on external.swf) how can I control one swf button on other swf file?
    Thanks.

    Here's some example code that you should be able to adapt to your needs.
    // create a new loader object instance...
    var loader:Loader = new Loader();
    // make the download request...
    var request:URLRequest = new URLRequest("external.swf");
    // add a complete event listener to the loader
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
    // start the actual loading process...
    loader.load(request);
    // create a new empty movieClip instance, you will put the loaded movie into this movieClip once its loaded
    var externalMovie:MovieClip;
    // this function is called when the download has finished and the file is ready to use...
    function completeHandler(event:Event):void {
       // set the contents of the loaded movie to the new empty movieClip...
               externalMovie = MovieClip(event.target.content);
       // add this new movie to the display list...
       addChild(externalMovie);
    Now you can refer to the loaded movie with the instance name "externalMovie". So if, for instance, you want to address a button in the loaded movie, you could write something like this on the main timeline:
    externalMovie.addEventListener(MouseEvent.CLICK, btnClickClose);
    function btnClickClose(event:MouseEvent):void {

  • [Flex SDK in Linux] Errors running a .swf file

    Hi! Trying to set up flash development on my linux machine. Using FDT in Eclipse. The version of Flex sdk I have is 4.6.0.23201-2.
    I have in the first place had problems running the project. It gets terminated instantly and I get this output in my terminal:
    [Info] Listening to port 7935.
    Using Flex SDK 4.5 Debugger Adapter.
    [Info] Could not connect to the player, will try to connect for the next 72000 ms
    [Info] Listening to port 7935.
    [...etc etc...]
    [Info] Could not connect to the player, will try to connect for the next 8000 ms
    [Info] Listening to port 7935.
    [Info] Could not connect to the player, debug session stopped. Maybe you do not have the Debug Flash Player installed.
    Does "the Debug Flash Player" here mean Flex?
    And this is what happens when I run the .swf file that is compiled by FDT (Using Flex..), in Flex: http://justpaste.it/dlr3
    Any idea what could be the problem? Thanks!

    Hey Mark,
    Thanks for replying.  It's a standalone swf.  I'm still stuck on this issue.  It seems like it would be simple but it's baffling me.

  • Sound files not playing from inDesign SWF file

    Using Dropbox file transfer, I'm sending a colleague an inDesign project  as a SWF file - a flip book with audio. The files in Dropbox are the SWF Movie files, the HTML and the Resources folder. My colleague is trying upload these to his website. I presumed the sound files would go up via my colleagues FTP and Flash player would link to them. The sound files are functioning. Can anyone outline the procedure one should follow to get Flash to engage with this?   Is there a better locale fo this thread?

    That's what I thought too, but all files are there.  I used to have numerous files (6-8) in a dropbox folder with all parts: cptx, htm, swf, js and the html would play fine by just clicking on the link.  Once it started not working I made individual folders with each part of the file and included them into each seperate folder.  Still not loading/opening.  This is happening to everyone I send the link to.  I've tried opening it in different browsers too.
    Here is a link if anyone wants to see what happens:  https://www.dropbox.com/s/460vq2nqu4dbwf1/courseconnect_training_2013.htm
    Here is how I am including each part of the file in the actual folder:
    https://www.dropbox.com/sh/sdfjdeud8jro1v1/SdZMzJHXBo

  • Flash:  Video--  Flvplayback--using SWF file in dreamweaver.

    I have placed a video into flash cs3 and made the swf file
    using the flvplayback, and i have put the swf or published it
    ...putting it in dreamweaver, I can see the video and hear the
    sounds when I preview in firefox or iexplore however once I put in
    my server I cannot see anything or hear anything. It does not show
    up,. Can anyone help me with this problem. I just took the SWF file
    and uploaded it through dreamweaver using the insert, media,, flash
    and placed in my template.

    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','1000','height','400','src','descarga
    total1','quality','high','pluginspage','
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','descarga
    total1' ); //end AC code
    </script><noscript><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
    width="1000" height="400">
    <param name="movie" value="descarga total1.swf" />
    <param name="quality" value="high" />
    <embed src="descarga total1.swf" quality="high"
    pluginspage="
    http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="1000"
    height="400"></embed>
    </object>

  • Distiller error from Indesign EPS-file

    I cannot generate a pdf in distiller pro 9 from a EPS generated by Indesign CS4. The EPS is quite large (2.32GB) both in filesize as in dimension (177cm wide by 40cm)
    Can anybody help me out here?
    thanks
    Wim
    The errorlog is
    Distilling: pan01.eps
    Start Time: vrijdag, 29 mei 2009 at 10:30
    Source: /Users/wimhouse/Desktop/pan01.eps
    Destination: /Users/wimhouse/Desktop/pan01.pdf
    Adobe PDF Settings: /Library/Application Support/Adobe/Adobe PDF/Settings/Smallest File Size.joboptions
    %%[ Error: syntaxerror; OffendingCommand: --nostringval-- ]%%
    Stack:
    /filter_indexed_devn
    false
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%
    Distill Time: 0 seconds (00:00:00)
    **** End of Job ****

    Usually the nostringval error points to a font.  You might try replacing any fonts that appear in the EPS file.  The syntaxerror portion refers to possible data corruption but could also point to missing font elements.

  • Flash Media Playback configurator swf file size

    Hello,
    I just start using the Flash Media Playback configurator : http://www.osmf.org/configurator/fmp/ and I am very surprised that the size of the swf file is less than 2KB. The swf file used is http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf
    How did you compile it to make it so small ? It is based on OSMF ?
    Usually the swf file's size of a flash video player based on OSMF seems to be greater. For example the swf file used on page http://www.osmf.org/ (http://www.osmf.org/strobe1_0/StrobeMediaPlayback.swf) is about 193KB or on page http://osmf.org/dev/1.6gm/setup.html (http://osmf.org/dev/1.6gm/StrobeMediaPlayback.swf) is about 422KB.
    Thanks in advance.
    Thomas

    Hi,
    Thanks for the quick reply Gelu. I emptied the cache of my web browser and had a look at all http requests (with Charles proxy and Firebug) sent when loading the page http://www.osmf.org/configurator/fmp/. The only .swf loaded I can see is http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf.
    Is there another cache involved ?
    Thanks,
    Thomas

  • Can Adobe Interactive PDFs play sound from imported .swf files

    Hello.
    I'm really really stuck, can anyone help? I'm on 10.8.3 using In Design CS6
    I am trying to get an interactive PDF with imported .sfw files with sound to play ....the sound. Preview is fine in the working file - but as per the previous query on thishttp://forums.adobe.com/message/4772574 - The interactive PDF loses the sound. I tried installing ezPDF - but it's an app and I don't know how to install it to work (I think it's meant for  iPADs). So...does anyone know if I can have an imported .swf file play when exported to an Interactive PDF and also work on an end users PC?...should I be able to install ezPDF reader on my MAC and get everything working?
    Any help would be good as this is day 3 having called Adobe on Day 1 which was fruitless.
    Thanks
    Ads

    Really hard to say without seeing the whole project, but my guess is that you have moved your exported SWF somewhere from it´s original location (where you exported it to) without moving Resources folder to same target location too... when you place video, audio or SWF to your layout, indesign does not embedd it to resulting SWF. Those files will be stored into a resources folder which always has to be at same root with exported SWF. Media files will be loaded dynamically from that folder at runtime.
    So you can guess what happens if that folder does not exist....

Maybe you are looking for

  • [b]how to use EJB QL for LIKE and ROWNUM[/b]

    Hi, i am using CMP EJB with OC4J server i face two problems in it when i make any query like select object(o) from Partymas o where o.stationCode like '?1' and o.rownum >='?2' and o.rownum <='?3' order by party_name then it shows error on rownum so i

  • Select_step problem in a dynamic Multiple RoadMap Step

    Hi everybody, I am working with a roadmap that dynamically assigns the number of steps from a data source assign to the multiple roadmap step. When I selected a step I am not being able to change the focus and yellow color to it. I already know which

  • Document Types and  No range

    Hi Gurus, i am new to SAP, please guide me in Configuring  document types and number ranges for PR, RFQ, PO, Quantity Contract, Value Contract and Scheduling Agreements with release. Thank is Advance Kapil

  • Looking for Captivate 508 Consultant

    Hello, I am looking to hire an adobe captivate consultant who knows how to optimize captive content to meet 508 requirements. Please contact me at [email protected] Thanks. Jeff

  • There is any ETA for Siri in Hebrew?

    There is any ETA for Siri in Hebrew?