Variables from Adobe Captivate to flash

Hi,
can anybody explain me, how to acces variables in captivate
from flash?
I can't export my CP file to Flash CS3, there is an alert
message
The following elements in your project have not been
converted. They are not supported by this importer.
Question slide
508 compliance
A swf animation slide has been imported. The following files
must be made available at publish time:
DefaultPreloader.swf
Please make sure you publish the project to "D:\MyQuizzes\".
Saving the project to this directory will ensure that test
project will work with the swf animation slide.
Thanks for answer...

Hi tikiri,
You can access variables directly using the movie instance.
Please check the code below, where we are printing the varCount
variable.
on(release){
_root.play();
_root.createEmptyMovieClip("movie", 999);
_root.movie._x=146;
_root.movie._y=12;
loadMovie("test/test.swf", _root.movie);
trace (_root.movie.varCount);
This code is specific for AS2 captivate swfs. You can try
accessing any of captivate system variables also in this way:
_root.movie.rdcmndNextSlide = 1; // jumps to next slide
_root.movie.cpCmndMute = 1; // mute the audio
trace(_root.movie.cpInfoCurrentDate); // print the current
date
_root.movie.rdInfoCurrentSlide =
_root.movie.cpInfoLastVisitedSlide // jumps to last visited slide
Please go through the list of available variables in
captivate documentation. All the variables starting from "rdcmnd"
are legacy variables and exist in captivate 3 projects as well.
Ones starting with "cp" are new and are not available prior to
captivate 4. Accessing method remains the same for both cp3 and cp4
generated swfs.
For accessing variables in AS3 captivate movies:-
var movieLdr:Loader = new Loader();
var movieURL:String = "CA3_Demo.swf"
var movieURLReq:URLRequest = new URLRequest(movieURL);
var cpMovie;
movieLdr.addEventListener(Event.COMPLETE,loadComplete);
function loadComplete(ae:Event)
cpMovie = movieLdr.content;
//Pause the movie
cpMovie.rdcmndPause = 1;
//Resume the movie
cpMovie.rdcmndResume = 1;
//Jump to next slide
cpMovie.rdcmndNextSlide = 1;
also try,
// print current date
trace(cpMovie.movie.cpInfoCurrentDate);
addChild(movieLdr);
movieLdr.load(movieURLReq);

Similar Messages

  • Retrieving  the score value from the captivate into flash

    Hi,
    We have used Captive 2 to built course & publishing it as
    a non e-learning output
    and loading the published swf file in custom built flash
    movie (wrapper).
    We have accessed some of the captivate variables to control
    the captivate swf.
    Does anyone know how to retrieve the score value from the
    captivate into flash ?
    Thanks
    Regards
    Chetan

    Hello,
    Use the Object Browser in .NET and search on "Summaryinfo" and you'll find the API to use.
    Thank you
    Don

  • How to integrate adobe flash widgets from Adobe captivate with Adobe Presenter?

    Hi all,
    We are a group of students who are creating a number of flash widgets that allows them to create e-learning  activities. We are creating specific widgets in Flash  for use in Captivate and then the results of the widgets in Adobe Presenter. The  client noticed that widgets that work in Adobe Captivate don't always work in  Adobe Presenter. Is there a way to make this function  correctly?
    Secondly, if it  isn't possible to make that work correctly through the first method, is it  possible to utilise Adobe Air to do the same or similar process. The client  would prefer if we could integrate anything we use with an LMS and SCORM. But we  believe it may not be possible to do this with Adobe Air.
    Would someone be able to help us out with this?
    Thanx

    Some of the functionalities of CP4 (I assume that you use this version?) only work in a CP-published SWF, p.e. using the right mouse click as a trigger. I have inserted several CP-SWF's into Adobe Presenter, while using some of the widgets provided with CP4 and did not have any problems with these (p.e. Flash button). But I do not know what kind of widgets you created. Do they function all right in CP4 itself?
    Lilybiri

  • Insert response from adobe captivate to database

    Need ApI to communicate to adobe captivate to insert data in
    database

    Hi tikiri,
    You can access variables directly using the movie instance.
    Please check the code below, where we are printing the varCount
    variable.
    on(release){
    _root.play();
    _root.createEmptyMovieClip("movie", 999);
    _root.movie._x=146;
    _root.movie._y=12;
    loadMovie("test/test.swf", _root.movie);
    trace (_root.movie.varCount);
    This code is specific for AS2 captivate swfs. You can try
    accessing any of captivate system variables also in this way:
    _root.movie.rdcmndNextSlide = 1; // jumps to next slide
    _root.movie.cpCmndMute = 1; // mute the audio
    trace(_root.movie.cpInfoCurrentDate); // print the current
    date
    _root.movie.rdInfoCurrentSlide =
    _root.movie.cpInfoLastVisitedSlide // jumps to last visited slide
    Please go through the list of available variables in
    captivate documentation. All the variables starting from "rdcmnd"
    are legacy variables and exist in captivate 3 projects as well.
    Ones starting with "cp" are new and are not available prior to
    captivate 4. Accessing method remains the same for both cp3 and cp4
    generated swfs.
    For accessing variables in AS3 captivate movies:-
    var movieLdr:Loader = new Loader();
    var movieURL:String = "CA3_Demo.swf"
    var movieURLReq:URLRequest = new URLRequest(movieURL);
    var cpMovie;
    movieLdr.addEventListener(Event.COMPLETE,loadComplete);
    function loadComplete(ae:Event)
    cpMovie = movieLdr.content;
    //Pause the movie
    cpMovie.rdcmndPause = 1;
    //Resume the movie
    cpMovie.rdcmndResume = 1;
    //Jump to next slide
    cpMovie.rdcmndNextSlide = 1;
    also try,
    // print current date
    trace(cpMovie.movie.cpInfoCurrentDate);
    addChild(movieLdr);
    movieLdr.load(movieURLReq);

  • Adobe Captivate 4 - Flash Not Installed Error

    We are using Adobe Captivate 4 on Windows 7.  Since the Microsoft Windows Updates around January 8, we are unable to open Adobe Captivate 4.  We get the message that the Flash Player is to be installed and the application shuts down after the message that an Internet connection is required.  I have followed the steps on the Adobe Help page:  Error: "Adobe Flash Player is not currently installed" when you start Adobe Captivate with no success.  I have even uninstalled Adobe Captivate 4, reinstalled it and followed the instructions on the aforementioned Help page.  No luck.  I am running Firefox and Internet Explorer and IE is the default browser.  Adobe Captivate 4 acts as though it cannot connect to the Adobe Flash website, but I already have the most current Flash Player installed.  We use Adobe Captivate 4 primarily for Quizzes since we can effectively e-mail the results to trainers. We do have Adobe Captivate 7 and the Quiz Results e-mail feature does not send the results; only a blank e-mail shell.  Is there any solution to this Captivate 4 problem?

    Unfortunately, that is not an option.   I work for a state government and the computers are locked down for security reasons.  Updates are handled by an IT group and pushed out to all state computers.  We were running Flash Player 10 and everything worked fine until the Flash Player Update was pushed out as a Microsoft Update on January 8th.  There have been subsequent "Security Updates" to the Flash Player pushed out via Microsoft and none have corrected the problem.  Even if I could uninstall the current Flash Player and install an older version, it would just be updated to the current Flash Player tonight.

  • Capture User Information from Adobe Captivate Quiz

    I created an Adobe Captivate (version 5.5) interactive training, which includes a 10 question quiz. Unfortunately I can't seem to figure out the best way to get the user to submit their name, location, and email along with the quiz. Without this I just seem to be getting the quiz results without any identifying information. I tried adding a "short answer" slide, but then I seem to have to create several of those slides just to get one piece of identifying information at a time. Is there an easy way to get the user's identifying information on a particular slide before they submit their results?
    (As a side note I'm having a tough time even getting the Post Results working in the first place. But I'm thinking it might be better to ask that as a separate question since it's not necessarily related to this one.)

    Hi there,
    Thanks for reaching Adobe Community.
    You can create a username and password on the Captivate slide through Advanced actions.
    Please refer to the below link:
    http://help.adobe.com/en_US/captivate/cp/using/WS7333B421-3FBB-4c30-BA F9-EC9F01A17A61.html
    Thanks!
    Shekhar

  • Widgets in Flash from Adobe Captivate 5

    I have Adobe Captivate5 and Web Premium CS5.  In captivate, when I try to insert a question widget (File, New Project, Widget in Flash, Question) it opens Flash CS5 professional and I get the following error code in the OUTPUT section (in Flash):
    The following JavaScript error(s) occurred:
    At line 39 of file "data-16401608588.jsfl":
    importPublishProfile: Argument number 1 is invalid.
    I am unable to do anything with the widgets in Flash......
    Has anyone had this problem?  How could it be resolved so I can create a question widget using Captivate/Flash?

    This appears to be an issue with Windows 7 if you don't run captivate in administrative mode.  It works once I restarted the program in administrator mode.

  • Project will be converted from Adobe Captivate 7 to Adobe Captivate 8 format

    I upgraded from Captivate 7 to 8 a week ago, but each time I save the project I am working on, I get the same message that it will convert the project from 7 to 8.  Each time I click save to accept this, but it just asks again the next time.  Also, each time I open Captivate 8 I get a message about my Firewall and each time I check to allow access, but it will just ask me again the next time I open it.
    And finally, on Thursday I spent hours working on my project - saving throughout the day, but when I came in Friday all of Thursdays work was gone.  I searched my computer for hours, but never found Thursdays work.  I obviously have some setting or something off.  Any ideas on how to fix any or all of these problems?

    I started with Captivate 5 then 5.5, 6 etc. Now I am on 8. Every time I switch versions I found the best way to convert a project is to Copy the slides from the old project to a new project. So create a new File on CP 8 and paste all the slides from your earlier version CP 7. It might be time consuming but I never had a problem. Also it is a very good practice to make sure in your preferences you tick the box Generate Project Backup (hours of work can be lost if not).

  • How to publish SCORM package from Adobe captivate app packager?

    I have added HTML animation in captivate project using App packager. Now I want to publish it as a SCORM package. I didn't find any option to publish as SCORM package in App packager. Is there any way to do so?

    Hi Vikram and Lilybiri,
    Thanks for your responses :-)
    I'm working on Windows 8.1... I think that I may have found the issue... I was saving the file in a project directory rather than the default My Captivate Projects folder...
    Perhaps Captivate was struggling to find resources it needed?
    It hasn't crashed for a while now, though it is struggling - I'm working with a 54 slide PPT presentation that is linked and it takes a very long time to interact.
    Sometimes it says that I've removed slides, which I haven't?
    Best,
    Christy.

  • Adobe Captivate 4 - Flash Movie with Text Animation

    I'm working on a project which has a slide which includes a Flash Video.
    I'd like to put a Text caption over the video.
    I've tried Text Caption and Text Animation.
    Neither of these work......
    Please let me know if there is some way to do this which I haven't considered or I need to adjust my settings.
    Thank you,
    David Gambal

    Unfortunately, that is not an option.   I work for a state government and the computers are locked down for security reasons.  Updates are handled by an IT group and pushed out to all state computers.  We were running Flash Player 10 and everything worked fine until the Flash Player Update was pushed out as a Microsoft Update on January 8th.  There have been subsequent "Security Updates" to the Flash Player pushed out via Microsoft and none have corrected the problem.  Even if I could uninstall the current Flash Player and install an older version, it would just be updated to the current Flash Player tonight.

  • How do I export to SWF from Adobe Captivate 7?

    The only options I get are Youtube, iPad/iPod or .avi
    It's just a 30 day free trial version, but I'm hoping that export formats aren't reduced as a result!
    Thanks

    Probably you created a Video Demo? If you have indeed a cord (not a cpvc)
    file, use Publish button.

  • Adobe Captivate 8.1 quiz displays too small in Google Chrome 39

    Hi,
    Lately, quizzes published from Adobe Captivate 8.1 in Google Chrome 39 are displaying in a very small area. I am using the same settings that I usually do (Scalable HTML content) and all works fine in Internet Explorer 11.09. Possible that it's down to a recent update within Chrome.
    Any workarounds or patches known for this?
    Thanks in advance.

    I am having the same issue with Captivate 7.0.1.237 and Chrome Version 39.0.2171.95 (64-bit) when I upload a SCORM 2.1 file to Moodle 2.6.
    It works fine on Firefox and Safari.
    These are my publishing settings

  • Learning Solution - Java Applet errors WBT created by Adobe Captivate 2

    Hi,
    I am experiencing problems with running WBTs created from Adobe Captivate. 
    We can checkin a WBTs created by Captivate using the published SCORM1.2 files.  The first WBT checked in works OK, but all following WBTs created by Captivate have Java Applet problems with error messages "Object expected" and "g_objAPI not defined" when run from the WebAS.
    Has anyone come across a similar problem and found a fix for it?
    Any ideas would be appreciated.
    Thanks,
    Ben.

    In your browser, look at the HTML code that gets sent to the browser and see if there is something wrong with it.
    Specifically, I would look at the code near the <APPLET ..></APPLET> tags, both before and after and look for stray quotes, brackets, or what not.
    Finally, I would look inside the <APPLET ...> tag. It appears to me that the output will probably be:
    <APPLET code="simpleAppletPackage/SimpleApplet.class" codebase="Applets"archive="SimpleAppletPackage.jar" width="250" height="250"></APPLET>See, you may be missing a space between the "Applets" and the archive=. Try making the second out.print look like this:
    out.print(" archive=\"SimpleAppletPackage.jar\" width=\"250\" height=\"250\"></APPLET>"); See the extra space at the start of the output?

  • Is there any way at all of accessing captivate variables from flash?

    Hi,
    I would be grateful for any help on this one.  I have been working in flash and I wanted to know whether there is any way at all of calling/accessing captivate 4 variables from flash (I'm working in flash Cs4 Actionscript 3.0 and I'm trialling Captivate 4, but I just want to know whether there is any way/method of communicating between a flash file and a captivate 4 file, and if so, can this be done with an embedded captivate 4 file/swf).  Surely there must be a way of communicating between the two - they are both Adobe products!
    Thanks for any help, pointers, advice, tips in advance.

    Hi Louon,
    Don't know if this would help you.
    http://blogs.adobe.com/captivate/2009/09/captivate_variables_-_how_to_a.html
    We have many experts here who could give more precise answers.
    Cheers.
    Miguel

  • Passing a variable from Captivate 5 to Flash CS5/ActionScript 3

    I don't get it. Why is it so difficult to pass a variable from Captivate 5 to AS3/Flash CS5. I must be making it harder than it really is. I cannot figure it out.  Can anyone help?
    I have a variable (gpDone = 1) defined in Captivate 5 (it's a guided practice) on the last frame which will indicate that the learner has completed the guided practice file.
    Now I want to pass that variable back to Flash/AS3 so I can evaluate whether I should show the Continue button so they can continue. They have to complete the guided practice before they can continue. If it is equal to 1, the Continue button will display. If it is not equal to 1, the Continue button will not display, but a message will display telling them they have to complete the guided practice in order to continue in the course.
    Do I need to edit the Flash html? Or just put code in the Flash timeline or the associated AS file?
    Help would be greatly appreciated. Thanks in advance.
    CAH

    Having the same problem...getting variable values FROM captivate to my inserted .swf (not widgets).
    I can set the value from the .swf to the captivate using Object(parent.parent.parent.parent).captivateVariable but not the other way around.
    Very frustrating.
    I hope someone answers your query.

Maybe you are looking for