# A debug error

**URL:** <https://forum.kirupa.com/t/a-debug-error/100405>\
**Category:** Uncategorized\
**Created:** [January 29, 2004, 1:00am UTC](https://forum.kirupa.com/t/a-debug-error/100405 "2004-01-29T01:00:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ICED\_T](https://avatars.discourse-cdn.com/v4/letter/i/43a26b/32.png) [@ICED\_T](https://forum.kirupa.com/u/ICED_T)\
**Post date:** [January 29, 2004, 1:00am UTC](https://forum.kirupa.com/t/a-debug-error/100405/1 "2004-01-29T01:00:40Z")

</div>

hi when i typed this in the action pannel, and published  
[AS]\_root.news.loadMovie(“news.swf”);[/AS]

it gave me this error.

Scene=Scene 1, Layer=Layer 13, Frame=3: Line 1: Statement must appear within on/onClipEvent handler  
\_root.news.loadMovie(“news.swf”);

can anyone tell me what is wronge, thanks

.:ICED T:.
