runGroup issues
January 10, 2017 12:00 AM
Hello,
For some reason, our runGroup flash code is not functioning through Online and/or ReviewLink. It did work through Inspire.
This is the original, Inspire code to disable two Lectora buttons:
import flash.external.*
ExternalInterface.call("runGroup_og1234818");
...and this is the code to advance the user to another page:
import flash.external.*
okButton.onRelease=function(){
ExternalInterface.call("runGroup_og1280669");
Thank you in advance!
Metz
undefined
Discussion (2)
The development team suggests:
instead call a method on the group object
og1234818.issueActions(1001) ;
and
og1280669.issueActions(1001) ;
respectively
That fires all actions that are run on the "run action group" trigger
import flash.external.*
ExternalInterface.call(“function(){og1234818.issueActions(1001);}");
…and this is the code to advance the user to another page:
import flash.external.*
okButton.onRelease=function(){
ExternalInterface.call(“function(){og1280669.issueActions(1001);}”);
I'm not sure about the way "ExternalInterface.call" works, but it looks like it takes a function it might take some experimenting.... so try replacing the runGroup_ogXXXX statements with ogXXXX.issueActions(1001) first and if that doesn't work then try my second post enclosing those in a function
Discussions have been disabled for this post