Controlling Embedded Captivate SWFs

Hi:
I have a SWF (SWF A) that I'm loading into a movieclip
(Movieclip C)which is part of another SWF (SWF B). Basically, SWF B
functions as a player, with play and pause controls. These controls
control Movieclip C where the external SWF A is loaded into.
Normally, I have had no problem with this and it always
works. At run time, when you click the pause button on SWF B, a
stop() command is issued to Movieclip C, which stops the play of
the external movieclip (SWF A) loaded into it.
However, I did a screen capture with Captivate and published
it as a SWF. I loaded this SWF (SWF A) into Movieclip C in SWF B at
run time. However, clicking the controls on SWF I created has NO
EFFECT on the SWF I created in Captivate. It just keeps playing.
I guess all SWFs are NOT created equal. How can I make this
work?
By the way, I do not want to use the embedded controls that
come with Captivate.
Loren
“The only real mistake is the one from which we learn
nothing." - John Powell

Loren,
> Normally, I have had no problem with this and it
> always works.
Good.
> However, I did a screen capture with Captivate and
> published it as a SWF. I loaded this SWF (SWF A)
> into Movieclip C in SWF B at run time. However,
> clicking the controls on SWF I created has NO EFFECT
> on the SWF I created in Captivate.
I'll bet it does have an effect, but you just don't see the
effect
you're expecting.
> It just keeps playing.
> I guess all SWFs are NOT created equal. How can I
> make this work?
A SWF is a SWF is a SWF. They are all created equal, from a
certain
point of view. Flash Paper SWFs are just SWFs, at bottom,
even though they
have additional functionality. Captivate SWFs are also just
SWFs -- which
means they must adhere to the MovieClip class, all of whose
methods,
properties, and events are listed in the "MovieClip class"
entry of the
ActionScript 2.0 Language Reference.
It may be that Captivate nests its SWFs, so that you need to
adjust your
target when telling a given movie clip container what to do.
Would you show
the exact ActionScript you're using?
David
stiller (at) quip (dot) net
Dev essays:
http://www.quip.net/blog/
"Luck is the residue of good design."

