flex

event phase -Capture phase in flex

Hi, I read a document, capture phase is check for the event from target to root node. means buttoncontrol to panel container like.... Application Panel TitleWindow Button But i have 2 panels under the same application container and 2 panels have a button controls and events. So now the flash playe...

Slightly curved/arched text in Flex

Hi, I'm writing in Flex a simple app that allows product personalization, right now I'm working on adding engraving text. Most products are round so I want the text the be slightly curved when placed on the product to give it more realism. I've looked into text curving/arching in Flex but the solutions I've found seem to be overkill fo...

flashbuilder 4 won't copy an xml file in release build

Hi! I have my own conf.xml file (src/conf/conf.xml) consists some properties (alphas, colors, etc). When i try to export release build, I see list of files which not includes that file. Why? When i run my application at debug it file places in "bin-debug" folder. ...

Does anyone know how to create a interactive graphs using flare or other visualisation classes?

Does anyone know of software or flex/flash/as3 source or visualisation software that could be used to make interactive graphs, where the user would enter a query that would pull data from a MySQL database and the user would build a sunburst or icicle graph by dragging and dropping items into a tree-like structure and they would be able t...

How to highlight in flex

In flex, how can I highlight text/label? I have text and a small image that I want to highlight. ...

rotating movieclip back to square. AS3

I have a movieclip that I am using greensocks transformManager with so the user can rotate, skew, and scale the clip. This works fine, but I am trying to add a crop tool. If the image is rotated, when I send the image to the crop tool it measures the height of the image by the bounds of the rotated image, not the actual height of the ima...

Flex: Load PDF into Sprite for printing

I have pre-existing PDF files which I would like to send to a PrintJob in Flex 3. I can load the files fine with UrlRequest, but I need to somehow get the data into a Sprite to be included into a PrintJob. Is there a way to do this, or should I go another route? (I've seen the hidden iFrame example, but I was hoping for a way to do thi...

Determine drag proxy when using itemRenderer on DataGrid

Hi, I'm using default drag/drop on Flex DataGrid, however, the dataGrid itself has an itemrenderer. Looks like: public class FlashFileDataGridRenderer extends Label{ public function FlashFileDataGridRenderer(){ super(); } override protected function updateDisplayList (unscaledWidth:Number, unscaledHeight:Number):void { ...

Flex Builder - How to set relative url in launch configuration properties?

I am trying to use a custom html wrapper for my application, but when I browse to choose my file it defaults to an absolute path to my custom-wrapper.html file. I want to be able to pass off this project via SVN without any necessary configuration changes, but I'm not sure how to input a relative URL into this configuration dialog. I...

Flex: Multi bitrate switching between live streams using the VideoDisplay component

I am passing to the source property of a VideoDisplay component a DynamicStreamingVideoSource object with 3 different dynamic live stream items, described by this XML, for your consideration: src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_h.stream" bitrate="19200" src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_m.stream" bitrate=...

How to change the vertical line gap of Label?

How can the vertical line gap of Label be changed? ...

What are the coordinates of a display object that has been transformed with a PerspectiveProjection?

I'm currently transforming some objects to make them appear far away using a PerspectiveTransform. This works well, but I have no way of knowing where on the screen the object is displayed. The x and y coordinates are the coordinates of the object if it were at z=0. How can I compute the display coordinates of my component? ...

Flex 4: Can I animate multiple objects within the same parallel?

I have multiple spinning balls that I want to animate altogether. Here's what I have so far but when I play the parallel (spinning.play()), nothing happens. Where am I going wrong? <fx:Declarations> <fx:Vector id="kfP1" type="spark.effects.animation.MotionPath"> <s:MotionPath property="baseColor"> ...

Flex vs. PHP: What are the pros and cons of each? Which language should I use?

Flex vs. PHP: What are the pros and cons of each? Which language should I use? ...

Flex/FlexBuilder: Compile large dependencies into modules instead of main application

I've got a module, MyModule which requires a large library: <mx:Module> <mx:Script><![CDATA[ import com.huge.library.AwesomeThing; var myThing:* = new AwesomeThing() ]]></mx:Script> ... </mx:Module> And that large library isn't referenced from my main application, except through MyModule: <mx:Application> ...

[flex3] google maps w/o maps api key?

New to the Google Maps API, so this may be a simple question. I've got a Flex application that uses the Google Maps component. Is it possible to configure the component to use the v3 API (no maps api key)? If not, is there a workaround to use the Javascript API? Or a timeline for providing swc using v3? I currently perform client-si...

How to get the size/coordinates of the content area of Container objects?

How do I get the size of the content area of Container objects? One non generic solution is checking for styles I suppose but I am looking for some code that works generic for all standard flex Container objects. Edit: The controls are Flex 3 ...

flex tree selection color just on double click

How could i disable the selection color on single click and enable it just to double click. ...

[FLEX] Help in creating a card stack

Hi there, I'm trying to develop a card game with Flex, and I was wondering if there's a way to create an horizontal list (the cards that I have in my hand) having the elements overlapped, like you can see in this example made with openflux: http://www.ryancampbell.com/flex/StackListExample/StackListExample.html the thing that's missing...

Resizing Flex spark control with a custom skin

Hi, I have made a custom skin for TextInput spark control in Catalyst. The problem is that in Flash Builder's design view I can't resize TextInput control with applied custom skin. I want to be able to adjust only TextInput's length keeping the same font metrics and proportions of the skin, so I can use the same skin for short, medium,...