ActionScript 3.0 :: Accessibility - Traverse The Combobox None Of The Items Are Mentioned By The Screenreader

Sep 22, 2008

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.

View 1 Replies


Similar Posts:


Flex :: Setting A Custom ItemRenderer In A ComboBox On Specific List Items After Combobox Creation?

Nov 8, 2010

I'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.

View 1 Replies

Actionscript 3.0 :: Remove The Items In The Combobox Later (without Removing Items In The Dataprovider)?

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

Flex :: Number Of Items In A Combobox?

Apr 15, 2010

How do i retreive the total number of items (count) of a combo box in Flex?

View 4 Replies

Flex :: Image - ComboBox Items Go Out Of Alignment

Mar 29, 2010

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;
private var _data:Object;
public function get data():Object {
return _data;
} public function set data( value:Object ):void {
[Code] .....

View 1 Replies

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

ActionScript 2.0 :: Remove Items To/from Component - ComboBox?

Mar 4, 2004

How can I simply add or remove Items to/from component - ComboBox?

View 6 Replies

ActionScript 2.0 :: Populate Array From Combobox Items?

Sep 14, 2006

I'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].......

View 1 Replies

Flex :: Image - ComboBox Items Go Out Of Alignment?

Aug 18, 2008

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].....

View 1 Replies

ActionScript 2.0 :: Hyperlinks (URLs) To Items In ComboBox?

May 10, 2004

I'd like to assign a hyperlink (URL) to the items in the combobox.

View 1 Replies

ActionScript 3.0 :: Add Custom Symbols To ComboBox Component Items?

Nov 15, 2007

I 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 Replies

ActionScript 3.0 :: Using Selected Items In ComboBox To Populate TextField

Apr 13, 2009

Im 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] .....

View 3 Replies

ActionScript 2.0 :: Simply Add / Remove Items To / From Component / ComboBox?

Mar 4, 2004

How can I simply add or remove Items to/from component - ComboBox?

View 6 Replies

ActionScript 3.0 :: Custom Font On Individual Row Items In A ComboBox Component

Mar 30, 2009

I 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]....

View 5 Replies

ActionScript 3.0 :: Modify The Code To Get Started The Timer On Mentioned Time?

Apr 12, 2012

I have the following code from a source. I would like to make a few changes as mentioned below:First ....1) The as3 code should get the time form "startMeeting_txt.text"2) Compare it with current time from "currentTime_txt.text"3) The Timer should be activated as soon as the "startMeeting_txt.text" = "currentTime_txt.text" and starts counting4) When the "finishMeeting_txt.text" = "currentTime_txt.text" then5) "message_txt.text" = "Meeting time is over"How to modify the following code:

var count:Number = 60;
var myTimer:Timer = new Timer(1000,count);
myTimer.addEventListener(TimerEvent.TIMER, countdown);

[code]....

View 2 Replies

ActionScript 1/2 :: ComboBox As "input" And Add / Remove Items'

Nov 12, 2009

3-rd day goes to waste. And soon I'll be mad. I cannot correctly do it despite the Adobe's topics (e.g. [URL]). But I need:

1) the user can enter the word (first sign - the Letter);

2) the entered item is added to the List of CheckBox;

3) that List can be correctly sorted;

4) WHAT I CANNOT MAKE: to be able to correctly remove the selected item. All indices after removing must properly changed:

so, if I removed the item with index '4', the next indices would be descended (5=>4 etc.). How can I achieve it? You may have a quiet laugh over my desperation,

[Code]...

View 3 Replies

Flash - How To Traverse Objects Using AS

Apr 14, 2010

I wanna do something like this:
i=2;
_root.("process" + i)._x = var_Process_Pos_x;
How it is possible?

View 1 Replies

ActionScript 3.0 :: Get The Error Mentioned In The Title / Cannot Access A Property Or Method Of A Null Object Reference?

Oct 11, 2009

Here's my code. When I run it, and press a key on the keyboard, I get the error mentioned in the title. Not sure why...I initialized the variable.

