Flex :: Remove Selected Items From Search Results?
Feb 6, 2012
End-User searches for something and an ArrayCollection is returned with Result objects. This is displayed in a data grid.End-User selects a few of the search results and "moves" it over to another datagrid for use later.End-User does another search.
PROBLEM:Some of the search results might contain something the user already previously selected and moved over to the second datagrid. I want to remove these from the second search result.
View 2 Replies
Similar Posts:
Aug 26, 2009
I would like to use the selectionMode=multiple described in the Flex docs, but with a few modifications:
1) I would like the box that the user drags over the graph to remain there until the user drags a new one.
2) In the top right corner of the box I want to display the sum of the items selected by that box.
View 1 Replies
Mar 12, 2010
I've created a search with a couple of comboboxes that allow users to filter their search results. The results are currently using a TileList & itemRenderer to display, and now I'd like to add an animation effect when the user filters their results. I know that you can use the itemsChangeEffect to create an animation effect when the user drags and moves result itmes. So I'd like to know if there's a way to create a similar effect triggered by the filtering on the comboboxes?
View 1 Replies
May 5, 2010
I have a table in the database:
name Opinion
Tim Tim has an opinion
John other random text
Dan Dan's random text
Al Al says something else
I call this data and get it back in
getRecords.lastResult
To access John's opinion, I could use:
getRecords.lastResult[1].opinion
But that's only because I know that John is the second record (record 1), but this may change. So the right way is to search through the results to first find the record index for John, then access his opinion.
I need some sort of a loop? Is there an easier way to search for John directly without a loop?
View 1 Replies
Feb 1, 2012
I have placed TextFileds inside TileList Compontent. When i try to select the TextField it can't show the selected Textfield in the TileList items by default the TileList items are selected.Finally i need to select the TextFields.
Here is my code:
import fl.controls.TileList; import fl.data.DataProvider; import flash.display.Sprite; import flash.events.Event;
function TileListExample() { var dp:DataProvider = new DataProvider(); var totalEntries:uint = 3; var i:uint; for(i=0; i<totalEntries; i++) { dp.addItem( { source:getTf(), scaleContent:false}
[code]....
View 5 Replies
Mar 3, 2011
I have a combobox that act as autosuggestion for a search application. Search function is getting triggered by a search button. I also want to trigger the search function either when the item in combobox is double or single clicked. Code:
[Code]..
View 2 Replies
Apr 27, 2011
I have 2 comboboxes which are dependent (country and state) and one submit button.
Now what i want is after user submits the form it should display one alert box which should be like
selected country is "selected item"
selected state is"selected item"
View 3 Replies
Dec 2, 2009
How to get all the selected items from in this below code selectedContsList ?
<mx:DataGrid id="dg" dataProvider="{cNumbersList}" allowMultipleSelection="true" dropEnabled="true" dragMoveEnabled="true" >
<mx:columns>
[code].....
View 1 Replies
Sep 11, 2010
How can I Access Items Selected in a Component from the Main App I've got a component that has a listControl and a couple of RadioButtonGroups. I need to access the selected items in the main application. What's the best/simplest way to create and access the array of selected items. So, the user clicks the button to confirm the selections and then I need to access those selections in the main app. Is there a way I can use a public var to build the array? Another idea?
<mx:Tile direction="horizontal">
<mx:Box>
<mx:Label text="Year" fontWeight="bold"/>
<mx:List id="myYear" >
[code]....
View 2 Replies
Sep 6, 2009
How can I Access Items Selected in a Component from the Main App
I've got a component that has a listControl and a couple of RadioButtonGroups. I need to access the selected items in the main application. What's the best/simplest way to create and access the array of selected items. So, the user clicks the button to confirm the selections and then I need to access those selections in the main app. Is there a way I can use a public var to build the array? Another idea?
<mx:Tile direction="horizontal">
<mx:Box>
<mx:Label text="Year" fontWeight="bold"/>
[Code]....
View 2 Replies
Feb 21, 2012
I am learning Adobe Air and want to get the current selected item in the spinner list I have created, however every time I use selectedItem I keep getting the same value over and over, no matter what option I select. I am trying to make an application for the Playbook and this this my SpinnerList code:
<s:SpinnerListContainer x="10" y="279" width="325" height="266">
<s:SpinnerList width="69" height="100%" enabled="true" labelField="data" selectedIndex="1" id="From">
[Code]....
No matter what, 'KM' is always shows as the selected item when it is not. This is what I have in the script tags:
var selected = From.selectedItem;
View 1 Replies
Oct 28, 2009
I know i can access multiply selected options of a list by
var selectedAlgos:Array = algosList.selectedItems;
where algosList is the name of my List.
How to i send this array via HTTPService to a phpfile and how can i then access the elements of this array from the php file?
View 1 Replies
Jun 11, 2009
Well, title explains all. I'm trying to get rid of the highlight that comes around of the selected button in a ToggleButtonBar
View 2 Replies
Jun 30, 2011
My stakeholder has a request to remove the currently selected item from the DropDownList control(s) in the application. For example a drop down with [item1, item2, item3, item4] if item2 is selected then the only items in the drop down will be [item1, item3, item4]
Using Flash Builder 4 with Flex 4.0 sdk
View 2 Replies
Dec 15, 2009
I have been looking for a tutorial that shows or explains how to display the contents of a search engine like 'Google' or 'Youtube' inside Flash. No luck so far...
View 1 Replies
Sep 5, 2006
I just download and start customizing this: [URL] Its a nice and small XML search engine, I can add words and phrases etc, my problem is I cant add a link to the results, i try some things without luck, someone can give me a clue in how to make it work
View 6 Replies
Jan 18, 2010
I am working in Flash 8 and using AS 2.0 coding. I am working with page flipping application. Here I have an option "search". I will tell you the scenario. Here I am loading images/pages dynamically thru an xml. It was loading and working like a page flipping. so far it was done. Now if you enter some text inside the search option and press the button, it has to search for all the loaded images/pages and has to display the resulted pages. How this functionality has to done. How to search the jpg's with a given string?
View 1 Replies
Dec 1, 2009
I am kind of new to flash and I want my flash site to get the best results from search engines.So I found SWFOBJECT is this the way to go? Also how do I use it? Is there any learning videos out on the web.
View 9 Replies
Jan 17, 2010
I am working in Flash 8 and using AS 2.0 coding.
I am working with page flipping application. Here i have an option "search". I will tell you the scenario.
Here I am loading images/pages dynamically thru an xml. It was loading and working like a page flipping. so far it was done. Now if you enter some text inside the search option and press the button, it has to search for all the loaded images/pages and has to display the resulted pages.
How this functionality has to done. How to search the jpg's with a given string ?
View 1 Replies
Jan 18, 2010
I am working in Flash 8 and using AS 2.0 coding. I am working with page flipping application. Here i have an option "search". I will tell you the scenario. Here I am loading images/pages dynamically thru an xml. It was loading and working like a page flipping. so far it was done. Now if you enter some text inside the search option and press the button, it has to search for all the loaded images/pages and has to display the resulted pages. How this functionality has to done. How to search the jpg's with a given string?
View 0 Replies
Apr 7, 2010
I am trying to adapt this search code to display the results one at a time.Right now it displays all the terms it finds all at once and separated by commas. How would I adapt the code so it displays one item or term at a time.
[Code]...
View 9 Replies
Sep 20, 2011
Any Info about using the new Twitter API's to search images with a hashtag and display the results?
View 2 Replies
Feb 6, 2009
im having some dificulties in the combobox of Flex 3, after defining the dataProvider and filling the combobox, how can i remove the items in the combobox later (without removing items in the dataprovider)? if i set the provider to "" or null, the items in the combobox are still there
View 1 Replies
Apr 5, 2011
I am working on a search function but am having a bit of trouble finishing some display details. The following code works fine for finding and displaying text within an xml file, but I want to display the results differently. Using the following xml as a source, I would like to:- highlight the search term (var searchTerm) in red when found in the xml- add some characters found before and after the search term to give the term that is found some contextFor now, how could I add 3 characters before and after the search term, like so: "The first tex" - and highlight 'first' in red
var xmlFileToSearch:XML =
<xml>
<sim>
[code].....
View 4 Replies
Aug 27, 2009
I am currently in the process of making an image gallery at university over the period of the semester. Eventually it will be able to search through flikr and pull thumbnails from there but for now we are just getting the fundamentals working. Last weeks task was to have the int amount of thumbnails show up depending on the number u placed in the search field.
So in other words i type in 3 in the search field, and 3 placeholder images show up. The problem is having to remove them from the stage and the array so that when u type in 2 or 1 after having typed 3, that it erases the last search results from the array and the stage. This is my code below which half works. It will place however many images you tell it to, but will not erase them next time u press search.
[Code].....
View 0 Replies
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
Feb 22, 2011
I have a dropdown box that is used to select a Category. I need the Flash Application to send the value of Category plus the search string in my textbox to my Access query and return results for each product meeting selection criteria. The Flash Application is calling an ASP.NET web service which in turn queries an MS Access database.
To start, how do I define the category ID and search value in my Actionscript 3 code?I've placed a series of 12 or so objects that will be populated with the product description, title and price. How do I setup each field to be dynamic text associated with the title description and price from my query results? If there are more than 12 products returned by the query, how do I add an additional page of objects to house more than 12 query results?
View 2 Replies
Jun 17, 2005
Have a quick question, have a xml file like that:
[Code]....
I'm using the xml connector to retrieve the results then bound the items array to the dataprovider No problem to access the items but my question is how to access to var1 and var2 in actionscript. Could i bound it to a var?
View 1 Replies
Jul 16, 2009
i am have a small doubt in actionscript, i think its a silly one but banging head to solve it...f there are some items present on a panel and if i select one of them then how can i get the id or name of that particular selected item.For example if there are two accordions and if i select one, how can i get the id or name of that selected accordion.
View 3 Replies
Oct 19, 2009
I am developing a site in flash and have over 800 Library Items. My problem is, I need to edit a portion of a Library Item and cannot find the Library Item, and NO, I did not delete the Library Item because when I go to preview or test the flash document, the Library Item is there in the movie. Is there any way to search for the Library Item? I am using Flash Professional 8..
View 2 Replies