Jump to content
xisto Community
Lozbo

As Flash.. _root a simple question

Recommended Posts

Is _root relative to the scene or the overall flash movie? for example if i have this:_root.getBytesTotalwill that return the total bytes of my movie (.fla) or just the current scene?thanks!

Share this post


Link to post
Share on other sites

try this.getBytesTotal... to get the bytes in the scene... i havent tested it so it might not work..

i tested it a few minutes ago and it returns you the total bytes in the fla, it doesn't work. If you want to know the size of a specific scene you could group the items of the scene into a movieclip and then control it as a movieclip, it will surely work, but you will have to redo your mcs, and maybe loose some code(maybe you will have to reference your code again, yuk!).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.