flex

Adobe Salesforce problem changing Id to Name

Hi I am having a problem converting for example the AccountId field in Contacts to the Account Name from the Account Object. I have tried the following query: select Name, Account.Name from Contact But when I look at the Console when I debug the application I see that this has been converted to select Salutation, FirstName, ...

How to setup PHP Server for Flex app.

I am creating a Flex project on my Windows machine but it will deploy on my Linux machine. For application server type I selected PHP I click next to go to the next screen. I am then asked for Web root. I put in /var/www which is the web root of the linux server where the application will be. I get an error telling me: The selec...

Forcing screen updates for a ProgressBar attached to an URLLoader or slowing it down

I have a ProgressBar in MANUAL mode responding an URLLoader's progress events that seems to get drawn far less frequently than I would like. If I debug the app, I can see many events firing from the URLLoader yet it seems that the ProgressBar is being re-drawn at some random and slow rate. Now if this was my own code (URLLoader is a ...

Flex/Air : Flex, BlazeDS, Hibernate (Tomcat) and MySQL

Hello, I create a Flex application that works with a browser using a database with the MySQL server that I can create, modify and delete data from a database. The problem I encounter now is that I want to see my program with Adobe AIR (virtual machine). At the display that does not pose a problem. The problem is that air can not reach t...

ArrayCollection.setItemAt is doing some funny things

I am trying to swap two items in an ArrayCollection with this code. private function swapCollectionElements(collection:ArrayCollection, fromIndex:uint, toIndex:uint) : void { var curItem:Object = collection.getItemAt(fromIndex); var swapItem:Object = collection.getItemAt(toIndex); collection.setItemAt(curItem, toIndex); ...

stylename changes for TitleWindow have no effect?

i have titlewindow named id_GrgPanel and have style name "SelecetedPanel" ... i have some event listener where i change the style of this title window.. like... if(param==true) { this.styleName="SelecetedPanel"; } else { this.styleName="Panel"; } Styles are properly defined. but when else is executed the titlewindow stylename cha...

Where to start if I like to build grid drag and drop drawing area with flex?

Hello all I need to build diagram engine with flex to be able to drag and drop elements to Drawing area , I am beginner with flex but have lots of programming experience Can you please point me to the current links tutorials to build such thing ? ...

flex scrolling issue - hopefully simple problem

Hi I am having an issue with scrolling in flex. I am using a large canvas with a number of label objects. A lot of the labels are off-screen until the user scrolls down or up, this is unavoidable due to the amount of information that has to be displayed so I have considered alternatives to this in case anyone is thinking of any. What is ...

Flex 4: how to have a drop down list of Checkboxes.

Hi, How would I get a drop downlist to populate with check boxes. I am porting a c# project to flex, and I would like to imitate the functionality of their checkbox drop list. Anyone got any idea how I would go about this. Please and thank you. ...

how to attach scanner in flex application?

I want to attach scanner to a flex application and read the image using scanner.Does anyone know how to attach scanner to a flex application?. ...

Handling multiple artifacts from single maven project

Hi guys, I have a maven project that produces many artifacts. Of course it is kind of against maven best practice (one pom one artifact), but it is Adobe Flex project that produces many *swf modules and it is really makes no sence to create a separate project for each module. For me it would be very convinient to handle all swf modules...

Flex: repeater item as an array index (binding)

Hi! I have a label inside a repeater (rptInfos), and I have an arraycollection (Texts) that has the translations. The "Texts" content is changing when I change the language, and normally I use {Texts.getItemAt(219}} for example when I need a translated text. But in the repeater I have a translateable column, so I want to use it like thi...

How to increase the buffer in Virtualized Flex 4 Layouts

Virtualized Layouts are nice, but I find that they often feel a bit "chunky" due to the "tightness" of the virtual range. This could be improved by increasing the range - one or two steps ahead (and behind) would often be enough to improve the "responsiveness" of the list, especially when external resources (like images) need to be loade...

What's the deal with Halo and Spark in Flex 4?

I used Flex 2/3 for a couple of years and have just come back to it, upgrading to Flex 4. I'm seeing some references to Halo and Spark themes but I never got into themes in my previous work so I'm a bit confused what's going on. Am I correct that Halo was the default theme, or is this all new? Also, I took a simple Flex 3 MXML and tried...

Skinning a Spark HSlider in Flex 4

Hi, The application I'm working on needs to have a slider to allow the user to select a Date. However, the Spark hSlider component does not have a 'labels' field like the halo hSlider does - into which you could put a collection of labels to be displayed along the track of the slider to denote the values selectable from the slider. I ...

How to disable toggling with flex buttonbar

How to disable the toggle nature of buttons in spark:Buttonbar so that it would behave similar to mx:ButtonBar? ...

adobe flex captureImage encode to flv

Hi, I am developing a adobe flex application which needs to be recorded. I would like to know if there is a way to encode the frames which I capture using captureImage to video format(FLV) to send to server. I know I can use captureImage api to capture the image but it will be very inefficient(huge bandwidth) if I have to send 4-5 f...

RIA Technology of Choice

I'm looking into creating a Rich Internet Application. For the interface, I want something smooth, fast, and robust. I realize there are several technologies out there to do just that (Flex, standard HTML/Javascript, Silverlight). After using Grooveshark, I am very impressed with its interface (written in Flex). Personally, I don't thi...

Flex event.bytesLoaded returning wrong value.

I have a function that's called when a file download has reported progress: private function progressHandler(event:ProgressEvent):void { var percent:Number = Math.round((event.bytesLoaded / event.bytesTotal) * 100.0); Alert.show(event.bytesLoaded.toString()); //pb.setProgress(percent, ...

Flex or flash interface components for developing IOS apps?

Hello, im developing apps for the IOS plattaform using flash CS5, but the interface components (like listbox, combobox, buttons and so) that comes with flash/flex are not optimiced for IOS developing. Is there outthere a free libary of components for interface on IOS??? Thanks! ...