ActionScript 2.0 :: Implement Using List Component / DataGrid?

Jun 10, 2007

I want to have some sort of a list, which will contain movieclips (or thumbnails) ... is this possible to implement using the List component or DataGrid component?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Creating Picture List Or DataGrid Component?

Aug 14, 2009

How can I create a picture list with List or DataGrid component.

View 1 Replies

List Component - Populate A List Box Component Located Within A Separate Mc In Swf With An Array?

Jun 29, 2009

how to populate a list box component located within a seperate mc in my swf with an array... the array comes from a response from a webservice call. I am not currently on the computer with my source code available so lets just use the following....

listdata[i] = the array i want to populate the list box with..... (listdata1, listdata2, listdata3, listdata4, etc. etc.)
movieclip1 = the MC within my fla containing the list box component
mylist = the actual list component

... just not all that familiar with the format of actionscript when working with objects... using CS3 and as2 btw,

View 3 Replies

Flex :: Implement Paging In Datagrid?

May 2, 2011

i want to implement paging in flex datagrid, i am using this code. In Asp.net we can implement paging by setting property of datagrid, is there any such property for flex datagrid?

View 2 Replies

Flex :: Implement A Drilldown Effect In A DataGrid?

Dec 30, 2009

I want the Flex DataGrid to implement a drilldown effect. The data to the DataGrid is obtained from an XML file.

View 1 Replies

Flex :: Implement A Horizontally Populated DataGrid (with The Headers On The Left Instead Of At The Top)?

Feb 4, 2011

I am trying to find an easy and robust way to override the default layout of DataGrid and populate its values in a left-right fashion. To illustrate:My data model is an array of: {a: xxx1..n, b: yyy1..n, c: zzz1..n}The default DataGrid component will lay this out as:

a b c
xxx1 yyy1 zzz1
xxx2 yyy2 zzz2
xxxn yyyn zzzn
etc.

With "a", "b", and "c" as the headers, and x, y, z being their values for each object in the dataProvider.Now I want to lay this out horizontally like so:

a xxx1 xxx2 xxxn
b yyy1 yyy2 yyyn
c zzz1 zzz2 zzzn

I've searched around for an answer but haven't hit on anything. Perhaps I'm just using the wrong keyword searches...Regardless, if anyone knows a solution to this, be it as mundane as a property setting I've somehow missed, or a 3rd party component, etc.

ps: Eventually, this must be entirely tab-enabled and cell-editable. If you have an esoteric solution involving a multi-field itemRenderer, please keep this in mind. I mention this because I have attempted such a solution and have failed to penetrate DataGrid's Unfailing Field of Tab Vitiation (ie DataGrid seems to override tab functionality inside its itemRenderer, forcibly setting focus to the next renderer/editor).

View 1 Replies

Actionscript 3 :: Flex - Implement Sortable List Of Object?

Jul 25, 2010

I have list of object that I want each item to be rendered with some renderer that include a delete and edit buttons with some text. What is the best way to make the list of object re-order-able in drag/drop fashion so the user can drag on item on top of another to change the order of the list.

View 1 Replies

Flash :: Implement A Infinite List In Flex (hero)?

Apr 12, 2011

I'm new to Flex/ActionScript (.NET/Java has been my main playground so far).I'm trying to build a Flex app that has a list that is meant to look and behave like an infinite list (of items - which can be any object). The idea is that the user should be able to scroll up or down and never reach the end of the list in either direction.

