Jump to content
GreenSock

RapaNui

Members
  • Posts

    4
  • Joined

  • Last visited

Reputation

0 Newbie
  1. Awesome, thanks for the quick response (and the reassurance!) I'm now trying to pass an identifier from the child which calls out the loader from which the call came. Ideally it would mean this function will work in the DocumentClass... private function actuallyUnload(loaderToUnload:Object){ loaderToUnload.unload(); loaderToUnload.dispose(true); loaderToUnload=null; } ... however it seems I can't access the unload() function because it's not on that ContentDisplay Object. I'll keep plugging away but any assistance would be great. Thanks again.
  2. I think I got it... private function unloadMe(evt:MouseEvent){ var curParent:DisplayObjectContainer = this.parent.parent; Object(curParent).unloadContent(); } this.parent.parent gets me back to the DocumentClass where I can call unload after doing a couple of tweens
  3. Hi, Quick question as I'm a bit of a noob to LoaderMax. I'm creating SWF files with custom content and loading them using LoaderMax. It's all working great. However, my external swf's are like "windows" with their own close buttons. In the past I've used: Movieclip(this.parent).unLoadContent(); This, however, does not work using LoaderMax. Is it possible to call unload from the loaded SWF (child)? Any help would be greatly appreciated. Many thanks, J.
×