flex

How can i access cookie by flex?

I made a blog widget in flex. I need manipulate cookie in my widget which is added to my user's blog. But under some circumstance, some blog hosts forbid accessing to javascript, so i can not access cookie in flex by externalInterface. Does anyone know how to access cookie in this context? thanks. ...

Wowza + Flex not reproducing whole audio

Hi there, I'm writing a flex app, which must record an audio and then playback. It records just fine, I can hear the flv on the server, but when it comes to the playback it cuts the end a little bit, and each time I ask to reproduce again it cuts a little bit more. What can it be? I guess it's something related to buffer management, but...

in flex, how to wrap text around image?

In flex, I have HBox in which I have loaded an image. I want to wrap text around it. Hence, there would be an image on right and text will be on left. After the image is cleared, text will be displayed 100% of the width. How can I achieve it? ...

How to Send Info From a Flex 3 Component?

Hi, I need some help with sending info from a component. I'm not sure how to proceed. I'm using Alex Uhlmann's flip card class (Distortion Effects). I've got a card that has 3 faces. When the user clicks the button, it fires a change event, and in the main application, the change event calls a function, flipTo, that flips the card. Th...

resize container

Hi everybody! I have a DragPanel, and.... inside I have 1. Vbox 1.1. Hbox 1.1.1 Spacer 1.1.2 Image 1.1.3 Image 1.2. Label I need to obtain this graphic: ---------- |            | |            | |  ºººººº  | |º         º| |º         º| |º         º| |  ºººººº  | |            | ---------- But I get this: ---------- |   ...

Creating FXG for flex

I need to create flash content dynamically- towards that need to build images. I need help on two points a) are vector graphics always better than raster graphics on size/ do vector graphics take longer to render b) do we have open-source tools to create fxg files to import into flex builder rg ...

AS3 The ways to dispatchEvent...

I was wondering the difference between these two dispatchEvent method... //1. eventObj:YouTubeSearchEvent = new YouTubeSearchEvent(YouTubeSearchEvent.CHANGE_VIDEO_READY); eventObj.videoId = theOneVideoId; dispatchEvent(event); //2 dispatchEvent(new YouTubeSearchEvent(YouTubeSearchEvent.CH...

Strategy to keep string constants in sync between java/flex?

Say you have a web application that has a lot of business rules built around if-then comparison of String constants. These are used on both client-side and backend code, and at the moment are hard-coded badly throughout both places with lots of duplication and sometimes errors. What's a sensible way to refactor them out? Unfortunately...

In flex, how to get global coordinate position of a component?

In flex, how to get global coordinate position of a component? ...

How do you get the total height of a container's childern in Flex?

If I have a container, and I set clipContent to true, how do I get the total height of the children inside it? Is there a method for doing this without itinerating through every child and summing the heights?(this would be really difficult for me as I have a mx:Tile with a variable width, so I don't know how many rows does it have) Any ...

In flex, how to get cooridnates when using VBox for stacking up components?

In flex, I am using VBox & HBox to stack components. When I try to get x,y coordinate of a component, I always get 0. If I specify cooridnate like mx:VBox x="120", then I get the value. How can I get the coordinate without explicitly stating it. ...

Problem linking datagrid to text Input

What I am trying to do is have a user input his data into multiple textboxes, then once the data is entered it is displayed on the datagrid at runtime. The problem is when I run the app I click my button but no information entered is added to datagrid. My textboxes are also supposed to clear once the button is pressed but again nothing h...

[Flex 4] Float left or right in layouts or containers?

[Flex 4] Float left or right in layouts or containers? i have a main container, that is dynamic, 100% width, and in it there are 3 components. one should be floating to left, to right and the other will be centered. how do i do that? ...

AS3: AddChild issue -- "TypeError: Error #2007: Parameter child must be non-null."

Hi guys...    My following code gave me TypeError: Error #2007: Parameter child must be non-null runtime error. not sure why...I would appreciate any help... mySb = new ScrollBar(); mySb.x = cont.x; //+ cont.width; mySb.y = cont.y; mySb.height = contMask.height; mySb.enabled = true; add...

How to suppress only [SWF] traces when debugging Flash applications

I'm working on an Adobe Flex application that loads lots of Flex Modules and other Flash sub-applications and Flash resources. Each time one successfully loads the flashlog.txt and Flex Console show a trace like "[SWF] filename.swf - [filesize] bytes after decompression". Specifically: [SWF] Main.swf - 1,361,299 bytes after decompressi...

TextInput Component event is not working....

Hi guys... I am working on a AS3 only project in Flex....I tried to listen ENTER event when use clicks enter/return in my textinput box....but it seems not working well...I did try using TextEvent.TEXT_INPUT and it worked fine but not Component.ENTER...any help??? Thanks a lot!! import fl.events.ComponentEvent; searchInput=new Te...

Eclipse is telling me a cycle was detected in the building path, but that's not true!

Hi, Eclipse is telling me: a cycle was detected in the build path of -project name- , although the structure of the project (created by others in the team) does not have cycles. The same project is deployed on other machines (the same!) and it doesn't give the error. I need to work from my machine so I need to solve this. It is giv...

how to change radiobutton size and label size in actionscript.?

Hi guys... I am trying to change my radiobutton size and label size in pure as3... searchRB = new RadioButton(); searchRB.name = "search"; searchRB.group = rbg; searchRB.label="Search"; searchRB.labelPlacement=ButtonLabelPlacement.BOTTOM; searchRB.selected = true; searchRB.move(0, (searchInput.y + searchInput....

AS3 How to create scrollBar for Movieclip in actionscript 3

Hi guys.. I am trying to scroll a movieclip with a scroll bar....I have tried ULscrollBar but it ends up only works for text... Are there anyway to scroll MC by using only AS3 in flex environment...? Thanks. ...

Flex: question about the sortCompareFunction of the DataGridColumn

Is there anyway I could use the same sortCompareFunction for multiple columns instead of adding a function for each column, as I have a datagrid with 50 columns in which the dataField of 40 columns is not string or number, it's an array so the default sorting of the column won't work. And according to adobe help the two parameters of the...