AS3 SCORM problem

Hi there,
Hope someone can assist!
I am publishing my Captivate 4 project with AS3 settings, as I have created a few animations in AS 3 that are inserted. Now I am publishing it and putting it on our scorm compliant LMS, it is not communicating with the LMS.
I have also published a file in AS2, which worked just fine in communicating with the LMS. Just took a course with one slide published it with AS2, then tried the same content exactly same settings only selecting AS3 and it didn't work.
One of the differences is that with AS3 settings it also wants to open a new empty window, which it doesn't do with the AS2 setting.
I have done some checking with the firebug in Firefox and it looks like it loads just fine, but when it starts playing it misses the communication with the LMS.
I was wondering if there are any solutions out there...
Thanks a lot!
Annemarie

No such thing as a stupid question....
Yes I did check those settings... and that seems to be causing the problem.
I just took an empty, new presentation (just for the process of elimination, no other values/factors involved) set the captivate settings to AS2 published tried it on the LMS, worked fine.
Then same empty slide, set the captivate settings to AS3, all other settings remained exactly the same, tried it on the LMS, it plays fine, but there is no communication to the LMS.
It loads all the swf files correctly, then with AS2 published file, it starts the "soaplms.php?op=initialize" and you can see in firebug (net) that the "scorm_support.swf?invokemethod etc" communicates with the LMS every few seconds, so it is reporting my progress and all that I do in the course.
With the AS3 settings, it never does the "soaplms.php?op=initialize", and actually at that moment it should display this message, it opens a new emtpy window. The course continues to play and all the buttons work, but it doesn't communicate to the LMS what my progress is or what I have done in the course.
There is a document that talks about the scorm compliance of Captivate and it mentioned that you might need to check that the API can be found, so I did that edited the html file, added the alert,  and the API can be found when launching the AS3 published file.
I have also tried it on the scorm tracker site from rustici, which is a great resource by the way: http://www.scorm.com/scorm-solved/testtrack/
You can upload your zip files and see the debug reports so you know exactly what happens in terms of communication to the LMS.
ActusxReus wrote:
stupid question, but did you double check that you selected Actionscript 3 in your Captivate preferences?
ActusXreus, have you succesfully used AS3 settings in a course and published it and used it on an LMS where it did track the results? Or if there is anyone else out there that did use these settings successfully, I would really like to know and maybe see what type of settings you have used in the other areas...
Thank you so much!
Best regards from the Bahamas
Annemarie