Similar Messages

  • Jump to next slide in Powerpoint when embedded Captivate SWF

    Hi all,
    first of all, I am pretty new to the captivate forum, and searched a while without success, too many powerpoint to captivate issues but not the otherway around.
    I have included a Captivated Version 5 compiled SWF into Powerpoint and made it Full Screen. Is there anyway to create a button in captivate5 to send a command (maybe through javascript/ fscommand etc.) to exit the captivate movie and go to next slide in Powerpoint?
    As of now, all keys and mouseclicks are focussed on the swf and don't reach powerpoint.
    Any ideas?
    Best regards,
    Darius

    This is a detailed tutorial for controlling PowerPOinbt from any flash app. all the code for both flash as2 and powerpoint vba is shown. lket me know if you need more info:
    http://www.slidedynamic.com/support/forum/4-flash-in-powerpoint/38-control-powerpoint-from -flash-as2#38

  • Embedding Captivate movies (swfs) into Acrobat 8 3D

    I embedded a swf movie (from Captivate 3) into Acrobat 8 3-D,
    but it displays as a black rectangle in Acrobat 8 3D, and a blank
    white area in Adobe Reader 8. The movie does play, but I'm trying
    to figure out why, if I have the poster setting correctly in
    Acrobat, I get the black rectangle and not a graphic of the first
    slide of the movie. (I originally posted this on the Acrobat User
    Community but haven't received a response (
    http://www.acrobatusers.com/forums/aucbb/viewtopic.php?pid=3093).
    I purchased the Adobe Technical Communications Suite, if that makes
    any difference.
    Thanks

    Hi GinaL
    You probably need to edit the settings of your Captivate.
    Select a loading screen that indicates your user should click. You
    can create your own. All you need is a bitmap image. Once you do
    this and republish and reinsert, the loading screen should appear
    and indicate you can click.
    Cheers... Rick

  • Controlling an AS3 Captivate swf from Flex -- set quiz preferences

    Hi All,
    I'm able to use the SWFLoader to load the a Captivate.swf, and play it using the nextSlide, previousSlide etc.  However I am being blocked by the quizzes.
    I have access to all the rd* and cp* symbols.   I would like to navigate through all the slides, but if I have a quiz, I am blocked from 'rdcmndNextSlide'  or setting 'rdcmndGotoSlide'  past the quiz.  Does anyone know if this can be done?  Please help!

    DaddyDog,
    Have you checked your Quiz Settings in preferences for your Cp4 project?  There are two options to allow backward movement and to allow reviewing of the quiz.  You may want to try adjusting these.
    When you say you've been successful using the "nextSlide, previousSlide etc.", do you mean the buttons on the Cp playbar?
    One trick that has helped me greatly is obtaining and modifying the movie xml.  The movie xml is generated at runtime and defines the slides, slide objects, quiz settings, quiz slides... etc.  You may want to examine this to see if you can manipulate it to your advantage.  Here's how I can reference it from an AS3 Cp4 widget:
    var mainmov:MovieClip = MovieClip(root);
    var movXML:XML = new XML(mainmov.movieXML);
    Not sure how you have your Flex app loading the captivate swf, but I'm sure you could figure out how to reference the movieXML from another parent in your app.
    HTH,
    Jim Leichliter

  • Embedding Captivate in Flex

    So, the list of new features for Captivate 4 had a biggie that caught my attention:
    "Take advantage of ActionScript® 3.0 publishing to bring Adobe Flex® content into your Adobe Captivate projects, and to embed Adobe Captivate movies in your Flex content."
    As a Flex developer, that sounds great, but I can't find a single piece of documentation about embedding Captivate files into Flex. Embedding the published SWF using a SWFLoader component is easy, but is there an API for actually controlling the progression of the Captivate movie? If not, what's the point?
    Also, on a somewhat related note, whenever I've tried to export a Captivate presentation to Flash CS3/CS4, the process generates an individual SWF file for each slide, which is loaded by the FLA at runtime. However, even when the Publishing Settings are set to ActionScript 3.0 in Captivate 4, the individual SWF files appear to be exported in ActionScript 2.0 format. When I run the FLA in debug mode, I get error messages in the Console reading "Cannot perform Looping properly as the loaded swf is an as2 one", and indeed, the slides with animations loop annoyingly until I advance to the next slide. Is there a way to get Captivate to export AS3 slides that don't loop their animations?
    I should mention that I'm primarily working with slides that have been imported from PowerPoint presentations.

    I've built a player in Flex that loads in different Captivate 4 quiz files through a SWFLoader component. The student logs in (using an employee number), selects the test to take from a List (wrapped in an Accordian - also includes a Progress list indicating tests already completed). After completing the test, the score variable is passed back and I use a FlexSQL component to pass the captured score, employee number, etc. back to a backend database (currently MS Access) for further processing and loading into our LMS when all of the tests are completed. The student can see which tests have already been completed or if they click on a test in the list that has been completed, an Alert box opens to inform them it has been done. Took me about 2 months to create it because as you say, there really isn't much out there regarding how to get these communicating with each other. Give me a shout by email if need more.
    David Hipsley
    [email protected]

  • Are Adobe Captivate swf files not compatible with IE8 or IE9 when inserted into RoboHelp projects?

    Hi,
    I've published Adobe Captivate swf files and then inserted them into my RoboHelp project. I then synced my RoboHelp project with our website and the videos within online help are not functioning in IE8 or IE9. They are only working in IE11.
    Thanks,
    Jaimie

    Hi there
    When a SWF plays in IE, it uses the Flash Player ActiveX control. I'm not 100% sure that different versions of IE would share the install. So if you have one version of IE on your machine, perhaps it either doesn't even have the control added in or it's the wrong version.
    One thing I would check in the browsers where the content seems to be missing is to right-click the blank area and see if you coax a Flash pop similar to below:
    Then note the version number.
    You may find that all that you (or others) need to do is ensure you have at least a specific version of the player/add-in installed.
    Cheers... Rick

  • Embedding a SWF file with an iFrame

    I wanted to embed an assessment in to one of my PDFs. I know I can't do it directly so I tried to create a small little Flex app that shows an iFrame (see here for the example). I then tried to insert this (as a SWF) in to my PDF file. I have a problem where when selected in the PDF it displays the SWF file, but not the linked URLs for the iFrames. Any ideas? how I might be able to get around this. Here is an example of what I was working on.
    Any help would be much appreciated.
    Noel

    hat do you mean with embedding a SWF file into another?
    you can embedd a SWF file in a HTML file. you can load a SWF
    file in another SWF file.
    but to embedd a SWF into another is not possible.

  • Detect end of captivate swf

    I am loading a swf that I created in captivate into another
    flash file. I would like to be able to detect when tha captivate
    swf is at the end. Is there a way in flash to detect when a
    captivate swf is at the end?

    Hi Jencarter,
    another possbility could be to embed a small swf-animation
    into the captivate-movie that calls a function in the root, in this
    case the flash-file which loads the captivate-movie.
    We had the same problem, in the flash-file a function
    "chapterend" should be called as soon the captivate-swf is at the
    end.
    So I've build a small swf which just calles the actionscript:
    _root.chapterend();
    This swf can be imported into the last slide of the
    captivate-movie (or on any other position, if you need it).
    Best regards

  • Embeding a swf in another swf

    Hello, heres what I'm looking to do:
    I am trying to create a project completely in flash player,
    however its very large (its basically a tutorial for a coding
    language called "magic")
    I want to seperate it out a bit, basically one main flash
    file that acts as a menu system with buttons to send you to
    different sections of the tutorial, and then I want to make a bunch
    of individual flash files for each page of those sections.
    How would I go about calling a swf from within a swf file, or
    preferably embedding multiple swf files into the main swf file.
    This would allow me to make a bunch of complicated timeline
    animations without having a completely unmanageable single
    timeline.
    Or if you have another possible suggestion on how to more
    easily seperate functions/animations I'm certainly open to other
    idea's. Thank you in advance!

    This is pretty simple once you get the hang of it. Create an
    empty movieclip and place it on your stage. You can do this with
    either code or by actually creating it in your library. Call it
    holder_mc. position it where you would like your other movies to
    load. Again you can do this by code or by physically moving it.
    //This is how to do it with code:
    //STEP 1 create your empty movie clip and give it your name/
    place it in the next available level
    _root.createEmptyMovieClip ( "holder_mc" ,
    _root.getNextHighestDepth() )
    //position the holder mc
    _root.holder_mc._x = 50
    _root.holder_mc._y = 50
    //create a button and place it in the root - then attach code
    that loads your external .swf into your holder mc
    homeButton_btn.onPress = function(){
    _root.holder_mc.loadMovie("home.swf") }

  • Embedding Flash swf in Google Site displays NaN output but works in Debug mode

    Hello,
    I am loading a text file with three variables into a flash file (CS5). The flash file then calculates and prints the three values based on some calculations. I am storing the text file as an attachment on the google page in which I am embedding the swf file. What's weird is that the flash file plays correctly in debugging mode (i.e., prints the 3 variables correctly), but as soon as I upload the swf to the Google site page (as an attachment in the same location as the text file), the flash file outputs NaN. I am stuck as to why the file works in debug mode in Flash, but not when it's uploaded to the google site page. I have tried storing the text file on SharePoint and referencing it from there, but I get the same results when viewing the swf on the Google site page.
    Is it because the google site page is using SSL?
    I am fairly new to flash, so any help would be appreciated.
    Thanks!
    Lori
    Variables.txt stores this: "current=6950&goal=7175&low=6950"
    Here is the code in my flash file:
    _global.getPercent = "";
    myvars = new LoadVars();
    myvars.load("variables.txt");
    myvars.onLoad = function(success){
              l = Number(myvars.low);
              c = Number(myvars.current);
              g = Number(myvars.goal);
              getPercent = (c-l)/(g-l);
              if (getPercent > 0) {
                        colorshow._height = (getPercent*colorshow._height);
              } else {
                        colorshow._height = 0;

    I have this in front of the trace:
    myvars.onLoad = function(success){
    When I put in the full URL to the attachment on the Google page (i.e., something similar to "myvars.load("https://sites.google.com/a/..../home/department-sites/sales/variables.txt,");" - instead of just "myvars.load("variables.txt");", it doesn't work. So right now its set to just "variables.txt" and the swf file is in the same root location as the variables.txt file on the Google page. I also have a copy of the variables.txt file in the same local directly in which I am running the flash file for testing. So I think when I run it in debug mode, its referencing the variables.txt file in the local directory, rather than the one stored as an attachment on the Google page.
    That's what seems so weird...it runs locally in debug mode...but not when I embed it on the Google page. I can also get it to work if I explicity define the variables in the flash file, rather than rely on the external text file. That's the only time I can get it to work on the Google page.
    Thank you for your help!

  • Connect Sync not working with Captivate SWF files

    HI
    I'm creating material for presentations and discussion in Captivate 8 and using Connect 9.3.
    The Sync button in Connect doesn't turn on or off the sync view for all participants for a presentation sharing the Captivate SWF file....
    Any ideas on how to get the sync feature working?
    PS: I'm using Captivate to create the slides and publish to SWF in order to preserve the fonts for the brand. Uploading Powerpoint changes the fonts to system defaults (looks very bad) and PDF, provides a clunky or abrupt slide transitions (using captivate fade transitions). Would prefer a better solution to maintain fonts and transitions though.
    Cheers,
    Fred

    Going to give a try...
    I did try saving each slide as an image from ppt, then created a new slide deck with one image per slide - added transitions and uploaded to Connect. That seemed to work.... yet, really would like to sort out Captivate as I plan on adding quizzes and other items best done with Captivate.
    Cheers,
    Fred

  • Embedding a .swf published in Catalyst in another Catalyst project

    Ok,
    i've been trying different things but now i can't figure it out.
    It's actually a school assignement where we have to create an interface similar to a smartphone.
    Me and my partner decided to create a Catalyst project for each page and publish each of them in swf. Then, we wanted to create a main Catalyst project that was embedding each swf in different states.
    BUT
    It just doesn't work! The embedding doesn't work.
    Is the swf published in Catalyst actually  compatible to embed in Catalyst?
    Thanks!

    A custom component is like other components like buttons, scrollbars, etc.  except you get to define all the behaviors and states.
    Try this
    1. draw a sqaure
    2. right click and choose Convert Artwork to Component > Custom Component
    3. Now double-click the custom component to edit it
    4. Create a few states and modify the square in each state
    5. to exit editing the custom component double-click the white area of the artboard
    6. Now add a button to the app
    7. With the button selected go to the Interactions panel and choose "On Click, Play Transition to State" and pick a state of your custom component.
    Notice that in this example the application only has one state, but a custom component with multiple states was able to capture different appearances of the app.
    You can think of designing your app by breaking down the functional parts into custom components. For example: navigation bar, content area, ad area, etc.
    Regarding "export library":
    After creating a custom component or customizing a built-in component like button you will notice that the library will contain an item representing the definition of that component. When you export as an fxpl file, all components in your library are exported.
    Ty

  • 301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?

    301 unable to load plugin"controls" url'flowplayer.controls-32.13.swf What is this and how to reapair this?
    I have no idea what to do.

    Probably because "latin-9" doesn't exist?
    # nano /usr/share/X11/xkb/symbols/fr
    xkb_symbols "latin9" {
    include "latin"
    include "nbsp(level3)"
    name[Group1]="French (legacy, alternative)";
    key <TLDE> { [ oe, OE, leftdoublequotemark, rightdoublequotemark ] };
    key <AE01> { [ ampersand, 1, dead_acute, periodcentered ] };
    key <AE02> { [ eacute, 2, asciitilde, Eacute ] };
    Try it without the dash (without the "-").
    And don't forget to mark it as solved (by editing the first post).

  • Is there a way to remove captivate swf click listeners?

    Hi, this is my first time posting.  After a lot of searching and no answers I figure maybe someone here knows.
    Short background: I have a captivate Sim that is being loaded into a sim viewer of a courseware.  The sim viewer has it's own directional pointers, feedback boxes, and instructional boxes.  To get all of this working correctly has been difficult, and I'm using AS3, Captivate 4, Flash CS4, and export for Flash Player 10 for the unloadAndStop() command to clean it up when no longer needed.
    My question: is it possible to directly remove the event listener that captivate is using to listen for mouse clicks? (and add it back when needed)
    I have the correct/incorrect calling a Javascript.  On incorrect, it is set to one attempt, but the javascript tells it to:
    loaderPath.content.rdcmndPause = 1;
    loaderPath.content.rdcmndGotoSlide = loaderPath.content.rdinfoCurrentSlide;
    loaderPath.content.rdcmndResume = 1;
    so, it does not really go anywhere when they get it wrong (kind of a rig for unlimited attempts with incorrect callback)
    The sim I'm using requires that it can be "paused" in essence, with an opaque layer over it.  The problem is that it STILL gets the mouse clicks even through this layer.  I managed to create a conditional rig to fix that (a Boolean that when set to false, does not evaluate the javascript calls i get for correct and incorrect clicks).  but I still have a problem where when the Sim is active, there is a drag and drop instructions box, and when it's released, it evaluates incorrect.
    so, I'm sorry if that is confusing, but I'm basically wondering if there is a way to block captivate from getting the mouse click on an evaluation slide when you don't want it to?

    That would not really solve my issue at all.  I need it to not register a click for correct OR incorrect at a certain point in time (when they are dragging an information window and they drop it).
    Say that I have a screen with a large click box on it, that is correct, and the rest of the screen is incorrect.  If they just happen to drag and drop the information window over part of the correct box I obviously do not want it registering as the correct answer.  I need a way to block all mouse click and release information from communicating with the Captivate .swf (but also the ability to turn it back on).

  • Why do scaled and masked captivate swfs respond to clicks outside the mask? Can it be stopped?

    We load Captivate 3 SWFs at runtime into our own course player, with movieclip.loadmovie. Our player is built with AS2 and published to Flash 8. We publish our Captivate movies to the same specs. Our latest challenge requires scaling and masking the Captivate SWF.
    A click outside the masked Captivate still triggers a click as far as Captivate is concerned, and it throws up a “that’s incorrect” message. Specifically, it only happens when you click in a spot that has masked Captivate “behind” it. In other words, if there would be Captivate there if the mask was turned off, Captivate will respond even when the mask is turned on.
    Is there a way to make Captivate ignore mouse clicks outside of the mask? I think it must be responding to Mouse.onMouseDown() since normally a masked object won’t respond to clicks outside the mask.
    I’ve put together a small test file to demonstrate exactly what’s happening, and I’ve posted it here: http://www.tbgprod.com/_experiments/captivatemasktest/captivatemasktest.swf
    I’ve also uploaded the .fla file. It’s ony 50kb and it’s available here: http://www.tbgprod.com/_experiments/captivatemasktest/MaskTest01.fla
    You’ll also need the Captivate .swf file if you want to test locally. Here’s the direct link. Right-click and save target as: http://www.tbgprod.com/_experiments/captivatemasktest/DisplayProperties.swf
    My question is "how do I make Captivate ignore clicks outside the mask?"
    Many thanks,
    Todd S

    Even if anyone just has any knowledge of how Captivate 3 movies actually monitor the mouse, I'd be happy to hear it. In other words, can anyone confirm my hunch? If we knew the internal structure of the Captivate SWF would it be possible to clear and restore some function as the mouse moves inside or outside of the target area? Something like this:
    on mousemove {
         if mouse has crossed boundary to the outside {
              functionBuffer = container.whatever.whatever.function;
              container.whatever.whatever.function = null;
         else if mouse has cross boundary to the inside {
              container.whatever.whatever.function = functionBuffer;
    This would kill Captivate's mouse functions and then bring them back to life, as the mouse exits and re-enters the masked Captivate area. Two questions:
    1. If we knew the necessary whatever.whatever.function information, would this work?
    2. Does anybody know the necessary whatever.whatever.function information?

Maybe you are looking for

  • How to export an interactive pdf from InDesign at a smaller file size.

    I have a single page InDesign doc with a side navigation panel to the right of each page. This panel has interactive buttons created in InDesign. When I export as an interactive pdf, the file size is over 27MB and I need it to be much lower. I should

  • Is there a bug in the latest iOS7 operating system update

    is there a bug in the latest iOS7 operating system update

  • Model Instance Vs Model Object

    Hi experts can anyone plz explain me the difference between model instance and model objects. is it necessary to create model instance when dealing with WebService model. also tell me what do u mean by associating model objects. plz explain with refe

  • Service Entry Display Issue( ML84/ML81N)

    Hi All, - When we use T.CODE- ML84 ( List of Service Entry Sheets) it will take us to Display mode of service entry sheet (ML81N). - When we use T.CODE - ML81N directly, we can change the Service Entry. Why we can't change the servie entry sheet usin

  • Exception creating stateless session bean

    hello, can some one tell what is the cause and the solution of the folowing exception : EJB5070 Exception creating stateless session bean : [{0}] com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: ejb3.INplateformFacade/t