Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 22nd, 2025, 6:34 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: Scrolling Text Speed
PostPosted: March 26th, 2005, 6:34 am 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
Can anybody tell me how to control the speed of the action "Scroll to End" applied to a text box. If I apply this action it scrolls to the end OK, but instantly. I would like to set it to a nice leisurely (readable) pace.

I tried using a transition On Show, in which case I can control the speed, but it scrolled the text up until the first line hits the top of the text box. I would like it to scroll slowly until the last line appears (or disappears for that matter), and then move on the the next Opus page.

I have searched the help, and this forum, but cannot find any speed/time setting for this action. Can't see much point in a scroll action of duration = zero?? which is all I seem able to get.

I can't imagine it's that hard. I must be missing something :oops:

_________________
johnray

using Opus Pro 2.81


Top
 Profile  
 
 Post subject:
PostPosted: March 26th, 2005, 12:30 pm 
Offline

Joined: October 26th, 2004, 10:23 am
Posts: 666
Location: Digital Workshop
The Scroll To ... actions are not animations; they simply change the current scroll position. If you want to achieve a text scrolling efect you either need to modify the scroll position in small increments via a timer loop or scroll the whole text object using the Move animation actions. You can put the text inside a frame and size the text vertically so it is large enough to display the whole text. The frame then acts as a "window" onto the text.


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 26th, 2005, 7:16 pm 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
Thanks for that Duncan. I gave it a quick test and it works fine. I'll apply it to the real job when I get back to it later today.

I tried this approach earlier but could not get it to work, apparently because I was trying to move my existing text box into a newly created frame. It was like trying to get a cat into a box.

Based on your suggestion I created a frame, then created a new text box within it, then applied the animation action to the text box.

Thanks again...

_________________
johnray

using Opus Pro 2.81


Top
 Profile  
 
 Post subject:
PostPosted: March 27th, 2005, 12:01 am 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
If have tried this on the real application and, techically, it works fine. However the scroll is unacceptably jerky. On the basis of other posts to this forum I tried making the whole body of text into a .jpg image and scrolling that but it was no better. :(

It seems that the only smooth scroll I can use is a transition, but it won't do the job because I want to scroll through quite a bit of text and have the top disappear off the top of the screen.

Any suggestions appreciated on how to achieve a smoooooth scroll. It needs to run for about 2 minutes :roll:

_________________
johnray

using Opus Pro 2.81


Top
 Profile  
 
 Post subject: try this
PostPosted: March 27th, 2005, 11:32 am 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Hi johnray,
This should give you what you want, as long as you don't mind scripting :-).
see attached example.
Put a vertical scrollbar on the text object, and paste the script below in a script object:
when the scrollbar reaches the end of the text, it will go to page 2.
adjust increment and speed variables to suit the scroll time you need.

// start script

i=0
increment = 0.1
speed = 0.01

while(true){
t1.SetScrollPosition(i,-1 )
i += increment
if (i>=100){
i = 100;
wait(1);
GotoPage("Page_2")
}
wait(speed)
}

// end script

cheers
Paul


Top
 Profile  
 
 Post subject:
PostPosted: March 28th, 2005, 9:52 am 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
Thanks Paul,

I haven't used scripting at all so far. This will be an opportunity to explore that learning curve. I'll give it a try when I get back to the project in the next day or so.

_________________
johnray

using Opus Pro 2.81


Top
 Profile  
 
 Post subject:
PostPosted: March 28th, 2005, 2:16 pm 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
A non-script solution would be to insert the text box inside a frame and resize the frame to the required visible area (the rest of the text box will obviously be invisible below the bottom edge of the frame).

You can now apply a Move Vertical action to the text box which moves the text upwards within the frame. This should give the effect of scrolling credits and you simply need to ensure that the text box moves upwards by its height in pixels for all of the text to be displayed. You can then apply a Go To Page action after the Move Vertical so that the next page is displayed once the animation is complete.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 28th, 2005, 10:06 pm 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
Thanks Robin,

That is what I was doing and it worked OK. It's just that the scrolling was unacceptably jerky. I couldn't find any way to make it smooth. I slowed it right down, but could not schieve a smooth scroll.

I guess the only way for that to happen is for the movement to be one pixel at a time. I am not quite clear if Paul's scripting solution will do that, but I'll give it a try.

Thanks again

_________________
johnray

using Opus Pro 2.81


Top
 Profile  
 
 Post subject:
PostPosted: March 29th, 2005, 11:45 am 
Offline

Joined: October 25th, 2004, 12:27 pm
Posts: 526
Location: Digital Workshop
Hi,

Thank you for your reply.

I would recommend downloading the 30-day evaluation version of Opus Pro 04 from http://www.digitalworkshop.com/download ... g_eval.exe and trying to create the same effect. You should find that the new graphics engine in the 04 range offers a massive performance boost and should ensure that the text scrolls smoothly up the page.

Kind regards,

_________________
Robin Garrett
Digital Workshop Technical Support


Top
 Profile Visit website  
 
 Post subject:
PostPosted: March 30th, 2005, 7:47 pm 
Offline

Joined: February 14th, 2005, 5:42 am
Posts: 27
Location: Brisbane, Australia
Robin Garrett wrote:
I would recommend downloading the 30-day evaluation version of Opus Pro 04


Thanks Robin, I think that will be the solution.

I have had a good play with scripting and I still can't get the scrolling smooth enough. The limitations seem to be in getting a small enough increment and a short enough wait time.

I will be purchasing the upgrade just as soon as I can make this venture "commercial". Nice to know your development priorities anticipate users needs.

Well done! and congratulations on an excellent support forum. :D

_________________
johnray

using Opus Pro 2.81


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

All times are UTC [ DST ]


Who is online

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