Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 12:03 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Serious problem with flex output
PostPosted: June 26th, 2006, 5:19 pm 
Offline

Joined: November 8th, 2004, 5:23 pm
Posts: 279
Opus: Opus Pro 9
OS: Win 10/64
I got a problem with the output to scorm/flex. I use some checkboxes and radiobutton within my publication which states I check via opus script. After exporting to flex the scripts seem not to work any longer.

I have cut out one page out of the publication as a sample. On this page the user has to check the checkboxes 1,2,3 and 4 to get the feedback that he is right.
This all works very well in preview mode but seems not to work after exporting to flex. I have attached both, the imp file and the exported swf-file.

BTW the click sounds I used for the checkboxes do not work either in flex.

Help is very appreciated!!

T.

_________________
Opus Pro 9.75, Win 10/64, 8 GB RAM, Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz, NVIDIA GeForce GTX 660 Ti, Roland OctaCapture


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 26th, 2006, 5:22 pm 
Offline

Joined: November 8th, 2004, 5:23 pm
Posts: 279
Opus: Opus Pro 9
OS: Win 10/64
... oohps, seems that I cannot attach the file so I try it again with a smaller file size ...

_________________
Opus Pro 9.75, Win 10/64, 8 GB RAM, Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz, NVIDIA GeForce GTX 660 Ti, Roland OctaCapture


Last edited by Tarantoga on June 26th, 2006, 5:47 pm, edited 2 times in total.

Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 26th, 2006, 5:23 pm 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
Check the Opus Help file to see what things are supported in Flex. Not everything is supported in Flex that's supported in Opus.

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 26th, 2006, 5:32 pm 
Offline

Joined: November 8th, 2004, 5:23 pm
Posts: 279
Opus: Opus Pro 9
OS: Win 10/64
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.

_________________
Opus Pro 9.75, Win 10/64, 8 GB RAM, Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz, NVIDIA GeForce GTX 660 Ti, Roland OctaCapture


Top
 Profile Visit website  
 
 Post subject:
PostPosted: June 26th, 2006, 10:18 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Hi Tarantoga,

Extract from the Help file, under "Flex support for Opusscript"

"The for and if loop does not work in Flex. However, as with many of the other unsupported functions most things that can be accomplished in OpusScript can be accomplished but may require a different approach."

Have a good read of the Help file to see what does work in Flex before you put too much work into a Flex pub.


Paul


Top
 Profile  
 
 Post subject:
PostPosted: June 27th, 2006, 5:20 am 
Offline

Joined: November 8th, 2004, 5:23 pm
Posts: 279
Opus: Opus Pro 9
OS: Win 10/64
Hi Paul,

thanks for your advice. I think that it was beyond my imagination that something so basic like an if loop can not be used for flex. I wonder if one can write any usable code without using if statements???

I also ask me what sense the preview makes when the results do not show if a publication works or not? If I start a publication in flex mode I would expect that the preview shows me the flex output and not something else.

T.

_________________
Opus Pro 9.75, Win 10/64, 8 GB RAM, Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 CPUs), ~3.4GHz, NVIDIA GeForce GTX 660 Ti, Roland OctaCapture


Top
 Profile Visit website  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 70 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group