The Details Part 1
Now we get into the details. It might be helpful at this point to re-open Page 4: The Function in a new window so you have a ready reference to the entire function as we go through it line-by-line.
The following are predefined functions used in our search and replace function. It might be helpful to read about these in the Flash 5 ActionScript Dictionary.
It might be worth noting that there is also a predefined function called String.substring(from, to) which is not used in our search and replace function. This predefined function uses a slightly different way of indexing than String.substr(start, length).
|» Level Advanced|
Rating: 8 Votes: 38
|Kory Roberts is a part-time Flash developer. He is the author of ScoreKeeper and has experience integrating Flash with other scripting languages, such as Perl/CGI and PHP.|
|Download the files used in this tutorial.|
|Download (11 kb)|
|More help? Search our boards for quick answers!|