-
Making scroll bars
hi.
it's probably pretty basic but i'm rubbish at working out action script so thought i'd ask instead.
i want to make scroll bars,
one for a text file that i can edit seperately without having to climb into the main movie once i've set it up.
another for an image that's larger than the main mask
to navigate around it- so i'll need a side to side and an up/down scroll bar.
any tips greatfully received,
ta,
sam
-
1.) are you talking abotu DRAGGABLE scrollbar ypes?
2.) have you looked into the components like the scrollPane & scrollBar?
3.) are are you wanting to MAKE your own..??
-
yes and maybe yes
ideally draggable scroll bars but i'd be happy with a button at each end that you can push repeatedly.
i'd certainly like to be able to customise my own.
i haven't looked into the components at all yet.
i'll have a look in a minute.
is it relatively straightforward?
-
well dragable/scroll bars for text is easy... doing it for movies on yoru own can be rough...(maybe you should just use a pre-made one and edit the "look")
the components are fairly straight forward...it F1 (with FLASH open) to read about any component you want to..
buttons are easy for either one..
-
hi whispers,
i hope you are still somehow connected to this thread.
thanks for your advice.
i followed the instructions in the help thingy and the darn thing didn't work.
i named the text field and set the type of text and all that but when i dragged the scroll bar in it didn't adjust itself to right size and the text wasn't displaying itself.
help! what have i done wrong?
-
1 Attachment(s)
are you talking about the scrollbar component?
I use this for a draggable scrollBar... its VERY little is size...and very self contained.
all the code is ON/IN the scrollBar movieClip.....and works with a textField with the instance name of: " textField1_txt "
you can change the height/width of the textField..and the scrollbar will adjust...just keep the scroll bar:
a.) in the same timeline as the textField you are "scrolling"
b.) keep it at the top of the textField (well doesnt have to be..but the botom of the textField is the farthest you can drag the scrollBar)
-
thanks whispers
thanks whispers.
i'll try this when i get home - i have a housemate doing a phd on the internetted computer so have to shuffle to the library to connect
i downloaded one of your solutions before and could open the movie but not the flash document-perhaps i have an older version than you? so fingers crossed.
also i'm wanting this to work within a movie clip. i didn't mention that before. hopefully it will! ta
-
it is already contained with in a movieClip..you can just drag the whole thing to ANYWHERE you want... the textField..and the scrollBar are inside of an MC.. so it is self contained.
-
Hi Whispers,
as i feared the flash document would not open.
i have version 6. are you on a later version?
any idea if there is a way to convert it?
if not thanks very much,
it looks great, but i can't use it!
i will continue my search
-
I am currently on F8...I can save to MX 2004..and then someone can convert THAt to MX possibly.