Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 11th, 2025, 12:00 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Drag & Drop Problems
PostPosted: December 7th, 2005, 2:16 am 
Offline

Joined: December 6th, 2005, 5:01 pm
Posts: 1
I'm a Computing Teacher who has been using OpusPro for about 3 months now. I'm now experimenting with OpusScript by creating some multimedia for my son's Primary 1 class.

The project is a single page with pictures round the outside and matching letters in the middle (dog and d for example). The letters are draged and droped onto the pictures.

My problem is the button I have added to mark the kids answers. When pressed, the button shows small ticks next the correct answers and uses the ResetAnimation() function to move the incorrect letters back to their original positions in the middle.

Unfortunately when testing the project, I found that when a letter is returned to the middle using script the picture's properties are not reset to register the fact that they no longer had an object dropped in them. The result of this is that the correct letter can not be dragged in.

How can I use OpusScript to reset the properties of the picture to allow another object to be dragged into it?


Top
 Profile  
 
 Post subject:
PostPosted: December 7th, 2005, 2:54 am 
Offline

Joined: November 28th, 2004, 6:05 am
Posts: 141
Location: USA
Just add a hide and show action to the drop target to reset it

For example

a_image.Hide()
a_image.Show()

HTH
Chris

_________________
Opus Resources and Services


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

All times are UTC [ DST ]


Who is online

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