Find Criteria Must Contain At Least One Sort Field Value?
Dec 23, 2009
I have this datagrid which dataProvider is a ArrayCollection of 2 different types of objects (FolderVO and FileVO).I have a size column which in the case of the FolderVO is populated by an attribute called contentSize and in the case of the FileVO it is populated by the size attribute (the difference is handled by a itemrenderer).[code]...
View 1 Replies
Similar Posts:
Mar 25, 2005
I need help with page "Thumbs" (as first frame), page "List" (as second frame) and Image gallery (as third and base). So, every frame have one own XML file...When you choose some thumb or list line, you must came to this image in the gallery. Easy, sure.. but i don't know what Function exactly i need to use.It's one flash move, hence it doesn't work with getURL or loadMovie...Some exemple with 3 separate pages here: yuri.fr
View 1 Replies
Jul 30, 2004
First, here's the movie in question: [URL]
the fla is here: [URL]
The concept is, you have this big picture and when you hover over a label the picture zooms in and you get a detail.
Problem is, say you're hovering over "Operations" then you just move your mouse down to "Customers". The movie sorta stutters over from Operations to Customers. What I would LIKE it to do is act as if I had removed my mouse from the button, THEN hovered over the next item.
Ie:
1. User sees big picture
2. User hovers over "Operations"
3. Movie Zooms In to Operations.
4. User hovers over "Customers"
key -->5. Movie zooms all the way back out, THEN zooms into "Customers"
so on...
So far I've tried to put a switch into the frames where the movie is zoomed all the way out. something saying "ok, we're ready to zoom in" then have the buttons say "if the frame says "we're ok" then we can zoom in". But that didn't work for me.
View 10 Replies
Aug 28, 2005
I want to loop through a text field and find out the _x positions of each char/letter (ignoring the spaces and dashes "-")for exampletesttxt="R o-b o t" I`m trying to get an array with something like pos_array=[12,27,34,40,56]I need to have movie clips align under each char so i need to know where the little fellas are
View 1 Replies
Jul 12, 2010
i.e. to pause the animation only if the animation is playing. and to play the animation again only if the animation is paused..
ActionScript Code:
on(release) {
play();
[code].....
View 2 Replies
Feb 2, 2012
I have the following algorithm:
if(textfield has no space left / full of characters till width) do something else keep adding characters
Now, the issue is I don't want the text field to be limited to X number of characters, but the actual width of the characters.
View 3 Replies
May 28, 2009
Here is what I'm trying to do. I have a sunroom product that is available with several different options. I have created images of every possible combination of options, and named the files like this:
DeckFurniture_NoVisor_ClearGlass_View1.jpg
Hot Tub_Visor_TintedGlass_View3.jpg
I want users to be able to choose their options, and have the appropriate picture be displayed. So to get the above image, they'd have to choose "Deck Furniture" "No Visor" "Clear Glass" and "View 1". Or to get the other one they'd choose "Hot Tub" "Yes Visor" "Tinted Glass" and "View 3"
It's not necessary to have it auto-update the image, so I was thinking they could choose their options and then click "Update", and that would in a sense pull up the correct filename from the options they've chosen. I'm not exactly sure how to tell Flash to change this master variable (the filename) whenever one of the sub-variables (pieces in the filename) change. Would I have to put a script on each option button telling it when it gets selected to change the master variable?
View 5 Replies
Nov 27, 2010
I have an array that is structured like so.
[Code]....
Normally, I'd just like to sort the array alphabetically using the name field, which is easy enough using the following code. However, I'd like to create a radio button called 'loadedRadioButton' and when it's click on, I'd like to sort the array on the loaded value first(any items with loaded=true should be at the top, sorted alphabetically), then afterwards, any other items with loaded=false, sorted alphabetically should follow afterwards, how can I do it?
View 0 Replies
Mar 5, 2010
Here is a website that needs a sort function to sort the video by Last name. [URL] I would like to have a link that popped up videos sorted by last name. Please take a look at the following site for an example. [URL] When you click on seconds in the menu below, it opens a pop-up window that sort the videos in a certain way. If you are willing to,I will give you the source file of what it currently has on [URL]
View 1 Replies
Mar 22, 2007
Is it possible to find words and then pass them as variables from a text field?
For example if I have the following text inside a text field inside my flash file:
"Playing soccer is fun"
Is it possible to somehow get those individual words and make 4 different variables out of them ?
View 1 Replies
Mar 1, 2012
I'm coding this minigame implementation where a sprite traverses tiles on a screen, and when he's done traversing a tile, the tile "disappears" (its alpha decreases and it becomes a "wall" the player can not move onto). Now, simple enough. Make use of a traversing and traversed boolean arrays to store if a tile is currently being traversed, or if it isn't, but it has been traversed. So, if traversing == 0 and traversed == 1, make the tile "disappear". However, and here's the weird part, if I just set the alpha to, say, 0.5 in this if statement, it sets the alpha on just the tile I traversed, whereas if I try to make it part of the wall as well (in the same if), every tile except the one I've traversed to becomes a wall.
Here's part of the code (it happens in the enterFrame game loop):
Code:
const NUM_TILES = 15;
//Add MC for all the tiles
var tiles = new MovieClip();
addChildAt(tiles,5);
[code]....
View 1 Replies
Jun 30, 2011
When I get a collection back from the service tier, I create an ArrayCollection and apply a sort. When I add an item to the collection later on, the sort is still in place? It seems to be the case. I thought I was only sorting it once, not applying a sort that will stick??Here is the method for adding an item:
private function onAddNewClick():void
{
var fileTemplate:FileTemplateDetailDTO = new FileTemplateDetailDTO();
[code].....
View 4 Replies
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
May 18, 2010
I must rejected all users outside Denmark from our live streaming (c-ip) and this is done in an access plug-insBut now I need to open up one of the streams, but I can't get the streaming name in the access-plug-ins only in the Auth-plug-ins.I cant use x-page-url or s-uri I need pStreamName. in access-plug-in like thissetStringField(m_pAev, IFmsAuthEvent::F_STREAM_NAME, pStreamName);but I cant get it inside the access-plug-in
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
Jul 28, 2004
The problem is simple all the field work except the Phone field. I am sure it is somethign to do with the variables, as i don;t know if i am missing a chunk of code or not. [URL] THis contain a php file n flash file
View 3 Replies
Aug 26, 2007
Trying to get a text field in my Flash MX movie to pull from and XML file with CDATA tags to show as HTML. I've checked the box to render as HTML for the text data field... but I'm having problems with the Actionscripting.
The field from this line is what I need to recognize as HTML reading CDATA tags:
this.ref["textField"+i].text = subnodes[3].firstChild.toString()
I know I need to do more than just change it to ".html" instead of ".text" and have tried a couple things, but nothing seems to work.
Code:
//Create the XML Object
myXML = new XML ();
myXML.load(newXml);
[Code].....
View 1 Replies
Jan 20, 2009
is there a way to make it so when you are done putting something into an input field it will automaticly add/subtract from a dynamic field.Dynamic1 + Input = Dynamic2where each time you change the input text it will readd dynamic1 and input show it on dynamic2
View 5 Replies
Jun 8, 2011
I have made this before with one simple line of code but I just cant seem to remember...
View 2 Replies
May 19, 2010
I am trying to use the date field component to control another field... I need the user to select a date from the date field componet this date will display in the field and an additional date in another field will then display with 280 days added. This action will also control the timeline by displaying a graphic overlay at the appropriate frame.
View 4 Replies
Nov 6, 2009
here's what I want to do: I need a simple CV search function for a small site. There will be two fields: on the first field the user will input a Name or Surname and on the second field the script should return one or more results taken from a pool of names + surnames that should be clickable links to the respective .htm page of each cv. Is this possible?
View 0 Replies
Sep 27, 2006
How can I type something in my input text field without clicking on the field first? Basically I just have one input text field on the stage and when I Test Movie I would like to just type in some text without clicking on the field...
View 1 Replies
Mar 18, 2008
AS2 selection.setFocus (someTxt); someTxt field would be selected with cursor in field.
AS3 someTxt.setFocus(); focused on but not with cursor in field.
View 8 Replies
Nov 6, 2009
here's what I want to do: I need a simple CV search function for a small site. There will be two fields: on the first field the user will input a Name or Surname and on the second field the script should return one or more results taken from a pool of names + surnames that should be clickable links to the respective .htm page of each cv. Is this possible? From what I've seen people use the replies in the second field as simple text and not as links.
View 2 Replies
Apr 13, 2010
I have a couple different arrays holding my xml information. I want to make it so when one of the buttons is pushed(and moved) the information is resorts the information in the arrays. I can get it to sort anyway I like, but as soon as I apply an "if" statement, it just sits there and does nothing. I have also tried putting it into a function with so success.[code]
View 1 Replies
Jan 17, 2003
You can refer to the attached excel file. my boss wanted me to make a replica of it in flash. the problem is I don't kno how to do it. In the excel file he wanted some cells - in orange - be available for user to input data at same time display the data. I find it difficult to do. I don't know if it is possible to display output in an input field.
View 1 Replies
Jun 30, 2009
I am trying to build a simple player inside my swf file. The code is a bit messy but it seems to work.I´m using a soundChannel for Playback..I´m trying to figure out how to have the player play the next song once the previous one has reached its end.Do I add some sort of EventListener to the soundChannel?[code]...
View 7 Replies
Nov 15, 2010
I have an XML list that I need to sometimes sort manually, is that possible?So I have a main navigation system of tabs, (All Projects, Web Sites, Logos and Presentations)When the user clicks a tab say "Logos" on the main navigation system it filters the XML pages to show just the projects that have say Logos.Then the user selects one project and sees the details for that project, a large image with sub nav on the left built from the XML you see down below.This works.What I would like to do now is change the order that my XML buttons appear in the sub nav depending on what main nav tab they have clicked.Say they click "logos" I want the logo links will appear before the web site links.[code]
View 1 Replies
Dec 20, 2006
i am trying to start a project somewhat like this:[URL] where you load pics into your movie the users can sort them selecting different options.
View 4 Replies
Nov 26, 2003
Given an XML file similar to this:
Code:
<class>
<student>
<last_name>Smith</last_name>[code]....
Is there a way or a function to sort this XML via last name?
View 2 Replies