PDA

View Full Version : scrolling a mc inside a textfield


Timon
03-06-2006, 10:14 PM
HI,

I've got a mc inside a textfield , the height of the mc is larger then the height of the textfield, so I need a scrollbar. But somehow no scroll method works with the mc, not even the component scrollbar. If i just place text inside the textfield it does work. Is there a way to make this scrollable?

This is the code ive got now:
top5text is the textfield
top5 is the mc

top5text = "<img src='top5'>"

on scrolling buttons I have this (doesnt work, only with text)

on (release){top5text.scroll++;}
on (release){top5text.scroll--;}

Thanx in advance

oldnewbie
03-06-2006, 10:19 PM
Why not use a scrollpane, or a custom movie clip scroller in which you'd add text, rather than adding a mc to a textfield?