0 Replies Latest reply on May 4, 2007 2:36 AM by camel_humper

    button down with external content

      I'm trying to find a way of keeping a mc button on the last frame of it's timeline i.e. down the problem being the buttons function is to load an external swf into a container on the _root timeline. I cannot work out how to do this without messing the code for the button up. Here is the code for one button. Any help appreciated!


      this.onEnterFrame = function(){
      if(rewind == true){

      this.onRollOver = function(){
      rewind = false;

      this.onRollOut = function(){
      rewind = true;


      this.onPress = function() {
      if (_root.currMovie == undefined) {
      _root.currMovie = "weather";
      } else if (_root.currMovie != "weather") {
      if (_root.container._currentframe>=_root.container.midframe) {
      _root.currMovie = "weather";