I have been trying to get Flex Cover to work correctly for some time but the problem we are encountering is that it only provides code coverage for classes that are currently being hit by our unit tests.
How do we get flex cover to provide correct instrumentation for our entire source directory?
I have tried several different compiler ...
Hello Comunity.
I'm checking "Flex Console" --> here that looks really interesting.
It seems easy to use and light to integrate. But how? I've been looking around for some info about it but haven't been successful. I found this post but I don't understand how it is used...
If anyone have any idea on how to use it or have any recommenda...
Hi,
I want to write integration tests for a Flex application using pureMVC architecture.The back-end is sqlite.Anyone has experience doing this? Any suggestions?
thanks
...
Hello, i am writing web application in Flex (SDK 3.5).
my program sends web service calls asynchronically to the server that gives me data.
I want to handle a case when the user sends a few requests before the answers to the previous requests were answered. In such a case i want to give the UI only the last request answer.
It is similar ...
I'm trying to animate a list as I delete the top row. All the examples I can find use itemsChangeEffect to bind to the effect, but this property exists only in MX lists, not spark lists.
Any idea how I can get the same effect done in Spark Lists?
I'm trying to remove the top most item in the list with a slight fade out effect before t...
Hi guys.
I want to dispatch a custom event when the two files are downloaded or uploaded successfully. I use
fileRef.addEventListener(Event.COMPLETE, completeHandler);
fileBigRef.addEventListener(Event.COMPLETE, completeHandler);
to listen the complete event with only 1 handler.
function completeHandler(event:Event):void{
var ...
Hello to all!
I get a Date of my database and I need to show it as a String.
So in Flex I do this:
public static function dateToString(cDate:Date):String {
return cDate.date.toString()+"."+
cDate.month.toString()+"."+
cDate.fullYear.toString()+" "+
cDate.hours.toString()+":"+
cDat...
I have a problem zooming in on a line chart with a dateTimeAxis as horizontal axis. I want to zoom in and out, by setting the minimum and the maximum attribute of the dateTimeAxis with a slider. The date labels change as should, but the lines disappear as I set the minimum or the maximum.
Here's a part of the code I have:
private func...
Hi, I have two swf, one loads the other using a Loader class, in the loaded swf I have a NetConnection object which I need to access from the host swf, but I can't, if I debug the app, I see the obejct is there, but I can't access it, if I try to set a variable like
loadedSWF = connectorLoader.content (connectorLoader is the Loader obj...
Hi,
I'm trying to communicate my flash application with my server. Either the problem is my code is working on Flash Professional, but I have prepared all my interface on Flash Builder which uses Flex 4 -SDK. My code does not work on Flex Project.
The problem is not security file. I can not solve the problem. What are the possible re...
Hi
I have a Flex AIR2 application which uses native process to run CMD.exe. Application running fine on WinXP, Win R 2008 server. But not running on VISTA 64 bit OS.
Flex not able to run CMD.exe when application installed in C:\Program Files (x86).
When I run application as Administrator mode it is working fine.
Below is my code, I wan...
I'm not using deep linking, so all the pages/states appear as http://site.com
Is it still possible to implement back functionality in this case? It looks like flex has a browser history feature, but not sure if it would still work given that all the pages are at site.com
The other option is that I would save information in the main fil...
Hi,
I am working on a image editing tool where user can pan / rotate and zoom the image. I am using Matrix to apply rotation and zooming effects. Now the probelm is that if image is not rotated, its panning works perfectly. But once the user rotates it, panning functionality goes for a toss.
Here's the line of code i am using to drag (p...
I am trying to bind an ArrayCollection result coming in from the server to my DataGrid
created dynamically in AS.
The result data is not getting Displayed in the Grid.
var dg:DataGrid = new DataGrid();
dg.width=650;
dg.dataProvider=someArrayCollfromServer;
I am adding the dgColumn as runtime based on some data from a XML and it is ...
I'm trying to upload a Dynamically generated file from Flex (PNG image) to Ruby on Rails Server back end using the following code (from Flex on Rails book):
public function save():void
{
var bitmapData:BitmapData = new BitmapData(width, height);
bitmapData.draw(this);
var ba:ByteArra...
I have a datagrid with a combobox in it like;
<mx:DataGrid editable="true" x="72" y="10" id="dataGrid" creationComplete="dataGrid_creationCompleteHandler(event)" dataProvider="{getAllResult.lastResult}" height="178" width="896">
<mx:columns>
<mx:DataGridColumn headerText="STATUS" dataField="tooltip"/>
...
Hi, I'm Fran.
I have built a application that use a nativeProcess to open exe.
The application into Flex Builder 3 run whitout errors.
Then the problem come when I export the aplicaction AIR in .air and install the applicaction in the developer pc or other pc.
When I push the button to open the .exe, appear the message "Native Proces...
I've an <mx:PopupButton/>. I want to change its icon dynamically by reading this from disk.
I am using an AIR application so I've disk access.
Possible?
Basically I've a string i.e. file system path with me. icon field in mx:PopupButton requires a class reference.
...
I was trying to further reduce the filesize of a SWF file by optimizing the embedded PNG graphics (using ImageOptim tool). To my surprise, this didn't yield any effect, so I created two test Images (get them here: http://www.filefront.com/16902865/images.zip):
Original (434kb)
Optimized (274kb)
When embedding either of these assets in...
Hi,
I'm working on an custom video player. Got the rest of the elements in place, but cant for the life of me work out how to change the volume component from Horizontal to Vertical. I've tried standard stuff like rotation='90' but no joy on that.
Anyone have any ideas on what I should maybe modify or change to get it to a Vertical Sli...