ActionScript 2.0 :: Make List Component And Movieclips?
Feb 28, 2011Is there a way to make a List of movieclips...Would b by adding MovieClips to a List Component?I tried but didnt work.
View 1 RepliesIs there a way to make a List of movieclips...Would b by adding MovieClips to a List Component?I tried but didnt work.
View 1 RepliesI'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?
I have this RSS Reader that is displaying the main headlines into a list component, which is fine but its ugly, i want the list component to be touch enabled for scrolling, is this possible, or if not can i atleast change the scroller to something wider and more visually appealing???
here is my RSS reader:
var rssLoader:URLLoader = new URLLoader();var rssURL:URLRequest = new URLRequest("http://alaashaker.wordpress.com/feed/");rssLoader.addEventListener(Event.COMPLET
[code].....
Can I use the List component to make chat? If so, what do Ido after dragging the component to the stage?
View 2 RepliesTo fit in with my page design, yet to take advantage of the "List" component, I'd like to spread my list-labels horizontally, across the page (1 row, multiple columns). Is this possible? If not, is there a comparable component that would do the same thing; showing a row of text labels, rather than a whole set of individual buttons and all the scripting that would entail?
View 4 Replieshow 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,
I need that when the list appears is shows a selected cell, I tried this but didn´t worked: list.isItemSelected(0)=true;
View 1 RepliesI'm trying to make a list component in flash 8 have a links in them. So far I have this Actionscript in the main timeline for the component. I named the List component on the stage as "list"
[Code]...
I have a list component and I have an item editor for the items in the list. I would like to have a button that the user clicks once they are done with their changes because I am having them edit multiple pieces of data in the editor and I would also like to validate the data before closing the editor as well. I just don't know what to do on the button's click event to make the item editor close and commit it's changes to the data provider.
View 3 Replieshow can i change my list component in Flex 4.6 mobile project with that when an item is pressed it would dynamicly resize and show an article description and a button [URL]
View 1 RepliesI'm having trouble figuring out the code to add to this to create a random loading song every time the page is refreshed.[code]...
View 0 RepliesI 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 RepliesI 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 RepliesWhy 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.
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]...
When a user selects a category from the first drop down box then i want the 2nd drop down to be updated based on the selection of the first drop down. I have created multiple ArrayCollections whose names are set to the "data" values of the first drop down, for instance:
[Bindable]
public var countries:ArrayCollection = new ArrayCollection([
{label:"USA",data:"USA"},
[code].....
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 Repliesis it possible with AS3 to see the list of the movieclips that are on stage?
View 13 Repliesjust wondering how to populate the list component with XML. when an item is clicked it needs to execute the actionscript specified in the XMLmy XML looks like this:PHP Code:
<application name = "Something" actionscript = "gotoAndPlay(3)">
if that's not possible...are you able to call a function?
I have a list component which is being disabled while an animation is playing using It's all working perfectly but I can't for the life of me work out how to stop the whole list component going grey when it is disabled! I've changed all of the cell and component skins but it still goes grey.I just want it to stay the same colour when its disabled, or at least change it to a colour that fits with my design.
View 1 Replieshow to set the border for a list component. Its black at the moment and I need it a different colour.
View 1 RepliesWhat i need is to 1. load an XML node and gathering report names, and listing these into a List component from flash cs42. in turn when any report name is clicked or rolled over, (in a dynamic text field) the report description for that reportname will show!
Here is my XML structure :
<?xml version="1.0" encoding="utf-8"?>
<reports lastupdate="9/14/2005" dir="">
Using contextMenu, i removed all BuiltInItems
I have created AS3 script for loading and parsing an RSS feed. I have successfully displayed the "title" node on the stage in a List Component with the instance name "blogList". Now I wish to use the corresponding "Link" node so that each item in the list will open a web page to the link for that story. I have been able to get each title to link to the last URL link in the RSS feed.
View 1 RepliesI am using a List component. Each list item is divided in three lines.I want first line to be bold.
View 1 Repliesregarding the List Component of flash, I have an instance of it in a movie and it works fine when I test it, but when that movie is loaded into my main movie, the List btn doent function and I get the following error:
TypeError: Error #1009: Cannot access a property or method of a null object reference. at fl.containers::BaseScrollPane/fl.containers:BaseScrollPane::drawBackg round() at fl.controls::List/fl.controls:List::draw() at fl.core::UIComponent/drawNow() at fl.controls::List/scrollToIndex() at fl.controls::SelectableList/scrollToSelected() at fl.controls::ComboBox/open() at fl.controls::ComboBox/fl.controls:ComboBox::onToggleListVisibility()
I'v double checked everything, I'v rebuild the entire component of the movie that required the List component and still nothing.
Creating a list menu with the help of components library is simple. But how can one create a list menu which will be added dynamically? In the sense that I need the list menu to be populated with data from an external XML. All this has to be done at runtime. I cannot drag and drop a list component onto the stage.
View 5 RepliesIs it possile to have a List component in Flash CS5-AS3 that has options and suboptions (and even sub-suboptions)-sort of like a vertical menu?I've searched here in the fourm but have not found any info on this. Any sample site or tutorial?
View 1 RepliesI have been able to set 1 of the items in a list, but not multiple. I have searched and searched and I cannot find out how to do this.
View 3 Repliesi have this RSS reader made with a text field and the list component. But the list component is UGLY, and this is for a touch device, so i would like to aesthetically edit it. So maybe scroll it by touch or at least make it so the scroller is invible or something.
View 2 RepliesHow can I validate if atleast one item has been selected from a list, such that the selectedIndices is set to NULL at the init() of application?
View 1 Replies