bwpatric wrote:
Check the Opus Help file to see what things are supported in Flex. Not everything is supported in Flex that's supported in Opus.
I have done this before scripting. Unfortunately I cannot upload the file for unknown reasons (file size is only about 250k).
On this page I use the following script:
------------------------------------------------
var butStatus = Checkbox1.GetState()
if (butStatus == true)
{aa_CB_Benutzerantworten += "1,"
}
var butStatus = Checkbox2.GetState()
if (butStatus == true)
{aa_CB_Benutzerantworten += "2,"
}
var butStatus = Checkbox3.GetState()
if (butStatus == true)
{aa_CB_Benutzerantworten += "3,"
}
var butStatus = Checkbox4.GetState()
if (butStatus == true)
{aa_CB_Benutzerantworten += "4,"
}
var butStatus = Checkbox5.GetState()
if (butStatus == true)
{aa_CB_Benutzerantworten += "5,"
}
var correct = (String.bool(aa_CB_Benutzerantworten == aa_CB_RichtigeAntworten))
if (correct) {
//Debug.trace ("Alles Richtig!");
RichtigText.Show()
Button_CheckboxAuswertung.Hide()
}
else {
var BenutzerInput = (String.length (aa_CB_Benutzerantworten))
if (BenutzerInput == 0) {
//Debug.trace ("Keine Antwort gewählt");
}
else {
//Debug.trace ("Antwort enthält Fehler!!");
FalschText.Show()
Button_CheckboxAuswertung.Hide()
}
}
------------------------------------------------------------
The used variables are all public. As far as I can see there are no forbidden functions used.
T.