// Poster Image Cropper
function previewMap(MapID,UserID) {
    GB_showCenter("","../map_preview.php?mapid="+MapID+"&userid="+UserID+"", 600,795);
}

function cropapp(PosterID,UserID) {
    GB_showCenter("","../crop.php?posterid="+PosterID+"&userid="+UserID+"", 488,480);
}

function finishposter() {
  
    thisMovie(movieName).TGotoLabel("_level0/content_mc/content_mc/content/","finished");
  
}

function posterAdmin(PosterID,UserID) {
    GB_showCenter("","../poster_admin.php?posterid="+PosterID+"&userid="+UserID+"", 600,800);
}

function mapAdmin(MapID,UserID) {
    GB_showCenter("","../map_admin.php?mapid="+MapID+"&userid="+UserID+"", 600,800);
}



// MOVIE CONTROL ACTIONS
function playmovie() {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).Play();
  }
}

function stopmovie() {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).StopPlay();
  }
}


function go(theFrame) {
  if (movieIsLoaded(thisMovie(movieName))) {
    thisMovie(movieName).GotoFrame(theFrame);
  }
}

function golabel() {
      thisMovie(movieName).TGotoLabel("_level0/","finished");

}

// END MOVIE CONTROL ACTIONS
