Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

A book that refuses to export

7 views
Skip to first unread message

Robert Stevenson

unread,
Apr 30, 2013, 3:04:02 PM4/30/13
to
Fact is, it exports without any problem but once exported I have never been
able to complete it without is freezing. Runs through all the pre-export
validation and AE script validation ... runs great at native. Just curious
if I post the page script for the quiz if anyone might be able to give it a
quick scan just to see if there is something that jumps out as a failure in
logic severe enough to cause the freezing. Three days of export and re-
export ... no success yet.



----------------------------------------------------------------------------
----

Actions for Definable Multiple Choice Question "Definable Multiple Choice"
of Page "New Page6"

----------------------------------------------------------------------------
----



-- On question answered... -------------------------------------------------
----

Set enabled of Navigation Button "next" of This Background to true

Set enabled of Navigation Button "previous" of This Background to true

If score = "correct"

Set visible of Web Graphic "correct" of This Background to true

Set currentmastery to currentmastery + 1

Set needing to mastery - currentmastery

Set text of Field "need" of This Background to needing

If currentmastery >= mastery

Go to page "certificate"

End if

Else

Set visible of Web Graphic "incorrect" of This Background to true

Set currentmastery to 0

Set text of Field "need" of This Background to mastery

End if







----------------------------------------------------------------------------
----

Actions for Web Graphic "correct" of Background "wormdiagram"

----------------------------------------------------------------------------
----



-- On click... -------------------------------------------------------------
----

Set visible of Self to false





-- On unload page... -------------------------------------------------------
----

Set visible of Self to false





----------------------------------------------------------------------------
----

Actions for Web Graphic "incorrect" of Background "wormdiagram"

----------------------------------------------------------------------------
----



-- On unload page... -------------------------------------------------------
----

Set visible of Self to false





----------------------------------------------------------------------------
----

Actions for Button "Exit" of Background "wormdiagram"

----------------------------------------------------------------------------
----



-- On click... -------------------------------------------------------------
----

Exit (LMS: suspend lesson) (LMS: Student can resume) (LMS: no automatic
navigation)





----------------------------------------------------------------------------
----

Actions for Navigation Button "previous" of Background "wormdiagram"

----------------------------------------------------------------------------
----



-- On load page... ---------------------------------------------------------
----

Set enabled of Self to false





----------------------------------------------------------------------------
----

Actions for Navigation Button "next" of Background "wormdiagram"

----------------------------------------------------------------------------
----



-- On load page... ---------------------------------------------------------
----

Set enabled of Self to false





----------------------------------------------------------------------------
----

Actions for Field "need" of Background "wormdiagram"

----------------------------------------------------------------------------
----



-- On load page... ---------------------------------------------------------
----

Set text of Self to needing

Clifton Sleger

unread,
Apr 30, 2013, 3:39:35 PM4/30/13
to
My question would be:
When does it freeze? When the page loads, or when the Question object is
attempted?

It may that the question type you are using, the "on question answered"
event is firing so often it is creating a type of loop which would
appear to freeze the browser. To verify whether this may be the case add
an alert action to the on question answered event and see how often it
attempts to fire. If the alert displays every time you try and click on
something or move the mouse, then you will need to reconsider some of
the placement of your action logic.

On the other hand, if it freezes when the page loads, then there is some
kind of error condition. FireFox with the webdeveloper extension can
often catch the error if there is no other alerts. Sometimes the
webdeveloper extension can even identify the place in the code, but it
usually helps you isolate the logic that is causing the stumbling block.

Also, you may be able to see errors in IE if you set "display an alert
for every script error" to on. Not a good idea for regular usage, but
sometimes useful for debugging a project.

Clifton Sleger
PG Software Development
Oshkosh, WI 54904 USA
920-232-5727

The JavaScript PowerPac for ToolBook extends
the ToolBook Actions system with over 100 functions!
View the introductory assessment here:
http://www.powerpac.pgsoftwaretools.com/intro
View the FULL USER'S GUIDE w/TUTORIALS and What's NEW in this release:
http://www.powerpac.pgsoftwaretools.com
OR, get a 21 day trial copy here:
http://www.pgsoftwaretools.com/index.html?nav=buyPP

Robert Stevenson

unread,
Apr 30, 2013, 4:27:24 PM4/30/13
to
No actual error message ... simply the page refuses to fully load all the
objects on the page. Once I get rid of my last classes for the day I'll
try some of your suggestions. Thanks.

0 new messages