Web Development :: Why ComboBox 3 Take So Much Space To Show All Its Items
Dec 8, 2010[code]It's taking up 300px ,but actually only the upside 150px is in use.How to show all its items while keeping the page UI normal?
View 1 Replies[code]It's taking up 300px ,but actually only the upside 150px is in use.How to show all its items while keeping the page UI normal?
View 1 RepliesI'm trying to set a specific list item in a mx combobox to have a custom item renderer, the problem is that I cannot do this via mxml, it needs to be done via actionscript at a later stage, eg: combobox gets created, combobox gets populated, user does other tasks, combobox needs to set one or more items in the combobox to have icons (via item renderer)..
I can do this via the onChange event, but it only applies the icon when the combobox is opened and there is a slight delay so you can see the icon being added.
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 Replieswriting a code for adding an extra space on every 5th items?I only know how to space them out evenly,
for(var i:int = 0; i<20; i++)
{
var item:MovieClip = new MovieClip();
[code]......
How do i retreive the total number of items (count) of a combo box in Flex?
View 4 RepliesI have a combobox that uses a custom itemrenderer to display an image. when scrolling up and down the list the images randomly go out of alignment. How do I stop this?
public class PinRenderer extends UIComponent implements IDataRenderer, IListItemRenderer {
private var currentPin:DisplayObject;
private var _data:Object;
public function get data():Object {
return _data;
} public function set data( value:Object ):void {
[Code] .....
How can I simply add or remove Items to/from component - ComboBox?
View 6 RepliesI'm currently working on a project where I have a user defined list of urls which is saved in a local SO. When the movie is loaded the ComboBox is populated with the values from the SO (Stored as array inside SO).I want to give users the option to remove items from this list. So far I have managed to remove the selected item from the combo box, clear out the SO and loop the remaining ComboBox items, but, when I try and load these item into an array to parse back to the SO, the array is created and creates the correct amount of elements, but, each element is populated with only the data from the 0 index item of the ComboBox.My code so far: (This sits inside a button component and is invoked onClick)
_root.ComboBox.removeItemAt(_root.ComboBox.selecte dIndex);
_root.ComboBox.selectedIndex = 0;
_root.local_data.clear(); [code].......
I have a combobox that uses a custom itemrenderer to display an image. when scrolling up and down the list the images randomly go out of alignment. How do I stop this?
public class PinRenderer extends UIComponent implements IDataRenderer, IListItemRenderer
{
private var currentPin:DisplayObject;
[code].....
I'd like to assign a hyperlink (URL) to the items in the combobox.
View 1 RepliesI want to add a key to my ComboBox, so each item contains a little picture + text, is there any easy way to do it?
View 2 RepliesIm trying to use the selected item in a combo box (aCB) to populate a text field (taLabel) the trace statement shows the correct item but i'm missing something simple to make it work. This is the error I get:
ReferenceError: Error #1069: Property null not found on fl.controls.ComboBox and there is no default value.
var cPriorities:Array = new Array(
{label:"Image Conscious",data:"Image Conscious"},
{label:"Durable", data:"Durable"},
{label:"Dependable", data:"Dependable"},);
[Code] .....
How can I simply add or remove Items to/from component - ComboBox?
View 6 RepliesI am trying to create a combobox where the items listed in the combobox are font names and each item will display using the font of the item label. For instance, one item label in the list is "New Times Roman" and I want that particular row in the combobox to have the text AND font of "New Times Roman". For some reason, inside of my custom CellRenderer class, I cannot seem to find a way to get the item label that corresponds to the CellRenderer and the CellRenderer.data item always appears to be null!
This is the code I am currently using:
//From the main class, I am creating an instance of the
CustomizableComboBox and adding in the font names I am interested
in.
var comboFont:CustomizableComboBox=new
[Code]....
I need to add accessibility to a flash program which I have created. I can make the screen reader state all of the different buttons and at the top level of a combobox. However if I traverse the combobox none of the items are mentioned by the screenreader. I've tried various things down to trying to set the accessibility properties of the combobox items as though they were an array
cb[0].accessibilityProperties = accessProps0; but nothing seems to work.
I created a demo where when you roll over parts of the product, in the white space to the left it displays the text information about that part of the product. The rollovers work great, however if you run your mouse over the blank area (where the rollovers would show up), it treats that as the rollover too. Below is the URL for the test page.
View 1 Repliesi"m hoping someone can help me with this I'm working with a slide show that has products of different widths. The idea is to make sure that when user clickes on the next/back buttons and the next (or prev) product shows up - to make sure that the product is not clipped either on left of stage (or live area) or right..
[Code]...
I am trying to paste hyerlink in body of mail in outlook by flex application using navigateToUrl method with mailTo protocol.
but outlook breaks hyperlink after first space in hyperlink.
I tried with < ,> before am after link but it doesnot help out me.
Is there any other way to paste link in body mail containing space.
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]....
[code]I need ONLY the text of the LogType's (FROM CENTER "BOCC" ONLY) to show up in a list component. I do not want to see any other results (e.g. from SOMEOTHERCENTER). Like show:[code]The actual file I'm working with (and can not alter) is media.chp.ca.gov/sa_xml/sa.xml.
View 5 RepliesI am looking to implement a search text box as follows:When user starts typing in and there are non-zero results, the text box will open up and display the results below it. When the user selects a result, the text box closed, but this time with a down-arrow (like a combobox) so that the user can re-open the list.I suspect what I really need is a combobox with ability to hide/show the down arrow. How do I do this in Flex?
View 3 RepliesI get data in mycombo thru sql+php+xml and a dataset that binds to this combo.I need 2 value from the combo, but only one must be shown (the label for example) while the second value is needed for feed-back with db!If in the Schema-Tab I add a field "ID" for example everything works fine, but I get the combo with "1, Label" etc.
View 1 RepliesI'm updating this site for a client:
[URL]
I can't get "Motion" and "Press" to show as active. Basically this is done via a gotoAndPlay function, but it's not working. In addition, the code also deactivates the menu item when it's active; so, if I was on "Profile" before going to "Web" or "Press," that item remains inactive once I've clicked on "Web" or "Press," so I can't click on "Profile" again until I go to any of the other pages.
Below is the code for the navigation. Also, there is an external file named BookSection.as that I believe contains the code we would need to edit, I just can't figure out what it is - I've tried several edits.
You can find here (I couldn't upload since I don't have more than 50 posts):
[URL]
ActionScript Code:
mLogo.gotoAndStop("complete");
// PRINT------------------------------------------
booksButton.onRelease = function()
[Code].....
I need to know how to show current item as tool tip in ComboBox itemRollOver event at present i am using the below code,
private var tip:ToolTip
private function ItemRollOver(event:ListEvent):void
{[code]...........
when i click the item or itemRollOver faster tool tip is not destroyed some time.
In a flex application how to display default selecteditem from the dataprovider of the combobox.
I'm using {staticdataholder.currencylist}.
For example: I have to show INDIA so it should be selected as default from the list.
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.
I've included the .fla and source files I'm working on. Here is what I need some help to figure out:
1. How can I show the items in rows of 4 and 4.. Instead of just repeat them vertical?
2. How can I load the thumbnails in the menu items?
3. How can I load the image for the chosen item in the image placeholder?
Is it possible to show or hide a comboBox based off the selection made in another comboBox. I have been looking for documentation on this to no avail.
View 2 RepliesDoes anybody use bare .SWF files as webpages? I know it's possible; it seems to work fine for me. Why would I embed a SWF inside an HTML page if it's just going to be full screen (I mean the size of the browser's normal viewable page area, not COMPLETELY fullscreen)?
Is there a lack of browser support? Or is this functionality determined by the browser's Flash plugin?
I want to have a web site which switches the web camera of users, makes a video recording and send results to my web server.Is it possible to do that? I think it should be. For example such sites as chatroulette.com starts web camera. Should it be done with the Adobe Flash technologies? Is it hard to do that?
View 1 Replies