first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

Flash ActionScript: the Differences between loadVariables() and loadVariablesNum()

Flash 4 introduced loadVariables() and loadVariablesNum(). I assumed that an earlier version of Flash developed one of the functions to deprecate the other but this assumption is wrong.

While not running in "expert mode," Flash promises to automatically switch from loadVariables() to loadVariablesNum() when an integer is entered for the level parameter. For the experts out there this implies that:

loadVariables("assets/copy.txt", _root) = loadVariablesNum("assets/copy.txt", 0);

I really can't technically explain why there are two functions introduced in the same version of Flash doing the same thing. There must be political/historical account beyond my scope.

mod date: 2002-12-28T00:13:15.000Z