# Swf is undefined how do I define it for loading

**URL:** <https://forum.kirupa.com/t/swf-is-undefined-how-do-i-define-it-for-loading/74219>\
**Category:** Uncategorized\
**Created:** [December 25, 2004, 7:23pm UTC](https://forum.kirupa.com/t/swf-is-undefined-how-do-i-define-it-for-loading/74219 "2004-12-25T19:23:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azit](https://avatars.discourse-cdn.com/v4/letter/a/94ad74/32.png) [@Azit](https://forum.kirupa.com/u/Azit)\
**Post date:** [December 25, 2004, 7:23pm UTC](https://forum.kirupa.com/t/swf-is-undefined-how-do-i-define-it-for-loading/74219/1 "2004-12-25T19:23:38Z")

</div>

Im getting this in the output window

Error opening URL “file:///aljen%20HD/Users/albertgonzalez/Desktop/monoDiv/undefined.swf”

when I try to load an external swf

I guess my swf is undefined how do I define it Ⓜ

this is my loading script

this.onEnterFrame = “poe”;  
container.loadMovie(\_root.currMovie+".swf");  
//  
poesía\_btn.onRelease = function() {  
\_root.currMovie = “poe”;  
container.loadMovie(\_root.currMovie+".swf");  
};  
cuento\_btn.onRelease = function() {  
\_root.currMovie = “cue”;  
container.loadMovie(\_root.currMovie+".swf");  
};  
ensayo\_btn.onRelease = function() {  
\_root.currMovie = “ens”;  
container.loadMovie(\_root.currMovie+".swf");  
};  
entrevista\_btn.onRelease = function() {  
\_root.currMovie = “ent”;  
container.loadMovie(\_root.currMovie+".swf");  
};  
resena\_btn.onRelease = function() {  
\_root.currMovie = “res”;  
container.loadMovie(\_root.currMovie+".swf");  
};

whats wrong :h:
