flex

Ability to have a decimal fontSize value in Flex

I wonder why i can't seem to be able to apply a decimal value to fontSize in Flex. I have tryid it with flash textfield component, mx label and text but nothing seems to accept a decimal value. fontSize is accepting Number and i can set a decimal value to fonts in Flash so i can't see why this isn't working in Flex? Is there anny soluti...

How do I capture and save live feed of Flash video?

Is there a tool, any type of programming library, or a way to capture live feed of Flash video and save it? I don't want to capture the screen but rather like to capture the actual feed. ...

How to manage Mouse clicks on Irregular Button shapes in Flex

Hi, In Flex, I am trying to design 3 buttons similar to the image uploaded at http://www.freeimagehosting.net/uploads/f14d58b49e.jpg The mouse over/click on image should work only on red colored area of the button. How can I manage the Mouse clicks or Irregular Button shapes in Flex? Thnx ... Atul ...

Flex: Moving canvases between several ui elements

I need to animate a lable movement between 2 canvases... The mxml example of the code is: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" applicationComplete="main()" frameRate="1"> <mx:Script> <![CDATA[ import mx.controls.Label; public function mai...

Flex Datagrid: Creating a timetable

Hi guys, I have some data passed into the flex via webservices, and want to create a timetable. As of current, I have a timetable but the day is a column, time is a column and so on, by mapping the datafield to those columns. I need to flip this around and have all day columns and one time column, with each day column filter to the day...

Is there a way to add detailed remote crash reporting to a Flex Air application?

I will be releasing my Air/Flex application soon, but I am pretty sure there are a couple of bugs that may pop up on the various platforms that Air is available for. So I was wondering if there is a way to implement a mechanism, that would send an error report, logging where the error happened, to a remote server each time an app crashes...

Consuming flex3 components in Visual Composer 7.2 using Web Dynpro

Hi All, Is there a way to export Table data to a MIME Resource(Flex3 component) from Web Dynpro? I have a flex3 component(US heat Map) which accepts a arrayCollection (state and value pairs). I need to create a webdynpro wrapper for this to use in Visual Composer 7.2. What I am trying to do is migrate the flex components I made for Vi...

Set a breakpoint at a given line number in Adobe's FDB?

I'm learning the Flex command-line debugger, and I haven't been able to find information on this particular use case. I'd like to add a breakpoint to a specific line in one of my class files. I can add breakpoints at the start of a function in a class, but I can't figure out how to set it at a specific line (e.g. line 117 in Foo.as)? ...

How to transform a string in function and concatenate with an object?

Hello people, I have the following code in actionscript 3: var async:AsyncToken; async = bridge.retornamenu(); The bridge is a remote object, instantiated. The retornamenu() is the function that I want the remote object open in amfphp. However the retornamenu() is a dynamic function, which turns another function, but I can not run i...

How to pass arguments with 'new Responder'? actionscript 3

Hello friends, I have the following code in action script 3: async.addResponder(new Responder(result, defaultFaultHandler)); result is a function that receives data from remoteobjet async, calling this function normally, but must go along with other arguments result, example: async.addResponder(new Responder(result(args...), defaultF...

center flash element based on the elements actual size 2

I everybody, I have qustioned this question already in that post: http://stackoverflow.com/questions/2355481/center-flash-element-based-on-the-elements-actual-size but I didn't find any usable solution. I guess its quite tricky so I re ask the question here: how can I place a swf file in my webpage when the width of the file changes ...

Flex 3.5 - NetStream - StackOverflow errors when calling publish() after calling close()

I'm getting stack overflow errors when I'm trying to publish() a NetStream after close()ing it. Pasted below is the error stack: Error: Error #1023: Stack overflow occurred. at com.luxideus.facebook.canvas.controllers::StreamsController/onNetStatus()[...] at flash.net::NetStream/invokeWithArgsArray() at flash.net::NetStream/...

Track mouse position repeatedly in flex application

I have a container Canvas named "cnvList" which contains another component horizontal list "hlist". When i hover the mouse over "cnvList", it should display the current mouse position relative to the container cnvList. I have used cnvList.contentMouseX for this. But it should repeatedly track the mouse position repeatedly even when the m...

How to take screenshots of a Flex Spark VideoDisplay?

I want to build a component, where the user can play a video in a Flex Spark VideoDisplay. There will be a button and whenever the button is pressed, I want to save the current time of the VideoDisplay plus a screenshot. The screenshot needs to be someway saved, because I want to display all times and screenshots in a DataGrid (screensho...

Dynamically Creating Variables In Actionscript 3.0?

i'm loading several sound files, and want to error check each load. however, instead programming each one with their own complete/error functions, i would like them to all use the same complete/error handler functions. a successfully loaded sound should create a new sound channel variable, while an unsuccessfully loaded sound will prod...

Flex, how to get week of year for a date?

Hi; I could not find a method in Flex Date object to get the week of year (1 to 52) What is the best way to find this? Is there any useful library for flex for such date operations like JodaTime in Java. ...

Flex Custom component Life cycle

1) preInitialize: This event is raised when the component has just been created but none of the child components exist. 2) initialize: This event is raised after the component and all its children have been created but before any dimensions have been calculated. 3) creationComplete: This even is dispatched after all the component and i...

DataGrid CheckBox Itemerenderer Looks like a bug... Acts like a bug

I have a DataGrid wired to backend with one field/column as STATUS. The DG uses both CheckBox HeaderRenderer and itemRenderer. When STATUS is "fail", I want to show the checkbox and when it's anything else, not show it (or, as a compromise, disable it). The visible property has no effect whatever (I don't know why) since the checkbox ...

Flex - XMLSocket truncates the final closing tag of the XML - why?

Hi all, I have a project which tries to send an XML using XMLSocket to a server listening to it on the other side. The application file is: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ import MyC...

A newbie question on cairngorm

I am very new to Flex (started learning a couple of days back), I now have some understanding on how to create user interfaces with Flex and how to do MVC with Cairngorm and I really started liking it. But I am still lost with changing views using Cairngorm or entirely in Flex. Being a Java/J2EE developer for more than 10 years, it helps...