AS Depth Variable Question

Started by: Komaru | Replies: 2 | Views: 670

Komaru
2

Posts: 263
Joined: Jan 2008
Rep: 10

View Profile
Mar 12, 2008 12:29 AM #90546
How do you set a variable to an instance's depth?
Like, basically I need this:

onClipEvent (load) {
myvariable = this_instance's_depth;
}


But I don't know how to get the depth as a variable.

EDIT:
Wait...I figured it out again...sorry for making another thread.
All problems solved.
twister50

Posts: 0
Joined: Jul 2026
May 4, 2008 9:37 PM #128917
myvariable=instanceName.getDepth
Komaru
2

Posts: 263
Joined: Jan 2008
Rep: 10

View Profile
May 4, 2008 10:28 PM #128942
Wow, I posted that forever ago.