what's the difference between MXML and Actionscript3
what's the difference between MXML and Actionscript3 when we need to use MXML ?? ...
what's the difference between MXML and Actionscript3 when we need to use MXML ?? ...
I'm trying to pass some properties to a component I've created in Flash Builder 4. In my example below I want to pass the "label" property to update the label property of the Button. Any help would be greatly appreciated. Thanks in advance. // MyApp.mxml <?xml version="1.0" encoding="utf-8"?> <s:WindowedApplication xmlns:fx="http://ns....
This is really bugging me, but I have a component where a Button is wrapped in BorderContainer. I'm passing a custom property to the component at run-time to change the label of the button but Flex is reporting the following error: Cannot access a property or method of a null object reference When the error occurs, Flex highlights the...
In my example below I have several objects. I want to change the label of all objects in one go, without calling each element by id. I know how to do this in HTML, but not in Flex. // HTML <div class="text" id="text1">SomeText</div> <div class="text" id="text2">SomeText</div> <div class="text" id="text3">SomeText</div> // jQuery $(".te...
Let's say I have an interface public interface IFoo { ... } and I have several implementing classes public class Foo implements IFoo { ... } ... public class Bar implements IFoo { ... } ... public class Baz implements IFoo { ... } I want to reference IFoo in MXML like this <ns:IFoo id="myfoo"/> and have it be ...
ok..so I am creating combobox grid cell renderers with Flash .as code for a ColdFusion routine that has 4 pages..I need two of these comboboxes - one each in two different cfgrids on seperate pages...I can create the cell renderer for one or the other of the comboboxes consistently..but need both to be available.. I finally figured out ...
How can I create a Create a Flex4 component to have the typewriter effect in text , like shown here ...
In my example below, when I click "Add Content", new stack content is loaded into the ViewStack as expected. But when I then click "Close Content", I'm expecting it to close the newly created content inside the ViewStack and switch to the "defaultContent" content. Can anyone tell me where I'm going wrong please? Thanks in advance. // T...
Is there a c++ framework for building rich desktop applications? Essentially the important feature I'm looking for similar to Flex4 MXML to separate the visual presentation and application logic into xml. Does Qt4, for example, allow the visual appearance to be specified in xml definition? This is state based, so on events the UI change...
I have a datagrid: <mx:DataGrid id="resultsDataGrid" height="328" width="604" paddingRight="0" editable="false" y="43" horizontalCenter="0"> <mx:columns> <mx:DataGridColumn headerText="Title" dataField="title"/> <mx:DataGridColumn headerText="Updated" dataField="updated"/> </...
I have a custom component based on mx:ComboBox. Within it I connect to an HTTPService (the url is passed as a paramter) and bind the combobox. Parameters to be sent to the HTTPService are passed to the component. This is working fine. But I want to modify it to make it re-usable with other HTTP service URLs, which return the XML in a dif...
When I'm building an composite animation, I'd like to specify the components as fractions of the parent, like so: <s:Sequence id="example" duration="2000"> <s:Fade alphaFrom="0" alphaTo="1" duration="10%"/> <!-- not legal --> <s:Scale scaleXTo="2" scaleYTo="2"/> <s:Fade alphaFrom="1" alphaTo="0" duration="10%"/> </s:Sequenc...
I am having an issue with flex states in my application. What I am looking to do is on creation complete of the application, obtain a user role guest/user/superUser (based on username and password) from a server, then set the state client side based on that information. My .mxml classes need to include certain graphic elements based on t...
Hi, I'm trying to call a function and pass a couple of properties to it however it's complain the object i'm attempting to target is null. Can anyone see where I am going wrong? <mx:ViewStack id="vs" width="100%" height="100%" y="53"> <mx:Canvas id="view1" label="Community" width="100%" height="100%" backgroundColor="#ff9900" showE...
Adobe has a great tool for designers called Adobe Catalyst to develop AIR based desktop apps which designers can customize to define state transition in a screen-flow based application. Now Is there a way in which an end-user who gets that application can change the conditions for state transition and the the content of the state. For ex...
I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants ...
How can i design a 3D carousel for video in a Flex application? Instead of 3D carousel for images, I want to show videos (getting them from youtube). ...
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. This file is installed in the following location: {install.dir}/extras/schema/mxml.xs...
I'm very new to ANT and have started using it in a Flash Builder project. When I run the compiler I need to pass in some library paths. The whole thing looks like this: <mxmlc file="${SOURCE_DIR}/com/${PACKAGE_NAME}/Main.as" output="${RELEASE_DIR}/assets/swf/${IDENTIFIER}/main.swf" locale="${LOCALE}" ...
I have a mxml component MatchedDataTab where i have a datagrid and few buttons. Now i am trying to hide/unhide these buttons in a action script file. The problem is i always get a compiler error saying Id 1120: Access of undefined property unmatchButton. I am not able to post my complete mxml file due to xml tags i guess!!. but the s...