Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 22nd, 2024, 5:30 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Range of movement of an object
PostPosted: January 29th, 2011, 3:15 pm 
Offline

Joined: November 14th, 2009, 11:02 am
Posts: 24
Location: Barcelona (Catalonia,Spain)
Opus: v 7.04
OS: W7 Pro 64
System: Corei7/ Nvidia Quadro4000/ 12Gb
I can make an object "A" can only move inside the object "B"
without leaving their limits when using drag & drop?

Nasua


For this message nasua has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Range of movement of an object
PostPosted: January 29th, 2011, 11:06 pm 
Offline

Joined: December 29th, 2004, 12:00 pm
Posts: 230
Location: Auckland NZ
Opus: v 7.04
OS: xp & win7
yes, I have found this a limitation as well... I'd like to be able to drag/pan across an image without dragging the image beyond the edges of it's frame.

_________________
Opus Pro 7.04 - win10


For this message mac has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Range of movement of an object
PostPosted: January 30th, 2011, 7:54 pm 
Offline

Joined: November 14th, 2009, 11:02 am
Posts: 24
Location: Barcelona (Catalonia,Spain)
Opus: v 7.04
OS: W7 Pro 64
System: Corei7/ Nvidia Quadro4000/ 12Gb
This is just what I intend to do.
The idea is to make a small browser to explore a larger image (I have done this already ok)
But keeping the boundaries.

I tested the function
Code:
IsObjectIntersecting
but does not give the results I want


For this message nasua has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Range of movement of an object
PostPosted: January 30th, 2011, 7:57 pm 
Offline

Joined: November 14th, 2009, 11:02 am
Posts: 24
Location: Barcelona (Catalonia,Spain)
Opus: v 7.04
OS: W7 Pro 64
System: Corei7/ Nvidia Quadro4000/ 12Gb
A note: This has to work in flex :!:


For this message nasua has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Range of movement of an object
PostPosted: January 30th, 2011, 11:25 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
This has been posted before in various guises:

1. do not use Opus' D&D.

2. Use mouse down trigger, identify target.
3. Calculate offset of mouse within target.
4. Track mouse movement and adjust target accordingly.
5. While tracking monitor boundaries and break if necessary.

Everything is scripted.

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: Re: Range of movement of an object
PostPosted: February 1st, 2011, 9:17 am 
Offline

Joined: November 14th, 2009, 11:02 am
Posts: 24
Location: Barcelona (Catalonia,Spain)
Opus: v 7.04
OS: W7 Pro 64
System: Corei7/ Nvidia Quadro4000/ 12Gb
Thanks Mack :D

I've searched the forum but have not been able to find anything
Now I will work with these concepts


Nasua


For this message nasua has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Re: Range of movement of an object
PostPosted: February 1st, 2011, 10:31 am 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Try searching under setposition .

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  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

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