Xml :: Adding Three Or More XMLLISTCollections In Flex?

Apr 20, 2011

I have an XML structure :

<xml>
<a>
<name>A</name>

[Code]....

how to combine these elements into the combXml?

View 1 Replies


Similar Posts:


Flex :: Adding Flex Capabilities To An Existing J2EE Enterprise Application Project

Sep 17, 2010

I have an J2EE Enterprise Application Project in which I would like to add a few Flex screens. How do I go about adding Flex capabilities.

I have build Flex/J2EE applications from scratch but can't think of the best way to do this.

I am currently using Flex Builder Plugin for IBM Rational Application Developer 7.5.

View 1 Replies

Flex :: Adding Runtime-library-path To Flex Build Configuration Using Ant Mxmlc Task

Feb 9, 2011

I'm trying to build a flex project, linking it to some RLSs. When setting up the project in Flex Builder, the corresponding "build configuration" (that I got by adding -dump-config to the compiler options) generates (among other things) a tag like this :

<runtime-shared-libraries>
<url>some-lib.swf</url>
<url>some-other-lib.swf</url>

[Code]....

View 2 Replies

Flex :: Adding Radio Button To Calendar In Flex 3?

May 28, 2010

I'm trying to make a Calendar which can have radio buttons embedded in specific dates, which will be chosen by making a service call, but that's not a problem. I have had two approaches to it so far, one could be taking a datagrid, and making it a calendar, and then placing the radio button inside the cell using an item renderer. The second approach could be Extending the Calendar class, and adding radio buttons inside. Using the first approach, the problem is to fit the dates in the right order in the grid for any specific month. We could get to know the first day (Mon,Tue..) of the month but filling the grids correctly causes issues. I was wondering if someone ever tried doing this or if there could be a simpler approach.

View 2 Replies

Flex :: Actionscript 3 - Adding Permssions To Flex 4 UI Without States?

Aug 23, 2010

I'm working in Flex 4.1, and I have a viewstack and tabbar as my main navigation. A user logs into the application and should then only be able to see what tabs are available to his user level.I am trying to stick with MXML as much as possible, since it works well with the framework. But I'm goin numb thinking about this. What are the common practices for doing this?FYI: the user level is slightly to complex for states. There are lots of options, way to many to comfortably do w/ states and state groups.

Chimp is a pretty cool library for those interested. It's a little old and there doesn't seem to be much motivation to expand it past UIComponents. So for my purposes it wont do.Again, what do you do for setting up these systems?PDATE: I had to compromise, but it actually worked out pretty well in the end. Instead of destructively laying on permissions (having everything available at first and removing the elements thereafter), the system now works constructively. Here's a sample:

[Bindable]
public var managePage:ManagePage;
[Bindable]

[code].....

View 2 Replies

Flex :: Eclipse Adding Flex Modules

May 25, 2010

Is it possible to add multiple Flex Modules at a time to be built in a project as opposed to adding them one by one, as this is becoming a very tedious task.This is for both Eclipse and Flash Builder 4

View 1 Replies

Adding Flex Components Using Xml?

Jul 28, 2009

I have a dozen different custom components in my flex app. I want to use an external xml config file to load the components at run-tine. Can someone tell me whats the best way to architect this? I want to load these components and add dataProviders and event liseners to them at runtime.

View 1 Replies

Flex :: Adding A Zero To The Hslide Value?

Jan 20, 2012

how to get the hslide value in Flash Builder to have an extra zero if the value is below 10? The problem is that I need to get a two digit value out from the hslide, but if I put in the min/max values 0-23 I will only get one digit if the value is below 10. Example: I want to use the hslide as a time slide. If I choose 4am I need the value to be 04, not 4.

Below is my example code, it is the hslider1.value and hslider2.value that needs to be two digits.

