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;

Similar Messages

  • Authorware/Scorm/LMS KO/iframe/IE7 for Dummies

    I need some help, i recently built a course for delivery in
    Moodle but i am getting baffled by the LMS knowledge object and
    getting it to work within IE7.
    I understand the problem, or at least i think i do, but i am
    having a hard time finding how to implement the iframe workaround,
    i need some sort of Authorware/Scorm/LMS KO/iframe/IE7 for Dummies?
    I have tested the pieces on IE6 and they work fine, with
    Firefox 2 and Netscape 9 nothing happens at all, i just get a blank
    white API and with IE7 it hangs for a while before getting the LMS
    could not initialize notification.
    I have downloaded Andrew Cheney's photography example and
    that works with IE6 and 7 but i cant seem to duplicate the magic he
    posesses.
    Any ideas would be greatly appreciated.
    Thanks
    Gareth Edwards

    Just to follow up a little, i understand i need to implement
    the iframe workaround but what is it??????
    i have been scouring forums for days now, i've read many many
    many many postings pointing me to to the iframe fix but i am yet to
    find one explained in enough detail for me to understand.
    Somebody help me please, i promise i will never use
    authorware again once i've done this.
    Gareth Edwards

  • AS3 Data Coercion Problem

    AS3 Data Coercion Problem
    From PHP server RemoteObject AMF3 serialization, I receive a
    photo object per below into my Flex client:
    package WPhoto {
    [Bindable]
    [RemoteClass(alias="WPhoto.PhotoObj")]
    public class PhotoObj {
    public var photo:*;
    public var photoWidth:int;
    public var photoHeight:int;
    The above 'photo' property String of a one-byte (UTF-8)
    '.jpg' photo data. Due to PHP's rather limited set of primitive
    data types this is the best I can do per returning photo data to
    the Flex client. (Extreme tries at PHP data structure chicanery
    hasn't worked for me.)
    I need photo property in a DisplayObject format such that I
    can render photo as a child of my App's DisplayObject. The AS3
    Loader class performs this task, when sourced from an AS3
    ByteArray.
    o Loader.loadBytes(bytes:ByteArray, context:LoaderContext =
    null):void
    Loads from binary data stored in a ByteArray object.
    My dilemma is "how to" convert a UTF-8 string of photo data
    into a ByteArray. I've been through the ByteArray.writeXXX() class
    methods without finding anything close to meeting my requirements.
    AS3 String readers expect UTF-16 data, so reading AS3 string
    reading is not a solution. AS3 has no Byte data type, accordingly
    reading my photo data UTF-8 string with a "for loop" into a AS3
    UTF-16 string, or whatever, is not viable. Is there a single-byte
    reader to 'whatever' writer I'm not aware of?
    If I was sourcing photos from a Java based server, my photo
    rendering dilemma would be over. The server to client packets would
    be "java.lang.Byte[]" => flash.utils.ByteArray and voilà we
    could easily and directly render photos via the Loader.loadBytes()
    method.
    I can tentatively extend one of the AS3 ByteArray class write
    methods if I thought there was a way to read UTF-8 streams. Before
    digging down into the ByteArray class on a feasibility basis, I
    thought it first best to ask around the experts per 1) can
    ByteArray be extended for my requirement, or 2) is there a better
    way to approach this, which I have not thought of?
    Pete Mackie
    Seaquest Software
    Adobe Community Expert - Flex

    Hi,
    Thanks for the quick reply.
    I simply don't get it.
    I have a root class which adds two different children of
    different classes. One child dispatched an event, and the other is
    supposed to get it. Both of the are now supposed to be in the
    instance hirrarchy, or am I wrong?
    Logically, I'd figure this should work smooth and simple
    without any need for any looping or such.
    Right now, the root class can recieve the event dispatched by
    child1, but I can't make child2 recieve any event dispatched by
    either the root or child1.
    I'd appreciate if you could show me the way...
    thanks again,
    EZ42

  • 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

  • Interaction report in Fronter fails... SCORM 1.2 and SCORM 2004 problems...

    I am using Captivate 2.0 and trying to make a SCORM content
    that will report user interaction in the new Fronter 7.1
    (www.fronter.com). I use the reload SCORM 1.2 player for complaince
    check, since I do not have one for SCORM 2004 (
    http://www.reload.ac.uk/scormplayer.html)
    I have created a test cp file with just one question and 7
    slides. I pack the output in .zip with SCORM 1.2.
    When loading into the reload player I get the error message
    Problem validating manifest
    (file:C:/Documents%20and%20Settings/Martin/reload/reload-scorm-player/server/webapps/reloa d-scorm-player/course-packages/22/imsmanifest.xml:
    12, 92): cvc-complex-type.3.2.2: Attribute 'xsi:schemalocation' is
    not allowed to appear in element 'lom'.
    I can see the .xml manifest from Captivate and line 12. The
    manifest is posted at the bottom of this page.
    Now when I use the LMS system fronter 71, which has SCORM
    2004 and SCORM 1.2 support, the whole package loads and reports
    pass/fail but not the user interactions. Fronter 71 has support for
    this, and I would like to know what I have done wrong. I tried both
    SCORM 1.2 and SCORM 2004.
    Here comes the manifest for scorm 1.2 and then afterwards for
    scorm 2004
    <?xml version="1.0" encoding="utf-8" ?>
    - <manifest identifier="testthree" version="1.0" xmlns="
    http://www.imsproject.org/xsd/imscp_rootv1p1p2"
    xmlns:adlcp="
    http://www.adlnet.org/xsd/adlcp_rootv1p2"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
    http://www.imsproject.org/xsd/imscp_rootv1p1p2
    imscp_rootv1p1p2.xsd
    http://www.imsglobal.org/xsd/imsmd_rootv1p2p1
    imsmd_rootv1p2p1.xsd
    http://www.adlnet.org/xsd/adlcp_rootv1p2
    adlcp_rootv1p2.xsd">
    - <metadata>
    <schema>ADL SCORM</schema>
    <schemaversion>1.2</schemaversion>
    - <lom xmlns="
    http://www.imsglobal.org/xsd/imsmd_rootv1p2p1"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemalocation="
    http://www.imsglobal.org/xsd/imsmd_rootv1p2p1
    imsmd_rootv1p2p1.xsd">
    - <general>
    - <title>
    <langstring
    xml:lang="x-none">testfour</langstring>
    </title>
    - <catalogentry>
    <catalog>Adobe Captivate Course</catalog>
    - <entry>
    <langstring
    xml:lang="x-none">testthree</langstring>
    </entry>
    </catalogentry>
    - <description>
    <langstring xml:lang="x-none">min description
    ML</langstring>
    </description>
    - <keyword>
    <langstring xml:lang="x-none" />
    </keyword>
    </general>
    - <lifecycle>
    - <version>
    <langstring xml:lang="x-none">1.0</langstring>
    </version>
    - <status>
    - <source>
    <langstring
    xml:lang="x-none">LOMv1.0</langstring>
    </source>
    - <value>
    <langstring xml:lang="x-none">Final</langstring>
    </value>
    </status>
    </lifecycle>
    - <metametadata>
    <metadatascheme>ADL SCORM 1.2</metadatascheme>
    </metametadata>
    - <technical>
    <format>text/html</format>
    <location>.</location>
    </technical>
    - <educational>
    - <typicallearningtime>
    <datetime />
    </typicallearningtime>
    </educational>
    - <rights>
    - <cost>
    - <source>
    <langstring
    xml:lang="x-none">LOMv1.0</langstring>
    </source>
    - <value>
    <langstring xml:lang="x-none">no</langstring>
    </value>
    </cost>
    - <copyrightandotherrestrictions>
    - <source>
    <langstring
    xml:lang="x-none">LOMv1.0</langstring>
    </source>
    - <value>
    <langstring xml:lang="x-none">no</langstring>
    </value>
    </copyrightandotherrestrictions>
    </rights>
    - <classification>
    - <purpose>
    - <source>
    <langstring
    xml:lang="x-none">LOMv1.0</langstring>
    </source>
    - <value>
    <langstring xml:lang="x-none">Idea</langstring>
    </value>
    </purpose>
    - <description>
    <langstring xml:lang="x-none">min description
    ML</langstring>
    </description>
    - <keyword>
    <langstring xml:lang="x-none">Adobe
    Captivate</langstring>
    <langstring xml:lang="x-none" />
    </keyword>
    </classification>
    </lom>
    </metadata>
    - <organizations default="testthree_ORG">
    - <organization identifier="testthree_ORG">
    <title>testfour</title>
    - <item identifier="testone" isvisible="true"
    identifierref="testone_RES">
    <title>testtwo</title>
    <adlcp:maxtimeallowed />
    <adlcp:datafromlms />
    <adlcp:masteryscore>80</adlcp:masteryscore>
    <adlcp:timelimitaction>exit,message</adlcp:timelimitaction>
    </item>
    </organization>
    </organizations>
    - <resources>
    - <resource identifier="testone_RES" type="webcontent"
    href="cap2 1-2.htm" adlcp:scormtype="sco">
    <file href="cap2 1-2.swf" />
    <file href="cap2 1-2.htm" />
    <file href="SCORM_support/scorm_support.htm" />
    <file href="SCORM_support/scorm_support.js" />
    <file href="SCORM_support/scorm_support.swf" />
    </resource>
    </resources>
    </manifest>

    Here is the one for scorm 2004
    <?xml version="1.0" encoding="UTF-8" ?>
    - <manifest identifier="tthree" version="1.3"
    xmlns="
    http://www.imsglobal.org/xsd/imscp_v1p1"
    xmlns:xsi="
    http://www.w3.org/2001/XMLSchema-instance"
    xmlns:imscp="
    http://www.imsglobal.org/xsd/imscp_v1p1"
    xmlns:adlcp="
    http://www.adlnet.org/xsd/adlcp_v1p3"
    xmlns:imsss="
    http://www.imsglobal.org/xsd/imsss"
    xsi:schemaLocation="
    http://www.imsglobal.org/xsd/imscp_v1p1
    imscp_v1p1.xsd
    http://www.adlnet.org/xsd/adlcp_v1p3
    adlcp_v1p3.xsd
    http://www.imsglobal.org/xsd/imsss
    imsss_v1p0.xsd
    http://ltsc.ieee.org/xsd/LOM
    lomStrict.xsd">
    - <metadata>
    <schema>ADL SCORM</schema>
    <schemaversion>CAM 1.3</schemaversion>
    - <lom xmlns="
    http://ltsc.ieee.org/xsd/LOM">
    - <general>
    - <identifier>
    <catalog>Adobe Captivate Course</catalog>
    <entry>tthree</entry>
    </identifier>
    - <title>
    <string language="x-none">tfour</string>
    </title>
    - <description>
    <string language="x-none">min description
    ML</string>
    </description>
    - <keyword>
    <string language="x-none" />
    </keyword>
    </general>
    - <lifeCycle>
    - <version>
    <string language="x-none">1.0</string>
    </version>
    - <status>
    <source>LOMv1.0</source>
    <value>final</value>
    </status>
    </lifeCycle>
    - <metaMetadata>
    - <identifier>
    <catalog>test</catalog>
    <entry>test 1000</entry>
    </identifier>
    <metadataSchema>LOMv1.0</metadataSchema>
    <metadataSchema>SCORM_CAM_v1.3</metadataSchema>
    </metaMetadata>
    - <technical>
    <format>text/html</format>
    <location>.</location>
    </technical>
    - <educational>
    - <typicalLearningTime>
    <duration>PT0H0M</duration>
    - <description>
    <string language="x-none">Average length of time to
    experience this
    Adobe Captivate Project.</string>
    </description>
    </typicalLearningTime>
    </educational>
    - <rights>
    - <cost>
    <source>LOMv1.0</source>
    <value>no</value>
    </cost>
    - <copyrightAndOtherRestrictions>
    <source>LOMv1.0</source>
    <value>no</value>
    </copyrightAndOtherRestrictions>
    </rights>
    - <classification>
    - <purpose>
    <source>LOMv1.0</source>
    <value>idea</value>
    </purpose>
    - <description>
    <string language="x-none">min description
    ML</string>
    </description>
    - <keyword>
    <string language="x-none">Adobe
    Captivate</string>
    <string language="x-none" />
    </keyword>
    </classification>
    </lom>
    </metadata>
    - <organizations default="tthree_ORG">
    - <organization identifier="tthree_ORG">
    <title>tfour</title>
    - <item identifier="tone" isvisible="true"
    identifierref="tone_RES">
    <title>ttwo</title>
    - <imsss:sequencing>
    - <imsss:objectives>
    - <imsss:primaryObjective objectiveID="PRIMARYOBJ"
    satisfiedByMeasure="true">
    <imsss:minNormalizedMeasure />
    </imsss:primaryObjective>
    </imsss:objectives>
    </imsss:sequencing>
    <adlcp:dataFromLMS>.</adlcp:dataFromLMS>
    <adlcp:timeLimitAction>exit,message</adlcp:timeLimitAction>
    </item>
    </organization>
    </organizations>
    - <resources>
    - <resource adlcp:scormType="sco" identifier="tone_RES"
    type="webcontent" href="cap2 2004.htm">
    <file href="cap2 2004.swf" />
    <file href="cap2 2004.htm" />
    <file href="SCORM_support/scorm_support.htm" />
    <file href="SCORM_support/scorm_support.js" />
    <file href="SCORM_support/scorm_support.swf" />
    </resource>
    </resources>
    </manifest>
    Please help

  • Captivate CS4 - As3: Close Project problem

    I've just built a project with some As3 animations. Hence I saved the project as an As3 project. The problem is that at the end of the last slide, the project freezes rather than shuts down. I have taken care to select the "Close Project " option rather than the Stop option. But the project does not close automatically. Also the Exit button does not work (as intended).
    More details:
    Captivate CS4
    IE7 browser
    I've looked at some previous queries too on this forum but none seem to have an answer to the problem.

    Withdraw the question.
    It seems to run fine on my LMS but the issue is with IE, I guess.

  • Captivate 4/SCORM/LMS

    Adobe E-Learning Suite CS4 w/
    Captivate 4
    Flash CS4
    etc...
    I'm pretty sure everyone looking at that subject is sighing and rolling the eyes. lol.
    In any event I really need some help, as soon as possible.
    Let's go with that I have NO experience with SCORM compliance or LMS.
    I had created a Software Simulation CBT, basically used for employees to learn how to use an application that my client uses.
    I had originally done this all in one, and it ended up being around 150 slided.
    The opening slide has a 16 second Flash produce introduction with 16 second audio.
    Only other audio is produced from clicking the "Next" button
    Only other Flash is from FMR demonstrating the software (very minimal)
    It seemed that publishing such a large file produced very inconsistant files - sometimes very buggy in sections - back button not working properly, getting stuck on quiz slides, etc.
    So I broke up the large file in 8 separate files. Intro, Modules 1 - 6, Conclusion.
    Now... Here comes my next problem. I set up all the SCORM/Quiz reporting.  Each of the modules has a quiz associated with it for reporting. Intro and Conclusion have reporting on the last "NEXT" button.
    What I am asked from our client, is that the employee will log onto the LMS - click on the Course Name - and it will launch the intro.  Now to the user, the rest of the course should be seamless.  It's for the most part (except for one section in Module 1) completely linear.  When the user gets to the last slide of the Intro section, when they click next it should go to the first slide of Module 1.  It should have the built in TOC that I built in the flash files.  I did all the SCORM 2004 reporting options, manifest file, etc.  I used the SCORM Packager provided (the aggregator) and sucessfully created a .ZIP to upload to the LMS.
    I downloaded Moodle, full package, to use as a sandbox LMS on my local system.
    When I upload the .zip file produced from the SCORM packager, and run it in the LMS the TOC does not show all of the modules.
    Also, when I get to the last slide of Intro and click "NEXT" it just goes to a blank screen.
    How do I make this a seamless transaction with proper LMS reporting - which is NOT pass/fail it's just completion.
    Anybody still reading yet??
    Please let me know if you need anymore information, it's very vital that I get this figured out by this weekend as our client is requesting a final product by Monday/Tuesday.  I really really appreciate any help that can be provided, thank you all very much in advance.
    I fear I may be in over my head here...  which is not an option.

    Imagine that a SCORM course is a book. This book has separate chapters - each chapter is a SCO. If you have a SCORM course that consists of 7 SCO's you would still only have one course in the LMS. Depending on how the SCORM communication is set up YOU define how the course should work.
    Example of a SCORM manifest (NOT correct - only an example)
    Title: Course title
    SCO1: Chapter 1 - Introduction - introduction.html (the HTML files which has the apiwrapper and loads your swf)
    SCO2: Chapter title - resource link
    SCO3: Chapter title - resource link
    Okay, so I guess my question is this then.  Is it MY responsibility as the programmer to link the SCOs together within Captivate? or is that done within the SCORM manifest? Or does the LMS handle this?
    I would say that it is your responsibility. The programmer / developer would need to put in the SCORM calls in the chapters/SCO's for it to work. This cannot be done afterwards.
    In other words, lol, does the next button on the last slide of each module have to "Open File/URL" or can it simply say "Continue" as it does now and the LMS, via the manifest, will know to open the next module and start that slide annnnd will it report as one final score?? That's the other thing, I would like it to report one score for the overall course (it's actually not a score, it's just a complete/incomplete)
    No you would need to do two things at the end of each module.
    1 - Set the particular module as "Completed" in the LMS by using a SCORM command
    2 - Close the particular module in the LMS by using a SCORM command.
    Once these two are done then the LMS will unload the current module and automatically fetch the next module in the SCORM manifest and run that.
    If you are only interested in reporting complete/incomplete then this is enough. Just call the SCORM commands to set each module as completed and then the SCORM command to unload the module. Once they go through the last module all is completed and the course is "passed".
    As for the TOC I am a bit confused.
    Do you have a TOC for each of the modules created in Captivate? If so then this will work just fine in an LMS.
    If you have a TOC using the Aggregator then you would of course need to use Captivate to make the SCORM package. Another option could be to check if the LMS has a "TOC" of it's own. Many LMS' build their own TOC based on the SCORM imsmanifest.
    One suggestion I have for you.. Make a testfile for your client. This file should basically be what you tried to upload to Moodle first. Completely done in Captivate and Aggregator. Then ask them to load this in their LMS and see if they encounter any problems first. As I said Moodle isn't the best choice for troubleshooting LMS / SCORM issues ;o) Perhaps everything works perfectly well in their corporate LMS.
    /Michael
    Click here to visit the www.captivate4.com blog

  • AS3 Video chat problem

    Hi guys
         i am creating a flash as3 video chat
         i am having a problem when i refresh the webpage the video not display
         please help me urgent
    regards
    kamal

    I want to have seprate audio video chat option in AS3.0
    How this can be achieved??

  • AS3 Key reading problem

    Try this out for yourselves.  Put the following code into the main frame of a blank AS3 Document.
    stage.addEventListener(KeyboardEvent.KEY_DOWN,keydown);
    function keydown(e:KeyboardEvent):void {
        if (e.keyCode==38) {
            trace("up is pressed.");
    This code will trace "up is pressed." into the output panel whenever the UP ARROW KEY is pressed.
    Try pressing up a couples times to make sure it works.
    Now hold down the SPACE BAR and the LEFT ARROW KEY at the same time.
    Try pressing up while you hold BOTH those keys down, and it wont detect the UP ARROW KEY being pressed.
    It also wont detect the UP ARROW KEY being pressed if you hold down the combination CTRL+LEFT ARROW KEY.
    Does anyone have a fix for this problem?
    -Kyle

    All those key combinations work for me (Disable Keyboard Shortcuts for CTRL to work)
    Win XP/ Flash CS3

  • AS3 core maths problem

    Hi. If you run the code at the bottom in AS3 you get this:
    0.1
    0.2
    0.30000000000000004
    0.4
    0.5
    0.6
    0.7
    0.7999999999999999
    0.8999999999999999
    0.9999999999999999
    if you run it in AS2 you get
    0.1
    0.2
    0.3
    0.4
    0.5
    0.6
    0.7
    0.8
    0.9
    1
    the as2 version is what you would expect. Anybody know why
    this is?

    hutn.jimbo,
    > Thanks for the reply Rothrock, but that does
    > seem strange. If you add 0.1 to something, it
    > should go up by that.
    In a theoretical sense, of course, you're right. The problem
    isn't with
    your arithmetic ability, but rather with the basic problem of
    how computers
    represent decimal values. I wish I could explain it better
    than that (it
    definitely surprised me when I first saw it), but you do get
    used to it.
    The same output occurs in JavaScript:
    <script>
    var counter = 0;
    for (var i=0; i<10; i++) {
    document.write((counter += 0.1) + "<br />");
    </script>
    > I don't really know how to get the output I'm after,
    > as sometimes you would need to round down and
    > other up.
    I can think of two ways in this scenario. Either multiply
    your value by
    10, round, then divide it by 10 (or whatever decimal place
    makes sense) ...
    var myNum:Number = 0;
    for (var i:Number = 0; i < 10; i++) {
    myNum *= 10;
    myNum += 1;
    myNum /= 10;
    trace(myNum);
    ... which is your only choice (I think) with ActionScript
    2.0. In
    JavaScript, you could use the Number.toFixed() method:
    <script>
    var counter = 0;
    for (var i=0; i<10; i++) {
    document.write((counter += 0.1).toFixed(1) + "<br
    />");
    </script>
    David Stiller
    Co-author, Foundation Flash CS4 for Designers
    http://tinyurl.com/5j55cv
    "Luck is the residue of good design."

  • Reporting scores to SCORM LMS?

    I've create some quizes in captivate made them scorm compliant by doing:
    Edit->Preferences->Quiz->Reporting
    Then checking Quiz: Enable reporting for this project
    Under Learning Management System( LMS ):
        chose Standard: Scorm, Manifest  Template: Default
    Report Status:
      Complete/Incomplete
    Report to LMS as:
      Score
    Choose Report Data:
      Quiz Results Only
    Reporting Level:
      Report Score
    I our LMS it sends the LMSInitialize Message, but never sends a LMSSetValue when the quiz if finished.
    Is there something else I need to do to a quiz in order to report the score?

    Test. Shows that there is a reply. I just can't see it yet.

  • CiscoWorks LMS problem

    We are running CISCOWORKS LMS in our Data Network,
    But right now getting below problem,
    1.    Unable to integrate Cisco-3925 integrated service router
    2.    Unable to integrate Cisco-2811 integrated service router
    3.    LMS cannot sense link status
    4.    LMS cannot auto discover link
    Attached Image for your kind reference.Appreciate your concern about this issue.

    Hi Hafiz,
    Kindly let me know how you are adding device to CiscoWorks LMS 2.6.
    As a best practise, when you will add new device to CiscoWorks, you should not select the device type while adding the device to CiscoWorks. Let the ciscoworks collect the inventorty on device and identify it automatically.
    To start with make sure you have the lastet MDF device packages install for Common Services and then install all device pachages for other components like RME, CiscoView etc but make sure to have lastest MDF install first.
    Thanks
    Gaganjeet

  • Talking to a SCORM LMS

    Could anyone tell me if it is possible to get Director to communicate with a SCORM compliant LMS system through Shockwave? If it is are there some examples of how to do this that you could point me in the direction of? I am completely new to SCORM and not exactly sure what I need to do.

    Thanks for the links, I looked at both and have to say that I think I am less confident than before looking at them. Unfortunately I have limited JS experience and I’m getting the impression I will need to learn its ins and outs as well as suffering through SCORM’s flaming hoops of doom. (Hooray for people who didn’t even know what an LMS was until recently thinking SCORM is the be all and end all! They still don't know what SCORM is - just that it is a standard and standards are good.)
    Will Valentin Schmidt’s example let you call any basic JS command from Shockwave or does more need done to it? Also, is there an example of how to integrate SCORM’s specific API into something like this?

  • Installing LMS problems

    When we replaced our Nortel 8600s with Catalyst 4507s last year we also purchased LMS as a replacement to Nortel's Enterprise Switch Manager. ESM was extremely easy to configure and use but LMS seemed overly complicated in comparision. I installed it but gave up configuring it. Now I'm revisiting it and would like to get it up and running but have run into lots of problems installing it let alone trying to configure it.
    Last year I had a W2K3 server that I installed LMS4.0 on. It was pretty easy to install and worked straight away with no problems that I remember. Now I have a W2K8R2 server and when I attempted to install LMS4.0 it said it was not a supported OS. I found an official Cisco patch that I ran and selected the LMS4.0 setup.exe when requested. This installed but all services were set to manual. Starting the services worked but the web page would still give a 503 (I think) error. I uninstalled and attempted to run the patch and select setup.exe but it would not go any further and would not let me install it.
    I then managed to download LMS4.2.1 and attempted to install it on the same W2K8R2 server but it fails almost immediately with
    "ERROR: The file with the name C:\PROGRA~2\CSCOpx\setup does not exist". I've tried the obvious like restarting the server but it still fails?
    I could build a new W2K8R2 server (virtual) and try again. Maybe the failed LMS4.0 installation is screwing something up?
    Any ideas?

    Seems the residuesn of LMS 4.0 are creating issue. Try to run the clean_system.exe to remove everything related to ciscoworks and also see the registry if any CIsco related folder is still under Computer/HKLM/Software.
    LMS 4.2.1 is an incremental patch which requires LMS 4.2 to be installed previosly. You can try to install LMS 4.2 directly which should work, but LMS 4.0 and LMS 4.2 have diffrent individual licenses.
    If you got your LMS software with SAS contract, there are chances you can get LMS 4.2 software for free, but check with your accounts team for more details on it.
    If you prepared Win2k8 server as  VM, i guess it will be much easier to deply it from scratch if you have a template.
    -Thanks
    Vinod

  • As3 mp3 encode problem

    Hi,
    We are developing an app that could play mp3s from a music store. We found that the downloaded mp3 from the store can't play be as3's Sound class. The file's information can be load, but just not to play. Same code (something like new Sound(); load(urlrequest);play();..) will work to some of other mp3s. I've searched from internet. Looks like this is only way to play mp3s by AS3. Some older AS2 code could play these mp3s by sound.loadSound(). I don't understand why the old method is better than the newer one, and it is in same flash editor and player. I re-encoded the mp3s by Adobe Media Encoder, and the AS3 player will work. But I can't do it for every customer's downloaded mp3. From internet, I can't find what is the specification of Flash friendly mp3 Encode. And every other mp3 player can play these mp3s even Flash AS2.
    Please help!
    Andy

    The reason I listed as3 and as2 code with local mp3 is showing you even the code is simple like that, it is still not working. So I don't expect it could work with more complicated situation, and how wired it isthat AS2 code could work but not AS3.
    It will be an iOS app, but anyway it will be running by swf, right?
    The music will be downloaded from the music store, but it will be running in the local folder, not stream from internet.
    So the code for music playing will just be like that:
    import flash.media.*;
      var snd:Sound = new Sound();
      snd.load(new URLRequest("Music.mp3"));
      snd.play();

Maybe you are looking for

  • Can someone tell me how to copy my iPhotos to a dvd to put onto Windows computer?

    I transferred my 10,000 photos from my Windows computer to an external drive.  From there I transferred them to my Mac Iphoto.  Now, I need to copy them onto discs to put onto my Windows computer.  How do I go about this?  When I try, my iDVD seems t

  • Camera Raw 8.5 not updated !

    Since last CC 2014 update Camera Raw is not updated to 8.5 following Adobe Staff demands and explanation i unsintall Adobe Bridge CC , Photoshop CC, Photoshop CC 2014 i uninstalled Creative Cloud Desktop, Adobe Manager ( trashed) deleted AAM pref and

  • Mic activation on iPod Touch 2nd gen?

    Does anyone know if the mic is working with the new 2.2 update? If not any idea when it will be available?

  • Posting delivery costs in MIRO

    Hi,     problem is when the user planning to post the invoice for delivery costs (6 delivery costs,belongs to 4 different vendors), system is showing only 2 vendors instead of 4 vendors. what could be the problem. its urgent. thanks and regards, bhar

  • Can't re-login onto iCloud email

    Had to hard reset my phone and restored it as a 'new iPhone'. But unfortunately it won't let me reach my old icloud email that I had before I reset it, which was my main email. When I try to login under iCloud it says the account has already been add