ActionScript 2.0 :: External .txt File Search

May 17, 2005

I have an external text file containing my year groups timetables, and I want to be able to search out people, and display their information as provided preferably in flash... here is an example of one day for someone.

[Code]...

in the format "name", "student ID", "day", "period", "class name", "teacher", "room", "year" This .txt file contains approx 300 students information covering 10 days, is this easy or very time consuming to do?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Create A Search Field To Search Keywords In XML File?

Sep 6, 2010

I am trying to create a search field in AS3 to search keywords in a dynamic text field of the same flash movie, where the text is loaded from an XML file.

View 1 Replies

Flex :: Search For A File On Users File System?

Jun 8, 2010

So we want to seacrch for file like exampl*.ex*mple. We want to search in all users files and folders.

I know it will take long, but steel using ONLY AS3MXML, no native commands, no external programms - only AS3MXML libs and classes, we can skeep all folders with sise <= 200kb

So How to search for a file on users file system? (in Air application, NOT NATIVE)

View 1 Replies

ActionScript 2.0 :: External .txt Search?

May 17, 2005

I have an external text file containing my year groups timetables, and I want to be able to search out people, and display their information as provided preferably in flash... here is an example of one day for someone.

"Zwaan Brendan B","9984","1","1","12BLA2","BLA","45","Y12"
"Zwaan Brendan B","9984","1","2","12CHE1a","GMW","57","Y12"
"Zwaan Brendan B","9984","1","3","12MAT2a","PLT","37","Y12"

[code]....

View 1 Replies

Data Integration :: Search Function For External Html Content?

Jan 22, 2007

i have got a Flash Projector which is to be deployed onDC/DVD rom. I am using an XML menu to load various chapters andsections of html content, images etc. The client is now asking forthe capability to search within the "books" content.Is there any way of doing this? I have found an Extensionthat allows me to search within a text field, but what aboutexternal content files?

View 3 Replies

Professional :: Search In FLA File?

Jun 12, 2010

Is there an easier way to search for ActionScript in an FLA? I've inherited a Flash Project from a former co-worker, and have been searching for this particular source in my FLA file, but have not been able to find it:

[Code]...

I'm well aware that it's there _someplace_ and have tried going through every symbol listed in the project, to no avail. When running the movie in the debugger, I see it lsited under "Actions" for the button symbol "mpbutton". However, when "editing" that button, I see no such actionscript associated.

[Code]...

View 3 Replies

ActionScript 3.0 :: Possible To Search XML File?

Oct 7, 2010

I have a client whom I made an xml driven slide show for. Everything is working fine, but now they want a search box with button where the user can search through the "description" nodes of the xml file and then display that image.

I know I will use a loop to itterate through the nodes, but how do I actaully test to see if there is a node with more or less the same text that the user entered? Btw, the application is standalone, not on the net.

View 4 Replies

ActionScript 3.0 :: Search For Keywords In An XML File?

Feb 1, 2010

I'm currently searching for ways to count the number of pre-defined keywords in an XML file. An example would be trying to find how many times "war" is mentioned in a news networks RSS feed <title></title> and adding it to a variable.
 
I've found a few custom AS3 XML class files out there but nothing I've been able to adapt.I'm at the point of considering just taking the title of these news stories converting them all to strings and searching them that way.

View 9 Replies

ActionScript 3.0 :: Search An XML File For Keywords?

Feb 1, 2010

I'm currently searching for ways to count the number of pre-defined keywords in an XML file. An example would be trying to find how many times "war" is mentioned in a news networks RSS feed and adding it to a variable. I've found a few custom AS3 XML class files out there but nothing I've been able to adapt. I'm at the point of considering just taking the title of these news stories converting them all to strings and searching them that way...

View 2 Replies

ActionScript 3.0 :: GPS Radius - Search A XML File ?

Dec 2, 2010

I am trying to make an application that tells me what points are within, say, 5 miles of me. I have my latitude and longitude coordinates that are constantly updating depending on my location... and I want to be able to search a XML file and ask whether or not certain locations are within the 5 miles.

If they are it displays those points in a list... if not, they are excluded.I don't need to be deathly accurate... Under a quarter of a mile or so would suffice.example of lat:long numbers would be something like

View 2 Replies

ActionScript 3.0 :: Need SWC File For Google Search API

Jan 8, 2012

I've read about putting a search engine on a google map using as3 in Flash Professional. The problem is I can't find the proper swc file. I'm using Flash Pro CS5. Is there a relevant swc file I can use?

View 2 Replies

ActionScript 2.0 :: Senocular XML Search Tutorial (search Query Case Sensitive)

Dec 3, 2004

I've just tried senocular's xml tutorials. [URL] The search query seems case sensitive. How to make it accept upper and lower case characters. Actually i'm trying to make a search by myself by using the same code.

View 6 Replies

Professional :: Multiple File Search And Replace?

