Adobe Connect User Community








Bookmark and Share

Home >  Learning Center >  Tutorials >  Adding Learner Certificates to Presenter and Captivate Courses

Adding Learner Certificates to Presenter and Captivate Courses

Andrew Chemey, Adobe Systems

February 2009

Expertise Level: Intermediate

  
9 Votes

This document serves to describe a custom component that was developed to facilitate development of Flash-based certificates for integration with Adobe Presenter and Adobe Captivate. This component allows developers to build Flash-based certificates and call some simple methods to retrieve data from Presenter or Captivate. These certificates can be based on the completion status, the score and other metrics. When used with Adobe Connect Pro, or any other LMS, the component provides a mechanism to display the learner's name.

The component is built for Captivate and Presenter, for integration with Flash.? The Integration Component called ?CpPrFlashIntegration? is the same component described in another article used to develop Flash-based shells to launch Adobe Presenter and Captivate files.? The component is exactly the same and obviously the methods/properties are the same.? However, some of the methods or properties are intended specifically for one purpose (e.g. building certificates) than use-cases described in other articles.

Note:? The Captivate and Presenter Integration Component is based on ActionScript 2.0 and is not currently available in ActionScript 3.0.? The current version of the Integration Component can not be loaded into any Flash project that uses ActionScript 3.0.? This version of the Component also recommends the use of Flash Player 8 or higher.

The component is provided ?as-is? and may or may not be suitable for your environment or use.? It has been tested with Adobe Presenter 6 and 7; and Captivate 3 and 4.? It should be noted that the eLearning Suite should be used for future development using its widget technology.? Please see more information on the Adobe eLearning Suite.? This component may or may not work with future versions of Adobe Presenter or Adobe Captivate, but is an extremely easy way to develop certificates in current versions.

In this article, the Captivate and Presenter Integration Component is typically referenced simply as ?component?.

Requirements

  • Flash 8 or higher is recommended
  • Flash Player 8 or higher is recommended
  • Familiarity with ActionScript is recommended
  • Adobe Acrobat Connect Pro account is recommended (for LMS integration)
  • Sample Files associated with this document are available for download (briefly described in the Sample Files section, below).? These files may be compressed in .zip format and may require you to install an extraction program such as 7-Zip available from http://www.7-zip.com.

?

Overview

Building certificates in Flash is relatively straight-forward.? However, having that Flash file interact with Adobe Presenter or Adobe Captivate makes it a bit more challenging.? Not because Presenter or Captivate is difficult to use, but because these applications contain data that might be interesting to use in a certificate.

Figure 1: Certificate
Figure 1: Example of a certificate

The figure above, displays a certificate that could be created in Flash so that it is inserted and ultimately displayed (and printed) from a published Adobe Presenter or Adobe Captivate file.? Even in such a simple certificate, displaying the learner?s name is a bit complex.? This basic certificate requires:

  • Flash development (to build the certificate)
  • LMS Knowledge
  • Adobe Captivate and/or Adobe Presenter knowledge (to communicate and retrieve data for displaying the certificate)
  • Publishing the Adobe Captivate and/or Adobe Presenter file for an LMS (such as Adobe Connect)
  • The content to be launched from an LMS (such as Adobe Connect)

?

The Flash-based certificate would need to communicate with Adobe Presenter or Captivate to return the learner?s name from the LMS.?

Note:? Anyone who is familiar with SCORM-based communication could build this certificate to do its own LMS communication using ExternalInterface without the Captivate and Presenter Integration Component.? But that doesn?t work in all cases.

Additional requirements could be to only display a certificate when the learner has achieved a passing score or met some other requirement (e.g. viewed every page).? While developers could easily work around these requirements in Captivate or Presenter, at some point, it might be more efficient to build these requirements in the Flash Certificate.

Figure 2: Dynamic Options in Certificate
Figure 2: Flash certificate conditionally based on score

The component provided with this article is an easy way to build Flash-based files which, when inserted into a Captivate or Presenter file retrieve data for use in building a certificate.? By using the component, developers only need to know how to use the properties and methods provided to build a dynamic certificate.

Using the Captivate and Presenter Component for Flash

The Captivate and Presenter Component for Flash is built as a SWC component.? It knows how to interact with Adobe Captivate and Adobe Presenter.? This SWC, when inserted into Flash provides a number of properties (variables) and methods (functions) about the Captivate and Presenter file.? This allows developers to create a Flash-based certificate which is then inserted into Captivate or Presenter.? The certificate is displayed when the file is published and launched as a standalone file or through an LMS (if LMS-related properties are used in the certificate).

