Scrollbar
#1
Posted 19 April 2005 - 06:49 AM
#2
Posted 19 April 2005 - 08:11 AM
<!-- PLACE IN BODY --> <script language="JavaScript"> function go1(){ document.body.style.scrollbarBaseColor="#FFFFFF"; setTimeout('go2()', 100) } function go2(){ document.body.style.scrollbarBaseColor="#FFFF99" setTimeout('go3()', 100) } function go3(){ document.body.style.scrollbarBaseColor="#FFFF33" setTimeout('go4()', 100) } function go4(){ document.body.style.scrollbarBaseColor="#FFFF99" setTimeout('go1()', 100) } </script> <script language="JavaScript"> go1() </script> <!-- END -->
#3
Posted 19 April 2005 - 08:42 AM
#4
Posted 19 April 2005 - 08:46 AM
#5
Posted 19 April 2005 - 08:55 AM
#6
Posted 19 April 2005 - 08:58 AM
#7
Posted 19 April 2005 - 09:06 AM
Do you have Macromedia, cuz if you do, it is really simple, you just make the scrollbar, then right, then convert it to a movie clip, then you double click it to make it a movie clip, then make it's color change, using a tween. It will loop, if you don't want it to loop, then add: "Stop;" and it will opnly loop once.
#8
Posted 19 April 2005 - 11:36 AM
#9
Posted 19 April 2005 - 12:12 PM
1. Create a dynamic text field and give it an instance name. (adding _txt at the end of the instance name is good practice)
2. Add some text
3. Shift-Doubleclick on the box in the lower right corner maket the dynamic textbox scrollable.
4. Add buttons for up and down scrolling.
5. Attach this script to the up button
on(release){
scrollText_txt.scroll -=1;
}
6. Attach this script to the down button
on(release){
scrollText_txt.scroll +=1;
}
7. Test Movie
#10
Posted 19 April 2005 - 03:18 PM
#11
Posted 20 April 2005 - 06:31 AM
#12
Posted 20 April 2005 - 07:53 AM
#13
Posted 21 April 2005 - 12:16 PM
#15
Posted 18 May 2005 - 03:35 PM
So if you use the scrollbar which comes with flash can you add pictures into it. If So how do you do it please.go to the components panel. and there is a scrollbar in there and you just attach it to whatever it is you want to scroll.
#16
Posted 18 May 2005 - 03:43 PM
#17
Posted 19 May 2005 - 12:18 PM
#18
Posted 16 June 2007 - 11:58 AM
Here is the pic of my IU components bar...
maybe I can get the component somewhere? Anybody has ideas?
Edited by Andie, 16 June 2007 - 12:05 PM.
#19
Posted 17 June 2007 - 07:49 AM
1. make a seperate movieclip with the part you scroll, and position it so your center of the movie clip is at the top left of your content, the size depends on how big you want your scroll pane to be.
2. go to the library and right click ur content, movie clip you made in step 1, then click linkage and check export to action script
3. drag and drop the scroll pane onto the stage and size it to what you want, on the paramerters it will say content path, put in the name of the movie clip you made or what you called the export to action script part.
4. now you can test it and you have a scrolling. if the sizes are out you can either go to your content movieclip and reize there or resize the pane.
right hope that helps, and note that your content movie clip isn't actually on stage, your pain load it up for you. if that makes any sense.
so yah hope it helps and if you have any questions please say.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users