Hi All,
I am planning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some opinions from the gurus over here :
Whether i should use Flex or AIR (I know only Flex, AIR i need to start learning)
Which database i should...
I want to save remotely (on a database) the state (visible columns, columns width and order) of a Flex3 DataGrid.
For width and visibility I can simply save them by accessing each column attribute.. ugly but possible..
But for the order? Do I have to create the dataGrid dynamically??
Any idea is appreciated
thanks
...
I am looking for recommendations for tools for automated testing of a web application with some flex components.
To provide some background we have a web application that was entirely developed in AJAX+HTML and we were somewhat successful in using Selenium for testing that application end to end. We recently added some flex components i...
I have a flex component with 2 states - "" (ie no name / default) and "Transactional" - and a bunch of transitions to move from one state to the other.
There is a button to toggle between the two states which calls the following function when clicked
public function ToggleState():void
{
if (this.currentState=="Transactional")
{...
Can anyone direct me towards some code or a tutorial for implementing the ViewModel in Flex 3?
All I'm finding on the web are examples for Silverlight.
...
I have a Flex tree with an ArrayCollection as data provider. The collection holds an array of CategoryVO objects. Each object can have another array of CategoryVO objects inside it's "child" attribute. This way the tree displays the data correctly.
Now I want to get the parent of a specific item, e.g. tree.selectedItem. Using XML as dat...
Ok I have a flex app and I am adding a callback method like this:
private function init():void
{
ExternalInterface.addCallback( "playVideo", playVideo );
}
private function playVideo(videoSource:String):Boolean
{
videoDisplay.source = videoSource;
return true;
}
I am calling it with javascript like this:
function show...
Let's say I have a canvas with a fixed height and a vertical scroll bar. And the canvas has 10 children in a vertical line (like a VBox) whose combined height exceeds the height of the canvas. Based on the scroll bar position, only some of the children will be visible at a time.
Is it possible to determine which children are actually vi...
Hello,
I have a custom scrollbar that controls a group as its viewport.
<s:HGroup>
<s:Group width="520" height="380" clipAndEnableScrolling="true" id="descriptionBox" >
<s:RichText text="Test Test Test Test Test Test Test "
width="490" textAlign="justify" fontFamily="Arial" fontSize="12" col...
I'm trying to accurately determine how many seconds of a video (NetStream) have been loaded so I can scrub/seek correctly. First I tried doing duration*(ns.bytesLoaded/ns.bytesTotal) but this is inaccurate by maybe 15%, ie if that calculation says 20 seconds is loaded and I scrub to 20 seconds ns.time will tell me it can't go past 17 se...
Is it possible in an air application to start a download, pause it and after that resume it?
I want to download very big files (1-3Gb) and I need to be sure if the connection is interrupted, then the next time the user tries to download the file it's start from the last position.
Any ideas and source code samples would be appreciated...
I want to dynamically create and put some Image (mx.controls.Image) objects on a Canvas and I want them then to be able to be repositioned by the user via the mouse. Can this be done? Note, I am not looking for drag and drop. I just want to change the X and Y coordinates of Images with the mouse.
Thanks!
...
I have a Flex application that can load modules as necessary. When the first module is loaded, it creates a class MyBackground(), which paints the background red. When I choose to load a second module (and unload the first) I again load a class MyBackground (from the second module). However, when I step into the constructor for MyBackgro...
Hi,
I have an ugly problem. I have two string variables (className and staticMethod) store the name of a class and it's static method I have to call:
package {
import flash.display.Sprite;
import flash.utils.getDefinitionByName;
import flash.utils.getQualifiedClassName;
public class ClassPlay extends Sprite {
public function Cl...
I'm playing with Modules and they work as advertised: the module swf's ares
built and deployed in the output directories automatically.
My problem is that if I use descendants of mx:Module, the IDE does NOT do all
this nice work for me. I've listed the module in the Flex Modules section of the
project properties, but still nothing.
I'm...
Hello guys, I'm triying to get a folder size by doing:
var FolderFile:File = new File("file:///SomePath/Folder");
var FolderSize: FolderFile.size;
But this gives me a value of 0, how can I get the folder size? is there anyway to do this?
Tranks
...
Hi there,
I have a weird issue. I can get Event.COMPLETE to fire when I set
image.source = byteArray;
BUT
When I manipulate the byteArray - convert it to Bitmap and use image.source or image.load to load it, the bitmap gets loaded properly into the Image component; BUT Event.COMPLETE never fires. What might be wrong here? I have ad...
Hi,
I am applying hb.horizontalScrollPosition = value and it does not work with horizonalScrollPolicy = on/off. Is there any other way to achieve this?
Thanks.
...
I am trying to use AlivePDF to save a chart into a .pdf file. However, when I try to save my chart, it ends up clipping half of the chart in the pdf so it isn't even fully visible. It seems that the screencapture that AlivePDF took to generate my pdf was too small.
I am trying to get a chart from a sample to work with sample code for ...
Which CI server do you use for Flex? My main contenders are currently
Hudson
TeamCity
Both seem to be popular on the general level but have you got some direct experience with using one or both with Flex development? Or would you recommend some other tool?
...