Jump to content

_level properties and manipulation

Recommended Posts

if i have this: level0.mc1.mc2 is the value of this.my actionscript is in frame1, of level0 movieClipi want to access only mc2, imean the string "mc2", coz i only need "mc2"how can i do that.when i assign this to String str1, it was traced: level0.mc1.mc2 but, i can't do a substring method, and str1.length is undefined.how can i solve this problem?

Link to post
Share on other sites
  • 2 weeks later...
I think you can use the toString() method to turn the MovieClip reference to a string. Then it should have a .length property.
thnx..:)...it was solved already.i just concantenated an empty string to the variable holding the path, so that it would be treated as string.:)like:var1 = mcLevelpath+"";thanks anyway..:mellow:
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...