Ask a Question related to Macromedia Director Lingo, Design and Development.
-
Michael Fischbeck #1
Cue Point in MPG Advance and scrolling text field
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
Michael Fischbeck Guest
-
Help: Text Field Color & Scrolling
My line... set the textColor of line (newLine) of field me = 000 produces the script error "Property not found... #textColor" -
Help: Text Field Color & Scrolling
Is it possible to change the color of the text for certain lines in a field cast member (not editable)? I can do this with a text cast member, but... -
Load external text into scrolling text field
Hello I've got a button with the instance name "btn1" and a scrolling text field with the instance name of "scrolling_txt" and a variable name of... -
Make a button load text into a scrolling text field?
Hello I've got a problem here and I hope some friendly soul out there would spare a minute to help me out... I'm creating a rather simple site... -
Dynamic text in smooth scrolling text field - help
here's links to the files. http://www.anicespot.com/test/ http://www.anicespot.com/test/easing_textScroller-01.html...



Reply With Quote

