flex

FMS server technology: 10 connections vs. $4.5K

I came across this comparison chart that suggests that FMS costs about 4.5 grands (compared to $995 for wowza and free for Red5). Since I'm at the stage of choosing/learning the technology, I'd rather take free Red5, but Red5 looks like a poorly-organized, poorly-documented, and poorly-featured project compared to FMS or wowza, so I'm go...

Uploading image using flex and django

Hi, Anyone knows how to combine flex and django on upload images? I used fileRefenrece in Flex but I don't know how to relat it with a View in Django. Thanks! [EDIT] I'm using flex and django to make a site where people have an login e some data, like an mini an intern orkut. In the server-side i build my views, models etc, in the clie...

replace button label

In actionscript, when I click a button I would like the label to replace from "add to list" to "added" without override with super method. Is this even possible to change label in repeater? ...

stack overflow on XMLListCollection collectionEvent

I'm working on a Flex 3 project, and I'm using a pair of XMLListCollection(s) to manage a combobox and a data grid. The combobox piece is working perfectly. The XMLListCollection for this is static. The user picks an item, and, on "change", it fires off an addItem() to the second collection. The second collection's datagrid then di...

Adobe query string encoding

I am passing a parameter to and Adobe flex application and am passing a large encrypted token from html to the swf as a query string like parameter (as is thin given method) This is being encoded somehow, for example + is gettting replaced with an empty space, but it is not your basic escape, unescape url encoding. I could try to encod...

Get column values in flex datagrid

I want to get all values in one of the columns of a datagrid and put them in an array, to use it as a dataprovider of a combobox, is this possible? I use an ArrayCollection as the dataprovider of the datagrid, it's filled from the database. Thanks ...

Play flash one video on top of another?

I'm looking at a project that requires the ability to play one flash video over the top of another... sort of like an animated watermark, where the video on top has transparent regions ans may not be the same width/height as the one underneath. Using Flash/Flex, can this be done in a web-app at real time? Or would you have to use an off...

Centering Content in Flex 4

Hi, I'm building a custom component that extends SkinnableContainer. I can center the content either vertically or horizontally inside it, but not both-- and that is what I need. I'm setting the layout to HorizontalLayout for the component and setting verticalAlign to middle. Then I'm creating a canvas to surround another component th...

Adobe Flex 3 List Control Selection and Change Event Problem

Hi I created a list control at runtime as following: var myList:List = new List(); ListArea.addChild(myList); myList.percentHeight = myList.percentWidth = 100; myList.itemRenderer = new ClassFactory (components.renderers.myRenderer); myList.dataProvider = myDataArray; myList.addEventListener(EVENT.CHANGE, historyBarClickHandler)...

Multi-bitrate/dynamic rate for progressive FLV playback

Is there a way to get multi-bitrate playback working with progessive playback without having to download all versions of the file? People all coming up with all kinds of cool ways to make progressive feel like streaming. I wouldn't be surprised if there is also a hack for this. Any module names or reading resources that people in the kno...

flex httpservice POST headers/XML payload formation

I am trying to use the Quickbase API (see reference below) with a POST. I am having trouble forming it; specifically, I am clueless as to how to format the header (headers=""). I think the XML Payload is correct, but who knows. Thanks for your help! Quickbase API reference: Example XML Request POST /db/6c5xatxy HTTP/1.0 Content-Ty...

Security sandbox violation on Nginx

Dear all, How can Nginx serve crossdomain.xml file to a flash/flex program. Basically I need to make nginx to respond to: perl -e 'printf "<policy-file-request/>%c",0' | nc 127.0.0.1 80 with <cross-domain-policy> <allow-access-from domain="*" secure="false" to-ports="*"/> <site-control permitted-cross-domain-policies="mast...

How do I set background color of Line Series chart in Flex

I have a Line Series Chart in Flex with values from 0 to 90. I would like to set the background of the chart in such a way that, 0 - 30 is in green, 31 - 60 is in red and 61 - 90 is in blue. I am new to Flex. Can someone tell me how this can be done? ...

Flex scrollbar styling issue

Hey buddy, I'm trying to style vscrollbar and hscrollbar inside a Vbox.But there's always a white square thing at the right bottom cornor which can not be styled. My CSS is: ScrollBar{ downArrowUpSkin: Embed(source="assets/images/scrollbar/arrow_down.png"); downArrowOverSkin: Embed(source="assets/images/scrollbar/arrow_down.png"); ...

rotating centered content

Ok, so I've been trying to get this concept to work for the day now and have had zero luck. I am not so good with math, so any help will be appreciated. I am trying to rotate a centered container from it's center. The problem with this code is when I use the rotatePicture method, it doesn't rotate from the center, instead it rotates from...

How to bind Flex Effects to the effects target properties?

Hi, I'm trying to reuse effects. To achieve this, i was hoping that i could bind some of the effect's properties to the effect's target. Here's what i wanted to do: <mx:transitions> <mx:Transition toState="Ready"> <mx:Parallel targets="{[b1, b2, b3]}" perElementOffset="200" duration="500"> <mx:Move xFrom="{target.x-1...

To ColdFusion (from PHP) for Flex/Flash backend?

I'm starting to learn about Flex/Flash and come from a PHP background. It seems that ColdFusion has been the language of choice for Flash/Flex backend. But (the big but for me) I don't plan to build websites that will heavily depend on Flash (for SEO etc.), just websites that will incorporate Flash in small parts of them. I'm thinking fo...

How to get dragged items into grid ?

<mx:DataGrid id="dg1" dataProvider="{cNumbersList}" cornerRadius="3" allowMultipleSelection="true" change="selectedItem=(event.target as DataGrid).selectedItem.contactName; selectedSno=(event.target as DataGrid).selectedItem.contactNo;" dropEnabled="true" dragMoveEnabled="true" dragEnabled="true" fontWeight...

Databinding in AS3 to a slider

Hi, I am creating a datagrid in AS3, and want to pass the value of a slider to an item renderer var column : MyDataGridColumn = new MyDataGridColumn(); column.sliderValue = mySlider.value; ... This works fine initially, but when I move the slider, I would like the datagrid to assign the new value to the column. This worked fine when...

Button not automatically disable

I am extend the button component to be use in repeater loop that will disabled if an mtutorColList arraycollection contain an exist value. When I click the button, it will disabled and add a value '10011' to mtutorColList, I try to do pagination test to page 2, all button are enabled since there no button contain '10011' but when I go b...