# Drag scroller in external swf

**URL:** <https://forum.kirupa.com/t/drag-scroller-in-external-swf/171611>\
**Category:** flash\
**Created:** [December 6, 2005, 9:18pm UTC](https://forum.kirupa.com/t/drag-scroller-in-external-swf/171611 "2005-12-06T21:18:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![freya](https://avatars.discourse-cdn.com/v4/letter/f/a9a28c/32.png) [@freya](https://forum.kirupa.com/u/freya)\
**Post date:** [December 6, 2005, 9:18pm UTC](https://forum.kirupa.com/t/drag-scroller-in-external-swf/171611/1 "2005-12-06T21:18:50Z")

</div>

Hello,

i am using transition, from kirupa tutorial working really great!  
but i have problem with drag scroller script

it working good if the swf run alone … but if i load it to the main swf [container] the dragger didn’t working

here the script i use  
in empty movie clip

> 

frame 1

oldY = 0;  
newY = 0;  
Y = 0;

> 

frame 2  
Y = getProperty(‘/dragMC/buttonMC’,\_y);  
newY = oldY + (Y - oldY)/8;

setproperty(‘/scrolledMCrecipient/scrolledMC’,\_y,newY);  
oldY = newY;

play();

> 

frame 3  
prevFrame();

anyone know what make this script won’t working on a main container [external] ?

thanks before