Code:
package {
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.KeyboardEvent;

[Code].....

View 2 Replies

Xml Actionscript 3 :: Xml - Traverse E4X In For Loops Or Similar?

Apr 9, 2010

I am using AS3 to traverse through XML but the Flash help is really insufficient here. Do you know any easy-to-read tutorial on how to traverse E4X in for loops or similar?

View 2 Replies

ActionScript 2.0 :: Traverse Back In A XML Tree?

Aug 10, 2005

How to read an XML document as shown in the figure.From bottom to top direction using XML Object. First take the parent node of of the current node and move upward direction.We can pass the values of array index or any values that we need to traverse in this direction.

View 2 Replies

ActionScript :: Traverse XML With Descendent Accessor And Attribute Only?

Jun 15, 2011

var myXML:XML = <root>
<first>
<a title = "First Letter">

[Code]...

i would like to traverse the above XML searching only for an attribute. i don't know about <first> or its children (<a> and <b>), or even which level the element containing the attribute (the XML can be much deeper than my example).

it seems that the descendent accessor does not work with finding elements based on their attribute. for example, i want to traverse the XML and find the element with the attribute "Second Letter".

trace(myXML..(@title == "Second Letter"));

is it not possible to traverse an XML from the root and locate an element by an attribute?

View 1 Replies

Actionscript 3 :: Traverse Through Children Of A UIComponent Class In Flex?

Mar 3, 2011

I am dynamically creating a UI component based on XML templates stored in database. Now I want to access one of the child component of this UIComponent Class. I dont see any children property in this class? How could I possibly traverse through each child comppnent of this class and set its properties according to some logic in code(which I could not do in templates itself).

[Code]...

View 1 Replies

Flex :: How To Traverse / Rebuild UIComponent Tree Structure

Jul 21, 2011

I have some kind of UIComponent grouping which may look something like this with the classes "Group" and "Element". Groups can have children and children may be elements or groups again, basically similar to a file system or the str+g group function in several graphics programs. The simplest form of a group is a group with only children which are also the most low level groups in the tree.

The display hierarchy is already existant, i try to persist it to xml.
Group
- element
- Group
- element
- Group
-element
-element
- element
- element

I want to rebuild this structure in an xml-document for persistence. I know how to build an xml document in Flex but not how to (recursively) traverse this n-tree correctly. For getting only the child nodes one could make use of the following algorithm (pseudo code). But somehow I don't understand how to create the xml from this.

walkTree(group) {
children = node.getChildren
if(children != null) {
for(int i=0; i<children.length; i++) {
if(children[i].isGroup()) {
walkTree(group[i]);
} else {
trace(child);
}}}}

View 2 Replies

ActionScript 2.0 :: [FMX04] - Access / Traverse The Available Movie Clips To Find The One

Feb 16, 2007

I have the following code...

[Code]....

The point of this code is to be able to search through previously duplicated movie clips to find the one that I am trying to access.... it doesn't seem to be working even though I have a similar routine that does seem to work. Anyone know of a better way to access/traverse the available movie clips to find the one I want?

View 6 Replies

ActionScript 2.0 :: When Click A Button It Plays The Movies Assigned To The Variables Gallery & Button To The Frames Mentioned

May 2, 2006

[Code].....

Ok- so the idea is that when you click a button it plays the movies assigned to the variables gallery & button to the frames mentioned. Then the variables are changed and then when another buttons is clicked it does the same - 'except it doesn't - it does it once then sits there I have to use variables because there's a lot more buttons..but i don't understand why it doesn't work - it seems such a simple and obvious thing to try and do - why is it so HARD???

View 14 Replies

ActionScript 3.0 :: Accessibility Of Instances In Different Frames?

Oct 20, 2011

In AS2,suppose there is an input text field in frame 1 with var name ONE,its text content can be accessed in say frame 2 even though that textfield is not in stage.But in AS3,I think this is not possible right?So,how can I access instances or movieclips or variables at different frames?Do I have to make a class and make const vars?If so,If I have some irregular shape,say a man as movieclip,how can I add it to the global class?

View 5 Replies

ActionScript 3.0 :: Add Accessibility To A Flash Program?

Sep 22, 2008

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.

View 2 Replies

Flex :: Why Is Accessibility Turned Off By Default

Aug 11, 2009

I'm a blind developer who is considering learning Flex. According to this link when you compile a flex application with the defaults it isn't accessible to screen readers. Why is this, are there performance issues I should be aware of, or was this just an arbitrary choice Adobe made?

View 2 Replies

Flex :: Enable Accessibility In Application?

Feb 13, 2010

The Accessibility best practices for Flex page from Adobe website list four strategies to enable accessibility :

[Code]...

I test if the accessibility is enabled by checking the value of Accessibility.active, which is always false in my sample application containing only a datagrid and some buttons, using the four above strategies. As I'm new to Flex, I don't really know where else I could search to enable it, and no, Accessibility.active = true; isn't a solution, as it's a read-only property

View 1 Replies

ActionScript 3.0 :: Add Keyboard Accessibility To Not Flex?

Mar 4, 2010

I have a flash based Air application I'm trying to add keyboard accessibility to (not flex).

My problem is that MouseEvent.CLICK is not being broadcast when tabbing to and hitting enter on an interactive movieclip.

The yellow hilight rectangle shows up around the movieclip fine, and the same code works perfectly if it's compiled into a non-air swf.

Is there some difference in keyboard interaction when compiling to Air?

View 1 Replies







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