# Loading .swf file in a scrollpane {MX}

**URL:** <https://forum.kirupa.com/t/loading-swf-file-in-a-scrollpane-mx/30275>\
**Category:** Uncategorized\
**Created:** [September 6, 2003, 12:44pm UTC](https://forum.kirupa.com/t/loading-swf-file-in-a-scrollpane-mx/30275 "2003-09-06T12:44:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geedogg](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@geedogg](https://forum.kirupa.com/u/geedogg)\
**Post date:** [September 6, 2003, 12:44pm UTC](https://forum.kirupa.com/t/loading-swf-file-in-a-scrollpane-mx/30275/1 "2003-09-06T12:44:25Z")

</div>

Hello:)  
Im trying to load a .swf file inside a scrollpane.  
But i have NO idea what im doing wrong.

Ive put this pice of code on a button:

on (rollOver) {  
play();  
}  
on (rollOut) {  
stop();  
}  
on (press) {  
\_root.portfolio.gotoAndStop(81);  
display1.loadScrollContent(“[http://www.bahnhof.nu/gunnar/arbeider/skrompf.swf](http://www.bahnhof.nu/gunnar/arbeider/skrompf.swf)”);  
}

Anyone know what im doing wrong?
