Hi.
I have a Direct Media MPG Advance MPG in my project that has a LARGE
number of cue points, over 100.

I also have a text field about 6 lines high that is a running transcript
of what the speaker in the MPG is saying.

I am attempting to use the following script to get the text field to
scroll to the next page (which is in effect 6 lines) each time it hits a
cue point.( I believe Director considers the amount of text that is
currently displayed in the field as a page).

I was thinking when the play head reaches cue point 1, then scroll to
page 1, 2 to page 2, etc.
What happens is it scrolls straight to the end of the document.


on exitFrame me
--put sprite(33).mostRecentCuePoint
--this gives a value of 1, 2,3,4 etc.
thePage = sprite(33).mostRecentCuePoint
put thePage
-- same thing, this gives a value of 1, 2,3,4 etc.
member("box").scrollTop=0
--member("box").scrollByPage((sprite(33).mostRecentC uePoint))
-- I tried this first, and got the same result
member("box").scrollByPage((thePage).float)
-- this is what I used now, thinking maybe the 1 that "put
sprite(33).mostRecentCuePoint" was giving me was not an integer?
go to the frame
end


The only thing I could think was in the MPG Advance Xtra I named the cue
points 1, 2, 3, 4, etc., and maybe Director is not treating them as
NUMBERS, but maybe TEXT? does that make any sense?

thanks for any help on this one.
-mIkE