ActionScript 2.0 :: Make An Interactive Map Which Have A Search Function

Sep 17, 2008

I'm planning to make an interactive map which have a search function. What I want is when user insert a place name in the search textfield then click the search button, when it found, the map images/mc slide then locate the place point, which is a button. How could I do this?

View 2 Replies


Similar Posts:


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 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 2.0 :: Search Function From XML?

Jul 19, 2010

I have a video player embedded in flash and done in AS2. It takes the playlist from an xml file. I want to add a search function so that it lists related videos on searching and each result would be clickable so that the corresponding video plays.

View 0 Replies

Make An Interactive Map?

May 28, 2010

I'm trying to make an interactive map, whitch the size is 2880 - 2090, and the problem is the zoom in and out, I Want it to start with the magnification of 60%?

View 2 Replies

How To Make An Interactive

May 22, 2009

I'm trying to make an interactive map and how to make it so that when each button is clicked, it is pushed in front of the other buttons so that it covers them.

View 5 Replies

ActionScript 3.0 :: Xml String.search Function

Feb 16, 2011

I'm trying to create a simple xml search function that searches an xml file for a string, and if that string is found in the xml, display the node which contains that string in a text box.I have the simple search function working, but what I can't do is return the specific node. Right now, the function is returning all the xml data instead. If someone could take a look and possibly lend some guidance as to how to return the specific daya, I would be much oblidged. Hope this makes sense, if not, let me know and I'll do my best to clarify.[code]

View 6 Replies

ActionScript 2.0 :: Search Function On XML Content?

Jun 26, 2009

I'm working on a project where I'll need to create a search function to search through a whole chunk of XML generated through the database. [code]...

View 0 Replies

ActionScript 3.0 :: Optimizing My Search XML Function?

Dec 23, 2009

I've got this simple GUI that has a search box and a couple result fields for "Word" and "Definition"...I've also got an XML file with about 800 or so terms and definitions.Currently the flash works just fine, it reads in the XML glossary, splits it into a word array and definition array and when I search through it, it creates a List filled with terms that match the string that I search for. We wanted it to update the list of possible matching terms each time you changed the search term: a, ap, app, appl, apple... etc.

Everything works, its just incredibly slow when you throw 800 terms at it to search through.I was wondering if anyone could either optimize my search somehow, show me another way of doing it.Here is the code pulled from the whole GUI.

ActionScript Code:
var glossary_xml:XML;
var xmlReq:URLRequest = new URLRequest("glossary.xml");[code].........

View 6 Replies

ActionScript 2.0 :: How To Enable Search Function

Aug 8, 2005

Is there a method, such as via AS or Remoting, to create a site search tool within a Flash movie?First post here, but a long time visitor to Kirupa. Great site!

View 3 Replies

Make An Interactive Flash App?

May 21, 2010

I've just started a new job, and I have the opportunity to do some work with Flash CS5 - I've never used Flash before and I'm excited to be learning new stuff! I have been tasked with creating an interactive thing... well, how 'bout I just show you

I've built it in Photoshop, but I need to make it come to life. The user should be able to grab the slider and drag it left or right and for the numbers to change appropriately. I don't even know enough about Flash to know what keywords to search to find a tutorial that'll show me how to do something similar!

View 5 Replies

ActionScript 2.0 :: How To Make Interactive Map

Sep 24, 2005

I've been trying to make an interactive map. I have a stage that is...default size will do. On next layer I have map..on layer above is a mask with a hole in. The idea is the user can drag the map around and get info from hotspots on the map. I know I can restrict the area that the map can be dragged but this seems to only work if the map is smaller than the stage, but my map is much bigger than this. How do I set this up??

View 11 Replies

IDE :: Make An Interactive Panning?

May 7, 2009

im trying to make a interactive panning with the tutorial Interactive Image Panning, Page 1 but this swf loads in a main swf.. the code i am using for the panning swf is

this.onMouseMove = function() {
constrainedMove(bg_mc, 8, 8);
};

[Code].....

the problem im having is that the panning swf is using the with of the main swf that is holding it

View 4 Replies

Make A Search Funtion In?

Mar 14, 2010

Flash cs4.

What I need to do is make a search function that will find items within the site it self.

Example...

if I have like 100 folder and all are numbered but I dont want to scroll I want to just type 86 and it should go there.

View 1 Replies

Flash :: Make A Search Box?

May 18, 2007

I am trying to make a search box in flash however no matter what I do I cant manage to make it work.[URL]...

View 2 Replies

ActionScript 3.0 :: Make Search In It?

Mar 31, 2011

I want to make search box as in (url...) when any one click on the search then the default text goes away and the type text is seen there, besides this the background of the text field should change when the cursor is on it and get its default color when cursor is not there. [code]...

View 3 Replies

ActionScript 3.0 :: Recursive Function To Search Through XML Tree

Aug 27, 2009

I want to vreate a recursive function that will search through my xml tree and display all the leaves(node values); this is the function that I wrote:

