Menu:

Sponsor

Discover Master of Alchemy, our first iPad/iPhone and iPod touch game!

Follow Me

 

Forum's topics

Latest Files

Archives

Top Rated

Categories

Photo Gallery


How to use the LoadVars Class

6. Other methods

The LoadVars object has also other methods:

.toString()
It will transoform all the properties of the LoadVars object into a string url-encoded. It is used by default from the send, sendAndLoad methods.


.decode()
It's the inverse method.. from an url-encoded string return well formatted properties.

.getBytesLoaded() & getBytesTotal()
Same usage as the getBytesLoaded() and getBytesTotal() from the MovieClip class. they return the bytes from an external loaded source.