thanks for your help. At least I figured out where the problem was,
On 6 jul, 15:56, Nicole Chung <
nicole.ch...@gmail.com> wrote:
> A 1009 error is often from a movieclip or an instance that is not
> instantiated yet.
>
> Did you try running the debug mode to see if your instance is returning
> null?
>
> Perhaps you have to place your instance on the stage (if it is a display
> object) by using addChild and addChild *has* to be done before you call any
> methods that require the stage.
>
> OR...if it's something on the timeline the instance has to be on frame 1
> (really, all the available frames) or it won't be 'instantiated' and it
> won't work.
>
> Hope this helps.
>