Hi there.
I'm trying to propagate an assignment to the data parameter of a sub-component through it's parent component's setter. Like this:
<CustomComponent
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns="components.*"
>
<mx:Script>
<![CDATA[
public override function set data(val:Object):void
{
...
I have an AIR application running on a Mac and I want to have the behavior of hiding the window when someone "closes" the app (e.g. hits the red "x" button or cmd-w). However, if someone hits cmd-q or chooses "Quit" from the dock context menu or top level menu, I want the app to actually close.
I can preventDefault on the "closing" eve...
I have two buttons in my flex app next to each other, ButtonA and ButtonB.
When the user does a mouse roll-over on any of the two buttons, I want the roll-over skin (overSkin) to show on both buttons, i.e. Button A and Button B.
I tried to do it using this when user rolled over Button B:
ButtonA.dispatchEvent(new MouseEvent(MouseEvent.R...
Is it possible to call a web service from within Flash (using AS3)? Or is the best idea to put the flash movieclip in a Flex container and use the Flex Libraries?
To be clear, when I say within Flash, I mean within the Flash CS4, AS3 programming environment.
...
I am writing an Adobe AIR application that needs to build in a CI using maven and nexus. I tried to follow this article which is the most up to date article from the source, but I still don't understand these things:
Are the first and second pom.xml examples in the article in the same pom.xml file?
How do I get the Flex SDK dependenci...
Using Flex 3.2, I have a object which extends a TitleWindow. In this TitleWindow I have an AdvancedDataGrid.
On creation of this object, I pass it 2 lists, one full of data to display, and the other I pass an array of column definitions. This allows me to, at runtime, create the correct columns and define the correct display attribu...
FlexBuilder's debugger will show you the "memory location" (or, I can only assume, something roughly analagous) of any in-scope instance:
But I'd like to get this information in code (sort of like Python's id function), so I could very easily trace how objects move through out the system. For example, I might have:
trace("Returning"...
This seems like a ridiculously simple question, and yet I just can't seem to find an answer.
I'm trying to display some simple information in an Alert (I'd rather not use an alert, but I need a fast n' simple solution for a project that's got to be out the door asap)
Long story short, no matter how large I make the alert, my informatio...
Hello guys.
I'm learning Flex, I already know how to submit data from a Flex App to a MySql DB using PHP.
But thats easy, but getting data... Thats a different story.
This isn't a question for sort of speak, its a request.
I wanted to ask to everyone that already learned how to do this, if it could send some Flex Projects (the ones yo...
I have an AIR Application which uses the mx:HTML tag to load a webpage hosted by me.
In my webpage, I want to invoke a function in the containing AIR application via javascript?
Is this possible?
eg:
in my AIR application:
public function goBack():void{
trace('invoked from javascript!');
}
<mx:HTML id="coreHtml" width="100%" ...
Hello,
I have been a desktop developer for a few years mostly doing object oriented stuff. I am trying to branch out into web development, and as a hobby project trying to put a web application together. I have been reading quite alot of information, but I still can't seem to decide on the path to take and would really like some advice....
I want to encrypt a local file using Adobe Flex, Actionscript or Air... help me.
...or I would like to know of other options but not vc++ or activeX.
I would like cross-platform operation.
Would you think it together?,
...
I'm a Flash developer but have been slowly moving to developing my applications in Flex.
The shift in paradigm has changed the way I work considerably.
I am now following a more structured approach to development that has changed the kind of applications I am building. Now I'm relying more on a database and middleware to provide the co...
Can i add two header text in Datagrid? My Requirement is to have two Headercolumns in a Datagrid. Is it possible?
...
Hi,
I have a TabBar Control with 3 tab, i need to add controls(Button,Label) dynamically in to each tab,
I can add the controls to the initial selected tab but when i add to next tab , i am getting
Null exception error..
That is when TabBar property selectedIndex="0" means i can add to 1st tab.but not in 2 and 3rd.
when Tabbar pro...
Hi,
I have lots of child text inputs within a spark Scroller. How can I make the TextInput with id of "x" come into focus if I have a..z id's, also for the scrollbar to scroll automatically to that child item?
I can use x.setFocus(), but the scrollbar doesn't automatically scroll to that item? why?
<s:Scroller id="scroller" width="100...
On occasion, I have wanted to push a closure onto ActionScript's event stack so that it will be executed after the current event handler. Right now I use setTimeout(closure, 0). Is there a more direct way of doing this?
...
What are some of the advantages in adding Spring into a Flex / AIR application? And When would you recommend using Spring?
...
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:remoting-destination
i got this error when i tried to build my file
i wrote the 'flex:remoting-destination' in a web-application-config file
can any one help me regarding this.
...
I'm using Ant and mxmlc to compile ActionScript classes and MXML into swfs, while maintaining the default organization of a Flex Builder (Flash Builder) project. Many of my ActionScript classes are in project subdirectories, so my project is organized like the following:
MyBigProject
-build-imports.xml
-build.xml
-bin-debug
--src
---f...