ActionScript 2.0 :: Creating A "Tea/Benefits Chart" That Allows The User To Search For A Type Of Tea?
Mar 4, 2007
I'm creating a "Tea/Benefits Chart" that allows the user to search for a type of tea and find out what problems it can cure, or search for a problem and find out what types of tea assist with it. For this I've created 2 arrays - arrTea and arrBenefits - to store a list of the possible types of tea and benefits a user can find.
Code:
PHP Code:
var arrTea:Array = Array("lemongrass", "chamomile");var arrBenefits:Array = Array("anxiety", "cramps", "indigestion", "PMS");
For example, if the user searched for "chamomile" the Chart might return "anxiety" and "indigestion". If they searched for "cramps" the Chart returns "lemongrass".
View 8 Replies
Similar Posts:
Sep 14, 2009
How can I Create an animated Bar Chart or Line Chart type of component in flash programmatically, which should depends upon an incoming XML data, the chart should have the basic criteria like, Chart Label, Item Tooltips, background grids (without using any image). There also needs an ability to change the data which should reflect the chart as well.
View 1 Replies
Apr 17, 2011
is it possible in actionscript for the user to type in a box from a keyboard like a user input text box..
View 3 Replies
Jun 22, 2009
How could I get the id, name from all the text fields that are inside a movie clip.
View 2 Replies
Aug 6, 2010
I am trying to Learn creating a 3d pie chart into flash. I found one place where i have a sample to learn it. i have some Query on that. I am attaching that files with the thread. In that chart i wanted to make it self animated can any one help me on that? i want all pies come outside one by one and go inside instead of hovering a mouse on the dots.
View 0 Replies
Apr 14, 2011
I am creating a project which involves the visualisation of signals and timeline, so I am looking for a charting program which allows me to zoom in and zoom out and with additional functionality e.g. drag and drop or highlight the area.
I have no preference whether it should be WinForms or Web apps, and I am fine to program in either Flash or Silverlight. So I would like to see if you guys can recommend some tools for use.
View 2 Replies
Jun 1, 2007
I'm trying to figure out how to get this started. I'd like to type a word in a textfield and have it search for a match through a list of words in xml. There would be 26 xml files containing a list of words starting with a letter of the alphabet.
View 2 Replies
Mar 12, 2007
I started a search engine in flash for a small 15 pages website,and in these cases I think it's best to create an XML file as a database... I need to say that I am a beginner in using actionscript and Macromedia Flash as I used other software before. here is the progress so far: Search engine and here is the XML file to get an idea: XML file and the actionscript: Actionscript TXT or Actionscript PDF there are some words in Romanian in the search engine link
1).I need to compare the VAR entered by the user in the search box with the DESCRIPTION from the XML, what I was able to do is to compare if they are equal, that means you need to enter the exact description to get a result, what I need to obtain is for example to enter "goo" and still get the result for GOOGLE, or "gle" or whatever...
2). I also need to use the search button as a trigger and also the key ENTER, I was able to do it but not together, it was either ENTER or the button, I need to specify here that the function from the onRelease command of the button is a very complex one.
View 1 Replies
Mar 2, 2011
Is it possible to develop chart in flash (eg. bar chart, pie chart)?
View 1 Replies
Sep 5, 2007
I need to have a search box, and when the user types in a term and hits submit, I want it to go to a URL and add "srch=<whatever is typed in the box>" to the URL address. In other words, if you type in "Cattle dog" as your search term, I want the URL to read "http:[url]..... This should be so easy. I have a TextInput box called "search_txt" and a submit button called "submit_txt".
View 14 Replies
May 9, 2010
my virtual keyboard is up and running. I am on the last leg of this project and what I need is, I am assuming complicated. Senario... the user types the department, suite number, or name of a particular person, the typing ends up in an input text field, with an instance name of "dirsearch". then the user clicks the button "Enter" and in theory the input text field, searches a file, and retrieves information which will be displayed above the keyboard. Most likey a bio sheet of what ever the user typed. But I need it to be flexable on the spelling of what the user typed into the input text field.
View 0 Replies
Aug 14, 2005
My starting point here is Kirupa's wonderful tutorial on how to integrate an Atomz search with your flash site:I'm interested in doing the same thing, only with Google (referncing an AdSense account to run a SiteSearch). A quick search online brings up a lot of very technical looking material involving the Google API, which is frankly beyond my abilities at the moment. Does anyone have any tips for how the original tutorial could be modified for GoogleMy reasons for wanting to use Google instead of Atomz: 1) no 'competitive ad filter', so my vistors are potentially being redirected to the competition every time they run a search and 2) AdSense pays.
View 10 Replies
Dec 13, 2005
just wondering if there is a way of setting out a text input box and a go button and using an EXCEL Sheet FULL of data (uk postal codes) to create a search application???
View 1 Replies
Oct 2, 2010
feel free to add multiple answers, each with a single point, to make the voting work well... and don't add something someone else already said. All I know about AIR is you can have local storage, but there must be more to it... offline access is another key one but then you can run a SWF locally if you save it to your PC.
View 4 Replies
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
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
Dec 26, 2011
Im trying to create an online video library using xml and as3,My goal is to place a search bar onto the stage allowing the user to find a video from the project folder,My problem is i dont know how to search my video folder to retrieve a .flv video and display it from my .swf file using as3 and xml.
View 1 Replies
Nov 4, 2009
what i would like to do is create a search field that as the user types in the search bar if there are any matching entries in the list, the focus/selection jumps to that particular item in list. i don't want to clear the list just go to the item that matches.i would like it to be predictive so if i have these entries:and the user types "s" in the search box to the first "s" entry in the list (samson) is selected, if they type "se" the selection jumps to the first entry with "se" in it (seek) if they type "seet" the selection jumps to "seether" and so on.i have absolutely no idea how to do it, but more importantly...is this possible? Attachments: glossary.zip (1.0 MB)
View 6 Replies
Feb 9, 2010
I'm new to action script, I've only used the script wizard so far. What I want to do if it's even possible is create a 3 drop boxes with dates to search for and either pull up or open in a dynamic text field the result .txt file, kind of like this:
(drop boxes)
Year:2010 Month:January Day:27
(Results)
2010_january_27.txt
I am creating daily reports for a donation program for donations given daily to go to us soldiers over sea's and I want the public to be able to pull up the date they want to look at and see what was donated on that date threw a .txt file that will be created daily and stored on the website/host _local folder.
View 0 Replies
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
Feb 27, 2010
So I have this database that's filled with data, but I would like to use Flash as an interface.
So I've got a couple questions, first of all, is it possible to create a text box that when the submit button is pressed, goes to another frame "results" that displays the results, each preferably a link to yet another slide "info" that displays the full entry info?
I already know all the PHP for this, just wondering how to integrate it with flash, and show the results and entries inside flash.
View 6 Replies
Mar 1, 2012
The new Yantram Architectural Visualization modeling and visualization know-how offers a bursting 3D (3-dimensional) scrutinize of in the least accommodate or else building. 3D animations or else views are used extensively in the sphere of building and construction industry allowing stakeholders to visualize how the live project preference looks like. With 3D modeling, renderings and 3D visualizations you can contain an first-rate opportunity to sport with your imaginations or else opinion.
Architectural 3d rendering and modeling is a creative process. 3D rendering in favor of a building project often involves realistic lighting, textures and supplementary property to your landscapes or else buildings. Architectural visualization in addition helps you determine realistic color in favor of building architectural rendering exteriors and interiors.
Architecture visualization is the largest part flexible and well-liked tool used in the sphere of fresh era in favor of planning and development of building devices. Catch less various of the remuneration of using architectural visualization services:
To promote and marketplace building scheme in the past construction succeed is ongoing and offer prospective buyers a new realistic media to communicate their ideas.
To get a hold accurate detailing of a project and existing design devices from various angles by very reasonably priced cost.
To render building in the sphere of the largest part realistic way in the past construction in the sphere of order to research new with the furnishing and exteriors.
To put up for sale architects design to all the essential stakeholders such as builders, planners and customers.
architectural visualization is considerably cheaper than hand-made drawings these days with availability of sophisticated software and reasonably priced services from 3D rendering professionals.
3D Renderings of a wished-for propose remove in the least uncertainty and gives resident the system confidence in the sphere of favorable project.
Architectural visualization tools can generate or else make a replica almost in the least building material, create in the least landscape ecosystem and quite symbolize lighting property while delivering true-to-life images. 3D Renderings of your designs help reduce the luck of design false impression like 3D Panoramic view. Builders at this moment can visualize projects better and this takes several of the deductive reasoning or else speculation old hat of bidding. Better transmission results in the sphere of new accurate bids.
View 0 Replies
Aug 14, 2009
What are the benefits of Spring Actionscript considering Dynamic Proxies are not possible in the current version of Actionscript and Reflection is quite limited.So for example I could specify my object creation in an XML application context, but why would I do that when I can simply specify that in code, and hence take advantage of static type checking etc.It is by no means my intent to belittle the work done on Spring Actionscript but more to find an application for it in my projects.
View 3 Replies
Dec 29, 2009
I want to modify the Flex 3 TextInput control to accept a tab character as valid input (The app allows the user to enter an arbitrary delimiter string for file output formatting, and tab is a common use case). However, clearly in the default implementation the tab key changes the form focus away from the selected control.
View 1 Replies
Dec 21, 2011
I am making a quiz what I want to do is: when the user types in the correct answer a tick appears and when they type in a wrong answer a cross appears I want this to happen on a single frame. How to make these type in boxes and how to make the above stuff happen.
View 1 Replies
Aug 24, 2009
I want to make a search button on my site. I have a bunch of pdf files in a specific location on my site. I want to create a search field where the end user inputs text into a field and flash locates and opens the corresponding pdf file.
View 1 Replies
May 19, 2011
on clicking the Search Icon , a search bar will be visible (ON) if user click anywhere on the stage the search bar will be NO visible(OFF) OR user click on ICON again the search bar will be OFF but it Stage CLICK is triggered without clicking
[Code]...
View 1 Replies
Nov 3, 2011
I'm using the the Adobe ActionScript 3 SDK for Facebook Platform to get all the tagged photos of the current user. Is this possible?
I've tried this:
FacebookDesktop.api("/"+uid+"/photos",getTagedPhotosHandler);
But that only gets me the photos belonging to that user.
View 1 Replies
Mar 3, 2011
I'm trying to prevent a default chart item roll over highlight in a Spark column chart.If you look at any of the chart examples on this page , when you roll over any of the chart series items, they turn a darkened shade of their original colour. This is what I want to prevent.
So far I have had no luck with using the itemRollOverColor property, as this only allows you to set it to one specific colour for the whole chart (my app has several different coloured series on the chart at once). Also, trying to leverage the itemRollOver event (with preventDefault() etc) hasn't worked either.
View 1 Replies
Jan 10, 2011
I'm trying to make chart which is combination of bar and line chart using Flex Charting API . Here x axis would be common and y axis would be different. note that y axis got different range of value one is % and other is amount. Any one got idea how to make this chart. Here line chart would be staked on top of bar chart . The line chart and never over laid or drawn on top of bar chart.
View 1 Replies