flex

Implementing drag manually on a Flex List

Hello, I have a Flex Application which displays a collection of items in one of several Lists depending on how the item is classified. By dragging items between the lists, the user kicks off a server side process which attempts to reclassify the items. The server side process then returns some XML which either contains an error messag...

Tab Between Components

I'm playing around with the physics login form from Doug Mccune's blog I'm trying to make it so that after I finish typing the username I can hit the tab key to go to the password field, and again to go to the login button. I'm a bit of a n00b with flex, so I assumed setting the tabIndex properties would solve that, but it doesn't. An...

Type completion in FlexBuilder?

Is it possible to ask FlexBuilder to automatically fill out the types of a statement? For example: var g = this.graphics; Will throw a a "no type declaration" warning that Eclipse's magic "fix this line please" won't fix... So is there any other way to fix that, other than manually entering the "g:Graphics" by hand? ...

Flex: How to call an actionscript function from htmlText anchor

Is there any way to call an action script function from an anchor which defined in TextArea component's htmlText property. Thank you ...

AS3 Obfuscation across many RSLs

I'm working on a very large flash project that shares code extensively across runtime libraries. I'm evaluating whether to obfuscate our code, and which obfuscator to use, and I'm having trouble finding one that fits the bill. -Many RSLs, many source trees and projects. -We use some dynamic properties, so I'd like to have a good deal of...

What are VOs in flex or amfphp?

This is how it is. I am getting XML data, I need to wait until it is parsed and then dispatch the event once the parsing is done from my library. Firstly is there any way to avoid events in library in this case? An alternative I saw was to use VOs. So what is this and how to make it work. ...

Eclipse / Tour de Flex plugin / Problem when accessing Tour de Flex view

Hi, Eclipse world is totally new to me. I've just installed Tour de Flex plugin in my Eclipse / Flex environment (Eclipse Platform Version: 3.3.3.r33). Everything went well. Now if I try to view tour de Flex here's what I do : - Menu Windows => Other views - A popup box opens, I choose "Tour de Flex", Then it asks me : "Please locate...

flex uploader

i making an uploader for 3rd party site, i don't want upload through my host (user upload to host, host upload to 3rd party site), it waste bandwidth so i decided choose flex, but i want know clearly about flex before i tried with it, can it handle http response after upload (redirect header, html response, json ...) ...

Before the html tab is closed : how to notify the Flex app inside ?

I've say almost everything in the title : In firefox (or IE or whatever), when the tab is closed, I remember you could be notified of this, and I'd like to notify my Flex app and tell it to close (whenever it's possible) all the connexions that are opened. Does anybody know the way to do this ? Thank you ! ...

Trouble cloning an extended ByteArray

Hi, I've extended the ByteArray class, like this: [RemoteClass(alias="MyByteArray")] public class MyByteArray extends ByteArray {} and cloned an instance of this class using ByteArray#readObject()/writeObject(). However, for some reason, the cloned object is an instance of ByteArray rather than MyByteArray. This is illustrated in the...

Flex: ActionScript Project Size Problem

I have some interesting problem for an hour.. In my flex project, all width and height properties returns as zero.. i tried this : private function onEnterFrame(e:Event):void { trace(stage.width, parent.width, this.width, root.width); } and results : 0 0 0 0 using Flex, sdk 3.2 Anybody could help me? Thank you.. ...

Flex web application control equivalent to mx.controls.HTML

As Flex web applications do not have the mx.controls.HTML control (which is for AIR applications only), anyone know of a FOSS custom control that can near the functionality. I have checked the flex-iframe control, but it offers only viewing of HTML content and not manipulation as in the AIR control. Thanks to all in advance. ...

How do i run adobe air application without Adobe air player?

i dowload some animation from http://www.3dfreeair.com . so how can i run without Adobe AIR ?. How can i install in linux os ?. I am beginner so don't mistake me . i dont know anything about air . plz guys tech me about this . ...

How to execute a windows program from Adobe Air?

Hi can you please tell me how can i run a program from Adobe air application like for some event i want to run utorrent or word. ...

How do I populate required parameters in a custom MXML tag?

Here's the Class: package fnc { import mx.containers.Canvas; public class Deck extends Canvas { protected var _chipCount:int; public function Deck(chipCount:int) { /* Associate some chips with this deck */ _chipCount = chipCount; } public function get chipCount():int { ...

flex datagrid - making grid height dynamic and component that contains it

HI, i want to build a datagrid which will have a dynamic height value because the number of rows will always be different. I also want to communicate the height back to the component holiding it so that it also grows with the datagrid. Can anyone help me out on the best way to create such a dynamic datagrid. Thanks ...

The Eclipse Flex plugin deleted my project, any way to recover it?

I just tried to use the Eclipse "move" function to move my project. Instead of Eclipse moving it, Eclipse deleted my project. I have most of it backed up, but I will lose a few hours of work if I cannot recover it. Does anyone know how to recover it? Thanks! ...

Flex ItemRenderer prevents use of tabbing between text inputs

I have a custom ItemRenderer that displays 5 text inputs in each of 3 panels: <?xml version="1.0" encoding="utf-8"?> <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" height="300" width="800" creationComplete="onCreationComplete()" > <!-- code-behind --> <mx:Script source="ChainListRenderer.mxml.as" /> <mx...

Flex Bulder 3 Version Pro or Not Identification

How do I tell if an installed Flex Builder 3 is the Pro (or Not) version. Help | About only states Flex Builder 3 ...

Getting the longest string (ending by a newline) out of a Textarea in Flex

Hi, This somehow simple task is not so simple. I can get the number of lines of the textarea using mx:internals, but thats is not always the longest line ending by a newline. I tried all sort of textArea.text.split("\n") \r <br/> {/n .. It always returns me the length of 1. My eternal worshipping to anyone who can put me in the righ...