An example would be a list of numbers. Scrolling up will show negative numbers; scrolling down will show positive ones. Now, my list is a simple Flex Spark list (using Flex Hero).It is bound to a data provider that is an ArrayList.My initial idea was to listen to the scroll event and add/remove items as needed. However, in the current build of Flex Hero, there is a bug that doesn't raise scroll events for vertical scrollbars sometimes (http:url].....).So, I'm using the workaround suggested in the link above (i.e listening to the propertyChanged event of the list's scroller's viewport. The event though only gives me the current verticalScrollPosition. And it looks like the default spark list supports smooth scrolling and raises the event many times before the list scrolling comes to a standstill (it is a nice visual effect).Now, I need to :

Figure out whether it is scrolling up or down (how do I do that?)

Figure out which items are visible. I can get this from:

list.dataGroup.getItemIndicesInView()

Add/remove items as needed, so that the user can scroll up and down forever, never reaching the end of the list in either direction.

I've tried the following code but it doesn't work. (comments in code).

import mx.collections.ArrayList;
import mx.core.INavigatorContent;
import mx.events.FlexEvent;[code].....

View 2 Replies

Flash :: List Component - Change Pointer Icon To Hand For List Items?

Nov 9, 2010

I am working on an older Flash project created in CS3 ActionScript 2.0 How can I make the pointer cursor change to the hand when hover over a list item?_root.slidePanel.myList'myList' is the list. I have traced out the contents of the List MC and it has a child MC called 'content_mc'. I assumed this was the object containing all of my list items but the only members of this MC I can see (when tracing them out) are 'setRGB' and 'searchKey'.

View 1 Replies

ActionScript 2.0 :: Combobox & List - Each Selection Triggers The Specific Xml File To Load Into The List Component?

May 10, 2007

I have a combobox and list component on the stage. The combobox has 3 selections. How do I get it so that each selection triggers the specific xml file to load into the list component? I can't get them to communicate to each other.

View 1 Replies

ActionScript 3.0 :: Implement A Search Field - Filter List Componet

Mar 31, 2012

I'm working on a dictionary using Flash components. I'm trying to implement a search field, I manage to filter word and letters, as you do on goggle. What I need is to filter from the beginning of the word as you do on a Dictionary.

[Code]...

View 1 Replies

Actionscript 3 :: Get A Navigation Through The List Items In A List Component Of Flash?

Mar 23, 2012

Why I have to press 2 times the arrow key down to get a navigation through the list items in a list component of Flash?

Theres any workaround for this? I have a listener for keyboard event that checks if keyCode is equal to 40 if it is then I use 'stage.focus = list', but I have to press 2 times key arrow down to start navigating through list items.

View 1 Replies

Flash :: Flex - Implement A Framebuffer With BitmapData To Replace Its Display List?

Dec 31, 2010

If anyone has a framebuffer implementation, could you please share some performance benchmarks? Or at least tell me how much difference are there in your point of view. I need to make a flash game which has almost 1K 50x50 bitmaps moving on screen(more than 10K display object in display list), and want to know if flash can support it well on a normal PC with at least 30FPS.

View 2 Replies

Flex :: Make A Custom Component Or Extend The List Component For A 2D Top Down View MAP ?

Nov 11, 2010

I'm building a top view 2D map, that it's objects are stored on the server.The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.The component must request the "areas" that are missing on screen.An area is 1000x1000 px and is cached in flex.To move in the map, will be like in google maps (drag-and-drop).I should be able to have another list and move objects from one to another using drag-an-drop on objects. Ex.: I grab an objects from a list and I move it on this map, I release the mouse button and the item is placed there.Now the problem is: I build a custom component for this trying to emulate the item renderer for performance and recyclage, implement drag-and-drop on objects and request the areas that are missing?

or

I extend the List component from spark and I add some features as multiple kind of itemrenderers and use recycle on them. Of course it must be able to request the missing areas on the screen and cache it's data.Maybe create a custom layout is needed too.What I need is something that must be really fluid, so the lighter this component is, the better.

UPDATE: *There will be not any object over another.

*I will not use hitTest on bitmaps because all bitmaps are wrapped in another component,as they,for now are itemrenderers.

Anyway I already begin to do this using a class that extends the SkinnableDataContainer and a custom layout. As the layout is not like a grid, is sparse, random items at diferent points(x, y).How to get the localX and localY, relative to item renderer and not to the Spark List, from a DragEvent in Flex 4?

View 1 Replies

ActionScript 2.0 :: XML From Xml - Load The Second List On The Other List Component?

Apr 13, 2006

I have two Lists (components) on stage. The first one (mainList populates from an XML called topics.xml

[Code]...

on event handler change, I want to load the second list on the other list component, called subList..It's not loading.. I believe it's because when it reads the data from my topics list, it reads topic1.xml instead of "topic1.xml" ( reads without the quotes). If I unquote line v.list.load("subtopic.xml"), it works, but I need it to be loaded from the XML..

[Code]...

View 1 Replies

Flex :: Air - Implement A Component In Windows Live Messenger

Sep 18, 2010

in windows live messenges the status setting component tht is an icon, label and a dropdown arrow. on rollover it gives u border around the component, how to implement the same in air application using flex. i got this link. [URL] but how to implement it in flex?

View 1 Replies

Flex :: DataGrid List Is Highlighting

Jan 10, 2011

By default, whenever you rollOver/mouseOver (not sure of the difference) an item in a Datagrid or a List, that item is highlighted with the component's rollOverColor.I'm just wondering if there's any way to do that programmatically. I haven't been able to find much help on the issue. For example,suppose I have two DataGrids.When I rollOver an item in the first DataGrid, I want to highlight the corresponding index in the second one as well.Basically, as if two separate cursors were rollOver'ing two separate DataGrids.

View 2 Replies

Flex :: DropDown List And / Or DataGrid?

Jun 8, 2011

We are rewriting our multiscreen game from Flex Project to ActionScript Mobile Project (root object is flash.display.Sprite and not spark.components.Application). Aim is to increase performance on tablets and have better overview what exactly is going on, what listeners are added and so. (I just don't trust Flex in this.). Do you know any alternative for DropDownList and/or DataGrid? I can't use MinimalComps, because there are little options to customize.

View 2 Replies

Xml :: Flex - Display A List Of Items In A Datagrid From A XMLList?

Oct 19, 2009

I am trying to display a list of items in a datagrid from a XMLList.

<Series no="1">
<file>
<filenum>1</epnum>
<prodnum>4V01</prodnum>

[code]...

My current code allows me to retrieve every Series into an XMLList and then i have a nesteddatagrid class that allows me to do things like.

<classes:NestedDataGrid width="100%" height="100%" id="gridFiles" dataProvider="{filesList}" >
<classes:columns>
<mx:DataGridColumn headerText="Season" dataField="@no" width="60"/>

[code]...

However this displays the datagrid with two rows, the first row has 1 in the Series column and then the two files crammed into the second cell in the same row. The second row is the same but has the number 2 in the Series column and the two series #2 files crammed into the cell next to it.If i do not use the nested data class i can pull the files using Series.file instead and all 4 of the files list correctly, however i do not get the Series number for each...

View 1 Replies

Flex :: Set HTML List As Mx:DataGrid Data Provider?

Mar 19, 2010

So I have Html like this [URL] (I want to create some Flash Track reader which will be opensource)

I need to list in my DataGrid Index of all viki pages in form like

+-----------+--------+
|page name |page url|
+-----------+--------+
| name | url |
+-----------+--------+

View 1 Replies

Flex :: Disable Roll-over Color For List Or DataGrid Components

Feb 24, 2010

I want to get rid of the typical Flex roll-over color in list-based components, and to display my own style of roll-over rendering. Setting useRollOver to 'false' is not an option, since disabling that will also make the List.isItemHighlighted() function to always return false. My custom renderer relies on that function. Can it be so hard? Is there no way of setting that roll-over color to transparent? Is there some other way for my renderer to figure out if an item is highlighted?

View 3 Replies

Flex :: DataGrid / List Drag And Drop - How To Avoid Copying

Jul 21, 2011

I'm using drag and drop on a DataGrid to reorder items. However, when the user holds down Ctrl he can initiate a drag Copy operation. How can I disable copying altogether? (not just cancel the drop, but also prevent Ctrl + drag from showing the (+) icon)

View 2 Replies

ActionScript 3.0 :: Place A Component Into A DataGrid?

Aug 4, 2010

i'm using flash CS4 and i'm wondering how to place a component into a DataGrid.I was able to grab this script from the live docs on how to place an image to a DataGrid but I want to replace it with a button.

Code:

import fl.controls.DataGrid;
import fl.controls.dataGridClasses.DataGridColumn;
import fl.data.DataProvider;

[code]....

View 2 Replies

ActionScript 3.0 :: DataGrid Component Scrollbar?

Jan 17, 2012

Trouble with my DataGrid component (aDg), i want to tell it to got a fixed height, and then have a scrollbar when the lines into the Datagrid are biger than its height, but with this code, it doesn't work, the grid continues to get bigger without scrollbar :

Code:
myDP= new DataProvider(fileXML);
aDg.dataProvider = myDP;

[code].....

View 1 Replies

ActionScript 2.0 :: Use Datagrid Component With Mysql And Php?

Dec 20, 2006

just wondering having some trouble getting my head around the way to pass data and show data in my datagrid component from my mysql database.

View 1 Replies

ActionScript 2.0 :: Flash 8 - DataGrid Component Will Not Appear

Feb 13, 2007

I am trying to create a DataGrid component with AS and it's not showing up.
Code:
import mx.controls.*;
createClassObject(DataGrid, "dgTalent", 0, {_x: 0, _y: 0});
dgTalent.columnNames = ["Character", "Allowed"];
dgTalent.addItem({Character: "Affliction", Allowed: "Affliction"});
It's still really basic right now, but I have to keep it that way until I can at least get the darn thing to show up.

View 3 Replies

ActionScript 2.0 :: Creating A New DataGrid Component?

Feb 5, 2008

creating a new datagrid component... to have it as customizable as possible, it will definately help me in my future projects.

View 2 Replies

CS3 :: Way To Pre-select List Component

Jul 10, 2009

I currently have a list that I'm using to hold text so when an item in the list is selected the text is displayed in a text box along side it. I want to have the first item in the list to be pre-selected so the text for that item is already in the textbox when it is loaded.

View 1 Replies

ActionScript 2.0 :: CS3 Datagrid Component Not Populating On Server?

Sep 17, 2009

Wasn't sure where to post this one as I'm not sure where the error is occuring.I have datagrid components being populated from a mySQL DB using php. The grids exist on external swfs being loaded into a parent clip.The datagrids populate locally no problem when tested individually and when loaded into the parent clip. They have also been working from the server in previous days, but I was doing final tests checks on some recent final changes and now things aren't working.obviously I went back and ran through what I changed but nothing really applied to the grids.Codes are below

Code:
//DISPLAY ON TAP BEERS
var myOnGridArray:Array = [];

[code].....

View 1 Replies

ActionScript 2.0 :: Set A Size For My DataGrid Component's Cells?

Dec 20, 2009

How can I set a size for my DataGrid component's cells?

View 1 Replies







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