A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: evaluation of a framelabel with tell target?

  1. #1
    I need to check in a movie clip what the timelineposition is.
    When my movieclip is at frame 1 nothing must happend.
    when my movieclip is at a surtain frame he has to play the rest of the MC. I would to controll this by a button.

    I have tried with a tell target command.
    here is the code

    on (release) {
    tellTarget ("/model blauw") {
    if ("stop" == true) { stop is the label to check
    gotoAndPlay ("mini"); mini is the label to go on with mc
    } else {
    gotoAndStop ("wait"); wait is the begin of the mc
    }
    }

    Have one a solution??

    Many thanks in advance


  2. #2
    Hack
    Join Date
    Mar 2000
    Location
    Madison, WI
    Posts
    1,753
    on (release) {
    if (_root.modelBlauw._currentframe > 10) {
    gotoAndPlay ("mini");
    } else {
    gotoAndStop ("wait");
    }

    I've never used two words for a movieclip instance name. I don't know if it is a good idea. That's why I changed model blauw to modelBlauw -- maybe it makes no difference, but it looked weird to me.

    em

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