function searchXML (theItem) {
trace("theItem.*.length() "+theItem.length());
trace("theItem.* "+theItem);
trace("--------------------------------------");
if (theItem.*.length() > 0) {
searchXML(theItem.*);
[Code] .....

View 1 Replies

ActionScript 3.0 :: XML Search - Getting Error #1006: Value Is Not A Function?

Jan 15, 2010

I'm working on writing an application that searches through xml data using a kind of "advanced" search. Users can filter data based on combobox data.Here is my xml:

Code:
<backgrounds>
<background name="Grassy Green" author="GBLM" description="A Grassy Meadow - perfect for brightly themed logos!" category="general" game="modernwarfare2" system="xbox360" colors="green yellow" tags="grassy,green,field,bright,gblm,"[code].....

It pretty much searches through the attributes, and also filters through some. The theory is that in my combo boxes, I also have a choice with blank data, so that way if they choose that it will not filter, because every string has an index of "". I have a few questions: Also, I keep getting this error:

Code:
TypeError: Error #1006: value is not a function.
at testfile2NEW_fla::MainTimeline/searchPopulate()
at testfile2NEW_fla::MainTimeline/searchPopulateHandler()[code].....

Here is another thread I posted on a similar issue to this: http:[url]....I load my images into a TileList component as well. The xml is already loaded into my movie fine, and the images load fine into the TileList component, but my concern is making the Search feature accurate.

View 2 Replies

Flash :: App With A Search Function Through A MySql Database (using Php)?

May 15, 2011

I need some help with a flash app im currenctly programming. I have a management flash app that does some operations in a MySql databases. I have had some problems, but for the most part, I have been able to press on. I'm a flash AS3 newb, so bear that in mind.

My actual problem is that I need to do a "Search" module, and I need it to print several results at once. I am although unsure how to get the results on flash. what I have been doing now is calling a php script that, after doing its operation, does something like (for example):

[Code]...

View 2 Replies

ActionScript 2.0 :: Search Function On Flash Site?

Jul 15, 2009

I'm trying to create a search function or find one on the web to purchase for a flash based website, and I've been trying to find some different tutorials on how to do this. I found a search program from CoffeeCup Flash Website Search that looked promising, however the big problem that I've been running into is that the website does not have an http:// address because it is running on an internal company network so it's file extension is like this:\File01MyDepartmentIndex.html so the CoffeeCup Flash Website Search can't do a search for all text found on my site. I'd like to have someone be able to search my site for text found on any of the different pages (All created with seperate swfs) and there are datagrids on most of them with xml data being loaded into them

View 0 Replies

ActionScript 2.0 :: Build Up The Search Function That Contains 400 More Keyword?

Nov 18, 2009

i have a big problem with Search function to build the Glossary.. First, what is the best way to build up the Search function that contains 400 more keyword?? what way should i use, with XML, or combo box or etc????

I have used the text field with String.indexOf() .. but it seem like not the best way.. because it's really long..

View 1 Replies

ActionScript 2.0 :: Search Function Across Multiple Swf Movies In A Cd Rom?

Oct 26, 2005

how to do a search function accross multimple swf movies in a cd rom. The situation is like this: i m making an elearning project where i have around 17 to 18 chapters. Now, all the chapters are in flash and they are seperate movies. Now, if someone wants to search for something inside the cd, like say, they are searching for "entertica" then all the pages that is related to that word should show up.. like google search.

View 2 Replies

ActionScript 2.0 :: Creating A Search Function In Flash?

Nov 22, 2005

I have this long list of video files(some 500 of them) to be linked to my flash interface. I am looking at the option of creating a search engine such as that when the user key in some keywords, it will search thru my list of video files and bring up the appropriate files. (results will show names of files first then user can choose to click on those that they want to view)

View 8 Replies

ActionScript 3.0 :: Search Function For Flash Content

Feb 17, 2009

I want to build search functionality into my AS3 app, whereby I would give some MovieClips their own relevant 'tags' and check whether any of the tags match the search items the user has put in - the objects would then be sorted depending on how much they match the search. I am thinking to put the tags for each object in an array and then go through them and look for matches, it is possible there would be multiple matches for each search request and I will need to split the search string on each 'space' (spacebar) to allow for multiple search terms. Also, I want to run the search every half second or so and so the search term could match the first few letters of a tag and this should return a positive match.

View 3 Replies

ActionScript 3.0 :: Search String Function - Get The Int Returned

Jun 7, 2009

I need to be able to get the int returned on this. If I serach for any letter as a string I get the search function working right. If I run it like it is below I get back 0, which I should get 3.

[Code]...

View 3 Replies

ActionScript 3.0 :: Search Function - Load Xml To Datagrid

Nov 25, 2011

I have a slight problem with serching datagrid, the thing is that i load xml to datagrid it works but when i filter i get an error msg. The code looks like this:

[Code]...

View 2 Replies

ActionScript 2.0 :: Search Function In Flash Template?

Nov 7, 2010

how can I implement Search function in Flash Template / Website.

View 0 Replies

ActionScript 2.0 :: Search Function For Text Fields?

Feb 18, 2005

I'm trying to port an application created in another language to Flash. I'm trying to implement a boolean function that simply tells me if a word I pass in as an argument is contained in the text field. So I am wondering if Flash includes a built-in function such as "find" or "contain?" which are common in other languages for determining if a word is in a text field?

View 1 Replies

Make Interactive Map With Info Display?

Oct 20, 2011

I have something in mind like this: [URL] so each time, when the mouse is over each state, different information should show up in the right side box with different information. How should I implement this? should I draw the right side information box as picture, and then write a script to ask information to display when mouse is on certain state, is this a movie clip?

View 6 Replies

ActionScript 2.0 :: Make An Interactive First-person Novel

Jul 8, 2009

I'm rather unfamiliar with Actionscript (up untill now, I've only made simple Flash animatons).I would really like to make a visual novel type of game (it's a game much like the Phoenix Wright games, minus the court scene parts of the game).

View 2 Replies







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