# Newbie scrollpane help!

**URL:** https://forum.kirupa.com/t/newbie-scrollpane-help/98727
**Category:** Uncategorized
**Created:** [January 10, 2004, 5:10am UTC](https://forum.kirupa.com/t/newbie-scrollpane-help/98727 "2004-01-10T05:10:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![flashblog](https://avatars.discourse-cdn.com/v4/letter/f/cc9497/32.png) [@flashblog](https://forum.kirupa.com/u/flashblog)
#### Post date: [January 10, 2004, 5:10am UTC](https://forum.kirupa.com/t/newbie-scrollpane-help/98727/1 "2004-01-10T05:10:56Z")

</div>

I create a super simple .fla using flash MX 2004 professional

I put this code under the button I created

on (release) {  
var mc = \_root.createEmptyMovieClip(“trianglemajor”, 1);  
mc.createEmptyMovieClip( “triangle”, 5000);  
with (mc.triangle) {  
lineStyle (5, 0xff00ff, 100);  
beginFill(0xff00ff, 100);  
moveTo (150, 25);  
lineTo (200, 25);  
lineTo (200, 75);  
lineTo (150, 75);  
lineTo (150, 25);  
endFill();  
}

var panex = 10;  
var paney = 290;  
\_root.attachMovie(“FScrollPaneSymbol”, “mcScrollPane”, 250, {\_x: panex, \_y: paney});  
mcScrollPane.setVScroll(true);  
mcScrollPane.setScrollContent(mc);  
mcScrollPane.setSize(100, 100);

}

I just see a blank screen when I click on the button

what I’m doing wrong

My objective is to show the movieclip mc inside my created scroll pane ?

any help will be greatly appreciated.
