View Full Version : Can anyone help me with this scrolling text box?
Mikester311
01-24-2006, 01:19 PM
I found this scrolling text box on this forum that does exactly what I need it to do, but I can can't figure out how to scale the slider and make it work with the scaled text box. I have played with the scripts, but I can seem to get them to cooperate.
Can anyone offer any help?
Thanks!
Mike
Attached are the two files for exaples of what I'm trying to do. The "scrollbar_v1.fla" is the original and the "scrollbar_v1b.fla" is the one I'm trying to modify.
sophistikat
01-24-2006, 01:39 PM
frame 10 in Scroll Button Loop Clip
if (Number (getProperty ("/textbox", _y)) <= Number (364)) {
gotoAndPlay ("stop");
} else {
setProperty ("/textbox", _y, getProperty ("/textbox", _y) - 20);
setProperty ("/slider", _y, Number ((-(((getProperty ("/textbox", _y)) / (/slider:multiplier))))) + Number ((/slider:slider_area)));
}
play ();
sophistikat
01-24-2006, 01:49 PM
wait... there are many issues here... why are you posting this message here? this is for flash 4-5
what version of flash are you using to create your project?
Mikester311
01-24-2006, 01:57 PM
I tried to edit that script on frame 10, but it's still messed up.
I am using Flash mx 2004 and we just got the upgrade to Flash 8, so I can use either.
I didn't realize the original script was for Flash 4/5? Everything seems to work great in Flash Mx until I try to manipulate it.
sophistikat
01-24-2006, 02:09 PM
then you shouldn't be using that sample... i have a fantastic scroller with up and down arrow, a scroller, you can click on the bar and it will always animated with a nice ease out motion; i'll find it and post it
Mikester311
01-24-2006, 02:16 PM
Thanks sophistikat! That would be great!
One of the reasons I liked this scroller so much was because I could launch popup MovieClip windows from within Flash without having to full with javascript or external code.
sophistikat
01-24-2006, 07:48 PM
i can't remember where i got this or who sent it to me but i've made a couple of minor adjustments so that you can make a lot of physical changes, the width, height of the button and or scroller without affecting the programming. the width and height of the content does not matter nor do you have to change some values in the programming to make it work.
because I could launch popup MovieClip windows from within Flash without having to full with javascript or external code.do you mean popup windows? if so here's the code for a popup window without external javascript code
popup_btn.onRelease = function () {
getURL ("javascript:NewWindow=window.open('ShowPopup.php',' newWin','width=400,height=300,left=0,top=0,toolbar =No,location=No,scrollbars=No,status=No,resizable= No,fullscreen=No'); NewWindow.focus();void(0);");
}
good luck on your project
Mikester311
01-24-2006, 08:42 PM
Thanks for the text box! That will work exactly like I need it to.
And thanks for the popup window code too.
You were a huge help!
Mike
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.