Actionscript 3 :: Flex - Select Other Objects From A Group?

Sep 17, 2010

I have a group of multiple objects. If I select one object from the group, then i use the method: click="makeObj(event)" And then the function:

[Code]...

View 1 Replies


Similar Posts:


Flex - Possible To Select Text Between Multiple RichEditableText Objects?

Aug 15, 2011

For example, say I have 3 RichEditableText objects and I want to be able to highlight them all together:

<s:RichEditableText id="obj_one" width="100%" text="Click and start dragging the highlight here..." selectable="true" editable="false" fontSize="9" />
<s:RichEditableText id="obj_two" width="100%" text="Continue dragging the highlight through this one" selectable="true" editable="false" fontSize="9" />
<s:RichEditableText id="obj_three" width="100%" text="and keep going and finish highlighting them all right here" selectable="true" editable="false" fontSize="9" />

Is it even possible to make it so all three could be highlighted that way someone could Copy all three at once then past all the text somewhere? I should clarify, The reason they would be like this is because there they are in an itemRenderer so they would each be their own object in each line on the list. It would be nice though if the text could be highlighted and copied like it was all together though. Just imagine the way an end user would expect to be able to drag an highlight any other text in a standard html document to paste elsewhere.

View 2 Replies

Actionscript 3 :: Select The Viewstack Container Id Based On Select Field In ComboBox In Flex?

Jun 23, 2010

I have a comboBox and values like basic and advanced. And viewstack container conatains 2 grids.When i select the base option in Combobox, the first grid has to be selected. select the advanced value in comboBox, the second grid has to be selected.

<mx:ViewStack id="viewstack1" width="95%" height="85%" x="0" y="63" >
<tables:KeyMetricsBasicTable basicArrayDataProvider="{basicArrayResult1}" width="100%" height="100%"/>
<tables:KeyMetricsAdvTable advArrayDataProvider="{advArrayResult1}" width="100%" height="100%"/>
</mx:ViewStack>

View 1 Replies

Flex :: Select All And Select None Button With In The Drop Down Of Combobox?

Dec 6, 2011

Flex 4 Combobox is extended with a Text Input that helps in getting to the item that is searched for.I have created a Check Box as an itemrenderer for this Flex 4 Combobox. I would like to Add a Select All and Select None options in the drop down of the Combobox. I know that i could accomplish by editing the dropdownfactory in case of a Flex 3 Combobox. But in Flex 4 the dropdownfactory doesnt exist.

View 2 Replies

Flash :: Rotate Camera Around Group Of Objects?

Dec 17, 2010

So I create a point cloud, in 3d with code like (flash 10.1 CS5):

import flash.display.Bitmap;
import flash.display.BitmapData;
var bmd:BitmapData = new BitmapData(400, 400, true, 0xFFCCCCCC);

[code].....

View 1 Replies

ActionScript 3.0 :: Select All Objects Of A Specified Class?

Mar 29, 2011

Probably a very easy question, but Google and Livedocs are both failing me here. I have a custom class (Which I shall refer to as "Circle"), and simply wish to find each of the "Circle" class, and add them to an array in my Document class. I may also need to perform this task from within other classes.

I've considered having each 'Circle' on creation send a sort of "signal" to the document class for it to add it to an array or vector, but can't figure out how to influence the Events of its Parent class.

View 7 Replies

Professional :: Lines / Objects Select Differently?

Apr 8, 2011

if I drew a line or something, it would just be the line and I could immediately edit the shape. Now, there is a blue box surrounding it. what purpose the blue box serves. However, when this started, my fill stopped working.

I can fill a shape I have hand-drawn, but not when I use the line tool. I have included a screen shot of the blue box surrounding a line. I have assured that all sections of a shape are touching before trying to fill.

View 2 Replies

ActionScript 3.0 :: Drag And Select Multiple Objects?

Apr 6, 2010

I am wondering how it is possible to simulate the behaviour like in windows, where you drag on the stage and select all the objects (movieclips) in the drag area, so that you can move them?

View 2 Replies

ActionScript 3.0 :: Select A Random Object From A Number Of Generated Objects?

Dec 13, 2011

How can i select a object at random from 40 generated objects?

View 4 Replies

Flex :: Show Data At Group Level In Flex Advanced Grid?

Aug 6, 2009

I am working on a grid example in flex using advanced grid control. I know we can easily group data by specifying the field name. At the group node level, other than the gorup name I want to be able to show data in the rest of the cells ( calculated data ) and I am looking for some dataRowBound event or similar to be able to hook some data in it.

Example: Grid displaying list of towns grouped by state. At the group level ( for each state) I want to show the total number of towns in each state. Here how can i show the total number in the town column.

View 1 Replies

Flex :: Adobe Flex - Doing Group By At Client End (DataGrid To Pie Chart)?

Dec 23, 2010

I am in a situation where user gets the cars data from the database based on the selection and displays it in datagrid like below ( for example)

