flex

Adobe Flex reposition scrollbar slider programatically

Hi. I need to reposition the slider on a scrollbar programatically (not move the scrollbar, just the slider; i.e. reset it to top or left, etc.). Anybody figured this out? TIA- Perflexed ...

How can I instantiate class from a swf?

I have an FLA file with objects in the library which I have set to be "classes" (In CS3, right click an item in the library select properties, make sure it's set to export for actionscript, and has a class name) For this exercise, let's call the class "MyClass" If I publish that FLA to an SWC and SWF: I can load the SWC statically, an...

flex editing ResultEvent result

hi, i have a textinput field which has autoComplete, i populate its dataprovider from a webservice. I assign the dataprovider with the result of a webservice call ac.dataProvider = e.result; however i now want to edit each field returned from the ResultEvent so i can add some more inforamtion, i tried doing some thing like this; va...

Matching web service results to requests in Flex

A little (!) bit of background before I can get to the question : I have an accordion control loaded with an array of grids, each of which is lazy loaded with arrays of things. I'm using an auto-generated web service proxy to retrieve these lists. I'd like for the user to be able to change the selected child in the accordion without hav...

flex3 function not returning String properly

hi guys, im trying to return a string value from a method inside my script tag however it always returns an object and i cant get at the string value. Here is the code: i retrieve the object returned from a webservice call;; private function getNameResults(e:ResultEvent):String{ var name:Array = new Array(e.result); var...

File Upload from Flex to Rails 2 server

Is there any way to upload files from a flex app to a rails 2.2 backend when using the default Cookie Session Store? ...

Anyone doing anything yet with Adobe's Project Alchemy?

Making another appearance this year at MAX was Alchemy, Adobe's C/C++-to-AVM2-bytecode compiler. It seems like really interesting stuff -- I haven't yet had time to really dig in and try it out myself, but I can definitely imagine putting it to good use. Wondering whether any of you've had a chance to have a look at it yet, and if so, ...

use the same validator on several controls in Flex

Say I have a phone-number validator in flex and I have two TextInput controls for phone numbers. I don't want to have two separate validator controls defined that have essentially the same attributes... but each validator has only one "source" attribute. How can I use the same validator on multiple control? (or any equivalent solution) ...

flex 3 getting webserice call to wait for result

i have a function which retrieves values from a webservice , then loops through the returned values and for each returned value does another webservice lookup. Im having a problem however that when i make the second webservice call within the for loop that the function does not wait for the reuslt and just keeps processing and in turn g...

Video training program

Hi, I am looking to create a video training program which records videos - via webcam, user screen capture and captures sound. Now the main problem is that I need a cross-platform (mac and windows) solutions. I know its possible to use flash to record webcam + audio. But its not possible to record the user's screen via flash. So am w...

passing values between custom components in Flex - mxml

hi, how can i pass values from my custom components back to the main.mxml? i need to do this to pass back ana array collection ...

How can I create a reflection effect with bitmap images in Flex?

I'm looking for a simple, clean and memory-efficient way to create and apply a reflection effect (you know the one, popularized by the famed iPhone UI) to the bitmap images I've loaded into a Flex app at runtime. The source images will be of varying types (JPGs, PNGs, etc.), but an acceptable solution can assume each image is already lo...

Problem binding XML to a Flex Tree

I have XML with a value like the following: <products> <product id="1" name="All Products"> <code>000</code> <shortname>ALL</shortname> <cost>0.0</cost> <product id="2" name="Product Group A"> <code>001</code> <shortname>A</shortname> <cost>0.0</cost> <product id="4" name="Product A"> <c...

Best Tools for 2D Constructive Area Geometry

What are the best tools/libraries (in any language) for working with 2D constructive area geometry? That is, a library working with more or less arbitrary two dimensional shapes and supplying union, intersection, difference and XOR. My baseline is the java.awt.geom.Area class, and that's serviceable if slow. What's out there that's ...

Is anyone selling AIR applications?

I am working on an AIR application that I hope to offer to small businesses in the next year or two. I think Flex/AIR are great technologies, being cross-platform is very important to me, etc. Besides enterprise apps, is anyone developing applications in AIR that 'regular people' are buying? If so, which ones? If not, why not? ...

Flex/AS3: When to remove listeners?

I have an array of FileReference objects which have several listeners attached to each of them, should I be removing each listener in it's handler method, or should I remove them all in the complete handler? I read somewhere to use weak references for listeners, but I would think it would be better to explicitly remove listeners (yes?/n...

JavaScript/CSS vs. Silverlight vs. Flex

We currently have a quite complex business application that contains a huge lot of JavaScript code for making the user interface & interaction feel as close to working with a traditional desktop application as possible (since that's what our users want). Over the years, this Javascript code has grown and grown, making it hard to manage &...

Calling flex application from php files

HI all,i need help please..Does anyone have suceeded to call flex application from php-html files?Suppose i got html-php based web,i make a ogin form using html tags.When the user have suceeded login,the login form which was created by using flex will be shown...Please help..Thanks a lot guys... ...

Displaying data points in Flex Line chart...

I have a flex line chart. Instead of the default behavior of having to hover over parts of the line to see the data points, is there a way to change the rendering of each point and have them always displayed? (almost like a connect the dots type view). ...

How can I use Flex to access foreign-keyed fields in Django?

I have the following Django and Flex code: Django class Author(models.Model): name = models.CharField(max_length=30) class Book(models.Model): title = models.CharField(max_length=30) author = models.ForeignKeyField(Author) Flex package com.myproject.models.vo { [Bindable] [RemoteClass(alias="myproject.models.Book")] ...