Flash display LMS Username

Hi.
I have created a course in Flash MX/ Flash 8.0 and publish it
with SCORMwith 1.2 tracking. In the flash file, i have created a
text(dynamic) that would display the user's name. The course will
be launched using LMS.
Problem is:
I do not have any idea how to pass or request the user's name
to the swf on the browser. I have seen the function
SCOGetValue("cmi.core.student_name") which i hope this will return
the students name as a string. But i dont have any idea how to
retrieve that from flash/browser and sent to swf file to display
the name of the users when they start the course and take the quiz.
I hope i made my points clear. I would appreciate any help.
Thank you.
Clyde

If that function from your LMS returns the name as a string,
you can pass it into your SWF either using the Flashvars param or
as a URL variable attached to you SWF file path.
Check out the LiveDocs here:
http://livedocs.macromedia.com/flash/8/main/00001206.html
Hope that helps!

Similar Messages

  • Flash get LMS Username

    Hi.
    I have created a course in Flash MX/ Flash 8.0 and publish it
    with SCORMwith 1.2 tracking. In the flash file, i have created a
    text(dynamic) that would display the user's name. The course will
    be launched using LMS.
    Problem is:
    I do not have any idea how to pass or request the user's name
    to the swf on the browser. I have seen the function
    SCOGetValue("cmi.core.student_name") which i hope this will return
    the students name as a string. But i dont have any idea how to
    retrieve that from flash/browser and sent to swf file to display
    the name of the users when they start the course and take the quiz.
    I hope i made my points clear. I would appreciate any help.
    Thank you.
    Clyde

    If that function from your LMS returns the name as a string,
    you can pass it into your SWF either using the Flashvars param or
    as a URL variable attached to you SWF file path.
    Check out the LiveDocs here:
    http://livedocs.macromedia.com/flash/8/main/00001206.html
    Hope that helps!

  • How to Display Windows Username in a PDF File?

    I have a PDF form, it has a Name and a Date field, I setup the Date to display todays Date automatically using JavaScript. Now since my users have unique Windows login names. I want to automatically display there username or Windows name in the Name field. Can I do this using JavaScript? or is there a different way? Any help would be greatly appreciated.

    Here's a barebones script that you can call from a script in your form to retrieve the login name of the user:
    // Folder-level JavaScript function
    var getLoginName = app.trustedFunction(
        function () {
            // Get and return the user's login name
            app.beginPriv();
            return identity.loginName;
            app.EndPriv();
    This needs to be included in a JavaScript file that's installed in the correct location. It's just a text file, so you can create/edit it with a text editor, but make sure the extension is ".js". For more information about how to determine where to place the file, see: http://acrobatusers.com/tutorials/2006/folder_level_scripts
    More information on all of this is in the Acrobat JavaScript reference: http://www.adobe.com/devnet/acrobat/javascript.html
    To populate a text field with the login name, do something like:
    // Populate field with loginName
    getField("text1").value = getLoginName();
    Change "text1" with the actual name of the field in your form. You can place this code in a document-level JavaScript so it executes when the form is opened.
    Note that all of this code is the bare minimum, and you may want to expand it to check for errors, etc.

  • How to display the username and current date in OAF  page Footer region

    Hi,
    I need to display the username and Current-Date in footer region.If anybody knows the procedure then please share with me.
    Thanks
    Divya Agarwal

    Hi,
    Read this Thread:--
    You have to capture the UserName and Date in the Process Request Method of page Controller and invoke a method which will subsequently get and set the value in some attribute.
    String userName = pageContext.getUserName();
    How to populate Current Date and Time in OAF page through CO
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • 1067: Implicit coercion of a value of type Class to an unrelated type flash.display:MovieClip

    Hello, i've a class named LoadImages with the code:
    package
        import flash.display.MovieClip;
        import flash.events.MouseEvent;
        import flash.events.Event;
        import flash.display.Loader;
        public class LoadImages extends MovieClip
            private var _root:MovieClip=new MovieClip();
            public function LoadImages(numImages:Number, rt:MovieClip)
    and i've a second class named MainJogo that call's LoadImages:
    package
        import flash.events.*;
        import flash.display.Loader;
        import flash.display.MovieClip;
        import flash.display.Stage;
        import LoadImages;
        public class MainJogo
             #error
            private var imgMc:LoadImages=new LoadImages(2,this);
              #error
            public function MainJogo(url:String)
    if i just post the MainJogo class code in TimeLine there is no problems but if i run the app like this with 2 classes i keep getting the error
    1067: Implicit coercion of a value of type Class to an unrelated type flash.display:MovieClip.
    Can someone help me please?
    thanks

    MainJogo is not a Movieclip so "this" (in the scope of MainJogo) is not a MovieClip.
    if MainJogo did extend the movieclip class, you would probably still need to cast "this" as a MovieClip.
    you could use:
    package
        import flash.events.*;
        import flash.display.Loader;
        import flash.display.MovieClip;
        import flash.display.Stage;
        import LoadImages;
        public class MainJogo extends MovieClip
    private var imgMc:LoadImages=new LoadImages(2,MovieClip(this));
            public function MainJogo(url:String)

  • Implicit coercion of a value of type flash.display:MovieClip to an unrelated type Class.

    These are my errors: in Adobe Flash CS5.5
    I don't understand why this script doesn't work. I am new to Action Script 3.0 and I watched this incomplete video on youtube. -- http://www.youtube.com/watch?v=LC7BaZCForE&feature=relmfu -- and I got the fails below.
    Scene 1, Layer 'actionscript', Frame 1, Line 11 1067: Implicit coercion of a value of type flash.display:MovieClip to an unrelated type Class.
    Scene 1, Layer 'actionscript', Frame 1, Line 11 1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:DisplayObject.
    Main Timeline:
    import flash.filters.GlowFilter;
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    var navBtnGlow:GlowFilter = new GlowFilter(0x999999, 0.5, 0, 15, 1, 2, true, false);
    navbar_jj.addEventListener(MouseEvent.MOUSE_OVER, navOverF);
    navbar_jj.addEventListener(MouseEvent.MOUSE_OUT, navOutF);
    function navOverF(event:MouseEvent):void{
         event.target.filters = [navBtnGlow];
    navbar_jj.setChildIndex(event.target as MovieClip(event.target), 1);
    dropmenus_jj.gotoAndStop(navbar_jj.getChildAt(1).name);
    trace("We are Rolled Over..." + navbar_jj.getChildAt(1).name)
    function navOutF(event:MouseEvent):void{
         event.target.filters = [];
    Clicker Drop Down
    import flash.events.MouseEvent;
    stop();
    leadersframe_btn.addEventListener(MouseEvent.MOUSE_OVER, goBackF);
    function goBackF(event:MouseEvent):void{
        gotoAndStop (1);

    Use:
    navbar_jj.setChildIndex(MovieClip(event.target), 1);
    Or
    navbar_jj.setChildIndex(DisplayObject(event.target), 1);

  • 1172: definition flash.display.GraphicsPathCommand could not be found

    What do I need to do to make the following statement recognized?
    import flash.display.GraphicsPathCommand;
    I imported an example drawing project AS3Effects from Gilbert Mizrahi based on the works from Todd Yard.
    In that project the actionscript code and  mxml code recognize the import above.  But any of my other projects, applications, or actionscript classes I get the error above.
    What am I missing?

    I figured it out.  Under the properties for the Project you define the version of Player to require.  Player 9 does not inclued GraphicsPathCommand.
    I changed the version to 10.0.0 and I now see the Player 10 supported classes in the auto-complete or whatever it is called.
    I'm glad the forum is here for the tough questions.

  • Need of flash.display.loader

    Im currently in need of a library that contains flash.display.loader. I searched in google but the libraries I found doesn't contain display.loader. Would you mind to give me link where I can download this? Thank you guys.

    It's part of the standard "package" from Adobe. You already have in Flash professional or Flex SDK.. I don't know what you use..
    Just add a line at the begining of youf code:
    import flash.display.Loader;

  • Displaying the username in the title bar of jframe

    hi
    how to display the username entered by the user in the title bar of jframe

    I'm not sure what you mean by 'entered' but does the following help?
    import javax.swing.*;
    public class DisplayUserNameInTitleOfJFrame extends JFrame
        public DisplayUserNameInTitleOfJFrame()
            setTitle(System.getProperty("user.name"));
            setSize(640, 480);
        public static void main(String[] args)
            new DisplayUserNameInTitleOfJFrame().setVisible(true);
    }

  • Mac mini 2011 discrete graphics - flashing display (hp2207h model)

    Has anybody experienced a flashing display immediately after power on and throughout the boot with hdmi?  I currently have this problem with an HP 2207h display.  If others see this with other types of monitors, please reply as well.  If anybody has a solution, feel free to reply.
    For my testing, the hdmi cable is a known working cable, and the hp display works fine with wintel pc (bios and OS)...no flashing.
    My mac mini is the 2011 model with discrete ati graphics.

    The graphics on the mini are integrated on the logic board, in a similar manner to your iMac. If the video circuitry 'breaks', you'd have to replace the logic board.
    The Mac Pro is the only current mac that has a separate video card. All others are integrated on the logic board. Have you considered a refurbished Mac Pro? There are currently 6 available in the US Apple online store: http://store.apple.com/us/browse/home/specialdeals/mac?mco=OTY2ODY3Nw
    Nobody here knows Apple's release plans, and speculating is against the rules. You might see what this site has to say: http://buyersguide.macrumors.com/#Mac_Pro
    If you buy a system with integrated graphics on the logic board, you might consider Applecare to at least cover you for 3 years.

  • Flash.display.DisplayObjectContainer.stopAllMovieClips():void

    AIR SDK 3.8.0.440 has flash.display.DisplayObjectContainer.stopAllMovieClips():void instead of stopAllChildren(). Is there any change in the behavior (stopAllChildren was not actually working it seems), or is it still unsafe?

    Also it seems it's not implemented on Android.

  • Import flash.display.StageDisplayState;

    I try to use import 'flash.display.StageDisplayState;' for
    setting up fullScreenMode in a displayContainer. I get an error
    'Definition not found' Is that because I need to update the
    'globalplayers.swc'?
    I'm using the Moxie SDK.
    Michael

    If you're using FLVPlayback component, try setting fullScreenTakeOver property to false. (This property is true by default.)
    Kenneth Kawamoto
    http://www.materiaprima.co.uk/

  • Video Control Bar in Flash Displays on HD but Not From Webserver

    I am using Flash Pro 8 - putting FLV files in SWF files using
    Flash Pro 8 and then "publishing" to Html and SWF to a location on
    my hard drive.
    When I display the webpage from my Hard Drive from where ever
    on my hard drive I initially published to from Flash 8 Pro -
    everything works fine - videos play and video control bar shows and
    works.
    When I publish this website to web server the video displays
    and plays but NO Video Controller Bar (at bottom of the video)
    shows at all.
    Symptom: when I make an Html, SWF and FLA file into a folder
    on my hard drive and display them in the browser the video control
    bar shows. When I copy those three files into the hard drive
    website in FrontPage, the video shows but the video control bar
    does not.
    So, I re-made the Html, SWF, and FLA files and put them
    directly into the FrontPage website (on my hard drive) then
    everything works fine when I use broswer (IE 6 or Firefox). z
    But, when I publish the hard drive website to the remote
    website hosting company, the video control bar disappears -
    everything else works fine (video shows OK just no video controller
    bar.)
    My guess is that the SWF file has a non-relative URL
    reference concerning the video control bar and when the three files
    (Html, SWF and FLA) are moved to new location then that
    non-relative address rears its head.
    I should NOT publish from Flash 8 Pro directly to remote
    webserver as it has FrontPage Extensions and does not like to talk
    to FTP changes to website not coming from FrontPage client.
    is my guess right? What to do?????
    [email protected]

    quote:
    1. When I encoded the video in flash I selected one of the
    pre-packaged control bars (so the user can control basic
    functions). I then published an HTML and a .swf. The HTML works
    perfectly however when I use Dreamweaver to insert the .swf it does
    not carry over the control bar. I have tried pulling over the
    control bar .swf and placing it under the video file but a HUGE
    object is imported with a bunch of controls that do not work (bunch
    of controls = play/pause/etc).
    make sure the component skin is uploaded in same directory as
    swf, movie, html
    quote:
    The second issue is this; the user still has to click once on
    the video to use the controls... does anyone know what I am doing
    wrong on the video file?
    Follow directions
    HERE
    for getting rid of ActiveX control

  • Flash Display issues in IE11

    I require some help with an issue in viewing videos on the BBC website. 
    Issue (See attached image)
    When I access a web page with a video I can see the video
    When I start the video only the bottom 1 centimetre or so is displayed
    The details of the technology are
    Adobe Flash Player 16.0.0.235 1.11.1.160690-SMPFlash
    NPAPO Plug-in Version: 15.0.0.239
    PPAPI Plug-In Version: Not installed1500kkbps | RTMP (Akamai) | h264 | 704x396
    Internet Explorer 11Windows 7 Home Premium Service Pack 1
    Version: 11.0.9600.17633
    Update version: 11.0.16 [KB3021952])
    Product Id: 001500-20000-0003-AA459
    System type: 64-bit Operating System
    Manufacturer: HP
    Model: HP Pavilion g6 Notebook PC

    Hi,
    Thanks for your advice.
    I managed to resolve the problem by updating the content in the Compatibility View settings, i.e. I added www.bbc.co.uk to the list.     I have also taken your advice and update my version of Flash Player.
    Thanks again.

  • Can't Click Flash Display Settings on Mac

    Hello All,
    I need to Disable Hardware Acceleration in the Display Settings Dialog.  I right click, choose settings, but I cannot click anything.  Any Ideas?
    I have checked out the the thread on "Unable to click in flash player settings box" but nothing worked for me.   I tried a uninstall then reinstall and still
    nothing.  I can tab through the settings box but cannot uncheck check boxes.
    Please help
    thanks

    On Windows this situation can usually be corrected by deleting the 'Flash Player' folders in %APPDATA%\Adobe and %APPDATA%\Macromedia.  I have no idea where these settings are kept on a Mac; someone posted that location a while ago, but I can't find that topic now (something "Library").
    Just did another search and found it: http://forums.adobe.com/message/3232099#3232099

Maybe you are looking for

  • Determine usb port

    Hi, I have a problem with this configuration: How can I determine which USB 6210 device is on USB 1 together with the USB to RS485 converter? I communicate with the converter via CreateFile(). thanx!! Solved! Go to Solution.

  • In which tables sap does not add partitions to partitioned tablespaces

    Hi Team, I would like  to know in which tables sap does not add partitions to partitioned tablespaces in a BW 7.00 system on aix db2. any idea? DB2 version is 8.1.5 Thanks, Asad Message was edited by: Asad S Zafer

  • Send a Unix command through ARD that will change a OS X admin user to a standard user.

    I would love to send a Unix command through ARD that will change a OS X admin user to a standard user. The only thing I found close is sudo dscl . -delete /Groups/admin GroupMembership USERNAME which does remove the user from the list of admins, but

  • Problem in Back Order Processing

    Hi Gurus, I am not able to process Back order Processing when the order is created in CRM & replicated to R3. (Error: please select a line item which can be changed) But I am able to process a Back order processing in R3  when order is directly creat

  • Configuration of redirects from Zend Framework

    Hi, I have to use a PHP project which are develop based on Zend Framework. I use SJWS 7u4 and have to implement mod_rewrite rules form Zend Framework (stndard rules). I have to make rewrite url from http://some-name/some-dir/some-dir2 into http://som