# Dragging window contents

**URL:** <https://forum.kirupa.com/t/dragging-window-contents/193759>\
**Category:** flash\
**Created:** [July 18, 2006, 9:34am UTC](https://forum.kirupa.com/t/dragging-window-contents/193759 "2006-07-18T09:34:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArcanE](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/arcane/32/183_2.png) [@ArcanE](https://forum.kirupa.com/u/ArcanE)\
**Post date:** [July 18, 2006, 9:34am UTC](https://forum.kirupa.com/t/dragging-window-contents/193759/1 "2006-07-18T09:34:17Z")

</div>

Hi all,

I’m currently trying to make the contents of a window draggable and disabling the scrollbars on it.

This is the code i got to create the window and add the contents to the window. The window creates flawlessly and the contents gets loaded too but i can’t get the contents to drag by clicking on the contents itself.

```auto

zoom_win = mx.managers.PopUpManager.createPopUp(_root, Window, true, {title:page_url, closeButton:true});
    zoom_win.createObject("ScrollPane", "zoom_pane", 0, {contentPath:page_url, _x:3, _y:31});

```

Anyone mind helping me in the right direction?

Thanks
