Download user manual

Transcript
Technical Support for Developers
2. Add the following XML code to the file
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy
SYSTEM "http://www.macromedia.com/xml/dtds/cross-domainpolicy.dtd">
<cross-domain-policy>
<allow-access-from
domain="http://pegasus2.pearsoned.com/Pegasus/frmLogin.aspx" />
<allow-access-from domain="http://media.pearsoncmg.com" />
</cross-domain-policy>
Note: If your Flash file loads XML or variables from a domain other than those listed, or connects
to an XMLSocket server, you must add a line to the cross-domain policy file to allow access from
that domain.
3. Save the file
4. Upload the file to the root directory of the http://media.pearsoncmg.com server.
If your Pegasus course loads data using an absolute URL, but does not have a
cross-domain policy file, users will see a security alert when they access the Flash
player. However, if you load data using a relative URL (for example
../newsfeed.xml vs http://media.pearsoncmg.com/newsfeed.xml), the security alert
will not appear. This is because the relative URL will resolve to the domain used to
view the site (either http://media.pearsoncmg.com or
http://pegasus2.pearsoned.com/Pegasus/frmLogin.aspx).
Frequently Asked Questions
Q: When can the Flash object invoke Set/Get actions? Is it anytime after it is launched
OR at submit only?
A: The Flash object can invoke the Set/Get actions at any time; it can be invoked as part
of the question launch, end of launch, or any time while it is running. Flash will
communicate to invoke these actions based on internal Flash operations and not clicking
the Next Question or anything related to Pegasus.
Note: The Get operation retrieves whatever the current Set value is for that particular field. The
Set operation can be used to create (set) the value the first time, but it can also be updated with
subsequent Set actions, which will override each previous operation.
Q: What is the limit on the length of the Answer field?
A: The maximum length for the Answer field is 10,000 characters.
Note: The Answer field supports plain text, HTML, and XML formats, or any combination thereof.
XML content will not be shown in the View Submission screen, but it will be stored in the
database.
433