-
getBytesLoaded() -vs- Loaded = getBytesLoaded()
is it better to just use
getBytesLoaded()
or to make
BLoaded = getBytesLoaded()
then use "BLoaded" in your script.
-
getBytesLoaded() wont give you anything
BLoaded = getBytesLoaded() and BLoaded will have the loaded bytes for you to put in a textfield.
Same principle as having
var text
instead of
text="hello"
-
im still new to flash:
what do you mean by:
Same principle as having
var text
instead of
text="hello"
-
what the hell...
lars is totally off here.
first off, text="hello" is preferrable to var text;text=hello (unless you want it scoped locally, then var text=hello is still better than var text;text=hello;)
second, all BLoaded is, is a pointer - like a shortcut - to the real product, which is the return of the function call.
to the OP - if you're going to say getBytesLoaded more than once, use a pointer (var blah=getBytesLoaded). if not, don't.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|