flex

flex override public function set data

Hi, I have a datagrid with itemRenderer in datagridcolumn as my custom component(c1). I am getting the dataprovider data in custom component by overriding the set data function, it is fine. But now my custom component(c1) is also having another custom component(c2). Now the doubt is - how to get the dataprovider data in c2 component? ...

Generating 3D TV stereoscopic output programmatically

Do you know what would be the best approach to generate 3D output for one of these new "3D ready" televisions from software. Our application have some nice 3D visualizations, we want these to look nice. Also, how feasible is it to generate it from a Flash (Flex) app. ...

Flex 4 Button state in a HGroup

Hi all, I have a HGroup with some buttons inside which is my application's menu. <s:HGroup id="nav"> <s:Button id="homeButton" label="Home" /> <s:Button id="showroomButton" label="Showroom" /> <s:Button label="Catalogue" /> <s:Button label="Offers" /> <s:Button label="My Account" /> <s:Button label="My Orders" /...

Redraw Issues When Manually Scrolling in Flex

I have two columns: the left one is a Canvas containing an mx:Tree and the right one is a Canvas containing a Canvas (to allow for scrolling) of some custom Sprites that go along with the tree nodes on the left. I made the right Canvas scrollable (horizontal and vertical) and I want the vertical scroll to also scroll the left Canvas so ...

Using Flex 4 states syntax within MX component

The majority of code in my Flex application runs within flexmdi MDIWindow which extends MX Panel. I would really like to take advantage of the new syntax for managing states in Flex 4. Is it possible to use the new syntax even though the base class is Flex MX? It seems like a lot of work to sparkify flexmdi. thanks! ...

Adobe Flex Prevent Double Click

I have an adobe flex datagrid with a simple custom label itemrenderer in one of the columns. Clicking on the itemrenderer fires off a cairngorm event, which results in a service call being made, and the data from the service call populates a TitleWindow. Even though I have set the doubleClickedEnabled property to false, its still possib...

Flex Spark TitleWindow bad redraw on dragging

Hi, I have a problem with redrawing in flex 4. I have a spark titleWindow, and if i drag it faster, it looks like it's mask is one frame late after the component. it's easily visible with 1pixel thin border, because it becomes invisible even with slower movement. You can try it here (what is not my page, but it's easier to show you h...

FLEX: is "Tooltip" an option if I want a caption with buttons ?

hi, is "Tooltip" an option if I want a caption with buttons ? I actually need to add a fading-in caption on top of my object without changing its width. (I guess not adding directly the faded-in caption to the MXML component. I was wondering if Tooltip can be used for this. Is possible to click on it ? And add custom components to it ...

Can you Export/Import Flex (4) Data Services?

Flex newb here. I'm working in flashbuilder 4 (flex4?), and am being asked to create the client-side data services integration 'layer' in a flex app. There is another team working on the actual UI/Presentation. Both parts must be deployed in a single swf. If I use the data/services wizard to build out my service connections (and gene...

Javascript Rich Text Editor in Flex

How do I embedded a HTML-enabled javascript editor on top of Flex web application? FCKEditor is not free but any free editor with basic toolbar will do? ...

How to properly set button phase after dragging over button?

I have a class (mxml) that extends Button while implementing drag/drop support. When I drag one of them onto another, the drag receiver stays stuck in its 'over' phase until I click on it (As if something about DragManager.acceptDragDrop is preventing the MouseEvent from getting to button) Is there a way to make a button re-evaluate it...

Create and define Vector

I'm looking for method to create Vector and push some values without defining variable Vector. For example: I have function: public function bla(data:Vector.<Object>):void { ... } this function expects Vector as parameter. I can pass parameters this way var newVector:Vector.<Object> = new Vector.<Object>(); newVector.push("bla1"); n...

Integrating virtual keyboard on a HP TouchSmart with an Adobe AIR app

Hi, Does anyone know if it's possible to integrate the ToushSmart's virtual keyboard with an Adobe AIR application? In most programs (Internet Explorer, Firefox, etc), when a user touches a text field a little keyboard icon automatically pops up which, when pressed, will bring up the virtual keyboard. However, this doesn't happen when ...

Is it possible to nest folders in the Flash Builder bin-debug

I'm trying to setup my bin-debug folder so that the structure looks like this: bin-debug assets img swf main.swf css style.css js swfobject.js index.html I've tried setting the project's output folder to: bin-debug/assets/swf which does get my main.swf where I want it, but then my other source folders get dumped into that s...

StringBuilder in Flex

I'm looking for fast string concatenation class or so in Flex. Like StringBuilder in Java. Thanks ...

Loading Amazon S3 images into Flex with temporary / signed URLs

I have some secure images on S3 that I need to load into Flex. I was expecting to be able to do this using signed temporary URLs but can't get it working. I know the URLs I'm generating are correct, because they load fine in my browsers' address bar. Moreover, Flex has no problem loading my images with a non-signed url when they are pu...

Flex: Data Grid within Tree structure

Hi, Is it possible to have a data grid within a tree structure in flex? Reverse of what advanced datagrid provides{where you can have a tree structure within a data grid}. ...

Flex customised drag drop

When I drag and drop between datagrids preventing default behaviour, the cursor's does not come out of the grid. The grid's scroll bars keep moving as i move the mouse.. Even if i click outside the grid the cursor still has control over the grid and keeps scrolling as i move the mouse over the screen up and down.. Please help ...

Scrolling through list element causes text elements to scroll as well

I'm using a list element with variableRowHeight and word-wrap set to true like in the example below: http://blog.flexexamples.com/2007/10/27/creating-multi-line-list-rows-with-variable-row-heights/ When I scroll through the list with a mouse scrollwheel the text in the listItems also scroll. I know that this is to do with the height of...

Security sandbox violation when connecting to Socket from flex

Hi, I am using a Socket (not xmlSocket) connection between flex applications and the server pushing messages. Now, when I connect from the local machine to the server everything is working file and running, connection is succesful and I get data back and forth. When I upload the application (flex) to the server and run it from there, ...