Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 6th, 2025, 10:33 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: script functions
PostPosted: December 24th, 2004, 2:20 pm 
Offline

Joined: November 3rd, 2004, 3:52 pm
Posts: 41
Location: The Netherlands
Hi,


Looking through the script I use for the audio/videoplayer, an adaptation of Robin's volumescrubber, I found out that in the updated Opus-version the 'SetXPosition' has disappeared and an new 'SetPositionX' has emerged.
Obviously they don't do the same, as the old script does not function correctly anymore in the upgraded Opus. A new script in which 'SetXPosition' has been substituted with 'SetPositionX' also refuses to do the right thing: the volumebutton simply disappears. In the helpfunction I can't find the difference. It is also possible that more functions are changed.
I think an evening of puzzling will problably sort the problem, but at this moment I am physically not able to spend more than a short time behind my computer.
I need a working demo in january an it would be a lame solution to uninstall the updated Opus and replace it with the old one.

If you could inform me what is the difference between the functions, I would be greatly helped.

Ad

ps. Merry Xmass and best wishes for 2005 all!

pps I've attached an example. You'l probably have to reroute the the resources to get it working.


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


For this message ad hoc has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: December 25th, 2004, 6:40 am 
Offline

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

I had this problem too

It seems that for objects in frames (and some other cases)
SetXPosition now sets the position relative to the left side of the frame
so change line 30 to make the slider behave properly

but_VolBut.SetXPosition(volPosMouse.x-556)


HTH
Chris

_________________
Opus Resources and Services


For this message Chris Jones has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject:
PostPosted: December 27th, 2004, 1:28 pm 
Offline

Joined: November 3rd, 2004, 3:52 pm
Posts: 41
Location: The Netherlands
Hi,


The volumecontrol works fine now, but the volumebutton is not showing after changing the volume. It still dissappears when trying to move it.

regards,

Ad


For this message ad hoc has been thanked by : mackavi


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

All times are UTC [ DST ]


Who is online

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