Advertisement

05.11.2008 at 09:52PM PDT, ID: 23393682 | Points: 500
[x]
Attachment Details

Need XML script to call Multople Flash Files

Tags: XML, IE 7
HI,

I have some code that I'd like to figure out. The code works as it is, but I need more from it. Im using Adobe Captivate 3 to generate courses. Unfortunatey they're too big for my LMS. I need the XML to play one file at a time after I break the course into 3 seperate Flash files.  The code below illustrates how to seperate it into three seperate courses to be recognised by the LMS, but all I need is to simply call the 3 seperate files consecutively.

Please assist!

RELATED ATRICLE:

This actually might not be an impossible feat, but Captiv8r is correct, your
LMS should be creating a menu of all SCOs inside the SCORM package for you,
which obviates the need to use Menubuilder because you'd just be duplicating
menus and possibly confusing the user.
However, if your main intention here is to have multiple Captivate SCOs
(lessons) in one SCORM package, it is possible, however, it involves hacking
the imsmanifest.xml file that Captivate creates when you output your lesson as
a SCORM (1.2 or 2004).

What you have to do is first create a SCORM package using Captivate (as a
master SCORM package), and then create all your other lessons to later get
added into it (see below).

Each lesson must have a unique filename, and ideally you should synchronise
all the SCORM settings for each SCO (lesson) so that they use the same Course
ID, but each has unique SCO IDs. All of your Pass/Fail, scoring, and report
data settings must also match across the set (so that some are not reporting
percentages while others are reporting number scores etc).

Next you copy the HTM and SWF file for each lesson into the master SCORM
package you first created. (You only need these two files and not the
standard.js because they can all share it.)

Now you have to change the code inside the lower portion of the
imsmanifest.xml file so that it 'knows' about all of the other lessons you've
added. So far it only knows about the original Captivate lesson.

The code in the bottom <organizations> and <resources> elements in your
imsmanifest.xml will end up looking like this below. In this example I've set
up three lessons (lesson_1, lesson_2, lesson_3)
==========================================
<organizations default="MYCOURSEID">
<organization identifier="MYCOURSEID">
<title>My SCORM Course</title>
<item identifier="lesson_1" isvisible="true" identifierref="lesson_1_RES">
<title>Lesson 1</title>
<adlcp:maxtimeallowed></adlcp:maxtimeallowed>
<adlcp:datafromlms></adlcp:datafromlms>
<adlcp:masteryscore></adlcp:masteryscore>
<adlcp:timelimitaction>exit,message</adlcp:timelimitaction>
</item>
<item identifier="lesson_2" isvisible="true" identifierref="lesson_2_RES">
<title>Lesson 2</title>
<adlcp:maxtimeallowed></adlcp:maxtimeallowed>
<adlcp:datafromlms></adlcp:datafromlms>
<adlcp:masteryscore></adlcp:masteryscore>
<adlcp:timelimitaction>exit,message</adlcp:timelimitaction>
</item>
<item identifier="lesson_3t" isvisible="true"
identifierref="lesson_3_RES">
<title>Lesson 3</title>
<adlcp:maxtimeallowed></adlcp:maxtimeallowed>
<adlcp:datafromlms></adlcp:datafromlms>
<adlcp:masteryscore></adlcp:masteryscore>
<adlcp:timelimitaction>exit,message</adlcp:timelimitaction>
</item>
</organization>
</organizations>
<resources>
<resource identifier="lesson_1_RES" type="webcontent" href="lesson_1.htm"
adlcp:scormtype="sco">
<file href="lesson_1.swf"/>
<file href="lesson_1.htm"/>
<file href="SCORM_support/scorm_support.htm"/>
<file href="SCORM_support/scorm_support.js"/>
<file href="SCORM_support/scorm_support.swf"/>
</resource>
<resource identifier="lesson_2_RES" type="webcontent" href="lesson_2.htm"
adlcp:scormtype="sco">
<file href="lesson_2.swf"/>
<file href="lesson_2.htm"/>
<file href="SCORM_support/scorm_support.htm"/>
<file href="SCORM_support/scorm_support.js"/>
<file href="SCORM_support/scorm_support.swf"/>
</resource><resource identifier="lesson_3_RES" type="webcontent"
href="lesson_3.htm" adlcp:scormtype="sco">
<file href="lesson_3.swf"/>
<file href="lesson_3.htm"/>
<file href="SCORM_support/scorm_support.htm"/>
<file href="SCORM_support/scorm_support.js"/>
<file href="SCORM_support/scorm_support.swf"/>
</resource>
</resources>
==============================================

This should now give you three lessons showing up in the LMS SCORM menu. You
don't really need the menubuilder, but you have a similar result.
Start your free trial to view this solution
Question Stats
Zone: Web Development
Question Asked By: drsaunders
Question Asked On: 05.11.2008
Participating Experts: 1
Points: 500
Views: 0
Translate:
Loading Advertisement...
05.14.2008 at 08:43AM PDT, ID: 21565420

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.14.2008 at 07:05PM PDT, ID: 21570147

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.16.2008 at 04:23AM PDT, ID: 21581772

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.14.2008 at 08:43AM PDT, ID: 21565420

Rank: Sage

why don't you load the 3 separate files as 3 different scos and let the LMS handle the navigation in terms of creating the links in the course content i.e part 1 part2 etc and the user clicks on that to navigate through it.
 
05.14.2008 at 07:05PM PDT, ID: 21570147
Thats my thought, but I'd have no idea on how to achieve that script wise...
 
05.16.2008 at 04:23AM PDT, ID: 21581772

Rank: Sage

then its not a flash problem. how are you creating your scos?
your scos are in separate html files - or are you running swf file - surely the former in order for the API calls to be made.
with the LMS i used to use when creating the sco it immediately separated the individual pages and asked you to order them and the links were handled by the manifest file.
'
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628