A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Help on target instancename

  1. #1
    Junior Member
    Join Date
    Sep 2000
    Posts
    14
    In short what I'm trying to get:

    1) Movie named "A"
    2) inside movie i made a script that gets instancename (this._name) and makes it a variable. (so var = A)
    3) now I want to tell a movie inside this movie to go to a label (=A) or frame based on that variable (=instance name) but it doesn't do that!!

    Can anyone tell me what I am doing wrong?

    tnx

  2. #2
    Senior Member
    Join Date
    Oct 2000
    Posts
    117
    make sure the "type" in the goto menu is set to expression.
    also i have had more luck making it go to a frame number rather than a frame label when using an expression.
    also, try setting your variable as _root.variable, and then have the movieclip look on the root level for the variable. that way you can be sure it is actually reading the variable.

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