Company Model Year No
GM Chevy 2010 10
GM Chevy 2009 5
GM Pontiac 2010 12
Honda Civic 2009 12

and there will be a link next to datagrid to get Pie chart based on the data displays in the data grid . The pie graph should display grouping by company and the count . I mean for the above example that should give with two pie items , one for GM showing the number of vehicles ( in this case 3 ) and Honda showing the number of vehicles ( in this case 1 ).

I thought of getting it from the database by querying and grouping it .But here the problem is after getting the data above in the datagrid user can able to filter at client end ( By year or model ) and can say get graph . This time that should only display the graph for the data visible in Datagrid .Grouping on database for every operation is becoming expensive. Since we have already data available at client end , is there any way to group it at client ..?

View 2 Replies

Flex :: Toggle A Mask To A Group In Flex (works For BorderContainer)?

Oct 6, 2011

Here's my test application:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"[code]....

I would expect the mask to be applied when the checkbox is selected, and removed when it issin't. But it doesn't seem to work.However, when you change to , it works like a charm. Can anyone explain to me why?

Note: In my actual application, i'm applying this in a skin to a component that is extending SkinnableComponent which can't use BorderContainer so a solution to this would be great.

View 1 Replies

Radiobutton Group Value - Get The SelectedData From The Group?

Aug 14, 2009

I've got some MC's in my library that have radiobuttons in them -- all of this created at design time -- and pull them onto the stage dynamically. My question is how do I get the selectedData from the group? The setup is like this: In a MC called pageOne, I have a group of buttons with a group name of Q1, Q2, etc. I pull the MC onto the stage like this:

[Code]...

Do I need instance names on each of the buttons and add listeners to all of them?

View 4 Replies

Flex :: Group Items In DataGrid?

Aug 12, 2009

I have a DataGrid with info like this:

Associate AmountTimeCustomer
John Doe 29amSam Smith
John Doe 210amBerry Cooper
Bill Ace 19amSandy James

Repeating the name and amount gets redundant so I would like it to look something like this:

Associate Amount
John Doe 2
Bill Ace 1

Then when you select one, it expands to show the times and customers for the selected associate. I hope this makes sense...I am currently just using a DataGrid but I can use an AdvancedDataGrid if thats needed...I am pretty sure something like this can be done, I just don't know how.My data is in xml and looks like this:

<stat associate="John Doe" date="08/12/09" amount="2" time="9 am" customer="Sam Smith"/>
<stat associate="John Doe" date="08/12/09" amount="2" time="10 am" customer="Berry Cooper"/>
<stat associate="Bill Ace" date="08/12/09" amount="1" time="9 am" customer="Sandy James"/>

View 1 Replies

Flex :: Why Is The Border Bigger Than The Group

Mar 17, 2010

if I place a Border with width and height of "100%" inside a Group with width and height of 10 pixels the Border looks bigger than 10 pixels, why?

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
>

[Code].....

View 1 Replies

Flex :: Group ShowEffect/hideEffect

Dec 30, 2010

I have a Group that I want to do a wipe effect when it shows and hides.

<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
<s:Wipe id="wipeUp" direction="up" duration="2000"/>
<s:Wipe id="wipeDown" direction="down" duration="2000" startDelay="2000"/>
</fx:Declarations>

[Code]....

The group is being hidden and shown on change of the group's visibility, but the effect doesn't do anything. When I set the visibility to false, it takes 4 secs for it to hide (delay+duration), but again, no effect.

View 1 Replies

Flex :: How To Find Max Value Of Group Of LineSeries

Jan 19, 2011

I need to recalculate the max value of lineChart according to the visible lineseries. In the application I have the ability to make visible or not the lineseries of the graph and if I make not visible the lineseries with the actual top value I want to zoom in and change the top value of the graph.

View 1 Replies

Flex :: Resize Groups Within A Group?

Apr 19, 2011

I am trying to automatically resize the children within an s:Group. The children are another s:Group and a H:Group. Each have a percentage width of 10% and 90% each. The problem is that when one of the groups is resized (using a transition and rotation combination in the Skin), the other group does not automatically resize to fill the space?

Shouldn't Flex do this automatically? or do I have to code this?

<s:Group
id="listsGroup"
width="100%"
height="255"

[Code]....

View 1 Replies

Flex :: Group - SkinnableContainer As HGroup?

Nov 30, 2011

I have a SkinnableContainer class called: 'GroupNavCustomContainer' that uses a skinClass called 'GroupNavCustomSkin'. The GroupNavCustomSkin is the default one Flex creates for you: (The default skin class for a Spark SkinnableContainer container). Now, I have to add buttons to the GroupNavCustomContainer dynamically from outside the class which is not a problem. However, I can't seem to figure out out to make my skin behave as a HGroup so the buttons are spaced evenly. I tried: modifying the Group container to no avail:

[Code]....

