Questions tagged [mxml]

MXML is an XML-based declarative language similar to CFML

MXML is an XML-based () declarative language created as part of the Adobe Flex framework.

MXML tags represent components written in ActionScript () under the hood. When you compile a Flex () application, the MXML is compiled using Adobe's mxmlc compiler into ActionScript which is then compiled with the application's actionscript code into a SWF () file.

Because of this, anything done in MXML could also be written in Actionscript. The language exists in order to simplify and accelerate application development for the Adobe Flash platform.

1126 questions
3
votes
2 answers

How to get HTML text from Adobe Flex Builder RichTextEditor?

How to get HTML text from inputed and edited text into Adobe Flex Builder RichTextEditor control? I mean with valid HTML coming from the Flex RichTextEditor component Not Badly formated HTML, with no spaces, with tags not closed! So we have some…
Rella
  • 65,003
  • 109
  • 363
  • 636
3
votes
2 answers

Packages and MXML components

How do I say an MXML component is inside some package? Well, it's in a different folder... I know how to do it ActionScript... But when I do in MXML I don't declare the package explicitly because I don't know how, and when I call it to my…
webdreamer
  • 2,359
  • 3
  • 23
  • 30
3
votes
3 answers

Flex: Accessing functions / components accross mxml pages

For simplicity lets say I have two flex mxml pages. form.mxml button.mxml If the form.mxml page had the following code, it should work fine:
leif
  • 195
  • 1
  • 7
  • 17
3
votes
2 answers

Listening for enable/disable state change

For my custom components, when they go from enabled to disabled or disabled to enabled, I want to trigger a custom event. I can't find any related events in the livedocs. Any clues please?
CodeQrius
  • 429
  • 1
  • 7
  • 23
3
votes
3 answers

MXML: combobox width is larger than parent width

I have a combobox with a width set to 100%. However, when one of its elements is larger, the combobox grows larger aswell, creating scrollbars and other uglyness in my app! How do I keep the combobox contained within its parent? NB it's OK if the…
Maurits de Boer
  • 1,907
  • 4
  • 23
  • 30
3
votes
0 answers

overiding flex candlestick chart itemrenderer

I am trying to override a candlestick chart item renderer but cannot issue base class rendering on top of my own from the flex api help: itemRenderer Type: mx.core.IFactory CSS Inheritance: No Language Version: ActionScript 3.0 Product Version:…
Ulterior
  • 2,786
  • 3
  • 30
  • 58
3
votes
1 answer

iFrame not loading inside Flex popup

I'm trying to load pdf inside of iFrame which open in a pop-up window. Pop up is showing but but its not loading pdf. Here is my code -Main.mxml
Sam
  • 244
  • 2
  • 5
  • 20
3
votes
4 answers

flex newbie: can MXML be generated on the fly

Flex newbie question: can MXML be generated on the fly, like HTML is generated by a server? If yes, is it ok to do so or am I missing an important Flex architectural principle.
flybywire
  • 261,858
  • 191
  • 397
  • 503
3
votes
2 answers

Any good Wizard libraries in Flex?

I'm looking for a good "Wizard" library in Flex before rolling my own. The important features are: Multiple custom input panels in sequence. Ability to prepopulate the data fields using an object, but cancelling at any point leaves original data…
Chadwick
  • 12,555
  • 7
  • 49
  • 66
3
votes
1 answer

How do you make a custom Flex 4 button that targets other custom highlight buttons and deselects and unhighlights them?

I have a component that has a bunch of components that if you click and drag on those components, they light up. And if you click and drag on those same components, they go back to their normal setting. (Also as they are clicked and unclicked, a…
3
votes
4 answers

Click-outside event on custom components in flex

Is there a way to write a custom event that gets triggered when the user clicks outside of that custom component instance? Basically anywhere else in the main flex app. Thanks.
CodeQrius
  • 429
  • 1
  • 7
  • 23
3
votes
2 answers

Thread error while compiling the Xml parser in C?

[root@localhost mxml-2.7]# gcc -o xml XmlParser1.c -lmxml XmlParser1.c: In function ‘main’: XmlParser1.c:63: warning: assignment discards qualifiers from pointer target type /usr/local/lib/libmxml.so: undefined reference to…
suneet saini
  • 61
  • 2
  • 7
3
votes
1 answer

Define possible values for a property in Flex

In Flex, is it possible to include some kind of MetaData to a property, to be able to list all possible values that a property can use? I want to be able to list the values when calling the property from MXML, as in the case of for example the…
thorseye
  • 237
  • 6
  • 16
3
votes
3 answers

size the height of a flex component to fill the space available on stage

Im trying to create a layout in flex using mxml, the layout contains a Canvas component and a Box. The layout should always be such that the Box sits at the bottom edge of the application and has a fixed height, whereas the Canvas fills the…
sixones
  • 1,953
  • 4
  • 21
  • 25
3
votes
4 answers

What does {variable} do in flex

I have been using { } around variables in MXML without really understanding what they are for. I am now needing to know if I should use it around a variable..what does that do? example:
Ryan H
  • 1,914
  • 3
  • 15
  • 20