Apr 17, 2011

it is possible to do search / replaces in script, text etc over multiple files?  If not, is there any 3rd party software available to do it?I have hundreds of files I have to make the same change in and just wanted to find out before I have to do the mind-numbing process of going through them all.

View 3 Replies

ActionScript 2.0 :: Search Engine For Text File

Jul 25, 2002

i hv a bulk of text pages in my flash file. i want a search box that could identify specific keywords in those paras when asked for.

View 3 Replies

Php :: Flash - Read And Search A Specific Word In Pdf File?

Aug 20, 2010

[URL]I client want some thing like this. User will search a word and application searches that word in a opened page and highlight it. This is a Flash application and uses php at back-end to generate XML.

View 2 Replies

ActionScript 2.0 :: Search From Access Database File In Flash?

May 30, 2004

I am working on one CD presentation for chamber of commerce I have to make a search engine in this CD presentation. they have 8,000 company name address email website address and product details in Access data base can i make a search in flash MX or is there any possibility to search from XLS file

View 1 Replies

ActionScript 3.0 :: Flash Creating A Search For Information In A XML File?

Jun 17, 2010

I'm trying to figure out the best way to create a search box that searches an XML document and returns the results. So far I know how to do a search that returns exact matches but I want to make it so if someone typed in say "Manager" it would return results that Also had "Sales Manager" or "Account Manager".

Currently I have

PHP Code:

var  authorList:XMLList  =  xmlData.job.(title  == citySearch.text); 

Which only works with exact results. What is the best way to get around this? Do I just need to bring in everything from the XML file and then compare it using .search()?

View 2 Replies

ActionScript 2.0 :: Search From Access Data Base File In Flash

May 30, 2004

I am working on one CD presentation for chamber of commerce I have to make a search engine in this CD presentation. they have 8,000 company name address email website address and product details in Access data base can i make a search in flash MX or is there any possibility to search from XLS file

[Code]....

View 1 Replies

Search Function To Search For Button Names?

Jun 8, 2009

I've started a project a while ago, so far it is almost done but there is something that I seem not to be able to do alone... I would like to add a search function which I don't know how to do.It will not be a normal search function so I am going to try to beak it down with an easy example:

Let's say I did a project that is embeded somewhere in a normal html page with a main menu from where you can get to different city maps (e.g. New York, Paris, Berlin). The maps are seperate swfs. On all those maps there are several buttons for historical sites (or whatever) with a mousover function and a link to a page with more information about that specific site (on html).the names of the buttons are always a letter and a number (New York: "N1","N2","N3"...; Paris: "P1","P2","P2"... instance name for P1 is p1_btn)

What I need now is a search field in the main menu where you can search for those buttons. Meaning if I type in "N2" and hit search it will take me to the New York swf and show me button "N2".

I know this might not make much sense like this but the actual version is quite different and more complicated context-wise. Therefore if possible I would like to leave it that way with the main menu, the linked swfs and the buttons.

View 1 Replies

ActionScript 1/2 :: Develop A Search Box That Will Search Through The Titles?

Nov 23, 2011

I've got a catalog of events in XML that is read into my Flash swf. I'm trying to develop a search box that will search through the titles, descriptions, presenters, etc. and return a list of related events.
 
Does anybody know a prebuilt AS2 system that does this? Or a good tutorial on how to go about this? I have googled, but haven't found much.
 
Here is my approach so far. When I load in the XML I create an array of the frequency of all the words in the nodes that I'm interested in. I figured it would be useful to do this once instead of each time a search is performed. I store that word index in another array with an index that will take me back to the original node. I was trying to figure out if there was someway to put it all into one index, but then I'm not sure how I'd link back to the original nodes.
 
When performing a search I look through the array of word indexs and check for the word and return another array of which original nodes contain the word.
 
If the search term isn't represented I generate all the permutations of the word that have an edit distance of 1 -- i.e. that have a letter changed, added, or deleted in any position. So for example if the search is for "the" the list of 1-edit would be ahe, bhe, ... tae, tbe,... tha, thb...athe, bthe,...tahe,tbhe, ....... he, te, th. If any of those are found it returns the results and puts up a "Did you mean xxxxx?" type of notice.
 
So far all of this is working rather well.
 
I'm still working on figuring out what to do if the user puts two words into the search box.
 
Also haven't figured out what to do with plurals and other "stem" type situations.
 
I want to make this pretty simple and easy for people to get the results they want.

View 5 Replies

ActionScript 2.0 :: Google Search Is Always The Same Except For The Search Variables At The End?

Jun 16, 2003

Its mostly the way google is set up that makes it so easy. I just happened to notice that the url for a google search is always the same except for the search variables at the end. http:[url]....So all I did was to add a textfield to get the variable to put on the end of the URL. (And a button to press)

on(press){
getURL("http://www.google.com/search?q=" + inputText);
}[code].....