To use this component, you simply need to perform a number of simple steps:

  • Extract (unzip) the contents of the component into the appropriate folder where Flash is installed
  • Insert the component into a Flash project
  • Copy the updated HTML Templates for Captivate and/or Presenter (or insert the appropriate JS into existing HTML Templates for Captivate and/or Presenter).
  • Use the methods of the component to build a certificate in Flash
  • Publish the Flash-based certificate to generate a SWF
  • Insert the certificate SWF into Captivate or Presenter
  • Publish the Captivate or Presenter project using the updated HTML Templates/JS
  • Launch the content locally, via a webserver or import the resulting packaged files into the Content tab of Adobe Connect Pro

Installing the Captivate and Presenter Component for Flash

The download of the component, above, provides two distinct files.? A SWC file which can be manually copied to the Components folder where Flash is installed; and a FLA which can either be imported or manually copied to the Common Libraries folder where Flash is installed.? Only one of these steps needs to be followed, though they provide two different experiences within Flash.? Follow one or both of these steps based on your development standards.

Copy the SWC file to the Components folder of Flash, if using Components
On Windows, navigate to the following location, replacing the term <username> with the login name for your computer and with the appropriate version of Flash to install the component:

C:\Documents and Settings\<username>\Local Settings\Application Data\Macromedia\\en\Configuration\Components\

Note: Make sure you have set your Windows Explorer's View options to show hidden files and folders. Otherwise, you may not see the Local Settings and Application Data folders.

On a Macintosh, go to the following location, replacing the term username with your login name, and System Disk with the name of your system hard drive (i.e. Macintosh HD) and flashversion with the appropriate version of Flash to install the component:

System Disk: Users: username: Library: Application Support: Macromedia: flashversion: en: Configuration: Components

In the Components folder, you can create new folders for your own custom components. ?If a new folder is not created, components appear in a Standard Components grouping in the Components panel of Flash.? Copy the CpPrFlashIntegration.swc you downloaded to this new folder (or the root of the Components folder).

Figure 3: Integration SWC in Components Panel
Figure 3: Integration SWC in the Components Panel

After you have copied the file, go back to Flash. You can either restart Flash to see the new component listed in the Components panel, or you can click the options menu in the top right corner of the Components panel and choose Reload. You should now see a new grouping called either Standard Components (if the component was not copied to a new folder) or the name of the new folder created, above.? Inside this grouping, you will see a component named CpPrFlashIntegration.

Copy the FLA file to the Common Libraries folder of Flash, if using Libraries
A .fla file of the component (CpPrFlashIntegration.fla) has also been provided, for developers that prefer to use Libraries in their Development.? The best way to use shared library files is by copying files to the Common Libraries folder.?

The .fla file can either be imported (File > Import > Open External Library) command or by copying the .fla to the Common Libraries folder and then referenced by the Common Libraries (Window > Other Panels > Common Libraries > CpPrFlashIntegration) menu item.

Copy the Updated HTML Templates file for Captivate and/or Presenter
The HTML Templates provided as a download, above, are updates to existing templates for Adobe Captivate (3 and 4) and Presenter (6 and 7).? These templates only need to be updated once and then every time a developer publishes from Captivate or Presenter, the updated HTML Templates are used at publish.? Developers can either update the HTML Templates using the link above, or read in a later section what JS code should be inserted into the HTML files to provide all of the functionality of the component.

To Update the HTML Templates:

  • Close all copies of Microsoft Powerpoint and Adobe Captivate
  • Extract the appropriate .zip file (one for the appropriate version of Presenter and Captivate)
  • Backup the files with the same name where Presenter is installed, typically:
    • C:\Program Files\Adobe\Presenter X\AICC\, and
    • C:\Program Files\Adobe\Presenter X\SCORM\
  • Backup the files with the same name where Captivate is installed, typically:
    • C:\Program Files\Adobe\Captivate X\AICC\, and
    • C:\Program Files\Adobe\Captivate X\SCORM\
  • Note:? Backup or copy the original files OUTSIDE of the "Presenter X" and ?Captivate X? folders (where X represents the version of Captivate/Presenter being used, in this case probably 7) folder
  • Replace the files from this extracted zip in the Captivate/Presenter folders
  • Open and/or create a new file
  • Publish the file using AICC/SCORM (or Adobe Connect Pro) as the LMS type
  • Note:? Changes were not provided for the ?index.html? file ? though it?s easy enough to update that file.

