Having read numerous past posts on this list, I am still not clear on how to
fix the issue I have.

Basically, I have a document class and a class attached to a MC on stage
that extends MovieClip.  I have set "Automatically declare stage instances"
OFF.  I have imported MyBlock (the class attached to the instance on stage)
into the document class and declared the instance name as type MyBlock.

import MyBlock
...
var private myBlock:MyBlock;

I get no compile errors by I get two 1065 errors.  The first is for the
document class (ColorTest) and the second is for the MyBlock class.

"
ReferenceError: Error #1065: Variable MyBlock is not defined.
ReferenceError: Error #1065: Variable ColorTest is not defined.
"

What is the magic piece that I am missing to fix this? I fail to understand
how or where Flash expects me to define the document class.

Charles P.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to