Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Search and Replace String 1.0
Author: Kory Roberts
| Website: http://www.k2w.f2s.com/ |
The Basics Part 2
There are a variety of ways to call this function. Let's assume you have a Dynamic Textfield called string_out.
Calling from a Frame:
string_out = searchandreplace("everything goes", "everything", "anything");
Calling from a Button:
on (release) {
string_out = searchandreplace("everything goes", "everything", "anything");
}
However it is called, string_out now equals "anything goes".
You now have the basic knowledge necessary to use this function in your own movies.
| » Level Advanced |
|
|
Added: : 2001-01-08
Rating: 7.79 Votes: 39
Hits: 1092
|
| » Author |
|
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 |
|
Download the files used in this tutorial.
|
|
Download (11 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|