Inserting the component in Flash

To insert the component in Flash, simply drag the CpPrFlashIntegration component from the Components panel to the stage.? Give the component a unique Instance Name, which will be used to reference the methods and properties for the certificate.

Figure 4: Integration Component on Stage
Figure 4: Integration Component

Using the properties and methods of the component

In order to be used, the component needs to be inserted into a Flash file and given a unique Instance Name.? It?s this Instance Name and component which ultimately provides access to the methods and properties of the Captivate or Presenter file the certificate will be inserted.?

Just the act of inserting the component starts to instantiate the component.? Nothing needs to be called to initialize with the component.? However, the first thing that should be checked is whether the component found a parent container.? Ultimately, the Flash-based certificate will be inserted into a Captivate and/or Presenter file.? The Captivate or Presenter file is the ?container? that loads the certificate.? If Captivate or Presenter can?t be found, either something went wrong or the Flash file was not launched in a Captivate or Presenter file (e.g. the certificate SWF was double-clicked in Windows Explorer).

There is both a method and a property available to test whether the parent container has been found.? The method is getInitialized() and it returns an integer (-1, 0 or 1).? With the use of the certificate the getInitialized method should immediately return either a 0 (container was not found) or a 1 (container was found).? A return value of -1 (the component is still searching for the container) is not expected in this use-case.

The property that indicates whether the container is found is isInitialized_bln.? The purpose of the variable is so a Flash watch can be called to wait for the property value to change.? For more information on setting a watch, search for Object.watch in the Flash help system.

Once initialized (the container was found), the next value to check is whether the component is ready to check the values of the Captivate or Presenter file.? Based on a number of conditions, the Flash-based certificate might not be loaded on the slide/page that the certificate is located.? Sometimes the certificate is loaded BEFORE the page that contains the certificate.? For example, if there are 5 pages in the Captivate/Presenter file and the certificate appears on page 5.? The certificate might actually be loaded on page 4.? However, IF the certificate is loaded on page 4 and immediately checks the status of the Captivate/Presenter file ? it would be ?incomplete? because the learner hasn?t completed all of the requirements for that file.? The component provided a getReady() method and an equivalent isReady_bln property that is set to 1 when the page that contains the certificate is the current page.? By this time, the values of the Captivate/Presenter file should be updated with the latest data for the certificate.

Once these values have been confirmed (values of 1), the rest of the properties and methods are available for retrieving data from the Captivate and Presenter files.? For example, here is code borrowed from one of the sample files:

// Reference to the Tracking Instance Name
var component_mc:MovieClip = CpPrFlashIntegration_mc;
interval_var = setInterval(waitForInitialization, 100);

