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
1 answer

Adobe Flex4 mxml schema

Is there a MXML schema xsd given by the latest Flex4 distribution? I found from the old release notes that : Flex includes an XSD file that you can integrate with your third-party editing tools for schema validation and easier MXML coding.…
iceman
  • 4,211
  • 13
  • 65
  • 92
3
votes
2 answers

what's the difference between MXML and Actionscript3

what's the difference between MXML and Actionscript3 when we need to use MXML ??
john
  • 434
  • 1
  • 9
  • 24
3
votes
3 answers

Flex Best Practices - Multiple Flex Projects or 1 Project, multiple Application MXML files

Having seen several different ways of setting up larger projects in flex, I'm wondering what your opinions are of how to organize projects that are going to require 2 or more different applications. For example a public and private site within the…
beardedd
  • 371
  • 2
  • 6
  • 14
3
votes
3 answers

ActionScript MXML vs

Looks like I can use components for both or . So, which has more advantages?
The Student
  • 27,520
  • 68
  • 161
  • 264
3
votes
1 answer

Asdoc throwing errors for MXML component that includes a separate .as file

I have an MXML component that includes a .as file with Running asdoc throws a whole bunch of errors like "Error: The private attribute may be used only on class property definitions." "Error: The public attribute…
Atorian
  • 777
  • 10
  • 26
3
votes
1 answer

How to specify swc when building a swf?

I have implemented some utility classes in Flex that I want to use in multiple AIR projects. I have created a swc which contain these classes. I am working on a Linux machine and do not have FlashBuilder. So I am using the compc and mxmlc command…
341008
  • 9,862
  • 11
  • 52
  • 84
3
votes
2 answers

Does spark List have something similar to itemsChangeEffect in mx list?

I'm trying to animate a list as I delete the top row. All the examples I can find use itemsChangeEffect to bind to the effect, but this property exists only in MX lists, not spark lists. Any idea how I can get the same effect done in Spark…
cooper
  • 1,554
  • 1
  • 14
  • 26
3
votes
5 answers

Sharing variables between mxml components

I have several mxml components in an app, all of which need the same variable called genericX. I've included that variable in the main mxml and made it public [Bindable] public var genericX:Number = 102; but I still can't access it from other mxml…
Kamo
  • 3,547
  • 2
  • 19
  • 20
3
votes
2 answers

How should I collect dependencies from Adobe Flex files?

I'm looking for a way to collect the file dependencies from Flex ActionScript and MXML files. I was hoping that mxmlc could spit them out (like gcc's -M option), but its option list doesn't seem to have anything relevant. I could write a parser,…
eswald
  • 8,368
  • 4
  • 28
  • 28
3
votes
2 answers

Where to begin learning Flex and Flash

I want to start developing Flash and Flex applications so that I can put all of the concepts floating around in my head into action. The problem is that I have never done any programming nor dealt with code...ever. I have worked in the graphic…
DaveBarks
3
votes
1 answer

How to delete part of a string in actionscript?

So my string is something like "BlaBlaBlaDDDaaa2aaa345" I want to get rid of its sub string which is "BlaBlaBlaDDD" so the result of operation will be a string "aaa2aaa345" How to perform such thing with actionscript?
Rella
  • 65,003
  • 109
  • 363
  • 636
3
votes
4 answers

Flex vs HTML5 (Why is Flex so attacked?)

I have always been a fan of HTML, and not much of a fan of Flex, but since i've been put on a Flex project at work, i've had to learn Flex. I dont actually know why i didn't like Flex before, maybe because of Adobe, but anyway, i've had a pleasent…
Juanpe
  • 446
  • 5
  • 16
3
votes
1 answer

How to load flex swf from flash?

I have some swf compiled in flex I want to load it into my movie clip in flash pro. ...So how to for example load flex swf inside Flash CS4? how to do such thing?
Rella
  • 65,003
  • 109
  • 363
  • 636
3
votes
2 answers

How to send parameters to swf not using any html?

Is it possible to send params to swf using SWFLoader or something like it? So.. I want to create swf loader (swf) which would be able to send some Application.application.parameters to swf swf I'm triing to load (which are usualy sent to an…
Rella
  • 65,003
  • 109
  • 363
  • 636
3
votes
2 answers

Flex 4 dynamically resize parent container to contain children

Is there an easy way to make a parent container (eg Group) resize when it's children resize? Below is a little example app. When I put the 200x200 'food' in the 'stomach' the stomach & it's containing 100x100 'body' should resize to contain the…
timoxley
  • 5,156
  • 3
  • 36
  • 40