P.S. I am going to put this into a thread too in case any one else is interested.

View 7 Replies

Java :: Regex For Eclipse/Flash Builder File Search For Comments?

Jan 5, 2011

In Eclipse (and Flash/Flex Builder) you get the option with Ctrl+Shift+F to do a file search and look for a regular expression. Would be a real handy thing to know.

I want to find the word negate if it appears in a Flex/java comment like the following:

// It was negated because
or
/*

[Code]....

View 2 Replies

ActionScript 2.0 :: Read The Text File, Search For Double Linefeeds And Skip It Before It Is Placed Into The Textframe?

Apr 22, 2008

I know of some of the workarounds to prevent the double line spacing when reading dynamic text files.

The 'oll
line 1
line 2
line 3

[code]....

Anyway...I know that you can type the text in Word and then save it as plain text with the CR/LF changed into either CR or LF.For me it works fine and so will it for most of you.I'm writing a website for a firm who has someone to update the textfiles the site is reading. She is cute, but I want to make the darn thing fool proof of course. So isn't there a way to read the text file, search for double linefeeds and skip it before it is placed into the textframe? Just to tell her to type the info into notepad and then WYSIWYG? (It's going to be code-free, so no bold, italics etc.)

View 3 Replies

ActionScript 3.0 :: Chatter Bot - Processes The User Input Text And Search For An Answer In The XML File

Feb 7, 2009

I am working in a AI project: a Chatterbot and it works fine. I work in webdesign, video, 3D and illustration and this personal project eats my free time You should set the answers and questions in the XML file called "bdenglish.xml", it contains a basic example. The bot will understand the new nodes. Actionscript(FLA) processes the user input text and search for an answer in the XML file. The bot can understand several ways to make a question. Also it can memorise the conversation subject if you use XML propierties (It is unfinished) The user can use ENTER key or the SEND button. The bot can know the genre of the user because it is male like default, but it search in a female names list. The output field answer is HTML text, also it support images, animations or sounds. The bot can chat in several languages. You can synchronize video with the answers (bot expression), I am woking in a basic function with video.

I am workin in a alternative answer motor, it would work with the XML. I want to use lipsync in the future for a talking version. How it works? - The bot converts the XML database to an multidimensional array.- The user writes a question - This input is processed in the AS code - The bot searchs in the multidimensional array - The first word must be found - The bot answer the question or it responds something if the question is not found I am not programmer and the AS3 bot was hard for me, but it works. I was trying get a good code and I am work in a better search function. I hope some criticism and comment from Kirupa masters! It is in my personal site:[URL]

View 2 Replies

ActionScript 2.0 :: Create A Search Function And Show The Results By Goin To That Particular Frame Within A Flash File ?

Sep 28, 2003

Is it possible to create a search function and show the results by goin to that particular frame within a flash file ?

The data is not dynamic....and it is not server/web based....

View 11 Replies

ActionScript 2.0 :: How To Search Use Code To Search

Dec 21, 2009

How do i search use the code to search?e.g. From Zoo, To City Hall.The zoo(hv already create the flash animate to city hall)but the problem is how to write a code to point to zoo(action script)!

View 2 Replies

Actionscript 3.0 :: Search Function - Search Through The XML?

Jul 14, 2009

I've got a flash movie that reads in an XML file and has an input text box. When you type something in the input box, I want to search through the XML and return the names of the elements that match whatever is currently in the input box, even if its only partially complete.The input box has an event listener of type Event.CHANGE on it and it runs the following function.

Code: Select allfunction searchWords(e:Event):void {[code].........

View 7 Replies

ActionScript 3.0 :: Remove / Unload External Swf File(s) From The Main Flash File And Load A New Swf File And Garbage Collection From Memory?

Sep 12, 2009

I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?

View 15 Replies

Arrays :: Search Multidimensional Array (Flash As3) Using Another Array For Search Criteria

Sep 26, 2011

Long story short: I want to search a multidimensional array in AS3 for (in this example) the location of 6 strings - all of which are stored in another unrelared array. Long story long: Once I get the locations (in the multidimensional array) of each string, i then know where it's located, and can access other atributes of that object - so if i found the string "box3" is located in element [5] of my multidimensional array, i can now target: multiArray[5][3] to return the 4th item stored (keeping in mind we're starting from 0, so 3 is the 4th position).

I can get this to work once, but I'm trying to set up a for loop based on the length of my basic string storage array - this array holds (in this example) 6 instance name strings - each time my for loop loops, i need to run a search in my multdimensional array for the next consecutive instance name. Then, once I've located all of them (and store the results in a new temporary array) I can dig around in each location for the info I need.

[Code]...

View 3 Replies

ActionScript 2.0 :: "search In Swf " - Call The Pdf File Into The Flash

Feb 16, 2009

i have a project something like [URL] (click on the page) our client want to search the text as this site & they provide me a pdf file

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved