flex

Custom bullet points using Flex

Hi All, Any idea how can i draw this using Flex ?? Instead of using image for 1, 2 and 3? Regards, PK ...

Flex 4, chart, Error 1009

Hello, I am new to flex development and I am stuck with this error TypeError: Error #1009: Cannot access a property or method of a null object reference. at mx.charts.series::LineSeries/findDataPoints()[E:\dev\4.0.0\frameworks\projects\datavisualization\src\mx\charts\series\LineSeries.as:1460] at mx.charts.chartClasses::ChartBase/fin...

open source flash or ajax sketchpad?

For a non-profit (charity) site I need a simple sketchpad (drawing) component. It should be able to: Let the user draw a simple black on white sketch. Save to server the full drawing steps. Save to server the final image. Re-play the drawing steps to future users. http://www.sketchswap.com/ has a similar component. Do you know wher...

Flex 3 Tree iconFunction not working properly

Hi all, I don't know the exact problem. I am using flex mx:tree component in flex 4 and I'm customizing the icons using iconFunction. here is my code private function iconFunctionHandler(item:Object):Class { var st:SWFLoader = GlobalVariable.getInstance().imageInstance; var iconClass:Class = Object(st.content).getInstance(item.@...

Flex - How to browse and get the full path of a file on local machine's file system?

I am working with Flex, Flash, Action Script and I want to browse the local machine file system using Operating System's file browse window and select a file then i want to get the full path of the selected file. How can I do this? Please give me some code. Thanks in advance! ...

Automatically call httpservice.send

I have an application that displays the data from 3 xml files (auto generated from SQL table) using httpservices to get them. The first xml file is small and contains around 30 items, the second and thrid contain around 200-300 items each. The first dataset loads quickly and is invoked on creationComplete. The second and third are called...

Remove gridheader rollover in flex

Is there a way to remove the grid header rollover in flex while still maintaining a sortable header? ...

Embeded FLEX Control Hosted in JBOSS, How do i use Http Basic Authentication with "embed" or "object" tags?

So we have three FLEX controls hosted within a JBOSS server instance, and an IIS (MVC) application which has pages that have the object (and embed) tags to render the controls. We are wanting to setup HTTP basic authentication on the jboss server which is hosting other services (Solr, some custom webservices, and tika) and have figured ...

Developing a Chatroom in Flex ActionScript3 + Red5 , Remote Shared Object based UserList or Serverside?

We are going to develop a simple chatroom in flex using Red5. Should we store UserList in a Remote Shared Object or Server Side List? Are there any example exit on Red5 or FMS , which uses Server Side programming and Remote Shared Objects? Red5 examples are not documented at all. ...

Spark DropDownList Custom ItemRenderer Issue

I have a Spark DropDownList that has a custom ItemRenderer. The ItemRenderer, upon creation, checks the label text and if it matches certain criteria, then the label text color changes. The label text color is changing, however it is for the wrong label. What appears to be happening is that the label color that is actually being changed ...

SparkDataContainer Scroller not scrolling to bottom of container

I am using a scroller component within a custom skin for a SkinnableDataContainer. I am running into an issue in that the thumbbar of the scroller stops at about the 50% point, however this is actually the end of the scrollable area. In actuality, the thumbbar should be at the bottom of the scroll track. Here's the code for the scroller:...

Flush Flex VideoDisplay request queue

When a command like play(), pause(), or seek() is called while the videoDisplay is unresponsive it gets put on a queue, how do I flush this queue so the most recent command is the only command processed? ...

How to dispatch event from application to module in flex

Is there a way how modules can listen to parent application event? My current solution that works is: private function directoryRemoteObject_saveCompany_resultHandler(e:ResultEvent):void { this.directoryModuleLoader.child.dispatchEvent(new CompanyEvent(CompanyEvent.COMPANY_SAVED, e.result as int)); } this means that I need to dispa...

forcing a child component to resize itself larger than its container

I am creating a component that displays a variable amount of "gauges" (square tiles of content if you will), that is laid out like so: <HDividedBox id="container"> <VBox id="myComponent"> <HBox id="header"> ...header content... </HBox> <Tile id="body"> ...gauges are added to the body... </Tile> ...

Flex ComboBox items go out of alignment

I have a combobox that uses a custom itemrenderer to display an image. when scrolling up and down the list the images randomly go out of alignment. How do I stop this? public class PinRenderer extends UIComponent implements IDataRenderer, IListItemRenderer { private var currentPin:DisplayObject; private var _data:Object; ...

Having trouble with binding

I'm not sure if I'm misunderstanding the binding in Flex. I'm using Cairngorm framework. I have the following component with code like: [Bindable] var _model:LalModelLocator = LalModelLocator.getInstance(); .... <s:DataGroup dataProvider="{_model.friendsSearchResults}" includeIn="find" ...

How can should I set up Flex 3 projects that reference common controls?

I'm not a flash developer, I'm having issues figuring out how I should set up these two projects that I have in Flex Builder. I've already created projA which has a .mxml that references several custom controls & skins from com.xxx.controls within projA I now have to build projB which also has a .mxml that will create a different .swf....

Actionscript base class in Flex AIR app

I'm trying to build a Flex AIR app using Flex Builder 3, which I'm just getting started with. In Flash CS4, there's a text field in the authoring environment where you can specify a class that will become the "base" class - your class inherits from Sprite and then "becomes" the Stage at runtime. Is there a a way to do the same thing wit...

Printing images in Flex

In s Flex 3 app, I have canvas with a PNG image for a background. The image is the same width & height as the canvas. I also have some other controls in the canvas: <mx:Canvas id="form" backgroundImage="@Embed(source='images/formBkg.png')" width="640" height="480" > <mx:label .../> <mx:label .../> I print the canvas using th...

Data binding with a value inside a component in Flex

I'm using Flex with Cairngorm framework. I have a custom component which I create like this: <components:FriendSearchPaginator id="searchResultsPaginator" paginationElement="{_model.findFriendsPaginationElement}" visible="{_model.friendsSearchResultsPaginat...