external swf (?)

Out of context: Reply #8

  • Started
  • Last post
  • 29 Responses
  • Anarchitect0

    never use a button. make movieclip and use a onPress event [button MC].

    mcbutton.onPress = function(){
    this._parent.mc.loadMovie ("downstairs_isb.swf ");
    }

    that way you can centralize your code in one layer only.

    I use this._parent. becuase playing with _root can be tricky when using external swf that also call _root. use hierarchical 'calling'. _parent._parent....

    you can even make root=_parent._parent and then use that variable

View thread