# setScrollContent problem

**URL:** <https://forum.kirupa.com/t/setscrollcontent-problem/108868>\
**Category:** Uncategorized\
**Created:** [April 29, 2004, 1:20pm UTC](https://forum.kirupa.com/t/setscrollcontent-problem/108868 "2004-04-29T13:20:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lukemack](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@lukemack](https://forum.kirupa.com/u/lukemack)\
**Post date:** [April 29, 2004, 1:20pm UTC](https://forum.kirupa.com/t/setscrollcontent-problem/108868/1 "2004-04-29T13:20:40Z")

</div>

hi,

i am trying to change the content of a scrollpane when clicking a button:

on(release){  
scrollpane1.setScrollContent=“flashtext\_mc”;  
trace(scrollpane1.setScrollContent)  
}

the trace reveals that setScrollContent has been set to flashtext\_mx but the scrollpane contents do not change. the scrollpane is within a movie clip which is itself in another movie clip on the main timeline.

i am using flash mx 2004 components.

any help would be much appreciated.

regards,

luke.
