flex

creating a tooltip for a line drawn on cartesiandatacanvas in flex

I am trying to draw a line on cartesiandatacanvas. While I am able to draw lines easily using the canvas.moveTo and canvas.lineTo methods, I cannot provide a tooltip to the line if I use that functionality. I have tried creating a label(when ever I draw a line) and adding a tooltip to it but since I show the lines in a 10*10 grid both ve...

FLEX: can a Popup created with Pop-up manager be draggable ?

I've created a TitleWindow with PopupManager and I was wondering if I can drag it over my Canvas thanks ...

FLEX: question about MXML syntax

hi, I would like to know if it is the same to assign properties to my custom component in its own class, or from the parent document. Please see snippet below: Here I assign the property bottom in my custom component class: <?xml version="1.0"?> <mx:LinkButton bottom="20" > <mx:Script> ... Here I assign the property bot...

FLEX: why the event is only listened by the dispatcher component ?

hi, I've a parent (Canvas) with many children (LinkButtons) The linkButtons trigger an event to communicate between them: dispatchEvent(new SameBookmarkEvent("SameBookmarkEvent", bookmark.name)); and all linkButtons have a listener this.addEventListener("SameBookmarkEvent", highlightMe); ... private function highlightMe(e:SameBoo...

mapping pictures to a sphere or cylinder

hi, i am developing an application where client can add his photos to appear on a sphere or ball or coffee cup and able to save them and give it for printing using flex. like itasveer.com site. i tried to use away3D but if the image is small it is stretched and added to sphere. i dont want it to strech instead the original image shud app...

AS3 Combobox change dropdown position

Hi I'm trying to change the position of the dropdown list relative to the combobox item. Setting the position using comboBox.dropdown.x = 1337; doesn't work... ...

FLEX: question about dispatching event through hierarchies of components

hi, if I dispatch an event from a component, can this event be listened by the grandparent of the component ? If not, what should I do to make it happen ? Should I add a listener and dispatcher to the parent (component in the middle) as well ? Thanks ...

Flex: change containers size to wrap the content

hi, I'm using TitleWindow with PopupManager. I programmatically add the children to my TitleWindow and I would like the TitleWindow changing its size in order to avoid scroll-bars. Is there any property to mek the windows wrapping the content in Flex ? thanks ...

Missing [mx.rpc]::IResponder

I'm trying to use the Flex 4 SDK's mx.rpc package in a Flash application. I imported Flex's rpc.swc (Adobe\Adobe Flash Builder 4\sdks\4.0.0\frameworks\libs\rpc.swc) into my project by adding it to the list in Flash's "Publish Settings/Flash/ActionScrip 3.0 Settings/Library Path". It seems like I have access to the classes, however when I...

Flex 4 itemRendererFunction problem.

This is a Flex 4 application: I have created a list as the following: <s:List id="previewList" horizontalCenter="14" verticalCenter="-112" itemRendererFunction="listItemRendererFunction" click="controller.previewListClickHandler()"> </s:List> And I have the itemRendererFunction: p...

Adobe AIR - Option to not create a shortcut when installing an AIR application

Hello Stackoverflow community, Does anyone know if there is an option to not create a shortcut to an AIR application after its installation? Currently, all I have found is an option to choose the location of the application shortcut from within the start menu (in the application descriptor file, using the programMenuFolder option) Tha...

How to exit an air application from an actionscript library?

I am trying the following but every once in awhile the nativeApp is not defined. var nativeApp:Object = getDefinitionByName("flash.desktop.NativeApplication"); nativeApp.nativeApplication.exit(); I am confused why sometimes getDefinitionByName("flash.desktop.NativeApplication") resolves and other times it does not. I am trying to re...

How should I collect dependencies from Adobe Flex files?

I'm looking for a way to collect the file dependencies from Flex ActionScript and MXML files. I was hoping that mxmlc could spit them out (like gcc's -M option), but its option list doesn't seem to have anything relevant. I could write a parser, but would prefer not to reinvent the wheel if it has already been done, particularly given ...

Large File transfer from Flex client to C++ server through UDP

Hi all,I am trying to build a UDP application(P2P) of Large file transfer in Flex. My back end is C++. How can I transfer my client's files to server without any middle server. If I use stratus services..how to connect that to C++. Please help me, if possible with source code. Thank you. ...

Need a css file for advance data grid

Please any one send me the css file to have good look n feel for advance datagrid. Thanks n advance ...

Hidden Features of MXML

What are some of the hidden features of MXML? What existing features are not well known but very useful? MXML being used in Flex Framework became quite popular language because Flash Player is something every PC has and Flash Builder and Flash Catalist are quite popular Adobe programs. Please specify one feature per answer, and read a...

Call private method in Flex, Actionscript.

I need it in FlexUnit to test private methods. Is there any possibility to do this via reflection by using describeType or maybe flexUnit has some build in facility? I dislike artificial limitation that i cannot test private functions, it greatly reduces flexibility. Yes it is good design for me to test private functions, so please do no...

Linear gradients library

Is there a place online where I can find like 16 linear gradients that match good with each other? I need them for a chart of mine and the ones generated (by Flex) aren't good enough. So, I'm kind off searching for a library of gradients (linear in my case). ...

Are there any free tools for building AIR applications?

There is an ongoing argument on the web right now about the "openness" of the iPhone OS and Adobe Flash platforms. Adobe's argument is that anyone can build a Flash application without having to worry about being allowed to distribute it. This made me wonder… is it possible to build and distribute an AIR application without giving any m...

How to get the current page no. in flex paper?

Hello Guys, there is no tags on flex paper. so make tag on flex paper. Now the question.. How do i get the page number in flex paper. I want to add some events when page is changed. And i also want some events on particular some pages. so i need that current page number which is viewing by the user in flex paper. ...