I'm trying to select the id of a textArea when it's focused in
<s:TextArea id="textarea1" focusIn="selectId(event)" />
selectId(event){
event.target.id;
}
Problem is TextArea is made up of RichEditableText so target doesn't actually refer to TextArea. I've tried event.target.parent.id but still not getting there. Anyone knows how ...
I have combo-box;
<mx:VBox xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" >
<fx:Script>
<![CDATA[
public var cbSelected:String;
]]>
</fx:Script>
<mx:ComboBox id="CustomBox" upd...
I have an editable datagrid, whenever I make a change it automatically gets saved. How can I disable this? So the changes gets saved only when I click on an external save button.
...
I'm trying to figure out why when I compile my Flex 4 Library swc using a simple ANT tasks, it compiles to about three times the size of the swc that's compiled by FlashBuilder.
Here is my ANT script to compile my swc
<target name="compileSWC" description="compiles the Library">
<echo>Compiling Library SWC To Deploy SWC Folder</echo>
...
Hi ,
I guess this is a basic question but I could not find the solution.
I want to display checkbox or button at the same position based on user role. How can I do this. I cannot give x and y position same for both radio button and button as I will not know the location in my application. Is there any other way by which I can display ...
My itemrenderer has 2 custom states, no hovered state, and no normal state
<s:states>
<s:State name="state1" />
<s:State name="state2" />
</s:states>
When I initialize it, I force it to go to state2. The problem is that when the mouse rolls out away from the item, it relapses back to the first state state1. It's kind of weird ...
What are your advises on using model driven development in developing enterprise applications. Adobe's LiveCycle Data Services looks very promising, I have found numerous tutorials/videos that shows how fast an application can be build by having methods/functions auto-generated.
What are the best-practices, is it good/bad to use those a...
Hi,
I was wondering if anyone can help me. I'm using Adobe Acrobat Pro 9 and LiveCycle designer and what I'm trying to do is create a dynamic form that I can send to a number of recipients with the recipients personal data (name, address etc.), pre-populated on the form.
Is this possible (with only Adobe Acrobat Pro and LiveCycle desi...
I want to add actions on mouse right click menu in Adobe Air .How to do that any one please help.
Thankyou in advance.
...
How to Call ActionScript function inside the HTML page inside HTML Control
...
I have something like 10 components that have code that's very similar, except for the target that it's applied to and some other minor differences.
For example, I return xml to component1 and component2 that differs in this way:
component 1: event.result.names.name
component 2: event.result.phones.phone
I then bind these to a List, ...
I am working in an AIR application.
htmltext poperty only works in Flex.
I have an HTML control with id as "html" and an HTML page is loaded inside it.
I want to invoke an ActioScript function inside my AIR application from the javascript inside
that HTML page
(eg : If I have a button inside HTML page when I click on it it ...
I'm trying to copy/modify the spark skin for the default button, but not sure how to find that skin. When I hover over <s:Button and Ctrl + Click it, it takes me to the Button class, but there isn't any skin information there.
...
When I use <s:Rect> to create a rectangle, I use radiusX to get rounded corners. Problem is all are the same roundedness. Is there something similar to Rect that lets me control the radius for each corner separately? If not, what's the best way to create this from scratch? graphics library or what?
...
I want to know about the code for creating a confirm box in Adobe Air. When a user clicks an exit button, a confirm message box should pop up.
Thanks in Advance
...
I would like to be able to move images into and out of Flex by converting back and forth between ByteArrays. I've been having some trouble with this, so I designed a simple test program, and even that I can't get to work. Here's the code I'm trying right now:
protected function button3_clickHandler(event:MouseEvent):void
{
var loader:Lo...
The above Title is my Manager's words, not mine. :)
This is a follow-up to a question that I posted previously. After reading my assessment on the impacts of converting Word Templates from PC to Mac, I have now been asked to investigate whether Word Templates can be replaced with a "Platform-independent Web-based solution" (her words, n...
Stratus is currently in beta !
So, if I create a simple app with stratus tecnology and I get millions of users, then how can I scale the application ?
How chatroulette have resolved the scaling issue ?
...
I have a component that changes its location based on other elements. I'm trying to find its x and y position at different intervals, so I tried compname.x and compname.y.
The x position seems to be working, but the y position is always 0. I'm guessing I need to play with localToGlobal or contentToGlobal or one of those conversions. Is...
I have a custom component Comp that gets its position changed as a result of interactions with other components, etc. I check for changes in its position by constantly checking its position at fixed intervals. I'm looking for a better solution (maybe an event-based solution) to monitor its position so I don't have to check constantly mys...