Import yoursubdirectory.GameSequence
18 февр. 2014 г. 16:47 пользователь "Barry Gold" <barrydg...@ca.rr.com> написал: > > My splash screen includes a link with a click handler: > > <s:RichText left="0" top="0" width="100%" height="100%"> > ... some text ... > <s:a href="." click="gotoMainMenu">link text</s:a> > ...more text... > </s:RichText> > > The click handler is coded as follows: > > </fx:Metadata> > <fx:Script > > <![CDATA[ > import mx.events.ItemClickEvent; > protected function gotoMainMenu(event: ItemClickEvent):void > { > GameSequence.mainMenu(); > } > ]]> > </fx:Script> > > "mainMenu" is a static method in class GameSequence, defined in "GameSequence.as" in a subdirectory. > > If this were Java, the compiler would automatically search the subtree to find classes I reference. What do I need to do here with mxmlc?