A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Tell Target??

  1. #1
    ok heres is what i have....

    on (press) {
    unloadMovie ("_level1");
    unloadMovie ("_level2");
    loadMovieNum ("portfolio.swf", 1);
    }


    everything works fine for me except i want to be able to go to frame 45 in "portfolio.swf" when it loads....

    whats missing?

  2. #2
    wwwxlfcjbcom
    Guest
    why not stick a goto and play action in the first frame of of portfolio.swf..

    or if frame is loaded goto and play 45

  3. #3

    ill try it but..

    I'll try that, but some instances require I run the portfolio.swf starting at frame 1 and others (like this one) I need to start in the middle. I was hoping there was a way of naming the frame I want to goto and then tell it to go there when it loads...

    and of course I need it in the action I listed previous..

  4. #4
    Senior Member
    Join Date
    Jun 2001
    Posts
    267
    Try this:
    on (press) {
    unloadMovie ("_level1");
    unloadMovie ("_level2");
    loadMovieNum ("portfolio.swf", 1);
    _level1.gotoAndPlay(45);
    }



    I'm not sure it will work 'cause I don't have my books here with me. Also this only works in 5.

  5. #5
    Senior Member
    Join Date
    Jul 2001
    Posts
    505
    on (release) {
    unloadMovie ("_level1");
    unloadMovie ("_level2");
    loadMovieNum ("portfolio.swf", 1);
    tellTarget ("_level1") {
    gotoAndPlay ("whatever");
    }
    }


    Stick a label on frame 45 and name that lable something ya can remember. replace "whatever" with the name of your label. (this code will work in flash 4)

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