flex

Does flash.security.allowDomain("*") allow for redirects?

Does flash.security.allowDomain("*") allow for redirects? The reason why I ask is that I'm trying to load a swf which is redirected from a url, but am getting an IOError when loading. The AS2 docs shed light into adding the url for the final domain, but I was wondering if there were any changes for AS3 or any security updates. Thanks!...

BlazeDS and Java class in WAR file

Hi I have a java class which has been deployed as WAR web application in a BlazeDS/Spring server sitting on JBOSS. Apart from the Flex application which will access the WAR file, I also need to start some server side process's which will initiate BlazeDS "pushes" to the Flex client via AMF messaging. What is the best way to implement t...

Flex: image switching place in tilelist

I'm running into an odd issue with itemRenderers inside a TileList. Here is a working example without an itemRenderer: 152.org/flex/ Here is the broken version with an itemRenderer: 152.org/brokenExample/ (I don't have the rep to make both of these a link) Both examples have "View Source" enabled. To see the problem use the broken ex...

How to remove the icon indent in Flex control Menu?

I use PopUpButton object and inside a Menu object. For some reason it has default text indent (even when an icon is not defined). How can I remove this indent? ...

How to check if an XMLList is empty in Flex

If I have an XMLList object in Flex, what is the proper way to check to see if the list is empty? Should I just compare the result of myList.length() > 0, myList.toString() != "" or try another method altogether? ...

how would the 3-tier architecture be applied in a Rich Internet Application (Flash/Flex)?

how would the 3-tier architecture be applied in a Rich Internet Application? I thougt that flex was presentation, .net web services where busines and informix was data. But then when I started I feel that I must be wrong. thanks. ...

Flex - How can we measure the height of a control with nested renders?

Hi all, I'm using a List control. In the renderer of the List control I've got a Repeater. Each Repeater can have a different number of items. Adding to the complexity, one of the components being repeated in the repeater is a Text control that has long text that will wrap, increasing it's height. I need to expand the height of ...

ActionScript 3 TextArea htmlText styling using <span> tag

According to this webpage, the htmlText property in TextArea can handle CSS text style if using span tag. I want to format multiple tags in my code. Something like: var tags:TextArea = new TextArea(); tags.htmlText = "<span style='color: rgb(165, 150, -90); font-size: 0.955882610016677em'>street</span>, <span style='color: rgb(168...

Lightbox with Flex

I want a fusion chart in my flex app to display with a Lightbox effect like the effect you get when you click on any of the charts here or checkout the demos here These effect have been attained with the help of javascript. How do i get the same effect via Flex? Any idea? Thanks a lot ...

Flex Vslider skinning problem

Hello. I am using a VSlider in my flex application for the purpose of volume control in video-display. I set an image as trackskin of vslider. This vslider is contained in a VBox with some background image. The problem is the trackskin image is widened to some wierd width even though the original trackskin image is slim. It actually take...

flash media server requires large bandwidth ?

i'm wondering how does the media servers work, do they require large bandwidth if you are doing, let's say, live streaming something like ustream, and there are 10k people watching, do you need a large bandwidth or it is something like p2p ? ...

how to convert HierarchicalCollectionView to Array using flex3 ?

i used advance datagrid of dataProvider as HierarchicalData . it's an my array collection strature private var groupList:ArrayCollection = new ArrayCollection([                {Country:'India', children:[                                {Matches:'India Test series 1',isEnable:false},                                {Matches:'India Test se...

JavaFX or Adobe Flex? Which shines in which case?

I am new to both the technologies.Which scenarios is better for using Adobe Flex , and which is the best place to use Java Fx? ...

Working with images when uploading in Adobe Flex

Hi there! I'm beginner with Flex and I already have a hard task to develop, so I could use some help! :) What I have to do is upload some images to a server, which is OK, but before uploading I must downsize this images by reducing their quality and width/height. I've found many information about the class JPGEncoder, but I couldn't ma...

Flex-4 Beta2 : Background image stopped working

AFter upgrading a project from Flex4 Beta1 to Beta2, I've found that the background-image style is no longer supported on Halo components. Eg: <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml" backgroundImage="@Embed(source='myImage.png')" /> Note that jira issue SDK-23050 points out the following : backgroundImage is not...

flex: how to send/receive data from/to media server

i want to make a simple chat with flex as3 and red5 media server my idea is that i send from the swf a message to the server and the server sends it to all the swfs (including the one that sent the message) i just don't know how to to send and receive and how to receive from the server anyone could help ? ...

How to get two xml files in a single array collection in flex?

I have two xml files, defect. xml and employee.xml. But the files havea common field but with different names in each file. I want both the files to be merged in to a single array collection. The structure of my defect.xml file is: <defectList> <defect> <revId>123</revId> <revType>IQA</revType> <s...

How to start Application from a simple AS file?

I want to use vkontakte's new wrapper feature, that enhances your application abilities by running under SWF wrapper. This is a sample application that uses this mechanism. It uses pure action script to display it's contents rather than an mx:Application. Using the wrapper on my mx:Application failed due to the following error: TypeE...

Cairngorm quickstart

Searching the site didn't help, so if anybody has good tips for getting up to speed with Cairngorm?! I have to make an ultra quickstart on this framework, since I have to dive into an existing project ASAP. Any help is much appreciated! ...

Flex httpservice faults

Hi, I've been given a Flex application which made use of a RESTFUL service. I've managed to create a SQLite DB which stored data from the service and now I would like the application to be able to run offline and make use of the data existing in it's local DB. This works fine the only problem is that the httpService object throws a fau...