View 1 Replies

Flex :: Deselect All Radio Buttons In A Group?

Jul 6, 2009

In Flex, sometimes when you need to clear a form you run into the problem that radio button groups seem to defy clearing: try as you might, setting selected=false on all buttons, setting selection=null on the group, doing both, doing them twice, etc., you always seem to end up with one pesky little radio button that's still selected. How do you solve this and restore the radio button group to its initial no-selection state?

View 7 Replies

Actionscript 3 :: Flex 4: Build A Group With A Background?

Oct 15, 2009

I'm trying to build a simple component extending spark.components.Group to have a background color, more specifically a spark.primitives.Rect component stretched to fill the background.

This is what I've come up with thus far:

<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo"
<fx:Metadata>

[Code].....

View 2 Replies

Xml :: Getting A Flex RTE To Group LI Items Properly (wrapped In UL Tag)?

Feb 5, 2010

I'm trying to use XML to convert the code that a Flex RTE creates to valid HTML. No problems on other HTML elements, but difficulty with unordered lists. I created a solution for moving consecutive LIs into a UL node. After trial and error, I came up with the following solution. My question is - surely there's a better way to do this?

for each (listXML:XML in xml..li) {
if (listXML.children().length() == 0) {
// list item is empty - make it an empty paragraph instead

[code].....

View 1 Replies

Flex :: 3 - Validate The Radio Button Group?

Mar 17, 2010

iam new to flex, can any one say ,how to validate the radio button is selected or not in flex 3 if my question is wrong, regarding the validation of radio group

View 4 Replies

Flex :: Possible To Put A Background Image To A Component 'Group' With CSS?

Jul 28, 2011

In a component 'Group' I drag multiple pictures at one time I need to clean this component, but contains a component BitmapImage and I will not be erased:

<s:Group id="droppedImages" width="100%" height="100%">
<s:BitmapImage id="bg" source="@Embed('lineal2.jpg')" width="1024" height="577" verticalCenter="0"/>

[code].....

View 1 Replies

Flex :: Group Arrange Component On The Same Center?

Sep 1, 2011

I use a s:Group to place my component in my form.I'd like all form item have the same horizontal align inside the group.I try to use horizontalcenter with value 0 but it doesn't work.ve that.

<s:Group width="100%" resizeMode="noScale" verticalCenter="0" horizontalCenter="0">
<s:FormItem label="Naissance" tabIndex="5" x="{cbQualite.x}" id="fiNaissance">
<mx:DateField id="dfNaissance" width="

[code].....

View 2 Replies

Actionscript 3 :: Add A Border To Group In Run Time In Flex?

Oct 17, 2011

I am trying to make a group of spark type in flex at runtime.i am making a couple of buttons as children of this group in runtime. i want to add border to all group. however when i use border container it hides all other children and the stuff in group container and only shows the border container screen. How can i add border to group.

View 1 Replies

Actionscript 3 :: Target A Group Using Index In Flex

Oct 17, 2011

i am trying to target a group in run time. here is a simple code

var removeGroup:Group = new Group();
removeGroup = getElementAt(swap);

it gives error since getElementIndex return IVelement. How can i make it to target the group at specific index in my created mxml.

View 1 Replies

ActionScript 3.0 :: Flex Why Cannot Put Filters In A Group Container

May 19, 2011

I am trying to design a custom group container. This is my code below. I have a Group openning tag and a GlowFilter inside the declarations. When I run the code, it gives me error Code: ArgumentError: Error #2005: Parameter 0 is of the incorrect type. Should be type Filter. I have no idea what went wrong. The code compiles fine, but not able to run. The workaround is change the Group to BorderContainer or remove the filters, but I just don't see why Group has a problem with it. I have attached my simplest project file.

[Code]...

View 2 Replies

Flex :: Get Actual Width Of A Group When Using 100% And Top/bottom/left/right?

Jul 19, 2010

I have an application with width/height of 100%. I have several nested groups within and their measurements are all not set, instead being defined as top=5 or left/right=10, etcI'm trying to get the actual with of a group that should be 390. I've set the swf object size to be 400 from the html embed code, and the group is inside another group that is width=100%. The group has a left=5 and right=5 so the width should be 400-10. When I display the .width and .measuredWidth of this group, the width is always 400.I'm fairly new to flex/flash. Do I need to have explicitly set widths in order to get the width of child containers? Is there something I'm doing wrong here?

View 3 Replies

Actionscript 3 :: Access Scrollbar In A Group Component Flex 4?

Jul 22, 2010

This is the setup. I have created a timeline with a playhead. When my playhead is dragged I would like the timeline to scroll with the drag.

So far, the only way I can do this is by setting clipAndEnableScrolling to true. But in this case I lose the scrollbars(not to mention the impact on my view). So what I would like is to set this property to false and dynamically affect the horizontal scrollbar's position, in other words enable scrolling without the clipping.

View 1 Replies







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