<fx:Script>
<![CDATA[
protected function button1_clickHandler(event:MouseEvent):void
{ navigateToURL(new URLRequest("tel:*23*"+hslider1.value+hslider2.value)) ;

[Code].....

View 2 Replies

Flex :: Adding Components To CoverFlow?

Jun 26, 2009

I'm working with the CoverFlow library by Doug McCune.

In the example included, he has created some panels inside a CoverFlowContainer. There are other examples of him populating the coverflow from an RSS feed on the page linked above but he doesn't include the source for these :(

I will eventually be retrieving data from a web service to add to the coverflow however I'm starting with this simple example:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" horizontalAlign="center" verticalAlign="middle" xmlns:containers="com.dougmccune.containers.*" creationComplete="init()">

[Code]....

I've defined some panels in the mxml and set creationComplete=init() so that the new panel I've created in ActionScript will be added to the CoverFlow container.

When I launch the application it displays the two predefined panels but not the one I have created in ActionScript.

View 2 Replies

Flex :: Advantages To Adding Spring

Aug 28, 2009

What are some of the advantages in adding Spring into a Flex / AIR application? And When would you recommend using Spring?

View 2 Replies

Flex :: Adding A Node To Tree?

Sep 10, 2009

[Bindable]
private var company:XML =
<list>

[Code]....

The Particular code adds a new node to the operations, but i want to add a node any item i select.

View 2 Replies

Flex :: Adding Annotations To A PlotChart?

Dec 1, 2009

I'm looking to add(and remove, dynamically) text annotations to the PlotChart. Specifically I want to annotate plot points in the chart. I'm currently using the CircleItemRenderer for the points.I've found tutorials for other plot types, but they don't seem to apply to the PlotChart.

View 1 Replies

Adding Newer Flex SDK To Builder 3?

Dec 30, 2009

I have a Flex Builder 3.0.2. It was shipped with Flex SDK 2.0.1 and 3.2. I would like to add the new Flex SDK 3.5. I followed the documentation:

[Code]...

But it's just not working. There are many functions from the documentation I can't use still (but should be available with SDK 3.5). How can I use SDK 3.5?

View 1 Replies

Flex :: Adding 1 Day To A Specific Date?

Mar 26, 2010

how can i set a date adding 1 day in flex??

View 5 Replies

Flex :: Adding Sprites To Canvas?

Apr 30, 2011

First off I have this MXML:

<mx:Panel x="270" y="10" width="690" height="680" id="mainContainerPanel">
<mx:Canvas x="270" y="10" width="670" height="640" id="canvas" initialize="onInit()">

[Code]....

The circCentre Sprite never appears on screen and I don't understand how I can get it to appear.

View 1 Replies

Flex :: Adding A BitmapImage To A Canvas?

Sep 4, 2011

I am trying to load a BitmapImage from an embedded source image and add this to a UIComponent. I am attaching the code that I have below. I have not been able to get this to work.

var bitmap:BitmapImage = new BitmapImage();
bitmap.source ="@Embed('sample.jpg')";
var graphic:Graphic = new Graphic();
graphic.addElement(bitmap);
thumbHolder.addChild(graphic);

When I run this I dont get an error, but no image appears in thumbHolder (My UIComponent).

View 1 Replies

Flex :: Adding Item To An Array?

Dec 12, 2010

How do I add an item to a multidimensional array? I want to add the price to item2 but I get "push is not a function"

<fx:Script>
<![CDATA[
[Bindable]

[Code]....

View 1 Replies

Flex :: Adding Two Header Text In DataGrid

Aug 28, 2009

Can i add two header text in Datagrid? My Requirement is to have two Headercolumns in a Datagrid. Is it possible?

View 2 Replies

Flex :: Adding Keyboard Shortcuts To Application

Sep 3, 2009

I have a flex app with lots of custom components, like custom buttons, comboBoxes etc. I am trying to add keyBoard shortcuts to the flex app. In doing so, I added a key-down listener to the app to listen for ctrl+shift key combination like this:
this.stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown);

Then I dispatch a custom event that all of my custom components are listening for:
private function reportKeyDown(event:KeyboardEvent):void {
var evtObj:Object = new Object();
evtObj.keyEvent = event;
dispatchEvent(new CustomEvent(CustomEvent.SHORTCUT_KEYS_PRESSED, evtObj, true, false));
}

In my custom button component I have:
this.addEventListener(CustomEvent.SHORTCUT_KEYS_PRESSED, ShortCutKeysHandler, true);
So, if I go ctrl+shift+W then I want one instance of the custom button to get clicked. For some reason, the event never gets triggered and never gets to the ShortCutKeysHandler function.

View 1 Replies

Flex :: Dynamic Adding Data Into List?

Dec 17, 2009

I have an XML file, I read the data and want to add it to a List and then use the List to be displayed.

Something like this is what I want to do:

List data = new ArrayList();
data.add(item1);
data.add(item2);

How can I do this, also how will I display the List in a table!!

View 2 Replies

Flex :: Stop TabNavigator From Adding HASH To URL

Dec 21, 2009

I have a TabNavigator component that keeps added a hash (#) to the URL. I need to prevent this. I have it set to historyManagementEnabled="false" but it is still adding the # to the URL when it initializes. The reason why adding this hash is such a problem is because, I am using .htaccess to give my URL a pretty URL like domain.com/designer/category/product/id when the page is really located at domain.com/product.php?pid=id So in order for my assets to load correctly I had to add a base tag like this:
<base href="[URL]" />
But since I have this base tag set, whenever my flex app adds the # to the URL, the page is now automatically redirected to the homepage. Any way to stop the TabNavigator from adding the # to the URL.

View 2 Replies

Flex :: Adding Selectable Image On Canvas

Dec 24, 2009

I am new to flex, and do not know how to add an image (or other ui component) to canvas, so user can select it (and see that it's selected), also I want to add a possibility for example to click backspace and remove selected image from scene. How to do that?

View 1 Replies

Flex :: Adding Dynamic DisplayObjects To Canvas

Jan 5, 2010

I am adding DisplayObjects to a Canvas using
ContentContainer.addChild(c);
Where ContentContainer is my Canvas object and c is the DisplayObject I have created at run-time. Some of these DisplayObjects also have children of there own which are added at run-time prior to the DisplayObject being added to the Canvas.

I then need to iterate over all the children of ContentContainer but the first time I do this, it says that ContentContainer has no children (i.e., ContentContainer.numChildren = 0). If I do it again tho then it is fine and returns the correct number of children. Is there something I need to call to get ContentContainer to recalculate how many children it has?

View 2 Replies

Flex :: Dynamically Adding Radiobuttongroup In Application

Jan 13, 2010

I'm trying to make a quiz in flex and am loading data from an xml file. For each question I want to create a radiobuttongroup so I can associate radio buttons to it. How can I accomplish that with actionscript? I can see that addChild method works for DisplayObjects and I presume that radiobuttongroup is not one because I'm receiving errors. How can I dynamically add radiobuttongroup with actionscript in flex application?

View 2 Replies

Flex :: Add A Node To Tree Without Adding It To DataProvider?

Feb 23, 2010

I've got a couple trees that I allow a user to drag and drop from one to another, works great except one apparent limitation. I'm picking up where they drop it in the list and adding it to the dataProvider manually. The user can drop it everywhere except after the last child of any particular node it seems, since it reads that position as being between the node and it's next sibling.

It seems the best way to deal with this is to add something like a dummy leaf so the user has something to drop the item in front of. I don't want this leaf in the dataProvider, so is it possible to add a leaf (or a folder) to the tree without adding it to the dataProvider?

View 2 Replies

Flex :: Adding New Lines To Alert Text?

Mar 30, 2010

I want to create a simple multiline Alert popupAlert.show("Blah\nBlah")shows BlahBlah when what I really want is two lines, one Blah each.

View 2 Replies

Flex :: Adding UIComponent To Both Canvas And Tree

Apr 8, 2010

I currently am trying to add a custom class which subclasses UIComponent to both a tree and a canvas, but when I try to re-order the tree by dragging I get this error:[code]When I do not add the UIComponent to the canvas, this error does not occur, anyone have any knowledge as to why this happens?

View 2 Replies

Flex :: Adding Newline To String Text?

Jun 22, 2010

I want to add a newline to a string text and I was wondering if there is a newline constant in actionscript 3? For example in .net there is an Environment.NewLine that is a string, containing "
" for non-Unix platforms, or a string containing "
" for Unix platforms.

View 6 Replies

Flex :: Dealing With Automatic Adding Scrollbars?

Sep 3, 2010

I'm creating a container and it's content at runtime. Here's a rough structure:

--VBox
----Form
-------FormItem

[Code]...

I've tried also validateNowand other similar methods. What I have here:

1. The HScrollBar is being added.

2. We increase a bit the width of container, so it disappears.

3. When it disappears, the validating throws the null-pointer exception when it tries to measure the non-existing scrollbar. I've also tried to add validateProperties before validation, but it didn't worked either.

View 1 Replies

Flex :: Adding Custom Elements To Charts

Nov 18, 2010

If you see google finance or other such charts, they usually have a small pentagon on the chart that indicates when the dividend was paid. Note the D markers in the screenshot [URL]. In this link you will see A,B,C,D .... along the charts X-Axis. If you choose a larger data range say 2005- 2010 , then you will see blue dividend markers along the x-Axis. Is there any thing in Flex that will allow us to do that?

View 1 Replies







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