# 1180: possibly undefined method

**URL:** <https://forum.kirupa.com/t/1180-possibly-undefined-method/286385>\
**Category:** flash\
**Created:** [April 14, 2009, 8:19pm UTC](https://forum.kirupa.com/t/1180-possibly-undefined-method/286385 "2009-04-14T20:19:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrwizzer](https://avatars.discourse-cdn.com/v4/letter/m/e68b1a/32.png) [@mrwizzer](https://forum.kirupa.com/u/mrwizzer)\
**Post date:** [April 14, 2009, 8:19pm UTC](https://forum.kirupa.com/t/1180-possibly-undefined-method/286385/1 "2009-04-14T20:19:31Z")

</div>

I’m trying to use the AS3 version of Adobe’s new Flash Media Server 3.5 bandwidth detection, using their documentation, (flashmediaserver\_dev\_guide).

The BW detection works fine (runs a bandwidth check and displays the bandwidth in a trace statement), but that only seems to work if the flash file that accompanies the .as file is left completely blank/empty. As soon as I try to put in even the simplest actionscript, (stop() for example), I get an error message that says “1180: Call to a possibly undefined method addFrameScript.” and a similar one for the stop() method.

Do I need to, in the .as class file, extend a class other than the Sprite class that’s listed in the documentation?

Any light you can shed would be appreciated.