Similar Messages

  • Load AS2 swf into AS3 swf problem

    I have a flash with AS3 and inside this swf i load in a AS2 swf.
    to load swf works just fine, but the problem is when i load this i want to go to
    a specific part of it, for example i want to go to frame 3 in the loaded swf.
    i must control this from the AS3 swf, does someone know if this is possible?
    thanks in advance

    so can i do like this then to go to frame 3 in my loaded swf?
    MovieClip(ldr.content).gotoAndStop(3); ?
    sorry for being such an airhead
    thanks for helping me out =)
    Date: Sun, 7 Jun 2009 10:25:09 -0600
    From: [email protected]
    To: [email protected]
    Subject: load AS2 swf into AS3 swf problem
    no.
    if, in your loaded swf, you have a function f1() on the loaded swf's main timeline and you load that swf using a loader (say ldr), use:
    MovieClip(ldr.content).f1();   // to call f1() in the loaded swf
    >

  • As3 Scorm Lms problem

    I have a scorma package all ziped up and loaded into the LMS (blackboard).
    It opens and runs fine. Its not conecting to the lms though and sending completed when finished.
    Heres a link to my full source code.
    http://www.dev.wisc-online.com/prototypes/scorm/Planetsv2source.zip
    heres a link to just the zip package.
    http://www.dev.wisc-online.com/prototypes/scorm/Planetsv2sco.zip
    Any help on this subject woudl be great. never had a project before that had to be scorm compliant.
    //+++++++++++++++++++++++++++++++++  Pipeworks code   +++++++++++++++++++++++++++++
    import pipwerks.SCORM;
    var lessonStatus:String;
    var lmsConnected:Boolean;
    var success:Boolean;
    var scorm:SCORM = new SCORM();
    lmsConnected = scorm.connect();
    if (lmsConnected)
    lessonStatus = scorm.get("cmi.core.lesson_status");
    if (lessonStatus == "completed")
    {//course already been completed
      scorm.disconnect();
    else
    {//must tell lms course has not been completed yet.
      success = scorm.set("cmi.core.lesson_status","incomplete");
    else
    status_txt.text = "lms not connected";
    trace("could not connect to lms.");
    }//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    function resetPlanets():void
    if (visitedMercury && visitedVenus && visitedEarth && visitedMars)
      success = scorm.set("cmi.core.lesson_status","completed");
      scorm.disconnect();
      lmsConnected = false;
      gotoAndPlay("end");
    else
      planetName.visible = false;
      planetName.text = "";
      gotoAndPlay("planetFadeIn");
      completedMercury.visible = visitedMercury;
      completedVenus.visible = visitedVenus;
      completedEarth.visible = visitedEarth;
      completedMars.visible = visitedMars;

    I have a scorma package all ziped up and loaded into the LMS (blackboard).
    It opens and runs fine. Its not conecting to the lms though and sending completed when finished.
    Heres a link to my full source code.
    http://www.dev.wisc-online.com/prototypes/scorm/Planetsv2source.zip
    heres a link to just the zip package.
    http://www.dev.wisc-online.com/prototypes/scorm/Planetsv2sco.zip
    Any help on this subject woudl be great. never had a project before that had to be scorm compliant.
    //+++++++++++++++++++++++++++++++++  Pipeworks code   +++++++++++++++++++++++++++++
    import pipwerks.SCORM;
    var lessonStatus:String;
    var lmsConnected:Boolean;
    var success:Boolean;
    var scorm:SCORM = new SCORM();
    lmsConnected = scorm.connect();
    if (lmsConnected)
    lessonStatus = scorm.get("cmi.core.lesson_status");
    if (lessonStatus == "completed")
    {//course already been completed
      scorm.disconnect();
    else
    {//must tell lms course has not been completed yet.
      success = scorm.set("cmi.core.lesson_status","incomplete");
    else
    status_txt.text = "lms not connected";
    trace("could not connect to lms.");
    }//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    function resetPlanets():void
    if (visitedMercury && visitedVenus && visitedEarth && visitedMars)
      success = scorm.set("cmi.core.lesson_status","completed");
      scorm.disconnect();
      lmsConnected = false;
      gotoAndPlay("end");
    else
      planetName.visible = false;
      planetName.text = "";
      gotoAndPlay("planetFadeIn");
      completedMercury.visible = visitedMercury;
      completedVenus.visible = visitedVenus;
      completedEarth.visible = visitedEarth;
      completedMars.visible = visitedMars;

  • AS3 comboBox problem.

    Ok, I have a simple ComboBox with instance name of dragonCombo
    A Lable with an instance name of dragonLabel
    Using a an AS3 called Dragon.as
    When the ComboBox is clicked, a picture should pull up.   The problem is, there are no errors, but The ComboBox is not listing any of the Labels I loaded.  This is my AS3 code, maybe someone can see the mistake I have made somewhere.
    package
    import flash.display.MovieClip;
    import flash.display.Loader;
    import fl.controls.ComboBox;
    import fl.data.DataProvider;
    import flash.events.Event;
    import flash.text.TextFieldAutoSize;
    import flash.net.URLRequest;
    import flash.net.navigateToURL;
    import fl.controls.Label;
    public class Dragons extends MovieClip{
    public var dragonCombo:ComboBox;
    public var dragonLabel:Label;
    var comboDP:DataProvider;
    var dragonLoader:Loader;
    public function Dragons() {
    setupComboDP();
    setupdDragonCombo();
    setupLabels();
    private function setupComboDP():void{
    comboDP = new DataProvider();
    comboDP.addItem({ Label:"Fire"});
    comboDP.addItem({ Label:"IceNFire"});
    comboDP.addItem({ Label:"Ghost"});
    private function setupDragonCombo():void{
    dragonCombo.width = 150;
    dragonCombo.prompt = "Choose a Dragon";
    dragonCombo.dataProvider = comboDP;
    dragonLoader = new Loader();
    dragonLoader.x = 200.00;
    dragonLoader.y = 60.00;
    addChild(dragonLoader);
    dragonCombo.addEventListener(Event.CHANGE,loadData);
    public function setupLabels():void{
    dragonLabel.text="";
    dragonLabel.autoSize = dragonLabel.autoSize = TextFieldAutoSize.LEFT;
    public function loadData(e:Event):void{
    dragonLoader.load(new URLRequest("dragons3/"+e.target.selectedItem.Label.toLowerCase()+".png"));

    Your Dragons class is creating its own dragonCombo (it is not the one on the stage)...
           public var dragonCombo:ComboBox;
    that has no association with the combobox you placed on the stage manually as far as I can see.
    Assuming this is not your document class, if all you are doing is importing the Dragons class, then you are not implementing it at all.  You would have to have a line...
         var dragons:Dragons = new Dragons();
    in you fla in order to instantiate the class.  At that point you might start seeing error messages because in doing that your class is trying to target an object that doesn't exist because it only declared the combobox, it did not create an instance of it, as in...
          dragonCombo = new ComboBox();

  • AS3 text problem

    Hi,
    Just playing with some AS3; and encountered the following
    problem (CODE IS ATTACHED):
    Wanted to create a MC button I seen done on the
    gotoandlearn.com site, but wanted to change it from AS2 to AS3;
    Everything works fine, but where I am assigning a value to a
    dynamic text field it not working.
    b1_mc.buttText_mc.buttonText_txt.text = "Lynda.com";
    When I test movie, lynda.com is the text on my MC button, but
    Upon ROLL_OVER etc... it displays the test text, not
    Lynda.com.
    Can someone please help me out here. It would be appreciated.
    Kind Regards,
    Boxing Boom

    Hi,
    Yes. Well spotted. I had the instance name of buttText_mc,
    missing the _mc part on a few frames with motion tweens applied, on
    the button animation. I do not remember renaming it differently ;)
    - must blame tools ;)
    Kind Regards,
    Boxing Boom

  • SCORM problems

    Am trying to get my head around SCORM, and am following the Youtube example to the letter, and yet still have teething problems.
    1. When I open 'Content Package Conformace Test' or 'SCO RTE Conformance Utility Test', I receive the Environment Error: 'The "SCORM4ED_TS111_HOME" Environment Variable could not be detected. This Environment Variable must be set correctly for successful operation of this software.' Anyone seen this problem before?
    2. In the SCO RTE Conformance Utility Test when I hit 'Launch SCO' nothing happens... (Perhaps related to problem 1?)
    FYI my system specs:
    SCORM 2004.
    Windows 7 and XP. (tried on two machines)
    Internet Explorer 8
    Java 7.
    Thanks in advance.

    I'm experiencing a similar problem and here is what the help dest at ADL sent me.
     While the software should install these automatically, sometimes computer permissions get in the way.  You will need to set up a System variable in your Environment Variables with the "Name" of SCORM4ED_TS111_HOME and the "Value" corresponding to the path of the installed program (should be C:\ADL\SCORM_2004_4th_Ed_TS_V1.1_ST).  How you get to Environment variables is different based on Operating System, but the best way is to right click on my computer, look at "Properties" or "System Properties" and find the "Advanced" tab.  There should be a button for Environment Variables there.  The top will have user variables, which you will ignore.  The bottom will have the system variables discussed above.  I hope this helps!
    Andy Johnson
    ADL Technical Team
    Now I couldn't find that file when I looked and I've written them back but you may have better luck.
    Good Luck
    Susan
    Susan Wright (Equilady)
    Remember, the mighty oak was just a nut that held its ground.
    http://www.equilady.com

  • Tlftextfiled in textarea as3 component problem?

    i customize as3 textarea component (in source : fl.control.TextArea)
    i chnage textField in source to tlfTextFiled and i cand see RTL text in textArea component, but i have a problem , and i can not see affect my change in Direction
    please help me to change direction in this component
    excuse me for my poor english

    i customize as3 textarea component (in source : fl.control.TextArea)
    i chnage textField in source to tlfTextFiled and i cand see RTL text in textArea component, but i have a problem , and i can not see affect my change in Direction
    please help me to change direction in this component
    excuse me for my poor english

  • As3 preloader problem - Captivate5

    Hello all,
    Been searching around for this for a bit in a the forums and cant find anything on it here goes:
    I have a project that i built with a ToC for my company.  And i have a as3 preloader as well.
    Problem:
    Preloader is fine and centered in the middle of my project with out a ToC but when i add the Toc the preloader will not center in my project i have tried to alter it in the html file insterting <center> tags and such and also externalizing the skin or FMR SWF also removing and placing it back in and not getting a fix for it. I realize this maybe a simple fix but i cant find anything in the forums here discribing exactly this issue.
    can anyone help
    thanx
    bobby

    Hi,
    Going out on a stretch here but did you, by any chance, added external swf or widgets that would have set the values of either Stage.scaleMode or Stage.align. That could explain the effects you are seeing.
    Whyves
    www.flash-factor.com

  • AS3 oop problem

    I am a beginner with oop. Can anyone help me to understand
    what is wrong
    with this:
    public class MyClass{
    //set some variables in constructor
    public function myMethod():void{
    //my code
    myMethod();
    The line that calls the function generates the error message:
    Call to a possibly undefined method myMethod.
    Why?
    Doug

    Doug,
    > Thanks for that. I've got it working now. I only mention
    > AS3 as I've never used oop techniques with AS2 and I
    > thought it might be different.
    AS3 refers to ActionScript 3.0, a bona fide new version of
    the language
    (in fact, only in beta release, as of yet). See LiveDocs for
    details ...
    http://livedocs.macromedia.com/specs/actionscript/3
    ... the approach you're using, even if you're aiming for OOP,
    is still AS2.
    David
    stiller (at) quip (dot) net
    Dev essays:
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • AS3: Timing problem

    Hey,
    I have an 2 animations that I need to syncronize. The first animation is a projector screen entering stage, the second is few text layers and images.
    I timed the second animation 2.2 sec after the screen animation starts (using timer event) and it worked. When I tested it in other computers and on the internet the screen movment was much slower so the second animation entered the stage too fast.
    I want to order the second animation to enter only when the projector screen reach it's destination on stage. The screen animations has 2 parts, in animation and out animation connected by a stop(); commend in the middle.
    How can I do it without timer events?

    let say you want second_mc to play when first_mc is at frame 10.
    get in first_mc and add actionscript keyframe at frame 10 (you can add another blank script layer for this keyframe)
    to it's as3 code paset:  (root as MovieClip).second_mc.play();
    at frame one of second_mc add stop();
    shuld work now....
    אם אתה לא מסתדר שלח לי במייל את הבאנר ואת הפריים ממנו האנימציה צריכה להתחיל
    [email protected]

  • AS3 Loading problem

    Hello All,
                 I have written a simple AS3 Code to load a SWF File on he Stage. The file is loading properly but the Within the stage. The Width and height of the SWF file change. Like LoaderInfo return file size 200X200 , but after adding child the Width and height changes to 150.23 X150.23. I'm accessing the length of the loader.content property. At what ratio the change is a happening? I have attached the code...  Document property show content radio button clicked.
    stage.scaleMode=StageScaleMode.EXACT_FIT;
    //stage.scaleMode=StageScaleMode.NO_SCALE;
    //stage.scaleMode=StageScaleMode.SHOW_ALL;
    var Clip:Loader = new Loader();
    var req:URLRequest=new URLRequest("1.swf");
    Clip.contentLoaderInfo.addEventListener(Event.INIT,initListener);
    Clip.contentLoaderInfo.addEventListener(Event.COMPLETE,LoadingDone);
    Clip.load(req);
    var info:LoaderInfo;
    function initListener(event:Event):void {
         var SwfClip:Loader=Loader(event.target.loader);
         info=LoaderInfo(SwfClip.contentLoaderInfo);
         trace("File properties :- \n" + "width :- " + info.width + "\nHeight :- " + info.height);
    function LoadingDone(event:Event):void {     
         this.addChild(Clip);          
         trace(Clip.width + "  " + Clip.height + " " + (event.target.content).width + "  " +(event.target.content).height);

    You have stage.scaleMode set to EXACT_FIT which is causing the container to scale... and causing the loaded swf to scale as well. Remove that, or use No_SCALE and it will return the proper size.

  • CP6 - True/False Question Type SCORM Problem

    We discovered a problem with CP6 and the True/False question type.  The screen shot below is the log file of what is passed to the LMS.  The question was a True/False question type.  The correct answer was False.  I selected False and the assessment showed that I got the answer correct.  However, the data that is being passed to the LMS is incorrect.  CP6 is sending a 't' when you select False and an 'f' when you select True.
    Yes, you can get around this by using a Multiple Choice question type and limit the answers to 2 with True and False as the options, but we should not have to do that.
    Any suggestions?

    There is a long discussion on Jim Leichliter's blog (captivatedev) about this. The team considered this to be correct, Jim disagrees.
    http://captivatedev.com/2012/12/04/captivate-true-false-question-bug/
    Cannot help you further,
    Lilybiri

  • AS3 + FMS2 = problem with "stream" MP3

    I use AS3!
    I can not get mp3 "duration" (Net Stream)
    where event: onID3??????? how it works???? and it works?????
    help plz :)

    My guess is that its to do with your embedding code. Check a)
    you have an id attribute assigned to the resulting object tag from
    whatever embedding method you use and b) for good measure make sure
    its unique in your html page.
    Javascript needs to have a valid reference to return the
    value from the javascript function back to flash. In my experience
    IE is more sensitive to issues here.
    If you get stuck post a test page somewhere.
    Tools to use to help with javascript debugging and view the
    html embed results (e.g. from swfobject or activecontent.js):
    In firefox : Firebug
    In IE: IE Developer Toolbar , Companion JS, and DebugBar are
    all helpful and , combined, get close to Firebug.

  • Slow as3 website problem

    Hello,
    My as3 flash website is too slow. If you click the top menu too quickly, the menu is not working properly and the website is getting slower. (And CPU usage is going up to %100) (Especially in Firefox) You can see here;
    http://gulhangulez.com/avas/
    So while coding as3 what can i do for best performance?
    For example should i create an external as. file? or internal is fine?

    Slow motion is going to look jittery and not fluid if you footage was shot normally and then slowed down in FCP. I've found that for normal motions, I can only get it to slow down about 80% before it starts to break down.
    However, if you're looking at a tree blowing in the wind or something like that (not human or animal motion) 50% speed works great.
    Slow motion simply can't create more information that what you originally shot. It does what it can, but the rest is where the footage isn't fluid.
    Hope that helps!
    ~Luke

  • AS3 Code problem

    I wrote this code:
    match = new Array();
    matchHoriz = new Array();
    row = 0;
    while (row < gridRows)
          col = 0;
         while (col < gridCols)
              match = getHorizMatch (row, col);
              if (match.length > 1)
                   match.unshift(grid[row][col]);
                   matchHoriz.push(match);
                  // ***1        
              if (match.length == 0)
                   col++;
              else
                   col = col + match.length;
              match.length = 0;
         row ++;
    // ***2
    If I place trace(matchHoriz) on position // ***1 it shows the correct result (an array with matched objects).
    If I place trace(matchHoriz) on position // ***2 it doesn't show anything.
    What is wrong about my code???

    Before I clear the match array, the array is added to the array matchHoriz so the data should be there no matter what I do with match array data. I figured out what was happening: when I add the match array with push, the data in the matchHoriz array doesn't look as I expected. I changed push with concat and everything is going right now.
    Thanks.

Maybe you are looking for

  • How can i use flash themes in my T700 phone?

    When i used flashed themes in my T700 its appears like normal themes because icons remain just like by default.

  • Cannot Load Colour profiles

    Hi guys I am on the latest version of Tiger and wanted to caliberate my screen. Since I am completely useless I download some color profiles from the internet which were to be added in /library/colorsync/profiles. I did that but cannot access the new

  • EEWB project

    Hi, We have added some custom fields in CRM for BP . All the extensions are activated. We have a custom field (Basicalll a check box) in the BP. The table BUT000 is populated with the custom field for this. There is a also a structure ZBSTC0000000000

  • [ERROR] javaType customization in this context must be nested (JAXB spec

    Hi All, when i was trying to generate java classes from schema xjc is giving the below error. parsing a schema... [ERROR] <javaType> customization in this context must be nested (JAXB spec <property> <baseType> <javaType ...> </baseType> </property>

  • The flexfield in table-in-table is not fully supported yet

    Hi OAF Guys, while creating requisition, when I select the approver and click on the Next button, the following error is coming. the flexfield in table-in-table is not fully supported yet any patch i have to apply for resolving this issue? I am worki