I'm building a Flex widget for a private vBulletin site, and the Flex widget needs to access an XML file on the vBulletin server in order to display data.
For security reasons, the XML URL will need to have the value in the bbsessionhash cookie passed along in the URL request from Flex. The Flex widget will be embedded in the private ar...
I have a data grid that has a checkbox item renderer in a cloumn to allow row selections:
Main application:
<mx:DataGrid id="dg">
<mx:columns>
<mx:DataGridColumn id="ir" itemRenderer="renderers.RowCheckbox" />
<mx:DataGridColumn dataField="Name" headerText="Name" />
/mx:DataGrid>
Item renderer:
<-- Row...
Today's my first day with Flex and FlashDevelop. In my ActionScript file, I have this line...
import flash.display.SimpleButton;
...and FlashDevelop is aware. Code-completion works.
But, when I have this line...
import mx.controls.Button;
... code-completion doesn't work.
Am I missing something? Am I misunderstanding somethin...
Grrr so close yet still failing...
I display this tree, in Flex, which contains two nodes types:
Regular nodes, which are rendered normally like text (because they are!)
Rich (HTML) nodes - that's where things get twisted
Note that my issue is when I dynamically add a new (html) node to my tree.
So... How do I display HTML nodes?...
Does anyone have an example of using the ImageSnapshot.captureBitmapData function with a rotation matrix? This is the code I'm using:
var matrix:Matrix = new Matrix();
matrix.rotate(degreesToRadians(90));
var bitmapData:BitmapData = ImageSnapshot.captureBitmapData(textInput, matrix);
But unfortunately this throws an error on the follo...
I'm looking for a way to find the status of a live stream through a VideoDisplay (or any other method really). I am interested to know if the stream is currently being published to or if the publisher has stopped. This is for a Flex/Flash ActionScript 3 project.
Is there a way to do this or is this ANOTHER oversight by adobe?
flex flas...
I am aware that Amazon S3 is usable in Flex via an AIR application ( http://stackoverflow.com/questions/186768/can-you-use-amazon-s3-via-flex ) but was curious if the same applied to a browser ( swf ) compilation of Flex source.
At http://code.google.com/p/as3awss3lib/ it states that:
"It only works in Apollo because of restrictions in...
I have an old (around 5 years) enterprise application that I manage. Recently we got a go ahead for sprucing up the UI with flex. Keeping in mind that we want to utilize the current code base in struts (it's a fairly big application) , as I see it , I have three options:
Flex BlazeDS
Flex Tag Library
FxStruts
BlazeDS is an open sourc...
In a FLEX app, I am trying to "re-dispatch" a custom event. I.e. component1 does dispatchEvnet(event), component2 registers a handler for the event, the only function of the handler being, again, dispatch(event). Finally, component3 listens for the event coming out of component2. What I am trying to do is similar to the concept of "re-th...
Is there any way through which i can restrict my AIR app to be further distribution?
Say I have make one AIR application and I give this app to my friend. Is there any way so that he can not re distribute this app to any new person?
...
Hi,
I want to place my crossdomain.xml file in a different location than the root because it just creates to much dependency issues.
How can i tell flex to look from my crossdomain.xml file somewhere other than the root?Do i add the loadPolicy code to the init method of my flex app?
Does anyone have any good samples on this?
...
I am developing a dynamic mocking framework for Flex/AS3 and am having trouble with private/support types (ie. those declared outside the package {} in a class file).
In my ABC "file", I am declaring the instance with the PROTECTED_NAMESPACE class flag and with a PRIVATE_NS multiname. I have also experimented with giving it the same nam...
Going over the file references in a FileReferenceList calling upload on each one means the files are uploaded as separate requests.
I want to upload a bunch of file in one POST (and I already have a ASHX handler that will accept it).
Any ideas?
...
Hello all,
What I am trying to accomplish to to get financial data in my Flex Datagrid to be color-coded--green if it's positive; red if it's negative. This would be fairly straightforward if the column I want colored was part of the dataProvider. Instead, I am calculating it based on two other columns that are part of the dataProvide...
I'm looking for a standard way to name components in my Flex application. For example, all TextFields begin with "txt" in their ID attribute (i.e., "txtFirstName"). Rather than re-invent the wheel, is anyone familiar with a list of prefix naming conventions that I can use?
...
I use Eclipse for both Java and Flex development. Recently, I changed its color scheme to make java code look nicer. But that messed up the flex color scheme somehow.
Is it possible to have my new color scheme for java and default color scheme for flex code? Or, how can i edit the color scheme for flex code as well?
...
Is there any significant performance/load time impact if single web page will load, say, 10 identical flash objects? 20? 30?.. any evidential data on sustainability of such kind of setup?
This would be the same flash app, each instance serving its own stream.
...
I'd like to create a button that is basically a rotated 90's so that it is in effect a vertically aligned button. So that the the text is like that of a book spine.
Thanks in advance.
...
Is there any advanced textarea() component (AS3) for Flex available that could be used for both viewing/exiting text nicely?
It would be good to have a text select feature, too.
...
Why the TextArea class is not available for my Flex Builder 3?
Project has flex32 SDK in buildpath. other imports are OK.
import flash.display.*;
import flash.events.*;
import flash.geom.*;
import flash.net.*;
import flash.text.*;
import flash.utils.*;
import mx.core.*;
import mx.controls.TextArea;
...