Captivate Flash and javascript to understand

Hello

I have a simple requirement in which I need to capture the time a user spends watching a video. I publish a SCORM package with the. SWF option. I have the javascript code that would control the time. I put a button / stop which starts and stops the video and at the same time increases and stops the accumulated time. I need to pass this value to the SCORM package when the user closed the slide window or changes?

(1) how can I insert a javascript global variable within the overall slide and javascript functions that are called at the start and pause buttons. The variable would be the accumulated time.

(2) how can I call a JavaScript function from the slide script, (remember it's a flash) and go to the html page? I need to extract the session time accumulated and pass it to the variable session_time SCORM?

(3) is there a better approach, I'm missing that would accomplish this with more elegance?

Thanks in advance

If you put a function in the standard.js file or in the head of the html doc, you should be able to call this function. I would implement a timer in javascript with a function that stops and then restarts.

I have a blog on how to add a timer countdown custon (www.tlcmediadesign.com) which could be converted to just number.

If you find the function in the scormdriver.js that the game is the time (function SCORM_SaveTime (intMilliSeconds)), you could add a variable in there that you can set when you write the time and exit the Captivate service tries to write for her.

Tags: Adobe Captivate

Similar Questions

  • Flash and JavaScript

    Hello world!!!

    I have a small question for Flash experts and is subject to a JavaScript function that I put in a HTML file. This function has the intention to open a new window of different browser off the page I guess to called it. The purpose of this is because I have a download link in my school project Flash. Then, when I press a button of my. SWF file I want to see a new window browser HTML with an Image and save it to my hard drive. But the result I get is open this link in the same window of the controller of the file, when I press return of the master file beginning recharge oneself. I use Flash 8 Pro.

    Statement.
    function Popup (URL, Name, features) {}
    Window.Open (URL, Name, Features);
    }

    It's my JavaScript function

    function wallpaper (n, v) {}
    var xMax = screen.width;
    yMax var = screen.height;
    var xOffset = (v == 1)? (xMax - 1024) / 2: (xMax - 800) / 2;
    var decalage_y = (v == 1)? (yMax - 768) / 2: (yMax - 600) / 2;
    var x = (v == 1)? 1030:850;
    var y = (v == 1)? 780:650;
    var src = "the Fund screen/wp" + n + "-" + v + ".jpg";

    var newWindow1 = window.open (src, 'Wallpaper',' height = ' + y +', width = ' + x +', menubar = 0, resizable = 0, s crollbars = 0, status = 0, the title bar = 0, toolbar = 0, left = ' + x_offset + ', top =' + decalage_y + ");

    }


    And that's the way I'm calling from Flash. A does'nt firs open anything but what the tutorial said.

    (release)
    {
    getURL ("javascript:wallpaper (1,2)");
    }

    I also tried this method and the result is simply open the image in the same page the Master SWF's, but only opens a new browser window. Probably I don't understand something in the settings of the medicine, but I want an opinion.

    (release)
    {
    fscommand ("openWindow");
    filePath = "file://c:/portfolio/fla/wallpapers/wp1-1.jpg";
    getURL (filePath);
    }

    So. I would be amazing if someone can give me an opinion on this matter.
    TKS for the time to read this Post.

    Try:

  • Captivate, Flash and SCORM

    I have a Flash (menu and navigation) wrapper which loads / playing external Captivate SWF movies to create a course.

    When I publish the captivate with SCORM 1.2 films and run them individually, they make all calls expected SCORM for LMS. The Flash wrapper can also communicate with the LMS successfully.

    BUT... when I play the Captivate movies in the Flash wrapper, films Captivate is no longer trying to call the SCORM LMS. (At least according to the SCORM compliance test suite)

    My question is, should I expect it works? Or play the Captivate via Flash movies have I lost the ability to send Captivate for LMS interaction data?

    Thanks for your help.

    Thank you, Andrew. Thank you for sharing your expertise.

    Fbudd - sure, I'll do what I can. I will try to contact you offline.

  • Adobe flash Player and Javascript for windows rt

    I tyed to install adobe flash player and javascript on windows than RT, but I can't. What can I do? I really need them

    I [tried] to install adobe flash player and javascript on windows than RT, but I can't. What can I do? I really need them

    Flash Player for Win RT & WinRT 8.1 is updated through Windows Update. If all were fine with your computer, the automatic updates would have installed the current version (i.e., v15.0.0.239, as of November 25, 2014) now.

    Java runtimes are not offered or installed via Windows Update.

    Why do you need "javascript?

    [Last updated - November 29, 2014]

  • Need to upgrade to Captivate 4 and need answers before buy you!

    I called sales, Adobe technical support and customer service, and no one seems to have an answer for me and they put me on hold for more than 15 minutes, so I'll try this forum for help.  So if the gurus Captivate out there can answer my questions I would be very happy.

    Currently I have Macromedia Captivate 1 Education Version and want to upgrade to Captivate 4.

    1. in Captivate 1 if you create Flash demos, it creates an HTML file and a SWF file. I heard of someone who has the Captivate 3 that it creates now more than 2 files. Is this true for Captivate 4?

    2. I read in the comparison page version Captivate that Captivate 4 has the ability to convert your Captivate demo in PDF with Captivate 4. If so, the PDF will carry the 'demo' features or will it be a PDF standard?

    3. I have a Captivate 1 education version so it is less expensive to upgrade to Captivate 4 or just purchase Captivate 4 and Captivate 4 has a version of education?

    Thank you!!

    Hi again

    Unfortunately, the answer to the question of the files number is a bit like asking how long is a piece of string.

    At a minimum, you will see generally three files.

    • The HTML file that is used to present the film
    • The SWF file that is presented from the inside of the HTML file
    • A JavaScript file called standard.js

    Under certain conditions, you can see other files. For example, perhaps you have made a few clicks and trolling the mouse while you were recording. Each of these likely results in additional SWFs. Or maybe you used a FLV in the film. Each FLV is normally a separate as well. Or maybe you have opted for the option "full screen" when you posted. Which would result in a second HTML file. If you use the feature of issue randomly, you define one or more Question Pools. Each Question Pool translates into an extra to include SWF.

    I hope that answers the question for you better.

    See you soon... Rick

    Useful and practical links

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcerStone blog

    Captivate eBooks

  • a web site that I use every day tells me that I must now download flash and enable the java script, how can I do this?

    I use the American family site every day, and today when I went to play the games that I play every day instead of the game coming to the top, a notice that says I have to install flash and activate java script in order to see these games.

    You do not have the Shockwave Flash 11.0 r1 plugin so Flash should work.

    You can test here:

    That leaves option that you've blocked JavaScript.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • After you have installed Windows 10 and signature with password (Windows 7), the following screen (I guess the desktop of Windows 10) just flashes and the arrow cursor just spins.

    After you have installed Windows 10 and signature with password (Windows 7), the following screen (I guess the desktop of Windows 10) just flashes and the arrow cursor just spins.  Try to understand the problem.  Can I try to reinstall? Problem is on flashing screen cannot do anything.

    Original title: Windows 10

    Hello

    Thanks for posting in the Microsoft Community.

    (1) do the Windows 10 installation process is complete?

    (2) you are able to view the Windows 10 desktop?

    You can check the help below article and check if it helps.

    http://Windows.Microsoft.com/en-us/Windows-10/troubleshoot-screen-flickering

    If the problem persists, you can reinstall Windows 10 by downloading an ISO image file to create installation media.

    To download an ISO image see the link below:

    https://www.Microsoft.com/en-us/software-download/Windows10

    To create an Installation media check out the link below.

    http://Windows.Microsoft.com/en-us/Windows-10/media-creation-tool-install

    It will be useful. Please get back to us with the State of the question.

    Thank you.

  • 8.1 Windows title bar flashing (and all other Office 365 home flashes when I stall Net Netgear software engineering)

    I have a problem with WIndows 8.1 THE flashing bar title, and all the other programs that I use as Office 365 programs they are all flashing and disturbing all the data, I'm typing. When it blinks, everything stops. At first I thought it was a Virus. But isn't. When it happened first I just installed router NETEAR and wet router preferences. Finally, the PC sled drops dramatically and the flashing worsened. I did a "Refresh" and the problem was solved. And then downloaded again 'Net genius' of NETGEAR the beginning of the whole problem. It is here where I m now. PC flashes! Someone knows how to fix this?

    Hi David,

    I understand that you are facing problems with Windows 8.1 after installing Netgear software engineering on the computer.

    This problem could occur if the software is not compatible with Windows 8.1, that the problem only occurs after you install the software, that's why I suggest you remove the software and install it in compatibility mode and see if it helps.

    For more information on installing the software in compatibility mode, please see the article below:

    Make the programs more compatible with this version of Windows

    http://Windows.Microsoft.com/en-us/Windows-8/older-programs-compatible-version-Windows

    Hope this helps, let us know if you need more assistance.

    Thank you.

  • Tutorials for HTML 5 and Javascript to use APEX 5

    Hi guys,.

    Ask any good ebook or online tutorial where I can learn how to use HTML 5 and Javascript with APEX 5.

    Thank you

    Hi edy12,

    edy12 wrote:

    Ask any good ebook or online tutorial where I can learn how to use HTML 5 and Javascript with APEX 5.

    HTML5 is already used in some of the themes in Oracle APEX 5. (namely HTML5 themes introduced in APEX 4.2 + universal theme in APEX 5.0)

    Learning HTML5 and JavaScript, there are a lot of online resources like this:

    Also, you will find good books for HTML5 and JavaScript. In addition, having learned HTML and JS, you can navigate on jQuery and CSS tutorials like these two are also needed to develop applications APEX 5. As these (HTML, JavaScript, jQuery and CSS) are web development of basic technologies, learn which will give you good understanding about the structure and behavior of the HTML page and edge to customize themes and templates in your APEX application.

    Kind regards

    Kiran

  • How can we display - hide or enable - disable the Captivate objects using javascript?

    How can one show - hide or enable - disable or change the color of the Captivate objects using javascript?

    All ideas, actually I want to avoid Advance Action assisted drop programming and want to do the actions of text encoding.

    You can show/hide and activate using the following syntax.

    CP. Show ("obj." + i)

    CP. Hide ("obj." + i)

    CP. Enable ("obj." + i)

    CP. Disable ("obj." + i)

  • drawing in flash and export Illustrator files

    I use to be able to draw or modify drawings in Flash and then export them to a postscript or swf file so that I could keep changing them in Illustrator. These characteristics seem to miss and I don't understand why. Surely, these are the characteristics that have been used by other users. So the function of printing image went Flash and that's where I could contain my vector drawing as postscript or PDF, and now I can't do more than anything. In Illustrator, I use to be able to open the .swf files and I can't do that. Is there a go-around? Why take such a good thing away which is so useful to artists and designers?

    Hi all

    Flash Pro CC 2014 (v14.0.0.110) is now available for download via the Web App Cloud and Adobe Creative site.

    We have added the function Export SVG to Flash Pro with this new version. You will now be able to export the contents of the vector of the image selected as an SVG image, which can be opened directly in a browser and even imported into Adobe Illustrator.

    Option to Export SVG are accessed through the parameters of publication as well as via the Menu file > export > export Image option.

    Alongside this, we have added several new features in this release. The complete list is available on these links:

    Overview: https://www.adobe.com/in/products/flash.html

    Whats new: https://helpx.Adobe.com/Flash/using/whats-new.html

    Release notes: https://helpx.adobe.com/flash/release-note/flash-professional-cc-2014.html

    Thank you

    Mabrouk

  • Captivate 7 and learn share LMS Quiz not reporting on results

    Created a module quiz in 7 Captivate containing two questions pools and random question slides.  The results are not properly (LearnShare) LMS.  You can see the total result, but it seems to choose the number of questions randomly, he sends in return.  We have tried all possible combinations of settings and researched and researched and do not get anywhere.  The frustration is huge.  It is a 40 question quiz and the results are used by supervisors to train employees, therefore get accurate results.  We tried the same project to articulate Storyline and it works.  Is there anyone out there using Captivate 7 and LearnShare who can provide feedback on how to get the results to properly inform LMS?

    I have it!  And yes it works in SCORM clouds so we did share the results with our LMS and put it on them to understand how they can make it work.  Thank you for your help.

  • Captivate 4 and Firefox / Chrome - Quiz advances without answers

    Hello

    I hope someone can help me!

    I have Captivate 4, and my quiz works fine in Internet Explorer.  I use hot spots, with random question slides, and it works fine when I run from Internet Explorer.  But when I launch Firefox or Chrome, the FIRST time I start the quiz, he shows the first question for just a few seconds and then advances.  However, it does not show anything for me click on advance and it becomes basically hung up.

    If I then go back and re-launch the quiz on the same window, the test works very well and does not advance until I answered the question.  And the certificate at the end captures the score correctly, as well as the partition successfully sent to our database.

    Here are some parameters (if all goes well I am providing those needed to solve the problem...)

    Properties of the question:
    classified
    allows the user a chance
    using hotspots

    Question SLIDE properties:
    Display time 5 sec
    no transition
    on the slide, enter continue

    publication parameters:
    Flash player 9
    ActionScript AS3

    updated the skin
    Exit e-Learning e-mail

    Preloader 100%

    end of project actions: send e-mail

    Statement on

    allowing a move backward

    display of score at the end of the quiz

    required: answer all

    success or failure of 80%

    If crossing send email if omitting no action

    I have flash player 10 on my computer. Firefox 22.0. THAT IS TO SAY 10.0.9200... Chrome 28.0.1500.71

    Looks like it is related to the version of actionscript or the flash player version.  Don't know who.  I put it to AS2, and the parameters for the flash automatically reverts to the version 9.  Re-released, on site, then reread reloaded in firefox.  Worked well, except for the certificate, which had flashing fields with no info by them.  Then maybe? This means that I need to find an OLD certificate to use?

  • Flash, HTML javascript help!

    Hi all

    I have 50 different images on my server, the images are loaded into the flash. and also, I created an HTML page that I will use to show the images. Now in flash when the user clicks on a particular image, this image should be loaded into the HTML code we already have on the server.

    So I need to pass the name of flash to HTML to find the clicked image is displayed. I also want to hide the tool, the State... on the HTML toolbar.

    If it is possible to load the HTML on full screen, that will be great.

    Here, I did something...

    btnClipMc.addEventListener (MouseEvent.CLICK, onBtnClicked);

    var address: String = ("two.html");

    var URL_var:URLVariables = new URLVariables();

    function onBtnClicked(evt:MouseEvent):void

    {

    URL_var. Query = inpTxt.text;

    var jscommand:String = "window.open (" "+ address +" win ',' ',' toolbar = no, scrollbars = no, location = no, status = no, menubar = no. ' ");"

    urlReq:URLRequest = new URLRequest ("javascript:" + jscommand + "void (0);");

    urlReq.data = URL_var;

    navigateToURL (urlReq, "_self");

    }

    This displays an error message.

    Can you help me fix this script?

    I did...!

    variable that you want to switch to HTML

    imageName = "image_1".

    do the restrictions of html with query

    var address: String = "" largeView.html? query = "" + imageName;

    var jscommand:String = "window.open (" + address + "win ',' ',' width = 1100, height is 600, resizable = yes, toolbar = no, scrollbars = yes, location = no, status = no, menubar = no, left = 0, right = 0');";

    JS final to trigger the HTML code

    var jscommand:String = "window.open (" + address + "',' victory ',' width =" + finalWidth + ", height =" + finalHeight + ", toolbar = no, scrollbars = yes, location = no, status = no, menubar = no, left = 0, top = 0');";

    request URL

    var urlReq:URLRequest = new URLRequest ("javascript:" + jscommand + "void (0);");

    The HTML JS call

    navigateToURL (urlReq, "_self");

  • How to read data in Adobe Flash and align it to look like it's column?

    I am doing an application that already exists, but I add a few improvements. I'll explain what this app is. There is a server and client side. The client side adds data to the Access database (the columns are time, name and surname). On the other computer is an application that displays this data (I don't know if he reads a database or another type of file, but I did a database). I know that server-side plays an .swf Flash file. This screen stays for about 30 seconds and then the application plays videos in the video player installed (ads, this model is connected to a TV) for some time and then the screen goes back to the display of the data.

    I'm 18 and I have very limited knowledge of Adobe Flash (I learned something at school). I've done completely client-side app. I now how to create server-side. My main problems are: how to connect to Adobe Flash to the database (is it possible to transfer this data to any other file that can be connected to the Flash?), how to read data from database for Flash and how to display it. I don't want to display the data in the grid. In the application that already exists, each word is like a new text (tool in Flash) and it is aligned. Is it possible to add a loop that creates new texts and plays database cell? How to refresh the Flash screen?

    I know it's a very complex issue, but your help would be very appreciated. I did on the client side in Delphi. If you need more information or if you do not understand something of my explanation, don't bother to ask. Thank you!

    You can transfer data back and forth between Flash and database on a server with PHP as the intermediary.  If you are looking for Gioogle use terms like 'AS # PHP MySQL tutorial' (fillin 2 or 3 for the ' # '), you should be able to find something to help you along there.

    What about adding new textfields and harmonizing, it depends on what version of as you use.  In AS3, you use just...

    var tField = new TextField();

    tField.x = a value to match.

    addChild (tField)

    As far as refreshing goes, this would require removing all Textfields you added and re-create new ones like you did the first time.  Yet once, it depends AS version that you use.  In AS3, you can use removeChild()

