mxml Questions
7
Solved
How to put\save files into your application directory? (adobe air) (code example, please)
So asked 20/5, 2010 at 8:36
6
Solved
I am using a custom item renderer in a combobox to display a custom drawing instead of the default text label.
This works fine for the dropdown list but the displayed item ( when the list is close...
Gaming asked 6/11, 2008 at 18:30
4
Solved
I get the following error:
1119: Access of possibly undefined property color through a reference with static
type mx.controls:Label.
The thing about that is that, in the MXML, color is an attrib...
Varsity asked 21/6, 2012 at 16:23
7
Solved
I've got an object that contains a dozen or so fields I want to bind to form elements, so that I can use that object to send the data back to the server to be saved.
Definition of my container obj...
Passepartout asked 29/5, 2009 at 20:50
6
Solved
I have the following panel component called AdvancedPanel with controlBarContent:
<!-- AdvancedPanel.mxml -->
<s:Panel>
<s:states>
<s:State name="normal" />
<s:State ...
Extensity asked 18/10, 2010 at 14:20
2
Solved
Why doesn't the Flex framework's mxml language support a constructor for components or accept constructor arguments for components? It's as far as I know not possible to declare an ActionScript obj...
Music asked 22/9, 2011 at 5:33
3
Today, I decided to test spark datagrid instead of mx:Datatagrid.
But a problem appear: I didn't found wordWrap option, do you know how to solve that?
<s:DataGrid id="scrollableDG" borderVisibl...
Dorina asked 24/5, 2012 at 16:4
1
Solved
In the following code i am trying to save the microphone contents to a file.The saved file doesn't play and Every time the file is saved i see that the size is only of 10 bytes only.What am i doing...
Guevara asked 3/5, 2012 at 8:13
7
Solved
What are the key differences between Flash and Flex? I have over five years experience with flash and feel very comfortable developing with it and ActionScript3. I find myself more and more curious...
Cram asked 1/10, 2008 at 18:15
1
Solved
I have a TextInput field that should be restricted to either capital letters, lowercase letters, numbers and underscores. This is the code I'm trying to use to restrict characters:
restrict="\\A-Z...
Sthilaire asked 16/1, 2012 at 15:42
2
Solved
Here is an example of a custom component. It is just a box with a title label and a close image (X):
<?xml version="1.0"?>
<mx:Canvas ... >
<s:VGroup>
<s:Label text="(HEADIN...
Asmodeus asked 27/11, 2010 at 18:9
1
Solved
Can anybody please tell me what about visible and includeInLayout properties of a component and what is the state of the component when they are in combination of {false,false},{false,true},{true,f...
Scherzando asked 16/6, 2011 at 5:19
4
Solved
I've only done a bit of Flex development thus far, but I've preferred the approach of creating controls programmatically over mxml files, because (and please, correct me if I'm wrong!) I've gathere...
Moule asked 18/8, 2008 at 6:15
2
Solved
i have an editable DataGrid, something like:
<mx:Datagrid editable="true" dataProvider="{arrayListPreferences}" id="preferencesGrid">
<mx:columns>
<mx:DataGridColumn header="col1"...
Silvers asked 5/12, 2009 at 17:34
1
Solved
What I'd like to do: create an MXML component with some children, then extend it via MXML to create a new component with more children, without losing the original set.
In other words
create a com...
Inspectorate asked 3/2, 2011 at 15:37
5
Solved
Solution:
if you have the same problem, addElement() instead of addChild() is what did it
I'm trying to move away from mxml to actionsctipt. I have a <s:Rect> that I've created and set it...
Homozygous asked 19/3, 2010 at 16:49
4
Solved
I am just getting started with flex and am using the SDK (not Flex Builder). I was wondering what's the best way to compile a mxml file from an ant build script.
Subscript asked 16/9, 2008 at 23:10
2
Solved
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 w...
Acculturation asked 15/10, 2009 at 17:26
1
I have 2 flex apps on the same page. I want them to be able to call each other's public functions. I am thinking of using either externalInterface calls or FaBridge to do so.
Is there a better way ...
Interrogator asked 11/8, 2009 at 2:19
4
Solved
If I am creating say a input field through MXML, I can set the width to 100%. But I cannot seem to do this at runtime through ActionScript.
This works:
<mx:TextInput ... width="100%" />
T...
Pice asked 25/6, 2009 at 20:36
1
Solved
As the title suggests, what's the difference between a "Component" (New –> MXML Component) and a "Module" (New –> MXML Module)?
Thanks,
David
Foreground asked 17/6, 2009 at 16:43
2
Solved
I have a class essentially:
public class WindowEvent extends Event
{
public static const WARNEVENT:String = "warnEvent";
public static const TASKREQEVENT:String = "taskRequestEvent";
public sta...
Aleen asked 25/4, 2009 at 20:2
4
If everything that can be accomplished in MXML can also be accomplished in ActionScript and many things are easier to accomplish in ActionScript (loops, conditionals, etc) why take the time to lear...
Phalan asked 4/11, 2008 at 13:46
4
Solved
I want to set the enabled property on a button based on the return value of a function that has one or more parameters. How can I do this?
private function isUserAllowed (userName:Boolean):Boolean...
Pilewort asked 15/1, 2009 at 1:18
1
Solved
I have an MXML file, which references an external script file for all its event handlers:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" ...
Frangos asked 28/10, 2008 at 22:42
1 Next >
© 2022 - 2024 — McMap. All rights reserved.