I'm trying to figure out the most elegant way to change the color of just one character of the label on a LinkButton control. Given something like this:
<mx:Style>
myLinkButtonStyle
{
textRollOverColor: #FFFFFF;
}
</mx:Style>
<mx:LinkButton label="My Label" styleName="myLinkButtonStyle" />
... what'd be the most a...
Consider the following radio button example.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
private function getRb1():RadioButton {
trace(rb1 == null);
return rb1;
}
]]>
</mx:Script>
<mx:VBox>
<mx:RadioButtonGroup **id="rbg" selection="{getRb1()}*...
I have a tree in flex built from an XML document into an XMLlist
In the XML the tags are all different and have a bunch of attributes each, and are not consistent.
When I publish the file I want the name of the folders in the tree to be the tag. It is easy with attributes.. "@id" or something similar, but I can't find what it could be...
I'm creating a new Flex component (Flex 3). I'd like it to have a default style. Is there a naming convention or something for my .cs file to make it the default style? Am I missing something?
...
I'm seeing something very very strange happening in a Flex app I'm maintaining.
I've been going through it removing all calls to trace() and replacing it with calls into the logging framework (using the built in mx.logging stuff). After doing so some XML parsing code suddenly broke, and I can't for the life of me figure out why.
here'...
So I want to have the tree behavior in a grid, and use item renderers in the top-level (aka summary) rows. Once I've applied grouping, the data object is much changed.
Here is the code to add grouping to an ADG:
var tripCollection : TripSearchMatchCollection = TripSearchMatchCollection(value);
var theGroupingCollection : GroupingColl...
I was going to make an AIR application but I need to execute an external application and because of the security restrictions in Adobe AIR... I was thinking why not try and bypass it by writing some C code that does something like System("file to execute"); and then use Alchemy to change it into a swc and us that in my application... ...
I want to change the font characteristics for buttons in the toolbar of the RichTextEditor, but I want them to be different than other buttons in my application. Is there any way to do this with just CSS? I know that I can do it with setStyle if necessary...
...
I'm trying to move the caret in a Flex TextArea to the end after appending some text from my code. I've looked through the reference documentation for TextArea and its underlying TextField but it appears there is no method provided to handle this.
One approach I've tried is to set focus to the text area and dispatch a KeyUp KeyboardEven...
Hi all,
I'm working on a prototype in flex and I need to connect my application to an .RDF file that contains some properties. I need to use and manipulate those properties in a "descriptor file" made in Actionscript. So my question is: how do I connect my flex application to that .RDF file?
Thanks,
regards
David
...
This is a quiestion concerning both, Adobe AIR and MS Outlook.
I'd like to drag an eMail from Outlook into an AIR application. I want the following data to be transferred into the AIR application:
unique ID of the mail in Outlook to create a link into Outlook
rich text of the mail
some information about the mail like sender, recepient...
Hi,
I'm a newbie to Adobe Flex 3.0. I need to show data within the Pie Chart Legend, alongside the colored markers. I have a few vague ideas about how to go about it. (Maybe I would have to write my custom legendMarkerRenderer.) Could anybody give any pointers? There aren't many examples on the net regarding this.
Thanks in advance!
P....
I ask this question in the hope of collecting all the incompatible changes/bugfixes in Flex 3.*, of which the maintainer of a Flex 2.0.1 application needs to be aware before upgrading. I'm thinking of issues of the following nature:
Bugs in 2.0.1 that had had some workaround, and have been fixed in 3.*, rendering the workaround not onl...
I am pulling down a large XML file and I have no control over it's structure.
I used a custom function to use the tag name to view the tree structure as a flex tree, but then it breaks. I am guessing it has something to do with my other function, one that calls attribute values from the selected node.
See code.
<mx:Tree x="254" y...
I am creating an application in which I have two mxml components, MainPanel.mxml and TextPanel.mxml, that are contained in a parent application called index.mxml. When I type something the textbox that exists in TextPanel.mxml, I want to be able to bind this data to a label that exists in TextPanel.mxml. I know this can be accomplished b...
There must be an easy way to do this. I build a Flex app using ant that depends on a SWC library, which works fine except that it rebuilds the library whether it needs to or not. How do I tell ant to only run the task if any of the sources files of the library (*.as, *.mxml) are newer than the SWC?
I've looked at <dependset> but it ...
I'm using the VideoDisplay to play flv's, mov's, and mp4's and everything is working great. They are all being loaded via progressive download and are not being streamed. What I'd like to do is to grab a single specified frame (like whatever is being shown at the 10 second mark), convert it to a bitmap and use that bitmap as the previe...
I'm working on a flex application which needs access to the microphone. By default, the security preferences show up when our application tries to access the mic, but we would like to know what the value of these settings are before the mic is actually being used for recording. This would enable us to display help to the user, for inst...
We currently have a Java applet that generates a lot of data and uploads it to our servers. One of the upload methods we have is to use an HTTP POST to our server, the contents of which are just the raw data (no multipart encoding or anything).
I'm looking at implementing a Flex app that does the same thing, but I don't see a way to du...
I'm building a Flex/PHP application. I have put some charts on my page and I want them to be getting data from a database.
Looking at mx:RemoteObject, it seems as if I need to have a query to select the records (in PHP code) and call that method. Nothing difficult (I've posted links on how to do this below), but this line keeps throwing...