If you’re loading an external SWF-file into your Main-SWF (or any other swf), the external SWF cannot call any self-made function you defined in your main by simply write: this.parent.functionName(). The compiler throws an error, saying that it can’t find a method with that name in flash.display:DisplayObjectContainer. But you can avoid this by typecasting the […]
How to connect a MovieClip to an external ActionScript class file
A great advantage of AS3 is the possibility to use external ActionScript Files for your projects. So there is no need to use confusing timeline code anymore. Except for very small projects for demonstration purpose or something like that. This tutorial is going to show how you can connect a MovieClip with external ActionScript 3 […]