What I am trying to do is add a MovieClip which I have created, but deleted from the actual stage itself, from a seperate class to a sprite which I declare in the document class. The link between the main document class and the others works fine, as well as references to the stage, from the class in question.
It is only one line of the function which is giving me the error: Type was not found, or is not compile-time constant:SequenceA
I have already tried changing the settings for 'Export for Actionscript' in the library properties and still get the same message every time.
Pretty lost with this one so any help is appreciated. Cheers!
appRef
andsequenceA
exist? if you are creating it within this function, sequenceA has not yet been declared anywhere...and this also implies that sequenceA is a child of appRef yes? – MaxGvar seqA:sequenceA = new SequenceA;
and see if it complains. This will at least confirm it can instantiate your mc properly...Then try parenting again? – MaxG