flex3

Flex having a VBox with Vertical Buttons.

Hi I am trying to get a left hand like panel bar in my application, one much like the OneNote left hand(notebook) panel. I have been trying to use a VBox with Buttons and setting the rotation on the buttons to 90. The buttons seem to disappear when I do this. An example of what I am trying to achieve is here: http://www.rid00z.net/p...

options for playing youtube video in adobe air application

hi, i'm trying to get youtube content into an flex 3 air application and have tried a number of options using tubeloc, wrapper as3 classes which all seem to not work. most recently, i've been trying the method in this link http://www.blackcj.com/blog/tag/youtube/ but still having difficulties with the code not able to find ytplayer in th...

pie charts

Hi All, Any possible to create below type(please go through the link) of pie charts and values create dynamically? ![alt text][1] http://img406.imageshack.us/img406/7139/piechart.png ...

Is there a way to choose an MXML component at UI construction time based on the value of a field?

I have a flex MXML UI that is building a set of radio buttons using the Repeater component: <mx:Repeater id="radios" dataProvider="{_lists.(@id == _question.single.@response_list).group.listItem}"> <mx:RadioButton groupName="responses" label="{radios.currentItem.@text}" data="{rad...

Error reporting from Flex app

I have a Flex 3 app which I want to instrument to report errors generated by the app to a server via simple HTTPService call. My idea is to wrap all the methods in try ... catch blocks which then pass the Error object to the reportError() function (which then fires off the HTTP request and pops up a dialog) but is there a better way? ...

how can i make customize image crop

Hi,I am new in flex. i'm working with image processing system.Here i try to explain my problem. One Image is display in a image container.I want to crop that image.So when i click the crop button a rectangle box will show in the middle of image.This rectangle will be customized by the user with mouse.When user select his image area for c...

Move Button into grid space of a TabNavigator's tabs in Flex Builder.

I have a layout question for Tab Navigators in Adobe Flex 3. Is it possible to insert a button that invades the grid space of the tabs? I have a tab navigator component and I am dynamically adding sub components to tab navigator and I want squeeze a button inside the tab space. I don't want the button to be another tab. And I don't w...

Scrolling dates in Adobe Flex

sir, actually i am doing project on OnlineNoticeBoard. My doubt is how to scroll dates from left to right ...

Howto dynamically render space background in actionscript3?

I'm creating a space game in actionscript/flex 3 (flash). The world is infinitely big, because there are no maps. For this to work I need to dynamically (programatically) render the background, which has to look like open space. To make the world feel real and to make certain places look different than others, I must be able to add filt...

Flex : Pass parameters across multiple applications

Hi, Is there any way we can pass parameters from one flex application to the other flex application ? I know we can pass parameters from module to application and vice versa. Thanks Sumukh ...

How can I extend a Flex component that is not a container (RadioButton, for example)?

I want to extend the RadioButton component in Flex 3, adding a text input line to it in place of the label. Is it possible to do this? Alternately, is it possible to have a container -- such as an HBox -- delegate all properties to an internal component -- such as a RadioButton -- so that I could create a composite component that 'acts...

Changing order of font managers when compiling via ANT task, not possible?

I've recently had the need to use the managers compiler argument, because the project had an Open Type font embedded, and was generating errors at compilation. Now I need to use the same argument in my ant task, but for some reason it doesn't work. I'm using Flex SDK 3.2. The task looks something like: <mxmlc file="${main....

Fit TitleWindow to contents

If I don't specify width and height values for a TitleWindow, it will be resized to fit it's contents when I show it using PopUpManager. But there are moments when some components inside will be resized, like a ComboBox which dataProvider is loaded asynchronously, or another component which was not visible and I'd like to set it's inclu...

viewstacks vs states in flex ?

I have an app that I am currently using a viewstack to display each page and I am wondering is this the right way to go, or should I use different states (or something else). The site is powered by a menu bar with the top level items of Home, Tools, Support. Underneath the Tools menu is a submenu with Tool1, Tool2, Tool3. Currently when...

Binding combobox with object array ???

Hi, how to bind array object to combo box in Air application.. i have array of objects from that i need to bind name property to the label field of combobox how to do that ? var objk:Array=objkparent.children; // it return object collection comboBox.dataProvider=objk; comboBox.labelField=objk.name; but its not working how to bind...

How can I load my own custom component into an AIR application?

I created separate own canvas component for Home page, Contact page, Rules page etc. In my main application it has link button like Home,Contact,Rules in application controller(child state) . <?xml version="1.0" encoding="utf-8"?><mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="903" height="508" backgroundImage="@Embed(sour...

how to navigate to an state of an mxmlcomponent-A on clicking a button of mxmlcomponent-B?

Hi I have requirement as below I want to navigate to a state of an mxmlcomponent (lets assume A) when I click on the mxmlComponentB's button. how can this be possible? ...

ActionScript: Package-level introspection? Or some other pluggable loading scheme?

I'm coding up some delicious business logic and I've come to a situation like this: There are a bunch of rules (ruleA, ruleB, etc...) which all follow a standard pattern. I've created a Rule interface, and implemented it in RuleA, RuleB, and so on. So now I just need a way to load them. Right now I'm using a map: var rules:Object = {...

"Open" PopUpMenuButton on MouseOver?

I have PopUpMenuButton. I want to make it so that a mouseover (over either the button or the "V" part) pops open the menu. I don't care about the button click I tried to do a My_PopUpMenuButton.dispatchEvent(new MenuEvent(MenuEvent.ITEM_CLICK)) when another button was clicked, but that didn't work. Any ideas? Thanks! ...

actionscript httpservice authentication popup

Hi, when using the Flex mx.rpc.http.HTTPService object to send a request that requires authentication I'm setting the headers to do authentication (which works fine..) but, in the case where the wrong authentication details are sent, an operating system level popup is being seen. Apparently on the URLRequest object there is a property...