function waitForInitialization()
{
???? // Look for initialization
???? var isInitialized_int = component_mc.getInitialized();
???? var isReady_int = component_mc.getReady();
???? if(isInitialized_int == 1)
???? {
????????? // found Captivate or Presenter container
????????? if(isReady_int == 1)
????????? {
?????????????? // current 'slide' contains this certificate
?????????????? clearInterval(interval_var);
?????????????? removeMessage();
?????????????? loadCertificateData();
????????? } else if(isReady_int == 0) {
?????????????? // Not applicable in our use-case
?????????????? clearInterval(interval_var);
?????????????? removeMessage();
????????? } else {
?????????????? // Keep waiting
????????? }
???? } else {
????????? if(isInitialized_int == 0)
????????? {
?????????????? // No Captivate or Presenter container
?????????????? clearInterval(interval_var);
?????????????? showMessage('Loading Error', 'No container found?);
????????? } else {
?????????????? // Keep waiting
????????? }
???? }
}

Properties

This section covers the properties available in the Captivate/Presenter Integration component.? These properties are mostly available for setting up a watch or checking their values for use in building the certificate.

Property

Description

isLoaded_bln

Indicates whether the Captivate or Presenter file is loaded.? This is typically not used in a certificate use-case.? This property is for building a Flash wrapper that launches Captivate/Presenter files.
Returns: Boolean (true or false).

isInitialized_bln

Indicates whether the Captivate or Presenter container has been found (if true, the Flash file has been loaded into a Captivate or Presenter file).
Returns: Boolean (true or false)

isReady_bln

Indicates that the current page is the page that contains this Flash-based file (certificate).
Returns: Boolean (true or false)

isQuizzing_bln

Indicates that the file contains quizzing components.?
Returns:? Boolean (true or false)

isLastSlide_bln

Indicates whether the current page is the last page in the file.? For this use-case, it actually is set to true, when the page that contains the certificate (or the Flash file that uses the component) is the current page.
Returns: Boolean (true or false)

isCompleted_bln

Indicates whether the file status is set to ?completed?.? This only checks the completion status and not the success status (whether the file is ?passed?).?
Returns: Boolean (true or false)

isPassed_bln

Indicates whether the success status is set to ?passed?.? It?s possible the file has been ?completed? (where the learner answered all of the questions in the quiz or viewed all of the pages) but did not receive a passing score (did not answer enough questions correctly).? In this case, the learner has answered enough questions correctly to receive a passing score (but the completion status should be checked to determine whether they have viewed enough pages).
Returns: Boolean (true or false)

isFailed_bln

Indicates whether the success status is set to ?failed?.? It?s possible the file has been ?completed? (where the learner answered all of the questions in the quiz or viewed all of the pages) but did not receive a passing score (did not answer enough questions correctly), thus their success status is ?failed?.
Returns: Boolean (true or false)

isQueueEmpty_bln

Indicates whether the LMS tracking queue is empty.? This is primarily used when quitting the file.? If there are still items waiting to be sent to the LMS, it might be bad to close the content or try to close the content.? Before exiting the content (which might be facilitated by the contentQuit method, explained in the methods, below), this value could be checked to confirm the queue is empty before loading another movie or otherwise exiting the content.
Returns:? Boolean (true or false)

isAdobeConnect_bln

Indicates whether the LMS that launched the Captivate or Presenter file is Adobe Connect.? This value should be true whether it was Adobe Connect, Adobe Connect Pro or an Adobe Connect Meeting.
Returns:? Boolean (true or false)

Methods

This section covers some of the methods available in the Captivate/Presenter Integration component.? Please review the sample files for examples of how some of these methods are used.

The properties/methods described below are all prefaced with the Instance Name of the component.? Most of the samples set the instance name as CpPrFlashIntegration_mc, though the ActionScript tends to create a reference to the component as integration_mc, such as:

var integration_mc = CpPrFlashIntegration_mc;

This reference is recommended, so that the actual Instance Name of the component can change, but the ActionScript requires only a one line change to accommodate your development style or naming convention.

 

Method

Parameters

Description

componentInitialize

Object: Instance Name of the Adobe Captivate or Adobe Presenter Movie Clip.

Starts a process to initialize the component and check whether an appropriate parent container (Captivate or Presenter file) has been found.?

Note:? This method should not need to be called, as it is explicitly called when the component is loaded on stage.?

Returns: Nothing.? Typically (in this use-case) the properties and methods that indicate whether the container has been found (initialize) is set to 0 or 1 after this method is called.

isChild

None

Determines whether the flash file is a child of a parent Captivate or Presenter file.? In this use-case, assuming the flash-based certificate has been loaded into a Presenter or Captivate page, this method should return true.

Returns: Boolean (true or false)

isCaptivate

None

Indicates whether the parent container is a Captivate file.?

Returns: Boolean (true ? if the parent container is a Captivate file; or false)

isPresenter

None

Indicates whether the parent container is a Presenter file.?

Returns: Boolean (true ? if the parent container is a Presenter file; or false)

getInitialized

None

Indicates whether the Captivate or Presenter container has been found (if true, the Flash file has been loaded into a Captivate or Presenter file).

Returns: Number (integer):? -1 (still searching), 0 (no container found) or 1 (container found).

getReady

None

Indicates that the current page is the page that contains this Flash-based file (certificate).

Note:? In this use-case, the values should be either -1 (still waiting for current page to contain the certificate) or 1 (current page displayed is the page that contains this flash-based certificate)

Returns: Number (integer):? -1 (still searching), 0 (current page is not applicable) or 1 (current page is the page that contains this certificate).

isLMS

None

Indicates that the current Captivate/Presenter file was launched from an LMS.

Returns: Boolean (true or false)

getLessonStatus

None

Status as stored by the LMS.? Typically the return value should be ?completed? or ?incomplete?, though it may contain other values based on status from LMS.

Returns: String

getLessonStatusSuccess

None

Success status (passed or failed) as stored by an LMS.?

Returns: String

getScore

None

Score.

Returns: Number

getScoreRaw

None

Raw score

Returns: Number (raw score)

getScoreMax

None

Max score

Returns: Number (max score)

getScoreMin

None

Min score

Returns: Number (min score)

getTimeInSession

None

Time spent

Returns: Number

getStudentID

None

Student ID as sent by the LMS.
NOTE: Only returns a value when launched in an LMS.? May require additional JS code in the HTML wrapper, if not launched from Adobe Connect.

Returns: String

getStudentName

None

Student name as sent by the LMS.
NOTE: Only returns a value when launched in an LMS.? May require additional JS code in the HTML wrapper, if not launched from Adobe Connect.

Returns: String

getNumberOfQuizzes

None

Returns the number of quizzes in the Captivate or Presenter file.?

Returns: Number

getNumberOfQuestions

Number: QuizNumber

Returns the number of questions in a particular quiz.

Returns: Number

getInteractionData

None

Returns the number of interactions as answered by the learner.? This returns an array.? The first value in the array is the first quiz.? The sub-value of the first array is also an array, which represents the number of questions in that quiz.? Finally, the items returned for each question.

Note:? This method returns a single array for each question in every quiz presented in the file.

Returns:? Array

getCourseTitle

None

Returns the Course Title (if available) from the Captivate or Presenter content.?

Note:? Especially for Captivate, may require additional JS code in the HTML wrapper.

Returns: String

getCurrentDate

None

Returns the current date as: Month{space}Day{comma}{space}Year
For example: ?January 1, 1999?

Returns: String

getCurrentMonth

None

Returns the current month formatted as a full month (e.g. ?January?).

Returns: String

getCurrentDay

None

Returns the current day.

Returns: String

getCurrentYear

None

Returns the current year.

Returns: String

getContentSlideNum

None

Returns the current slide number in the Captivate or Presenter file.

Note:? This value is 0-based, so the first slide in the file is 0.

Returns: Number

getContentSlideMax

None

Returns the total number of slides in the Captivate or Presenter file.

Note:? This value is 0-based, so if the file contains 5 slides, this method returns 4 (since the first slide is 0).

Returns: Number

contentQuit

Boolean: closeBrowser_bln

This method waits for the LMS queue (if there is an LMS) to be empty and then set?s a property isQueueEmpty_bln to true.?

If the method receives the optional parameter (closeBrowser_bln) then it attempts to close the browser window.

Note:? Closing the browser window is something that is based on Internet Explorer hacks and usually don?t work in Mozilla-based browser such as Firefox.? Closing the browser window might also require additional JavaScript to be inserted into the launching HTM file. This method does nothing when launched in an Adobe Connect Pro Meeting.

Returns:? Nothing

Component Files

The component is a relatively simple solution and is also relatively easy to use.? You can certainly incorporate the component into your own Flash-based certificate files and call the available methods.? This section will review the various files that comprise this component solution.

Note:? At this time, there isn?t an installer, though that may change in the future.? The steps are manual to copy and/or backup existing files for this solution.?

Here are the files of the prototype:

  • SWC Component (File)
  • SWC Library (File)
  • Updated HTML Template Files for Captivate and Presenter (File)

?

SWC Component

The SWC Component is the file that needs to be available in each of the Flash file used to build a certificate.? It can be copied (and available) to appear in the Component panel of Flash or in a Common Library.? From the Component panel, it needs to be dragged to each Flash file and given a unique Instance Name for use in custom certificates.

SWC Library

The SWC Component can also be made available to appear in the Common Library folder where Flash is installed.? Once copied properly, the library is available from the Window > Common Libraries panel.? The SWC then needs to be dragged to each Flash file and given a unique Instance Name for use in custom certificates.

HTML Template

Some of the methods in the Component may require additional JS methods available from the HTML files that launch the Captivate and Presenter files.? These methods include retrieving the Student ID and Student Name from a SCORM-based LMS and the ability to close (or redirect) the browser.?

This article includes updated version of the Template files for Captivate 3 and 4, and Presenter 6 and 7.? These files need to be manually copied to replace the files of the same name where Captivate and/or Presenter are installed. It is recommended that you back-up the files before replacing the files from the HTML Templates provided with this article.

Note: The HTML Template(s) may need to be manually copied/installed to different locations, based on the version of Flash and the OS you are using.? I thought you could use the FirstRun directory where Flash is installed (on Windows that would be in a subfolder of the Program Files directory), but that doesn?t seem to be the case, according to this technote for Flash 10:? http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7bb4a.html.? If the HTML Template does not appear in the Publish Settings dialog, copy the template file to the appropriate Templates folder based on your version of Flash and OS.

The HTML Templates can be used ?as-is? or developers can manually copy the appropriate JS code into existing HTML Templates or even the published files.? The JS code to insert can be reviewed here.

Sample Files

There are several example files provided with this article.? They all use the component to provide a custom certificate that can be inserted into any Adobe Captivate or Adobe Presenter presentation.? This section provides a brief description of each of the sample files.

Sample1_DataDump

This certificate displays a single page with a dump of data from Adobe Captivate or Adobe Connect, using the component.? It shows the result of using some of the methods from the component and described in this article.?

This certificate does not have a print option.? A quit button is provided, which *may* allow learners to close the browser, based on the environment it was launched from.?

The code for this certificate is found in the ?actions? layer of the root timeline of the certificate.? Additional JS code would need to be inserted in the launch HTM file for Captivate and Presenter.

Sample2_BasicGraphics

This certificate displays a basic certificate created using the basic drawing tools of Flash.? I would describe this certificate as ?programmer art?.? This certificate displays only basic data from Captivate and Presenter, which are basically the learner?s Name and the course name.? Both of these values have dependencies, before they will be displayed:

  • Learner Name: Published Captivate/Presenter file needs to be launched from an LMS (such as Adobe Connect).? Additional JS code may need to be inserted in the HTML Launch file of the published file set (to support SCORM LMSs)
  • Course Name: Additional JS code may need to be inserted in the HTML Launch file of the published file set from Captivate/Presenter, to retrieve the Course Name for Captivate files.

?

While the graphics are basic ? the functionality is based on the status of the Captivate and/or Presenter file.? If the learner does not ?complete? the file OR receives a failing grade, this certificate is not available for display/printing.?

This certificate does provide a print button.? A quit button is provided, which *may* allow learners to close the browser, based on the environment it was launched from.?

The code for this certificate is found in the ?actions? layer of the root timeline of the certificate.? Additional JS code would need to be inserted in the launch HTM file for Captivate and Presenter.

Sample2_AdvancedGraphics

This certificate displays a more advanced graphical certificate* created using jpg?s that were imported into Flash.? This certificate displays only basic data from Captivate and Presenter, which are basically the learner?s Name and the course name.? Both of these values have dependencies, before they will be displayed:

  • Learner Name: Published Captivate/Presenter file needs to be launched from an LMS (such as Adobe Connect).? Additional JS code may need to be inserted in the HTML Launch file of the published file set (to support SCORM LMSs)
  • Course Name: Additional JS code may need to be inserted in the HTML Launch file of the published file set from Captivate/Presenter, to retrieve the Course Name for Captivate files.

?

The functionality is based on the status of the Captivate and/or Presenter file.? If the learner does not ?complete? the file OR receives a failing grade, this certificate is not available for display/printing.?

This certificate does provide a print button.? A quit button is provided, which *may* allow learners to close the browser, based on the environment it was launched from.?

The code for this certificate is found in the ?actions? layer of the root timeline of the certificate.? Additional JS code would need to be inserted in the launch HTM file for Captivate and Presenter.

*A Special thank you to Brookwood for providing the graphics used in this certificate.? This certificate is only a simple example of what can be built for certificates.? Additional certificates can be built on company branding or other needs.?

Closing the browser

The component and examples include a contentQuit metho which may be utilized to end communication with Connect and attempt to close the browser.? This method attempts to close the browser window using code hacks for Internet Explorer and other browsers.? These hacks might not work in all browsers (e.g. Firefox 2.0.10 or higher) or environments.?

In most cases, the JS that was added is called to attempt to close the browser.? The JS methods might be need to be modified if they do not work or cause problems in your environment (e.g. cause the LMS window to close, or cause the browser to crash).? In addition, another method has been provided in the JS/HTML Templates which you can call to redirect the browser to another URL in case the browser does not close:

setExitURL(URL, TimeLimit)

This properties set by this method are called by

closeBrowser

function, but is typically only executed when the browser does not close.

Note: While these quit methods may work in Adobe Connect Pro, they will not function when launched in an Adobe Connect Meeting.

Conclusion

These prototype files are provided ?as-is?, though I expect to be making changes to them. ?Feel free to contact me with any updates and suggestions you might have for these files.



Member Comments

Share your thoughts. Tell us what you think about this tutorial.


Sign in to leave comments


<< Back to Tutorials main menu.