Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently September 28th, 2024, 3:19 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Drag and Drop actions in OpusScript
PostPosted: June 10th, 2005, 7:17 am 
Offline

Joined: June 10th, 2005, 6:44 am
Posts: 5
Need help for this problem :

obj1 : object that can be dragged (with GetPosition() to save obj1 coordinates);
obj2 : object that can have other objects dragged onto it (Limit number of dropped object = 1).

Once obj1 dragged onto obj2, I use 'SetPosition()' to replace obj1 in its initial position - I don't want to reset the page - This works fine.

But when I try to drop obj1 onto obj2 again, it's impossible. Seems like obj1 upper limit number dropped object (1) is always active.

How can it be desactivate by script instead of 'Remove dropped object' manually by user?


Moon.


Top
 Profile  
 
 Post subject:
PostPosted: June 10th, 2005, 4:02 pm 
Offline

Joined: November 28th, 2004, 6:05 am
Posts: 141
Location: USA
Hi Moon

I tried, but couldn't replicate this problem.
can you attach an example ?

Cheers
Chris

_________________
Opus Resources and Services


Top
 Profile Visit website  
 
 Post subject: Drag drop and reshow
PostPosted: June 10th, 2005, 6:32 pm 
Offline

Joined: November 3rd, 2004, 6:44 pm
Posts: 59
Location: Ipswich, UK
Moon,

I am not certain that this is exactly what you want but I have used it a number of times and it works well for me with drag-drop tests etc.

You can add a score to to the drop and it will increment however many times it is dropped.

Clive Cartmel

******************************************************
I have tried to upload an example but the maximum file size for all attachments in the Forum seems to be to have been reached!
e-mail me at clive@peak-media.co.uk and I will send it too you personally.


Top
 Profile  
 
 Post subject:
PostPosted: June 11th, 2005, 6:47 am 
Offline

Joined: June 10th, 2005, 6:44 am
Posts: 5
Sorry for the delay,

I replicate in a new page with just 2 objects and it's okay.
I think that the origin of the problem is in another process (function or script I use in the bad page). I try to find.

Thank you for your responses.

Moon


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 8 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