PDA

View Full Version : Credits Scroll - The Simplest Things are So Hard


Fuzzplug Jones
07-30-2006, 07:02 AM
I am trying (emphasis on TRYING) to do a very very simple CD-ROM interface that will be published to .exe and .hqx projectors and distributed on CD.

I thought it would be nice to put a little "credits" thing in the interface to reward all the people who worked hard on the project.

I have put the credits into a text area and I am using a very long (2000+ frames) motion tween to move it slowly up the stage. As has been said on here before, that's a laggy way to do it and my CPU usage goes way up during the scroll.

But that's not the biggest problem. Clicking anywhere on the timeline shows the credit scroll moving correctly. However, when I publish, the last maybe 2/3 of the textbox is gone... the rest of it scrolls up but the text is missing. Like I went into the textbox and deleted the last 50 lines or so.

I did it with a big motion tween because I tried to do with Actionscript first and as is my usual experience with ActionScript, I put syntactically valid code in the place I believe it should go and Flash ignores it. Doesn't raise an error, traces don't work, the usual stuff. But now I figure even if I do it with ActionScript, it will still cut off the end of the text. I've seen credit scrolls in about boxes and all that, it would be a shame that I would have to learn C++ just to do a freakin' credit scroll.

Anyone have any ideas? Thanks.

BernzSed
08-01-2006, 01:24 AM
If you have a dynamic text box with the instance name of "tBox", your code should be something like this:
onEnterFrame = function(){
tBox.scroll++;
}See if that works.

guiltfilter
08-01-2006, 05:05 AM
and set your text field properties to multi-line..