# Drag function not working in a external.swf

**URL:** https://forum.kirupa.com/t/drag-function-not-working-in-a-external-swf/135342
**Category:** Uncategorized
**Created:** [January 26, 2005, 6:44pm UTC](https://forum.kirupa.com/t/drag-function-not-working-in-a-external-swf/135342 "2005-01-26T18:44:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![firehawkplus](https://avatars.discourse-cdn.com/v4/letter/f/dec6dc/32.png) [@firehawkplus](https://forum.kirupa.com/u/firehawkplus)
#### Post date: [January 26, 2005, 6:44pm UTC](https://forum.kirupa.com/t/drag-function-not-working-in-a-external-swf/135342/1 "2005-01-26T18:44:59Z")

</div>

Hi, I have a swf. called “menu” that load a external .swf “sitios” with the conteiner method, and that movie have a drag button inside a movie clip called “sitiosmov” it works well draging that movie clip, but when “menu” loads “sitios” the drag button doesnt work, I check the route but I cant find the problem this is the code:

on (press) {  
startDrag("/sitiosmov");  
setProperty("/sitiosmov", \_alpha, 30);  
}  
on (release) {  
stopDrag();  
setProperty("/sitiosmov", \_alpha, 100);  
}

thanks
