View Full Version : search function in flash
11-09-2005, 08:38 PM
i have a flash site and I would like to have a search options for the users. I have no idea how to even start. Any ideas???
11-09-2005, 08:46 PM
Keep an array holding all the text that you want to search on, and also the location of that block of text. Searching is easy (String.indexOf) so just do a loop over that array, and if any of those strings have an index of the item, move the flash movie to the location you stored with the string.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.