flex

Are border lines in the Flash drawing API drawn inside or outside a shape?

When I draw rectangles etc in ActionScript, using the Flash Player's drawing API (i. e. the Graphics class), is the border line of that shape drawn on the outside or the inside of the shape? I. e., which of the following diagrams correctly depicts a rectangle drawn a the border of a content area in a custom component? I looked at the ...

Flex: how to get the real objects width ?

hi, when I check the width of my objects I always get 0. Here is an example: newTag = new LinkButton(); newTag.label = dataManager.tagViewTimelineModel.tags.getItemAt(i).name; newTag.setStyle("color","#FFA500"); newTag.setStyle("rollOverColor","#FFA500"); newTag.setStyle("selectionColor","#CCCCCC"); newTag.toolTip ="Unselect tag"; newT...

Load SWF in Flex

Hello. I have an SWF that reads an XML. When i load it in Flex it reads nothing. Anyone can help me? Thanks. ...

flex builder 3 compiler won't show errors or compile specific pages

In flexbuilder 3 for some mxml files I can purposely put in syntax errors and the compiler will seem to compile the specific page(but actually not compile it) or report any errors for that page. Is there any way that you know of to get the compiler to report the errors to me so I can get it to compile the page. I've tried rebuilding all ...

Flex URLRequest Timeout

I have a Flex program that gets a JSON array from a PHP script. The PHP script doesn't contain just a simple JSON array but it grabs data from Activecollab and do some work on the data before encoding the data. The first test involve a small JSON array that took a short time to encode by PHP. However, when I try to scale up the test,...

Flex - Data binding not working...

Hi! I'm having some troubles with binding data. I have an application that contains a viewstack of components. Let's say I have comp1, comp2 and comp3 inside the viewstack. Each component, has its own data class --> comp1Data.as, comp2Data.as and comp3Data.as. All values in each component are binded to the corresponding data in it's da...

Is there a Flex widget for a common calculator?

I need a calculator for a flex app I am making, and was wondering if there was any official widget prebuilt or already in good quality. I could make one myself but it would be nice to use one that already existed and had a nice api to customize it with. Any ideas? Thanks! ...

Why would bytesTotal increase in a AS3 preloader?

I'm creating a custom preloader for a Flex app and have noticed the following behavior: when loading, the progress bar goes to 100%, then down then back up, and so on until the app is finished loading. When I put a trace in the dowloadprogress listener, I see that while the app is loading, both bytesLoaded and bytesTotal increase, but n...

Flex Builder 3 Unclosable Editor Windows

See: http://i.imgur.com/pQNQh.png Somehow I made this happen and I don't know how to undo it. The image linked above shows my Flex Builder session. The largest section of the window is the editor. Initially, there was a blank window on the screen so I tried closing it, but I couldn't. Then I tried dragging it and realized I could drag i...

Flex3 / Air 2: NativeProcess doesn't accepts standard input data (Error #2044 & #3218)

Hi: I'm trying to open cmd.exe on a new process and pass some code to programatically eject a device; but when trying to do this all I get is: "Error #2044: Unhandled IOErrorEvent:. text=Error #3218: Error while writing data to NativeProcess.standardInput." Here's my code: private var NP:NativeProcess = new NativeProcess(); ...

list controls in flex3

i’m new to RIA, Flex. Currently i’m using Flex 3. I have some difficulty in my work. i have three lists and a button. depending up on the selected items in first two list and after clicking the button i have to disply the items in details list.can any any one help me thanks in advance in first list iam displaying names of employees in s...

FLEX: how to assign different z-index ?

hi, I have a canvas with a mxml component and I'm dynamically adding components to the canvas. These components are overlying the mxml component. How can I keep the mxml component on top ? thanks ...

How to use ESRI arcgisflex components within papervision3D?

I am in the process of designing a 3D Map panorama viewer using papervision3d for the 3D library. I am coding entirely in ActionScript3 using FlexBuilder.I want to put esri:map in papervision3d.have no idea how to do this. Thanks for any help. ...

Flex: how to reduce spacing between components

hi, how can I reduce the space between my linkButtons and inside each linkButton ? I've set padding to 0 but it was already 0. I've been able to only change the height of the LinkButtons, but I cannot do that with the width because the text is dynamic. <mx:Repeater id="bookmarksRepeater" dataProvider="{dataManager.bookmarksList}"> ...

Write to browser cache

Hi, I have a flex application that downloads a set of information each time the user logs into the site. I was wondering if there was a way to cache that information as it hardly changes. If anyone knows a way of doing so any help would be greatly appreciated. Regards, ...

OLAP Web Visualization and Reporting Recommendations

I am preparing an offer for a customer. They proide weekly data to different organizations. There is huge amount data suits OLAP that needed to be visualized with charts and pivot tables on web and custom reports will be built by non-it persons (an easy gui). They will enter a date range, location which data columns to be included and ge...

Change VBox to HBox dynamically

Hi All, I am in need of a strange solution. I have one requirement in which I am displaying two components in a VBox. But on click of the main container I need to maximize that and need to display the components in horizontal. I was just wondering whether I can change the VBox to HBox and viceversa dynamically using actionscript or some...

LineSeries AreaSeries on AreaChart, How do i get the intersection point?

I am plotting an AreaSeries and a LineSeries on a AreaChart using Flex 3 in built chart components. I want to code a custom item renderer for LineSeries to be shown at the intersection points where LineSeries crosses AreaSeries. ...

FLEX: Target of assignment must be a reference value

how can I fix this error ? Target of assignment must be a reference value for (var z:int=0; z<this.tags.getItemAt(i).yearPopularity.length; z++) { summedPopularity.getItemAt(z) = summedPopularity.getItemAt(z) + tags.getItemAt(i).yearPopularity.getItemAt(z); } thanks ...

Mixing multiple audio channels in Flex. Using Ogg with Alchemy.

I'm using Alchemy in Flex to play some ogg vorbis. Works great, but I can only get one stream to play at a time. When I start a second stream it just sounds all glitched and you can only hear the second stream. Anyway to mix (mux) more than one stream together, and then possibly have separate volume controls for each, so the user can m...