Groups | Blog | Home
all groups > flash actionscript > july 2006 >

flash actionscript : Simple question on syntax


Savvy_Spirit
7/5/2006 8:54:42 PM
I'm having a brain cramp. How do I change this to load layer 300, instead of
the root layer?


onClipEvent (load) {
total = _root.getBytesTotal();
}

do I just change it to this?

onClipEvent (load) {
total = 300.getBytesTotal();
}
Wolf van Ween
7/5/2006 9:19:36 PM
Rothrock
7/5/2006 9:21:29 PM
Well neither of these will load layer 300 ? or load anything for that matter.

Layers are something that are only used in the authoring environment and they
disappear when published.

Do you mean level 300?

And are you trying to get the total bytes of level 300?

Then it would be:

total=_level300.getBytesTotal()

But whatever you are trying to do here this is probably not the way.
Savvy_Spirit
7/5/2006 9:24:37 PM
AddThis Social Bookmark Button