Jump to content

_level properties and manipulation


bgreen88

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 comment
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 comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...