Load a Captivate movie in a Flash movie

I'm trying to load a captivate 5.5 swf into flash, even with a simple script like:
import flash.display.MovieClip;
var request:URLRequest = new URLRequest("captivate.swf");
var cargar:Loader = new Loader()
cargar.load(request);
var mc:MovieClip = new MovieClip();
this.addChild(mc);
addChild(cargar);
I get an actionscript error:
ReferenceError: Error #1065: No se ha definido la variable pbcBtnTips_FRA.
at Aluminum_fla::MainTimeline/frame1()
ReferenceError: Error #1065: No se ha definido la variable pbcBtnTips_SPA.
at Localization/frame1()
This seems to be happen only to non-english Captivates, ie Spanish version.
Any ideas?

You could pause the Captivate project when you start to preload it by using the Captivate system variables. Then when your file has been loaded 100% you could resume it again by using a different system variable.
You can see a list of the various system variables here: http://www.cpguru.com/2009/04/28/system-variables-in-captivate-4-%e2%80%93-a-complete-list /
The relevant variables for you would be:
rdcmndPause = 1; (to pause the project)
rdcmndResume = 1; (to resume playback)
Naturally you need the instancename (where you load your Captivate movie into) infront of the variable name.
myLoaderContainer.rdcmndPause = 1;
/Michael

