Operator in _root.getBytesTotal

okay i have scripting that goes like this-

stop();
if (_root.getBytesLoaded(“intro”) < _root.getBytesTotal(“intro”)) {
gotoAndPlay(“preloader”, 1);
} else {
gotoAndPlay(“preloader”, 2);
}

now, if i wanted it add an operator that divides the _root.getBytesTotal(“intro”) divded by 4 so that it goes to preloader, 2 when one fourth of the intro is loaded how would i do that?

Sorry but I don’t really understand what you’re trying to say but it’s cool to just divide the getBytesLoaded by 100 and then multiply it by 25 to find 25% of it.

I think I’m miles off what you’re asking for here but if you can be more specific, I’ll try and help you out.

first, the correct use of getBytesLoaded and getBytesTotal is

target.getBytesLoaded(); // <-- NO parameters

To answer your question, you would use the division operatior which is “/”

one_fourth_size = _root.intro.getBytesTotal()/4;