PDA

View Full Version : putting code on a scrollbar


Frosty_spl
07-17-2006, 02:39 AM
I have a function that makes a movieclip blur, and i have that code placed on a few things throughout my site.

I have a white box, that is on a level below my dynamic text box that loads in my text, and that has a component scrollbar. I have the call function placed on that box, so when i rollover it, the MC blurs. But when I rollover the scrollbar, the MC goes back to what it looks like originaly, the code isnt called.

I tried to put the call function code on the whole dynamic text MC, and the component scrollbar MC as well, and the function either dosent get called, or the scrollbar dosent work.

Where can I place the code?

Thanks!

guiltfilter
07-20-2006, 02:56 AM
On the topmost layer, create an MC symbol that covers the entire area and set its alpha to 0 and give it an instance name. Call your function from the onRelease handler of that clip.