Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 9th, 2025, 9:46 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Arrays and Constant Expressions in Flex
PostPosted: March 9th, 2008, 12:07 am 
Offline

Joined: November 3rd, 2004, 8:05 pm
Posts: 22
Opus: Pro 9
OS: Windows 10 Home 64-bit
System: HP Spectre x360 Intel Core i7-8550U CPU @ 1.80GHz, 16Gb Ram
Hope someone can clear up something for me.

I'm developing a publication which uses arrays in opusscript. The contents of the arrays are then displayed using constant expressions as shown in the screenshot.

All works perfectly when published as an Opus pro file, but when it is published as a flex file the boxes are blank.

I've searched the forum, and i'm not clear whether the problem is that flex can't handle arrays or constant expressions.

Any clarification would be most welcome.


You do not have the required permissions to view the files attached to this post.

_________________
Adrian Murray
https://www.businesssed.co.uk
Supporting Business Education


For this message staffam has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 9th, 2008, 2:29 am 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Look in Help >> Opusscript help.
click the index tab.
Search for Flex.

You will get a page showing the Opusscript functions supported in Flex.
Anything not on this list is unlikely to work.
Before you start working with Flex it's a good idea to find out what works and what doesn't.

This might help you.

viewtopic.php?t=1801&highlight=flex+array

Paul


For this message Paul has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: March 9th, 2008, 8:34 am 
Offline

Joined: November 3rd, 2004, 8:05 pm
Posts: 22
Opus: Pro 9
OS: Windows 10 Home 64-bit
System: HP Spectre x360 Intel Core i7-8550U CPU @ 1.80GHz, 16Gb Ram
Hi Paul,

Thanks for taking the time to reply. Had looked at the list you refer to, but couldn't find a reference to arrays. I guess "inserted variables" covers it. The post you refer to is the one that confused me a little since it implies that arrays are not supported, yet when I publish Brendan's example as a flex file it works!

Luckily my publication is designed to be a standalone file. Was just hoping that if I could publish as a flex file it would be more versatile for the end user.

I would consider this quite a weakness in flex. Oh well, never mind.

_________________
Adrian Murray
https://www.businesssed.co.uk
Supporting Business Education


For this message staffam has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 9th, 2008, 10:32 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Hi staffam,

I think the issue is slightly confused. Flex will handle arrays, as in Brendon's example - what it won't do is display them as Constant Expressions. Brendon has used a work around by using the array function with in a script action and passing the result to a variable which can be displayed on screen.

You'd need to use variables in each box instead of the array[index] and control their values from within a script. Personally as you are producing Business Studies activities for UK education, I would seriously consider publishing to Plexus for the online side as this allows access to 99% of the functions available in Opus standalone publications.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 9th, 2008, 11:10 am 
Offline

Joined: November 3rd, 2004, 8:05 pm
Posts: 22
Opus: Pro 9
OS: Windows 10 Home 64-bit
System: HP Spectre x360 Intel Core i7-8550U CPU @ 1.80GHz, 16Gb Ram
Hi Mack,

Thanks for your usual great advice.

I've created a tool for teachers to create their own "mix and match" activities. The words and definitions are randomised (using a script I adapted from your Opus functions publication!) and placed into arrays, which are then displayed in the boxes on screen.

As you say, this works perfectly when published as a Plexus publication, but I know from experience that trying to get plugins installed on a school network is an additional hurdle I could do without. That's why I've always avoided using it.

I originally designed it to create stand alone files to be used on an interactive whiteboard. Just thought it would be an added benefit if it could produce a swf file that could then be used via Moodle.

Talking of Moodle, I notice you have a course to learn Opus scripting on your LMS. Are there plans to allow people to access this course? (I'm willing to pay! :) )

Thanks again for your advice

_________________
Adrian Murray
https://www.businesssed.co.uk
Supporting Business Education


For this message staffam has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 9th, 2008, 1:07 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Cheers Adrian,

Glad it helps. it's amazing how many projects need to randomise arrays :-)

I'm sorry you find that the Plexus plugin causes problem as the potential is far superior to flash and silverlight - IMHO.

As for moodle, it is something that we are looking at seriously at present and as both Opus and the LMS are now working towards full SCORM functionality - it makes it a powerful combo. The Opus sample course on out website was for evaluation purposes and whether we will look at developing it further or focusing on educational SCOs depends on several factors that are still under consideration.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 9th, 2008, 1:45 pm 
Offline

Joined: November 3rd, 2004, 8:05 pm
Posts: 22
Opus: Pro 9
OS: Windows 10 Home 64-bit
System: HP Spectre x360 Intel Core i7-8550U CPU @ 1.80GHz, 16Gb Ram
Mack,

Thanks for letting me know about the sample Opus course. I couldn't agree more about the potential of having full SCORM functionality in Opus.

As for Plexus, from what I've seen this weekend I have to say I'm very impressed. I'll talk to my school's ICT Technicians tomorrow in order to see whether installing it across a school network is viable.

Thanks again for your advice,

Adrian

_________________
Adrian Murray
https://www.businesssed.co.uk
Supporting Business Education


For this message staffam has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 9th, 2008, 1:52 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
As an ex-ICT Coordinator / Network manager I know that it's possilbe and on something like an RM network should be a simple as creating a package for distrobution and then pushing it to the clients.

Plexus is available as an installer rather than through the web browser installation which is probably an easier method for a network.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 60 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