Similar Messages

  • Combining movies in one flash movie

    I have an assignment, teacher wants us to take all of our projects(5), add buttons to them, and put them into another Flash project, as a slideshow. She refuses to show us how to do this. I am at wits end. All she ever wants to show us is how to make a ball bounce. (she's in her 70's)

    Eureka! I've solved it so no need for help after all. The trick was to not select Frame Reordering when exporting from iMovie. Frame reordering was the culprit.
    Mark

  • Reusing/storing Loaded Content in a Movie - Cache in Flash

    Suppose you have a slideshow movie that loads content such as images or Flash movies itself and continually replaces content with new images or movies as a viewer browses through content. Is there a way to store images or movies that have been loaded so that if the same content is selected they do not have to downloaded again? Presumably once content has been unloaded or something has ben loaded into the same level the data is wiped from memory and has to be downloaded if it is displayed again. How could content be stored in Flash or does the content stored in the browser cache take care of this?

    that happens by default (as long as the user has a browser cache enabled).

  • White boundary line around flash movie

    Hi,
    When I use a flash movie on an HTML page it all looks good in
    Mozilla Firefox. In IE on the other hand, it sucks, because when
    you move your move over the flash movie you see a white boundaty
    box. Which makes it all look very silly.
    How do I get rid of that?
    Thanks in advance for any help you might be able to give me.
    FatalDestiny

    uh oh - here we go again - duck and cover!!!!!
    If i had a nickel everytime this was asked in the past few
    months i would have....let's see - go here:
    http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
    (the google archive of the forum)
    and search for "active content".
    A total of 362 (and rising everyday) returns.
    Multiply that by $.5
    I think I would end up with $181. (is my math correct?)
    Anyway you get the point. Search the forums first - it was
    just asked and answered at least twice
    just yesterday. It unfortunately will be asked again today a
    couple more times, and then tomorrow
    and the next day and....
    Most of us are simply too tired to even respond to this
    anymore but we understand that searching for
    the right terminology is often hard to discern.
    But here's the url that has been posted here a couple hundred
    times already - guess it can't hurt to
    paste it again :)
    http://activecontent.blogspot.com
    If you search google for "active content" you will realize
    just how popular this little bit of tech
    news was/has been over the last 6 months - been all over
    blogs and news sites for a while.
    There are methods to combat this on this site (yes,
    adobe.com) and all you have to do is search
    adobe to find:
    http://www.adobe.com/devnet/activecontent/
    An entire section devoted to this issue.
    When you hover over any active content in IE you will see
    this:
    http://www.mudbubble.com/staging/ac.jpg
    See the little tool tip instructing you what to do? If you
    google that ("Click to activate and use
    this control" or similar), you will find 2,050,000 returns
    (wow)
    ~~~~~~~~~~~~~~~~
    --> Adobe Certified Expert
    --> www.mudbubble.com
    --> www.keyframer.com
    ~~~~~~~~~~~~~~~~
    Wutacrock wrote:
    > apparently the thread is not in the general forum
    anymore. can anyone help with these white boundary. how can i get
    rid of them? i'm trying to make a website and i can't stand these
    boundaries.

  • Urgent: How to export a Director cast member - in this case it's a flash movie?

    Hi there,
    I've got a problem - of course, that's why I'm here.
    My problem is that in my Director (version 11.5) movie a flash movie is member of the cast list (sorry, I only know the German terms and hope totranslate correctly!). In it's properties there's no source-URL. So it must be "in" the Director film somehow.
    Unfortunately the original file went lost. Now I need to have this flash movie as a flash movie, not as a member/ cast. Is there any possibility to get the movie out of Director als a file?
    Thanks so much for your help!
    Kind regards
    Jana

    Hi Sean,
    thanks for that hint! I downloaded and extracted the Xtra into the Director Xtra folder. Then I tried to use the function "exportSWF", but it told me the handler is undefined.
    Unfortunately I'm a real Lingo beginner and don't know anything about Xtra usage.
    I used the following code: 
    m = member("Player")
    exportSWF( m, "/output.swf", TRUE )
    I'm sure that line 1 gives me the flash movie as a member, because it is used like that in the code already.
    I thought with the Xtra I can simply use the exportSWF-funcion. What else is to do to use it??
    Thanks in advance!
    Jana

  • Looping flash movie

    I have created a flash website... on the first page i want to
    enter a simple motion tween movie( i imported it)... i can do that
    but it keeps looping... i unchecked Loop in html and added stop();
    in the last keyframe but still the movie loops any ideas how to
    stop this??? I am using flash 8
    ps im inserting a flash movie within a flash movie(this
    should not make a diference)
    here is what i have found.... i am trying to replace an image
    in a flash website with a movie... it continuously loops it appears
    you need to add the Stop(); asctionscript wilthin the website and
    not the move (.swf) imported.... thats where the problem lies is it
    not possible to add Stop(); in the movie itself???? I have tried
    this and it does not work???
    Puzzled

    If the offending loop is from the main timeline of the
    imported swf and on the last keyframe of that timeline you entered
    a stop(); and that didn't help maybe you should call an exorcist.
    Or maybe there is another timeline in the imported swf that's
    looping like a MovieClip?

  • Link flash movies to text

    I am trying to linking each FLV movie imported into the Library to a word on my Samples page.  Ex. Wedding linked to a wedding clip, School play linked to a school play clip.  Unfortunately, the add interaction button only allows me to select the first movie that was brought into the Samples page.
    How can I link multiple movies to one flash movie player?

    http://www.webdesigndev.com/flash/flash-catalyst-tutorial-101-creating-an-interactive-vide o-gallery-quickly-without-writing-any-code
    The link above shows how to link artwork to specific FLV videos.   It seems a little more difficult using only words.

  • Tracing Captivate 4 variables in Flash CS4 using AS3

    Hello. I've googled this 9 ways to Sunday and can't find an answer. I'm hoping one of you can help.
    I have a very simple Captivate 4 quiz with one question. I embed the Captivate SWF file in a Flash file, which plays fine. However I am struggling with tracing one of the Captivate variables in the Flash file using AS3.
    All I want is for Flash to read the Captivate variables so I can continue developing my quiz in Flash (building additional functionality Captivate does not provide).
    The variable I'm attempting to trace is cpInfoAuthor.
    I've attempted:
    trace(root.cpInfoAuthor);
    trace(root.movie.cpInfoAuthor);
    var cpAuthor = MovieClip(root).cpInfoAuthor;
    All of the above examples error out: TypeError: Error #1009: Cannot access a property or method of a null object reference.
    Captivate preferences are set to publish in AS3.
    Anyone with an explanation?
    Be splendid, Jodie.

    Hi Jodie,
    I'm not exactly 100% proficient in AS3 but to me it looks like your statements are wrong.
    Since you are loading your Captivate SWF into a Flash SWF then (root) actually refers to your Flash SWF. I guess that you are loading your Captivate SWF into a movieclip on your Flash stage and that movieclip has an instance name,
    You would therefore need to grab the variables like var cpAuthor = yourLoaderMovieClip.cpInfoAuthor;
    See if that doesn't do the trick for you.
    /Michael
    Visit my Captivate blog with tips & tricks, tutorials and Widgets.

  • Flash movie controlling Captivate navigation in an Aggregator project

    Hi everyone,
    I have a Flash movie which shows a Continue button after an interaction is completed by the user. This functionality prevents the user from clicking through the interaction slides so there is no captivate playbar or nav available. This Continue button works fine in advancing the Captivate movie that contains the Flash movie while published as an individual captivate file. However, when I take that published captivate movie and load it into an aggregator project, the communication of the cpCmndGotoSlide variable does not function properly. I'm using the following code in the Flash movie:
    // captivate access...
        var myRoot:MovieClip = MovieClip(root);
        var cptxMovie:MovieClip = MovieClip(myRoot.parent.root);
        var slide:String = cptxMovie.cpInfoCurrentSlide;   // get current slide for workaround below
    // Continue button handler...
    // cptxMovie.cpCmndNext = 1;  // wouldn't work at all
    var theNextSlide:Number = Number(slide) + 1;       // workaround for cpCmndNext not working
    cptxMovie.cpCmndGotoSlide = theNextSlide;
    Is this because I'm calling the root, and the root is the outermost parent (the aggregator movie) and I need to communicate with the immediate parent of the flash movie (the submodule captivate)?
    How can I access the intermediate captivate while it is in aggregator?
    This is an AS3 flash and captivate and I'm using Captivate 5.
    Thanks in advance!
    Brian

    Hi Tristan,
    Thanks for the reply and the great code!
    I tried it out and got the dynamic text field to display that it had found the main timeline, however, it still would not advance properly. Maybe I'm not doing something right with it. Here's how I had it:
    // captivate access...
    var cptxMovie:MovieClip = getParentWithProperty("cpCmndGotoSlide", this);
    var slide:String = cptxMovie.cpInfoCurrentSlide;
    function getParentWithProperty(propertyName:String, startFrom:DisplayObjectContainer):MovieClip {
              if (startFrom.hasOwnProperty(propertyName)) {
                        trace("Found the Captivate Main Timeline");
                        checkCode.text = "Found the Captivate Main Timeline";
                        return startFrom as MovieClip;
              else if (startFrom == stage) {
                        trace("Could not find the Captivate Main Timeline");
                        checkCode.text = "Could not find the Captivate Main Timeline";
                        return null;
              else {
                        return getParentWithProperty(propertyName, startFrom.parent);
    // advance button handler...
    function advance(e:Event):void {
              for (var i:uint=0; i < orangeCircleArray.length; i++) {
                        orangeCircleArray[j].removeEventListener(MouseEvent.ROLL_OVER, onRollover);
                        orangeCircleArray[j].removeEventListener(MouseEvent.ROLL_OUT, onRollout);
              var slideNum:Number = Number(slide);
              var theNextSlide:Number = slideNum + 1;
              cptxMovie.cpCmndGotoSlide = theNextSlide;
              btnContinue.removeEventListner(MouseEvent.CLICK, advance);
    Thanks! Brian

  • Making Captivate accessible when running in a Flash movie?

    Hi all,
    I need to run a Captivate movie in a Flash shell.  The Captivate movie, when run on its own, is highly accessible: the tab index finds all items on a slide, for instance.  However, when I load the Captivate movie into a Flash shell, the tabIndexing completely ignores the Captivate movie.  I've set the movie clip that holds the Captivate movie to tabChildren=true, that doesn't do the trick.
    Does anyone know how to get the focus manager to jump to elements in a Captivate movie when that movie is running in a Flash shell?  Thanks in advance!
    Joe

    one more question:
    when i render my movie out (its an irregular size) i now have two black bars on the right and left. i assume this is because i changes the pixel size to square. is there anyway to get rid of the bars or was this a snafu from the begining because i didnt have it set to squares?

  • Flash movie doesn't load properly in IE only

    I have a simple flash movie which transitions through text and photos. I have a preloader (AS3) on frame 1, which sends the playhead to frame 2, after the movie has loaded 100%. For some reason, in Internet Explorer, the preloader bar will load all the way, but fail to move the playhead to frame 2, so it'll just sit there, with the preload bar at 100%. However, this does not happen every time. For instance, right now, the flash movie will play when I initially go to the website, but when I click on another page, the same flash header (same swf on each page) will just show the preloader bar but will not play the rest of the movie. Reloading the page doesn't help. Closing the browser and reopening it doesn't help. Clearing the browser cache doesn't help either. So, the flash movie will play correctly on the first page of the website I go to (whether it be the home page or another page) but then when I go to any other page which has the flash movie, it won't play, just sits there with the preloader bar showing. And then when going back to the initial page I entered the site on, the flash movie no longer plays there, either. I haven't seen this problem in any other browser than Internet Explorer (6 and 7). I've checked in Firefox on Mac and PC and Safari on Mac. I'm using flash player 10.0.22.87 on my Mac and PC. The flash movie was made in Flash CS3, for flash player 9, actionscript 3 code.
    So, to see the problem, go here in Internet Explorer: http://demo.matthewpavkov.com/adairsolar. Wait for the movie to load and start playing. It works. Then, navigate to one of the other pages and you'll see that the same swf will not play. Navigate back to the home page, the swf does not play.
    Here is the preloader code:
    import flash.display.*;
    this.stop();
    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, PL_LOADING);
    function PL_LOADING(event:ProgressEvent):void {
        var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
        lbar.scaleX=pcent/100;
        lpc.text=int(pcent)+"%";
        if (pcent>=100) {
            this.gotoAndStop(2);
    Also, if I remove the preloader actionscript code, the flash movie plays correctly. You can see that here: http://demo.matthewpavkov.com/adairsolar/no-preload
    The .fla is available to anyone who wants to take a closer look.

    mjjp,
         In may just be that in IE, the ProgressEvent never fires -- because your content is already cached.  See what happens if you add the following new lines (very end of the code sample):
    this.stop();
    this.loaderInfo.addEventListener(
      ProgressEvent.PROGRESS, PL_LOADING
    function PL_LOADING(event:ProgressEvent):void {
      var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
      lbar.scaleX=pcent/100;
      lpc.text=int(pcent)+"%";
      if (pcent>=100) {
        this.gotoAndStop(2);
    if (this.loaderInfo.bytesLoaded >= this.loaderInfo.bytesTotal) {
      this.gotoAndStop(2);
         See what's going on?  This way, even of the ProgressEvent handler never fires, you're still comparing the bytesLoaded property against the bytesTotal property.
    David Stiller
    Adobe Community Expert
    Dev blog, http://www.quip.net/blog/
    "Luck is the residue of good design."

  • How can I get my Flash movie to load correctly in Internet Explorer?

    I loaded an swf into an html. It loads fine in Safari, Firefox and Opera. However, in Internet Explorer the swf covers up part of the copy. I tried everything with the css to get it to work, but it nothing has helped. Among other things, I tried changing the z-index in the css, but that doesn't do anything.  Is there a specific code I need to add to my html regarding the importing of the flash movie that would be specific to IE?

    This thread should be in either the Flash Pro forum or the Dreamweaver forum.
    This is for Flash Player and Flash Player related issues, not Flash or browser or HTML issues.

  • Flash movie not loading in IE 8....??

    Hi, ive made a flash site in Flash CS4  .The flash movie doesnt load either on my computer or on web server,  but only in IE 8 ??, in all other browsers(FF,Safari,opera) it works????
    Why does this happen?
    This is the page                       http://www.fragojo-nekretnine.com/
    and the code
    <script language="JavaScript" type="text/javascript">
        AC_FL_RunContent(
            'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
            'width', '1280',
            'height', '650',
            'src', 'index',
            'quality', 'high',
            'pluginspage', 'http://www.adobe.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'play', 'true',
            'loop', 'true',
            'scale', 'showall',
            'wmode', 'window',
            'devicefont', 'false',
            'id', 'index',
            'bgcolor', '#242424',
            'name', 'index',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'index',
            'salign', ''
            ); //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=10,0,0,0" width="1280" height="650" id="index" align="middle">
        <param name="allowScriptAccess" value="sameDomain" />
        <param name="allowFullScreen" value="false" />
        <param name="movie" value="index.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#242424" />    <embed src="index.swf" quality="high" bgcolor="#242424" width="1280" height="650" name="index" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
        </object>
    </noscript>
    </body>
    </html>
    Please help!!!
    Thanks

    www.micca.co.uk/1871productions/showreels.html
    If you try any in IE8, they stop half way and do not give a smooth stream.  I am wondering if I have to stream differently and not via the progressive download stream as I have??!

  • Loading a movie clip to Flash

    I have a huge movie clip to be imported, its pretty huge so I
    divided them to smaller pieces and tried to import, everything my
    PC gets hung and does not respond after import. What is the best
    method to import a single huge movie clip? Your help is
    appreciated.

    Problem Solved.
    To everyone that has experienced some version of this issue,
    whether it be in previewing a load progress bar, or having
    animation freeze on you while loading external movie files...
    In test mode in flash, whether you are doing a simple test
    movie or debugging, loading progress appears to not be threaded and
    will freeze you movie until the load is complete. if you preview
    this movie clip in a browser after publishing it, everything should
    look ok.
    I've read a lot of posts about this same topic. Macromedia
    (or shall i say Adobe), fix this issue in your next release. what a
    pain...seriously. debugging is useless if the movie doesn't even
    run the same.
    very much relieved,
    Al.

  • Need Your Help with Loading SWF into another Flash Movie!

    Hello,
    I have created TWO Flash movies. They work just fine
    individually, but I get problem when I put one into another one!
    The main Flash is a Menu and the second one if a Photo Album.
    The Menu is series of animation (Moving Objects) which finally
    comes into rest and create the menu. The photo album is another SWF
    file which is called with in the first Flash Movie (The Menu). The
    SWF file is loaded as follow into the Main Flash.
    MovieClip.prototype.drawRect = function(x, y, w, h) {
    this.beginFill(0xFF0000, 100);
    this.moveTo(0, 0);
    this.lineTo(0+w, 0);
    this.lineTo(0+w, 0+h);
    this.lineTo(0, 0+h);
    this.lineTo(0, 0);
    this.endFill();
    this._x = x;
    this._y = y;
    this.createEmptyMovieClip("mc6", 6);
    mc6.lineStyle (3, 0x000000, 100);
    mc6.drawRect(-77, -17, 20, 20);
    mc6._xscale = 100;
    mc6._yscale = 100;
    loadMovie("photoAlbum.swf", mc6);
    Problem arises when I click on the Play Button of the
    photoAlbum.swf (Photo Album) since the execution of the play button
    causes the Flash starts once again from the beginning of the entire
    Flash Movie (Beginning of the animation creating the menu) and it
    simply jumps into the Firm One of my Flash Movie.
    Could you tell me how I can isulate what is in layer 6 (Where
    the photoAlbum is loaded to) from the rest of my Flash Movie?
    I hope I managed to explain my problem. I would like to take
    this opportunity to thank you in advance for your help.
    Cheers,
    Babak

    Hello Anya,
    I have realized the problem arises from the Wait Function
    which causes the Photo Album to pause for a period of time (Two
    Seconds) once a Photo is fully displayed (I have Fade in/out Photo
    Album). I realized everything works OK once I remove the function
    and rather left the Photos to be flipped without any pausing (This
    is an Auto-loading Album which simply Flips the photos!).
    Here is the Wait Function which is causing all the trouble.
    function wait()
    stop();
    var myInterval = setInterval(function ()
    play();
    clearInterval(myInterval);
    }, 2000);
    Thank you so much for your help.
    Cheers,
    Babak

Maybe you are looking for

  • How to permanently stop Safari Webpage Preview Fetcher process?

    Since the Safari Webpage Preview Fetcher process takes up to 10% of my CPU on occasion and and it uses bandwidth and it's just dumping loads of images into ~/Library/Caches/com.apple.safari/Webpage Previews is there a way to permanently stop this pro

  • How to reference a user parameter in program unit

    I tried to define a user parameter in Oracle Report 6i and I could reference it (&p_where_clause) in the main query but I failed to reference it in one of the program units. Here is the logic: function CF_OTHER_COURSESFormula return Char is cnt      

  • Auto-populate form fields based on end user input?

    I'm currently attempting to create a new form that has a combo box "Locations" with various options.  What I'm looking to do is have another text field auto populate other fields related to that location (such as address, contact information) to save

  • What classes do I need to make this "if" statement?

    what classes do I use or how do write code that basically says: if ( the key typed was not enter) { I couldn't figure it out using the keylistener. Thanks in advance.

  • Magic mouse doesn't allow me to zoom in and out, just scroll

    just purchased imac and magic mouse, read allow instructions and how to use and have everything correct in settings but doesnt let me zoom in and out. tried holding control down and still nothing ?