Hi,
I'm trying to create a MXML component based on the spark Panel and I would like to add an image on the right end of the title bar, so that the panel will have a text on the title bar and a small image at the right end. I'm using a skin to define the colors, background fill etc. But how do I add this image at the right end of the tit...
There are lots of examples of how to create skinnable components in AS3 using the new Spark component architecture, however I've yet to find any such examples using MXML.
What I'm mainly referring to is defining the skin parts and skin states. It seems as though the SkinPart metadata is supposed to be associated with properties and as s...
I am having an issue with the following code.
It uses the Mini-XML library to extract elements from an xml file.
It compiles and runs fine, except that it is unable to get the last "radius element," returning NULL instead (it crashes if I don't check to see if subnode is not NULL).
//Start loading <ssys> elements
mxml_node_t *node; //...
I am writing a Flex (Flash Builder) application which has a map component (http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html) and a drop down list component used to select items shown on the map. I want the drop down list component to always be overlayed on top of the map in the top right corner, regardless of the size ...
So I have in my RIA a mx:DataGrid connected to some web service from which it obtains data (Dataprovider). I have a simple text fild. I want to on text in text field change to see in my table only lines containing inputed text in some part of any word in any column. how to do such thing?
...
I have one mxml file that process xml, and display the graphics on panel.
I need to display first mxml in another mxml file, in some area(HBox, VBox, Panel, dont care). How i can do this?
...
I have the following panel component called AdvancedPanel with controlBarContent:
<!-- AdvancedPanel.mxml -->
<s:Panel>
<s:states>
<s:State name="normal" />
<s:State name="edit" />
</s:states>
<s:controlBarContent>
<s:Button
includeIn="edit"
label="Show in edit"
/>
<s:Button
label="Go to e...
I have the following XML in my Flex4 (AIR) project that defines the start of my menu interface:
<mx:MenuBar x="0" y="0" width="100%" id="myMenuBar" labelField="@label" itemClick="menuChange(event)">
<mx:dataProvider>
<s:XMLListCollection>
<fx:XMLList xmlns="">
<menu label="File">
<item label="New"/>
...
I remember using values array on good old mx:HSlider, is there any workaround for s:HSlider?!
Basically I need slider to choose values between 300 and 2500 in following steps 300,500,1000,2000,2500.
<s:HSlider id="franchiser"
value="1500"
skinClass="components.HorizontalSlider" x="0" y="0"
minimum="300" maximum="2500" />
...
Hello, I'm looking to make a library that contains some audio files and a small as3 non-flex class. Is it possible to do this with mxml and not include any flex actionscript?
...
I have this line:
text="{selectedOrder.targetLocationName} 'crlf' {pickUpLocationHTML}"
Does anybody has an idea how to make this work?
Thank you.
...
Is to possible to generate MXML file using XAML file and vice versa???
Both are based on xml and contains similar type of coding....
So is there a way to convert XAML file to MXML file and vice versa?
Thanks in advance...
...
With MXML components, I've seen a pattern used where you have an AS3 class, then the MXML subclasses it, to have a separation between view/code (anonymized from real code):
package com.john
{
public class MyComponent extends Canvas
{
...
}
}
<?xml version="1.0" encoding="utf-8"?>
<logic:MyComponent xmlns:logic="com.john.*"
...
It's common to do something like:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:app="com.john.*"
xmlns:ctrl="com.john.controls.*" >
<app:MyView ... />
<ctrl:MyControl ... />
</s:Application>
Is it a requirement/limitation of MXML I have to def...
Basically I am poping up the following component:
PopUpManager.centerPopUp(PopUpManager.createPopUp(this,RegionExperienceDetailPopUp,false));
I need to call RegionExperienceDetailPopUp.generateData(passIntArray);
What is the syntax to do this?
...
i am New to flex.Can any one point me to a small piece of mxml code which plays audio files(mp3,wav.....) also which has the capabilities to pause, play, stop.... the audio file.
Also this file would be embedded in a html file later on..
...
Hi,
I need help to add childs to canvas.
I want to add childs to canvas in top-down direction and left-right direction?
I'm using the addChild function but I don't want to calculate the X and the Y for each Item.
is there a way to do that?
...
I'm making a custom spark videoplayer able to play multiple rtmp stream with multiple bitrates using DynamicStreamingVideoItem.
But how do i switch between DynamicStreamingVideoItems ??
...
Hello,
I'm wondering if it is possible to build the transitions mxml outside the mxml component they are meant to be used in? For example, like how the Script tag can have a source= property.
I'd like to be able to keep the component mxml nice and tidy but also keep the transitions declared via mxml.
Thanks.
...
I have this custom toolTip:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
implements="mx.core.IToolTip"
creationPolicy="all"
cornerRadius="4" borderStyle="soli...