I have a graphical application that renders text to BitmapData - right now it's hardcoded to use a specific font, and that's fine for testing, but for production I really need it to be style-able.
The rest of the application uses specific fonts, and I want to be able to just use a stylename (the style of the font) to create a TextFormat...
What is the best way to determine if a component in Flex/Flash is showing on the user's screen? I'm looking for an analog to Java's Component.isShowing() method.
The show and hide events fire for visibility, and this seems to work for the first descendant of a ViewStack component, but not further down the display tree.
...
does anyone know why my title isint displaying in browser when i embed a flex object? When the page is loading it shows the title but then when its fully loaded it goes again
...
I have a local SQLite database that contains a tree (as Nested Sets). In an AIR application, I want to display that tree in a tree control and provide means to change the nodes' names and copy, move, add or delete nodes.
Now, I'm hiccupping a little on where to put which code. Obviously, I have a class which will perform operations lik...
I'm using the Adobe livedocs for learning and looking up on Flex development, specifically the Flex 3 Help, the Flex Language reference and the AIR developer's guide.
While these provide a good starting point, the quality is not, let's say, overwhelming. There's regular mistakes in the examples, some of the texts are redundant, or too s...
I'm developing a Flex 2 application, and I noticed that part of the library which is responsible for moving GUI windows (TitleWindows) around when you drag them with the mouse gets confused if there is a clickable (buttonMode = true) sprite beneath them. When I say confused, I mean that the window is moved around normally for a while, bu...
How can I create an array of dates, one for every day, starting Jan 1st 2008 to Dec 31st 2008 in ActionScript 3?
It would be ideal if it worked on any date range...
...
Let's say that I have a class Foo:
public class Foo
{
public static var bar:String = "test";
}
How can I reference bar at runtime using the string "Foo" or/and and instance of Foo and the string "bar"?
I.e.
var x:Object = new Foo();
...
x["bar"]
...doesn't work, debug mode in IntelliJ got my hopesup as bar gets listed as a p...
Can anyone tell me if it's possible to have a the text in a single label control displayed in more than one style.
e.g. I have a label
I want the the text to appear with the style "english" (which it does), but I want the "th" of the text to be different (bold, different colour, whatever).
So, the question in a nutshell is: Is there ...
In my Flex3 app I have some floating windows which contain variable amounts of text. The windows are meant to be user-resizable. Currently, while I can resize the windows OK, I can't get the text in a TextArea in the window to re-flow when the window is resized. I've come across blog postings that there's a size bug in TextArea that mean...
hi, im trying to getting auto complete working and i can do so fine when i just create an array in my mxml and then just initialize an arrayCollection at the top of the file in the initialize keyword.
However i want to populate the arraycollection from a webservice but i cant seem to get it;
im my application tag i have the following
...
Hello,
I have an swc which needs to operate slightly differently depending on whether it is being hosted by AIR or not. I've seen two suggestions on the internet:
Test Application.application for WindowedApplication.
Test Security.sandboxType for Security.APPLICATION.
However, these don't seem to work in my .swc as the compiler can'...
I am trying to build a video player application using Adobe Flex and libh264streaming. In small cased my little player works just fine.
However if the video is bigger about 200-300MB I am seeing bunch of issues:
a) the browser get crashy
b) it never stops buffering , keeps downloading until it gets entire video (300M)
c) CPU usage goe...
In Flex 3, buttons call their click handler when they are clicked on by the mouse, or when they have the focus and the user depresses the space bar.
Is there a straightforward way to cause Flex 3 buttons with focus to call their click handler when the user presses the enter key?
...
HI,
I'm currently working on a project that uses Flex and Java. In Java we easily enforced a coding standard with Checkstyle, and we want to do this for Flex.
Does anybody know of a tool similar to Checkstyle that would allow coding standard checks?
(I've googled for this but found only one project written in python and it seams abandon...
hi im trying to using flashVars however for some reason there not getting sent to my flex app.
Im embedding my object in a velocity file and here is the object embed code;
<object width="$!WIDTH" height="$!HEIGHT">
<param name="flashVars" value="maximizeUrl=http://maximizeUrl"/>
<param name="movie" value="$!SRC"/>
<e...
As a side project, for "fun," I'm rewriting my blog and CMS in Flex and AIR respectively, and while I'm pretty well satisfied with the design thus far, the one major pain point remains working with (which is to say performing CRUD operations on) legacy HTML content, and rendering that HTML content decently in both the browser and the Fla...
I am completely new to Flex.
Can I realistically develop, say, a medium complex application with the Flex SDK alone, or do I need Flex Builder?
Also, apart from the SDK, what will I need to get started?
Thanks for any help.
...
I have a Flash library with Sprite symbols composed of other sprites with design-time applied filters. I'm embedding those symbols into a Flex application like so:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
<![CDATA[
[Bindable]
[Embed(source="Resources.swf", symbol="Squ...
Hello all,
I need to convert a datagrid table in Adobe Flex to an ArrayCollection. I was expecting to be able to loop through each row of a datagrid and write that to the Array collection, but the only method for accessing data in the datagrid that I can find is SelectedItem, which doesn't help me.
Obviously one could just copy the da...