Maybe you are looking for

  • BlackBerry Smartphones where is the stock of RIM (No Carrier) OS for Blackberry 8300?

    Every time someone asks how to reload Blackberry OS, the GET directed to this website: http://na.blackberry.com/eng/support/downloads/download_sites.jsp which contains all the operating systems for different carriers who sold blackberries. Upstairs,

  • Adding features IPS on ASA5585-S40-K9

    Hello I sold two quantity of ASA5585-S40-K9 to a customer. They are in HA configuration and software running 9.1 image. Now customer wants to have IPS features on these devices ASA. I need your help on the following two points: 1 can you please share

  • Adding networks to the tunnel VPN ACL

    Hello. On a remote location, I have to add additional networks access to our networks to the central location and I was wondering is it as simple as the addition of these networks to ACL on both sides of the tunnel to allow access or is there somethi

  • What license should I buy and how many significant performance gain?

    HelloWe build an educational site with Apex 5.0 web-based and we plan to use oracle as the database backend. It would be an an interactive website and we expect a lot of students access to conduct reviews etc.The database, we have selected is 'A stan

  • New folder for vDS

    Hi guys,.I know about the cmdlet New-folder, but can't find out how to create a folder in the section networking for the new switch virtual sitributedIs anyone already done this?Best regards, Sergey