# How to load a page with this AS to my web

**URL:** <https://forum.kirupa.com/t/how-to-load-a-page-with-this-as-to-my-web/210246>\
**Category:** Uncategorized\
**Created:** [December 16, 2006, 6:05pm UTC](https://forum.kirupa.com/t/how-to-load-a-page-with-this-as-to-my-web/210246 "2006-12-16T18:05:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![helga007](https://avatars.discourse-cdn.com/v4/letter/h/f17d59/32.png) [@helga007](https://forum.kirupa.com/u/helga007)\
**Post date:** [December 16, 2006, 6:05pm UTC](https://forum.kirupa.com/t/how-to-load-a-page-with-this-as-to-my-web/210246/1 "2006-12-16T18:05:30Z")

</div>

Hi everybody,  
im doing a flash site (according to kirupa tutorial: [http://www.kirupa.com/developer/mx/full\_site.htm)](http://www.kirupa.com/developer/mx/full_site.htm%29).

Everything works great. But… One of pages containig AS is loaded (i see what is written there) but is not working at all (its a drawing board, but i cant draw there). Im not sure, maybe its AS that is compatible or what…

to load a movie (external fla) to my website i use thei code:  
_on (release) {  
\*\* \_root.contents.loadMovie("…swf");_\*  
}

\*one of my pages i want to load is a drawing bord using this code (source once again kirupa) but I CANT DRAW THERE ONCE ITS LOADED:

\***\_root.createEmptyMovieClip(“line”,1);**

\_root.onMouseDown = function(){  
line.moveTo(\_xmouse,\_ymouse);  
line.lineStyle(1,0x000000,100);  
this.onMouseMove = function(){  
line.lineTo(\_xmouse,\_ymouse);  
updateAfterEvent();  
}  
}  
\_root.onMouseUp = function(){  
this.onMouseMove = null;  
}  
\*  
I dont know what to do - how to repair it - i d like it works.  
than you for help.

helga
