A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: movie in new window

  1. #1
    Junior Member
    Join Date
    Jul 2004
    Location
    New Jersey
    Posts
    23

    movie in new window

    alright..
    since i still couldnt figure out how to make the movies cancel..
    i have a new approach..
    im gon open that roster.swf in a new window..
    buh how do i change this code to make it so only the roster.swf opens in a new window???
    i made this code awhile ago..
    so i forget how to alter it..

    on (rollOver) {
    myArrow = "../arrow" add substring(this._name, 4, 1);
    tellTarget (myArrow) {
    gotoAndStop(2);
    }
    gotoAndPlay(2);
    }
    on (releaseOutside, rollOut) {
    myArrow = "../arrow" add substring(this._name, 4, 1);
    tellTarget (myArrow) {
    gotoAndStop(1);
    }
    gotoAndPlay(6);
    }
    on (release) {
    myMov = substring(this._name, 4, 1);
    if (myMov eq 1) {
    newMov = "about.swf";
    } else if (myMov eq 2) {
    newMov = "roster.swf";
    } else if (myMov eq 3) {
    newMov = "leagues.swf";
    } else if (myMov eq 4) {
    newMov = "forums.swf";
    } else if (myMov eq 5) {
    newMov = "sponsors.swf";
    }
    loadMovie(newMov, "_root.content");
    }

  2. #2
    go blues ! audas's Avatar
    Join Date
    Oct 2000
    Location
    london ,piccadily circus!
    Posts
    665
    getURL("myMovie","_blank","POST");
    peace.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center