![]() Applications that require many and frequent calculations create a lot of variables and will slow applications over time. Local variables exist only within the function where they are created.Īlthough local variables are not absolutely required in ActionScript, it's good programming practice to use them. ![]() In other words, a local variable is created within the function definition, used by the function when it's called, then deleted automatically when that function has finished executing. In contrast, local variables are special variables you can create and use only within the scope of a function definition. The variables you've created and used so far can be accessed at any time by any script in the Flash movie.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |