00:00
00:00
Newgrounds Background Image Theme

cdhoeh0112 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

scroll box not working =[

484 Views | 6 Replies
New Topic Respond to this Topic

scroll box not working =[ 2006-08-11 06:53:26


So I am trying to create a scroll box. And here is the body structure of this SCRIPT and..WORK >=[ It's not working..

Layer one - Basic Action Script [5 blank frames until 5th frame actionscript]
Actionscript of frame:
if (_root.up) {
_root.text.scroll += 1;
} else if (_root.down) {
_root.text.scroll -= 1;
}
gotoAndPlay (1);

Layer two - Top Arrow [move up]
Actionscript on Arrow:
on (rollOver) {
_root.up = true;
}
on (press, release, releaseOutside, rollOut, dragOut) {
_root.up = false;
}

Layer three - Bottom Arrow [move down]
Actionscript on Arrow:
on (rollOver) {
_root.down = true;
}
on (press, release, releaseOutside, rollOut, dragOut) {
_root.down = false;
}

Layer four - Outer frame of basic structure. [just art]

Layer five - Layer whatever = Links of scrolling

Layer Whatever at the bottom - Shadow and backframe of scroller.

What exactly is the problem here? Nothing is masked either.

Anyone have a scroller Fla. file I can study? Or maybe give me some help? I need to study some work. I won't steal hah, It's for my own work people. Just need to see how one of these babies are made.

Thanks a bunch.,
-Rudy


BBS Signature

Response to scroll box not working =[ 2006-08-11 07:47:43


Almost an hour passes and yet no one helps =[


BBS Signature

Response to scroll box not working =[ 2006-08-11 09:18:28


if (_root.up)
what excactly you mean by that?

Response to scroll box not working =[ 2006-08-11 18:45:23


At 8/11/06 09:18 AM, Max-Pain wrote: if (_root.up)
what excactly you mean by that?

Uhm it was the script I got from somewheres lol.

Any more help?
Any versions of a scroll box people have that I can examine?


BBS Signature

Response to scroll box not working =[ 2006-08-11 23:02:27


Does anyone got a workable Scroll box I can use codes from?


BBS Signature

Response to scroll box not working =[ 2006-08-11 23:12:22


At 8/11/06 11:02 PM, -Rudy- wrote: Does anyone got a workable Scroll box I can use codes from?

Is this the code you got from as: main's dynamic scorrling box thingy? I found out you can't convert the whole box into one mc. you'd have to keep the scroll bar and the text seperate :)

Response to scroll box not working =[ 2006-08-11 23:19:40


At 8/11/06 11:12 PM, Escobun-bun-theDog wrote:
At 8/11/06 11:02 PM, -Rudy- wrote: Does anyone got a workable Scroll box I can use codes from?
Is this the code you got from as: main's dynamic scorrling box thingy? I found out you can't convert the whole box into one mc. you'd have to keep the scroll bar and the text seperate :)

Oh.. ok thanks I'll try that out.

Really thank you. Atleast someone helps and cares.


BBS Signature