Importing LMS variables into Captivate
I would like to retrieve data from the LMS (Moodle) running my Captivate course - specifically, capture the students name from LMS and display it in Captivate. I have read a previous discussion on this, but it ended without a definitive answer it seemed.
Looks like first the SCORM data in the variable first has to be passed to an embedded Flash file through javascript, then passed on to Captivate from Flash. One suggestion from the post hinted it could be done without the javascript step.
Has anyone had success with this? And with SCORM 1.2 or 2004? I would greatly appreciate some advice if anyone has pulled this off...
SCORM variable (student's name) -> Javascript -> embedded Flash file -> displayed in Captivate....
Thank you in advance to anyone who can help!
Why sure...this works with Flash AS3, CP5.5, and Moodle as the LMS...
First, I created a small 10x10 px, one frame flash file to import into Captivate (just want the AS code to run, its hidden in a black part of my background in slide 1...)
Then entered this code into the frame:
//Get LMS student name from SCORM
import flash.external.ExternalInterface;
try{
//Assigns the LMS student name to a string
var UserName:String = String(ExternalInterface.call('g_objAPI.LMSGetValue','cmi.core.student_name'));
//To separate the first and last name...
var LastName:String = UserName.slice(0, UserName.indexOf(","));
var FirstName:String = UserName.slice(Number(UserName.indexOf(",")+2), UserName.length);
}catch(err:Error){
trace("Not in an LMS Currently");
//Send first name to Captivate
var myRoot:MovieClip = MovieClip(root);
var mainmov:MovieClip = MovieClip(myRoot.parent.root);
mainmov.FirstName = FirstName;
Then, placed this flash file on slide 1 of my Captivate lesson, where I display the value of FirstName I get from Flash. You know, "Welcome, $$FIrstName$$"!! Then when I start my lesson in Moodle the FirstName shows up...
A quirk though, it didn't work at first - it seems that when Moodle would start the Captivate lesson and the AS in the Flash file executes at the same time, it wouldn't pull the first name. So I set the Flash movie to delay for .5 seconds in the timeline, so the Captivate lesson would start, a very brief pause, then the AS code executed and I got the FirstName. And also, the Captivate text box with the $$FirstName$$ variable display has to appear after the Flash code has got the FirstName from LMS, so I set it to delay 1 sec on the timeline.
That was it, I didn't add anything to the external .js file. Maybe this will help somebody! Thanks again for pointing me in the right direction...
Similar Messages
-
Importing a movie into Captivate
I need to import a movie into Captivate. I've tried .avi and .swf....flv works great, but the finished .swf file will be placed into an LMS shell, so I won't be able to reference the external .flv file.
The .avi file, when published in Captivate to a .swf, is choppy and the audio is off. I tried changing the frame rate, but it didn't help.
When I converted the .avi to a .swf file, placed it into Captivate and published it, the resulting .swf opened for a couple of seconds then crashed, or closed, or whatever. I just get a blank screen for a couple of seconds, then nothing.
Please advise re: the best movie format to place into Captivate. I can convert the .avi to any format.
Thanks, mpHi there
itsmecathy wrote:
This question has been posted several times and I guess Adobe support people choose not to answer or don't know the answer...
Well, for starters, Adobe Support people don't lurk in the forums waiting for issues to resolve.
What you mostly have here are users helping other users. Now we do notice that members of the Adobe Captivate Development team have been frequently posting here since version 5 has been released. While I heartily applaud that move and agree that it will only help the product over the long haul, we shouldn't count on it because Adobe says right up front that the forums are User to User and not an officially sanctioned support channel.
Cheers... Rick
Helpful and Handy Links
Begin learning Captivate 5 moments from now! $29.95
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcererStone Blog
Captivate eBooks -
How to import .exe files into Captivate
I have some Flash .exe files that I want to import into
Captivate so I can combine the files....and also so I can choose
the properties for the files (for example, either to run on a loop
or also to take to a website upon completion).
So, how do I import .exe files into Captivate?Hi Steve
Unless you can find some sort of a converter out on the web,
I think you are out of luck. I am aware of the SoThink SWF
decompiler (
http://www.sothink.com/product/flashdecompiler
) but I'm somewhat doubtful it will work on .EXE files. Perhaps it
will.
Cheers... Rick -
Importing MP4's into Captivate 5
I was told by a fellow e-learning developer that MP4's could be imported into Captivate 5. I've looked through my training books, and I may have missed it, but I can't find where it states this is allowed. Does anyone know for sure if MP4's can be imported?
That makes sense, thanks! I'll mark the discussion as answered.
Date: Thu, 2 Jun 2011 16:02:48 -0600
From: [email protected]
To: [email protected]
Subject: Importing MP4's into Captivate 5
Hi there
I believe what Lilybiri was saying was that when you import the MP4, Captivate performs a conversion to FLV. Because the conversion may take a while to perform, you are allowed to continue working in Captivate while "in the background" the MP4 is being fully converted.
The net result is that it will no longer be an MP4 when Captivate presents it to the viewer. It will be an FLV.
Cheers... Rick
| http://www.robowizard.com/pc.gif | Helpful and Handy Links
http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=5
http://www.ShowMeSolutions.biz
http://sorcererstone.wordpress.com/
http://www.gooberguides.com |
> -
Importing Flash Animation into Captivate
I am trying to Import an animation from flash 8 into
Captivate. It allows me to do this however the frame rate of the
animation which was created in flash when imported to Captivate
changes. Does anyone know how change the frame rate of the
animation in captivate.Hi laxmi1 and welcome to the community
Hopefully when you created your Flash animation, you
published as Flash 6 output.
I believe the standard frame rate for Flash is 12. Captivate
is 30. So you can either bump the Flash rate up to 30 and
re-publish, or in Captivate, you can adjust the frame rate to match
Flash and set it for 12. To do this, click Movie >
Preferences... > Preferences tab. From there, it should be quire
obvious what to do.
Hopefully this helps... Rick -
Can I import a .mov file into captivate? Instead of a .swf I
want to record something with a digital camera, then import it and
have the user click to wach a video.I did find in my own efforts some information about this (I
am working with a webcam and with Captivate 4, the trial download):
I am working on pulling together the software apps needed to
embed a video into our TOTW emails. Here are my findings.
I saved the webcam video as a .WMV, which was the only option
with the Logitech app that supports the webcam. I opened the .WMV
file in Flash, and converted it to an FLV file. So yes, Rick, Flash
can do it.
After reviewing the very helpful info at the link below, I
think the best method will be to insert basically a screen shot of
your video in the email - the screen shot will look like a video
player, with the video controls and a floating Start arrow above
the image - pretty much like you would see when you go into YouTube
and select a video.
The user will click on the floating arrow to initiate the
video. The result can NOT actually be that the movie opens within
your email itself, for a few reasons. One, it will probably be too
big to fit anyway, and two, even if you wanted to, the technology
doesn't support it. (info on the link below explains why)
So, you need to host these videos on your website - when the
client clicks on the floating arrow, it will have to open a page on
your server that will hold the video.
http://www.email-marketing-reports.com/iland/2008/05/videos-in-email-best-practices.html
http://community.constantcontact.com/post-detail/?contentid=9223157316544556347 -
Problems importing PCM .wav into Captivate CS4
This is an FYI post, not asking for solutions - unless you've any particular insights/experience with it...
We're building some Captivate lessons (under Windows XP). We had external narrators send in their .wav files, recorded at:
PCM, 44khz, 16bit, mono
Captivate will not import the files from one narrator whereas it has no trouble with the .wav files from another.
The error is "Unable to decode and import the selected wav/mp3 file"
Per Window's Properties, the files are exactly the same.
The narrator who's .wav files are the problem is using ProTools on the Mac.
The narrator who's file are not a problem is using an unknown tool on the PC.
Resolution:
Downloaded the latest version of Audacity, opened a .wav and simply resaved (exported) it. No changes at all to the format.
That .wav file then imported into Captivate without a problem.
Fortunately the newer versions of Audacity have a batch ('chain' feature'). So I set that up to simply 'resave' and applied it to all the .wav files.
All imported just fine after that.
So it seems as if ProTools does something to the PCM format that CP CS4 just doesn't like!
Hope that helps someone.
ErikAgain, just FYI, we just encountered this again with a different narrator using ProTools under Windows.
I thought perhaps it was the Mac causing issues, perhaps a different...interpretation of the PCM format.
But now it definitely seems more a ProTools issue than an OS issue.
Of course, could be a finicky thing in Captivate moreso than ProTools.
So back to re-saving all these files.
Erik -
Import Engage Interaction into Captivate 4
I know this has been asked many times, but I just can't
believe that this is not possible, especially in Captivate 4. Can
someone please tell me how to import an Engage interaction into
Captivate 4? I tried as an animation and it converts it to a
preloader.
Thanks,Hi - I've been having a huge struggle trying to get my Engage interactions to play in Acrobat Connect Pro during my virtual classroom sessions. In other platforms (Webex, Centra, Live Meeting) I've had no trouble using Engage interactions as a way to keep the content interesting and, well, "engaging." But Connect Pro simply refuses to play them. Someone told me to try publishing them to Captivate (e.g. Importing them into Captivate and then publishing the SWF), and then uploading the Captivate SWF to the Connect Pro library. I was encouargaed when I saw your seeminlgy easy steps.
However, I tried them and they didn't work. I guess I wasn't surprised because you say to first publish the Captivate file to "any folder," and then go into the Preferences, check the animations box, and you should now see the Engage SWF in the folder with the Captivate output. How could the Engage SWF just appear? It would seem that the correct way to do this is to go to Preferences before publishing, check the "Animations" box, and then publish. In any case, even when I do it that way, I do get a Captivate SWF that plays my Engage interaction, but when I upload that to the Connect Pro content library, it still won't work.
Are you sure you've actually tried this? I've checked with a few people and they all agree that once it's published, going back into Captivate and checking a box in the Preferences simply won't cause a new file to appear in the Captivate output folder. Just curious... I figured you may want to correct this so future readers aren't confused by it. -
Anyone importing HTML 5 into captivate
Wondering if HTML 5 animations and interactive elements can be imported into captivate without necessarily using EDGE.
Just to elaborate a little further, correct, you don't have to use Edge.
Also, Captivate can bring in .oam files (Edge animate, as you know) or .zip files.
I created a Canvas document in Flash Professional with a simple animation and published (publishes to HTML5 format).
Then I went and manually zipped together the resulting files.
They imported into Captivate using Media>HTML5 animation just fine.
Alternatively, you can take your HTML5 files that make up your animations (outputted from Flash Canvas document, or whatever software you're using) and put up on a webserver. Then, grab that URL, and back in Captivate, go to Interactions>Learning Interactions, scroll to the bottom and choose WebObject. Paste the URL in, preview HTML5 in browser, and you'll see it.
Kind of veering off your original post, for those with Flash expertise that need HTML5 animation, using the Canvas document type in Flash will create that HTML5 friendly format that you need.
If you have swf-based animations in a .fla that you need converted to HTML5, you can even copy and paste from a traditional .fla Flash file (that outputs to swf) into a Flash .fla (Canvas) document. It converts over pretty well, although if you have actionscript, it's commented out. For some animations it could be a great way to get swf-based ones converted to HTML5 quickly without having to re-build the whole thing. -
Importing Adobe Presenter into Captivate
Does Captivate have any option to convert Adobe Presenter
Quiz questions
into Captivate Quiz Questions ... or must all the quiz
questions be recoded
using Captivate's "Insert Question Slide"?I just find the solution on the forum, just have to
deactivate "border" on my project... just perfect. -
Can't import .avi files into Captivate 4
I need some help, I'm getting really frustrated. My project consists of about 10 short movies (2-3 minutes each) with quiz questions between the movies. The movies were produced in Adobe Premiere Elements 2 and exported as .avi files. When I go to import the files, I get this error: "This AVI file cannot be converted into a Adobe Flash file. Conversion aborted."
I have tried converting the .avi files into .flv files (using Flash Video Encoder CS3), but that doesn't work for us for two reasons. Captivate won't display the .flv files while in edit mode; it will only play them after the entire project has been produced. After the project has been produced, however, the video of the .flv displays, but the audio from ALL of the .flv files in the project plays at the same time, rendering all of the dialogue unintelligible.
I have been trying to solve this problem for a couple of weeks now, but I'm not getting anywhere. Is there a specific codec I should be trying to use here? Is there another process I should be using? Is there a way that I can resolve the .flv issues?I'm OCD about this sort of stuff, too!
I just insert my .avi files as animations, and that seems to work fine, so I'm no help there.
I don't know enough about codecs to even comment. *sigh*
And, my problem with .flv's has always been the other way around. When I insert an .flv, it always asks for the absolute path (like C:\Videos\VideoName.flv). Then, right before I create the .zip to upload to the LMS, I have to edit the path to VideoName.flv, and then check to make sure the file is on the .zip root, otherwise it won't play on the LMS 'cause it "can't find the file."
Sorry I couldn't be of any more help, but if you're like me, at least you can get your work done while this eats into your mind and eventually drives you crazy. *grin* -
How to import Articulate quiz into Captivate
I am trying to import an Articulate Quiz, in to Captivate 5 , it imports and I have followed the instructions found here
http://daveperso.mediaenglishonline.com/2010/06/21/publishing-articulate-to-captivate/
However my quiz does not play past the first screen, are there any hard and fast rules or a guide for hw to do this correctly?
ThanksHi there,
One possible option (I haven't tried this myself) woud be to try and load the Articulate Quiz into your Adobe Captivate 5 project using the free Web Page Widget created by Jim Leichliter.
You can learn more about this Widget by clicking on the link I have included below.
http://jimleichliter.blogspot.com/2010/11/adobe-captivate-5-web-page-widget.html
Let us know how you get on.
Best regards,
Mark -
Having trouble importing .xml comments into Captivate 7 project.
I'm trying to import comments made in the Captivate Reviewer program. I exported the comments to my desktop and now when I try to import them into the the project, I get this error.
Does anyone have any advice? Thanks.Hard luck there! I guess you opened the Captivate source file after you sent for review and saved it again (with or without modification).
When you send a Captivate review project (CREV) file for review, it uses some kind of identifier that maps the incoming XML files with the source file. If you open/ edit the source file and save it after sending it for review, a new identifier is created, which results in this kind of mismatch. Hence this issue.
AFAIK, there is no way to import the files. You have to open the XML separately and address the comments manually.
Sreekanth -
Import mpg file into Captivate
Hi
I am using Captivate 1.0 and I know it does not support
importing mpg file. Would you please let me know the free software
to convert mpg video file to avi file? The latter one is supported
in Captivate. Thanks a lot!PPTX files sometimes don't import. Save as PPT instead and try that.
-
Importing flash into Captivate 2
I know there are some posts on this, but I cant' seem to
figure out what the issue is- Each time I import my file into
Captivate it complains the actionscript is referencing _root, which
it is- I've changed it to _parent after reading some other posts,
doesn't work- it's a small menu I want to use within captivate to
navigate to the other parts of my presentation- what is the deal?
I'm so annoyed! Any help is appreciated! Here is my code:
this._lockroot= true
_root.HomePage.onEnterFrame = function() {
if (mouse_over_HomePage) {
_root.HomePage.nextFrame();
} else {
_root.HomePage.prevFrame();
_root.AboutUs.onEnterFrame = function() {
if (mouse_over_AboutUs) {
_root.AboutUs.nextFrame();
} else {
_root.AboutUs.prevFrame();
_root.Services.onEnterFrame = function() {
if (mouse_over_Services) {
_root.Services.nextFrame();
} else {
_root.Services.prevFrame();
_root.DesignAdvice.onEnterFrame = function() {
if (mouse_over_DesignAdvice) {
_root.DesignAdvice.nextFrame();
} else {
_root.DesignAdvice.prevFrame();
_root.OnlineStore.onEnterFrame = function() {
if (mouse_over_OnlineStore) {
_root.OnlineStore.nextFrame();
} else {
_root.OnlineStore.prevFrame();
_root.ContactUs.onEnterFrame = function() {
if (mouse_over_ContactUs) {
_root.ContactUs.nextFrame();
} else {
_root.ContactUs.prevFrame();
};Hi lisalis72
You might want to consider also posting this question over in
the
Flash
Forums. There are some here that regularly combine Flash with
Captivate, but most of us are clueless with Flash and only work
with Captivate. So your chances of seeing an answer might be better
over in the Flash forums.
Cheers... Rick
Maybe you are looking for
-
Loading Last three days of delta records in Production Server
Hi I have a Process Chain in BI-Production Server which runs dailiy and loads the delta records dailiy . I have 'Custom DataSource' which loads the data from QM-Tables . My Process Chain is failied due to the "Caller 09 Error for the datasource". S
-
How do you turn a sequence in fcp 5.0 into a high-quality dvd using idvd? Video is originally hdv, and used apple intermediate codec to capture and edit. The sequence is a little less than 90 minutes long.
-
Delta extraction for FI (AR & AP) data sources
I tried extracting the data from 2 standard SAP data sources under FI module for Accounts Receivable. 0FI_AR_10(Customer payment history via delta extraction) 0FI_AR_5 (customer payment history) The data to be extracted into 0FIAR_C05(payment history
-
Message screen open by default
Dear Experts! I have a question about the Message screen. On the right side you are able to see messages(errors, warnings) on a little screen.. My problem is, that if you want to see the message you have to open this little screen. Is there a possibi
-
Hello, I am sure there must some way to display a file content using Swing componets, but I want to which way it better and more concise. Thanks a lot Bio