Scroller wont work for some Reason

okay. on my scene there is a ‘bothleftnrightmain’ Movie Clip & in that MC there is ‘maintextbox’ Movie Clip & ‘rightImages’ movie Clip. in the ‘maintextbox’ Movie Clip i have a mask over my scrolling text that moves left to right. but for some reason when i test my fla. the text does not appear. i think i did every thing rite…

  1. my text is dynamic.
  2. the text box instance name is TextField
  3. on my up arrow i put…

on(press) {
textField.scroll -= 1;
}

  1. on the down arrow i put…

on(press) {
textField.scroll += 1;
}

when i text it every thing appears but the text…? any ideas? really stuck & the deadline is tomorrow morning…plz

anyone…

can you post the FLA for us?

:slight_smile:

i tried its too big. (i ziped it to) maybe i can email it to some1.

Embed the font.

^ okay. how do i embed the font?

where is that?

http://www.kirupaforum.com/forums/showthread.php?s=&threadid=45706&highlight=embed+font

*Originally posted by claudio *
**I dont have mx2004 here, but heres how you do it on mx:
on properties panel, hit the button Character… and select the option All Characters **

i am using 2004 & i dont see ‘all characters’.

there are two options. 1. No characters 2. Specify ranges. and a ‘auto fill’ button…??

any ideas? i am lost

Why you have this posted on mx forum if you are on mx2004 then?
Try the auto option…
Im moving this to mx2004 forum.

sorry my bad. i really need to figure this out tho. its driving me crazy! because i know its most likely really simple.

plz

Have you tried the auto option?

thanks man. it is ‘auto fill’

another thing if possible. how do i do the max sroll. so when i hold down on the button. it goes to the bottom. does that require code in the actions panel…?

welcome
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=35917&

*Originally posted by claudio *
**Delete every action on the buttons and apply the following code on the timeline. Remember to give instance names to your buttons[AS]scrollUp = function() {
this.onEnterFrame = function() {
text1.scroll<=0 ? delete this.onEnterFrame : text1.scroll -= 1;
};
};
scrollDown = function() {
this.onEnterFrame = function() {
text1.scroll>=text1.maxscroll ? delete this.onEnterFrame : text1.scroll += 1;
};
};
//up_button and down_button are the buttons instance names
down_button.onRollOver = function() {
scrollDown();
};
up_button.onRollOver = function() {
scrollUp();
};
down_button.onRollOut = up_button.onRollOut=function () {
delete this._parent.onEnterFrame;
};[/AS] **

ummm. i really dont understand that…could u kinda break it down for me…i jus want to add max scroll to my up & down arrows…

Have you tried that script?

yes. i did. i not really sure but i removed the…

on(press) {
textField.scroll -= 1;
}

on both buttons & applied the script in the 1st frame on the timeline. & i gave my instance names upp butt : “up_button”.
down butt: “down_button” & text field instance name is ‘text1’

but nothing is working?

maybe because my text is inside a MC that is inside MC & the script is on that timeline, maybe it needs to be on the timeline of the scene…???

You need to give the correct path to the textfield.
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12462

dang. i am really not understang that stuff…isnt there jus a script i can add after…

on(press) {
textField.scroll -= 1;
}

on the buttons. to make it max scroll?

Heres an example.

ummm…i did everything the same & applied it to my site & got this error message…

Error Symbol=mainTextBox, layer=Layer 4, frame=25:Line 1: String literal was not properly terminated
myTextField.text = " RoCkit Q & A

Error Symbol=mainTextBox, layer=Layer 4, frame=25:Line 3: Syntax error.
What is RoCkit?

Error Symbol=mainTextBox, layer=Layer 4, frame=25:Line 4: ‘:’ expected
RoCkit is the brand name given to Cybercell’s GSM pre-paid service available locally from BaTelCo.

Total ActionScript Errors: 3 Reported Errors: 3