# Loading movies automaticaly

**URL:** <https://forum.kirupa.com/t/loading-movies-automaticaly/101782>\
**Category:** Uncategorized\
**Created:** [February 13, 2004, 9:39pm UTC](https://forum.kirupa.com/t/loading-movies-automaticaly/101782 "2004-02-13T21:39:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![UnblessedOmega](https://avatars.discourse-cdn.com/v4/letter/u/8edcca/32.png) [@UnblessedOmega](https://forum.kirupa.com/u/UnblessedOmega)\
**Post date:** [February 13, 2004, 9:39pm UTC](https://forum.kirupa.com/t/loading-movies-automaticaly/101782/1 "2004-02-13T21:39:03Z")

</div>

on one of the tutorials to load a movie it teaches you how to load with a button…

[COLOR=blue]but.onPress = function () {  
\_root.createEmptyMovieClip(“container”, 1);  
loadMovie(“loaded.swf”, “container”);  
container.\_x = 150 ;  
container.\_y = 20 ;  
}

[/COLOR]

does anyone know how to load it without a button?
