View Full Version : scrollbar not working?
kecko
08-29-2004, 05:01 PM
Hi
I posted this in the simple section, but maybe it's not a newbie question (although I am!)
I'm having trouble getting my scrollbar to work. I've built scrolling textboxes before, and outside my movie it works fine, but inside the movie it stops working! ...what are some reasons why a scrollbar component won't work in such cases? I've tried renaming the instances, the textfield, the scrollbar....??
I'm attaching my FLA file. The trouble can be seen if you click on the first button, "info", followed by the sub-menu option "history"; this should have a scrollbar textbox.
any help is greatly appreciated!
karen
mmm..pi..3.14..
08-30-2004, 09:49 AM
First of all, your scrollbar is trying to scroll a movie clip, not a dynamic text box, so that could be a reason, lol :)
It also depends on what flash version you are using. I have Flash MX 2004 pro so I could tell you that scrollbar components don't work with Actionscript 1.0, only 2.0, but I don't know what version Flash you have so I have no idea if this means anything to you.
Hope that helps,
Eric
kecko
08-30-2004, 02:19 PM
thanks Eric,
The box doesn't work even if it's not a movie clip... I was trying different things to try to get it to scroll, and even just used a box from another clip that worked fine, cut and pasted it in here and it stops working. I'm using MX Pro too.
Any other ideas?
mmm..pi..3.14..
08-30-2004, 10:46 PM
Did you notice that if you changed to actionscript to version 2.0, the scrollbar works fine? You have to test that in a new Flash file because there is something wrong with your code when you change to as 2.0 and it won't display your movie in as 2.0. I've tried exporting it as every possible combination of Flash player and actionscript versions and still nothing works. I'll try to figure something out and see if I can fix your problem...is it real urgent to have it done soon?
Eric
mmm..pi..3.14..
08-30-2004, 11:00 PM
Ok, here is what I've been talking about, the movie will not play, instead it will give you 5 errors in the output window upon testing the movie, if you fix those errors your movie should work perfectly :)
kecko
08-31-2004, 02:12 AM
hm ok. So the trouble is with actionscript, specifically with the easing part. Ok, I'll try to play with it. I'm a bit of a newbie at this!
Thanks SO much for your help!
mmm..pi..3.14..
08-31-2004, 03:15 AM
I had a thought...if you did not have many places where you'll need a scrollbar, it might be worth using a scrollbar that someone custom made, that way you wouldn't have to worry about the as version. Here is a link to a smooth scroller that you could modify to your liking, it might save you alot of trouble. :)
http://www.actionscript.org/showMovie.php?id=571
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.