# Active objects in scrollpane

**URL:** https://forum.kirupa.com/t/active-objects-in-scrollpane/185834
**Category:** flash
**Created:** [April 16, 2006, 11:04pm UTC](https://forum.kirupa.com/t/active-objects-in-scrollpane/185834 "2006-04-16T23:04:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![willthegeek](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@willthegeek](https://forum.kirupa.com/u/willthegeek)
#### Post date: [April 16, 2006, 11:04pm UTC](https://forum.kirupa.com/t/active-objects-in-scrollpane/185834/1 "2006-04-16T23:04:11Z")

</div>

I have a scrollpane on my main stage which loads images and some associated text via a text file. I want each of the visible images to react when the mouse clicks on or rolls over the image. I also want to be able to change the text from the main mc.

Each line item in the scrollpane is a mc containing a holder mc for the image and a text box for the text. Data is loaded into an array and then displayed.  
It all seems to work OK, but I can’t seem to get the rollover stuff to work.

I know I need to add the proper functions to each image.

Any ideas on how to go about this? Also how do I go about ‘reading’ the image name from the scrollpane?

Thanks,

wtg
