My flash game needs to connect to my PHP Socket Server. Because of security things, a policy file has to be send to the flash client when it tries to connect.
The following is what I've done.
In Actionscript / Flex 3 / Flash:
Security.loadPolicyFile("http://[SERVER.IP]:9000/crossdomain.xml");
socket.connect(hostName, port); //connect ...
When you have two of the same records in your data providor (i.e. the same object twice in an array) then the datagrid only allow you to select one of them, see the example below - you can only select the last "Moo".
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute...
I am updating a Flex application which has the same functionality across a variety of categories (i.e. Baseball, Basketball, Football), but only needs access to the resources (~400kb images) of one category when it loads. I need to separate out the resources for each category so it only loads the ones its needs in order to save bandwidt...
hi ,
I am binding Tree control with this xml object
var treeItem:XML =
;
All the tag are binding in the tree like.. items under page ,scene, empty node(since ther...
Hello,
I have an AdvancedDataGrid(ADG) bound to an ArrayCollection. ArrayCollection is populated from my Oracle database. Now, the records I have in the database are in millions and sometimes, based on the worst case criteria by the user, I can get around 10,000 records. Now, as this collection is bound to the ADG, it tries to render a...
I've got a subclass of AdvancedDataGrid showing a tree-like data structure. How can I, given the index returned by calculateDropIndex, get the item at that index?
After reading through reams of code, it seems like the least terrible way is:
var oldSelectedIndex:int = this.selectedIndex;
var mouseOverIndex:int = this.calculateDropIndex...
Hi Guys,
is it possible to convert htmltext in object and move that object in textarea?
Regards,
Shivang
...
We need to create Adobe Air application in quick time with lot of emphasis on cool UI effects. We thought of using UI components, skins by a third party due to time limitations. Can anyone direct me to good places. I've only found ScaleNine which is close to our expected standard.
...
I'm fairly deep with Flash CS4 project. I've got Flex Builder now, and I want to use it. I have .fla file and couple of Classes. .fla file is actually one ActionScript Frame document with Library items with linkages. I want to do .fla file skinning in Flash later, but develop with Flex.
Can you help me with importing. I've never used Fl...
I'm trying to have some sort of communication between the server (PHP&MySQL) and want to avoid using just XML because I think it's the slowest approach. By the way I'm trying to build a chat application in Flex, so I thought that having the messages between be binary like with ZendAMF. Have anyone done something similar with it and woul...
We are creating a LinkButton programmatically and would like to set it's icon to an image retrieved from the remote server rather than something embedded within the SWF. The .icon property expects a Class but I can't figure out how to create one equivalent to an @Embed but from a dynamically generated URLRequest or URL String.
var myIm...
In Flex/ActionScript 3, is there a better way to monitor the date/time to determine if the date has changed to the next day by creating a timer that dispatches every minute?
...
Is there any tool available for Flex applications that acts similar to Web Developer or Firebug toolbar to inspect UI elements?
Basically in a complex hierarchy of UI controls allowing you to browse the elements and see properties such as x and y coordinates, width, height, id.
I'm interested in tools that would allow you to do this a...
I have a VBox who dynamically adds and removes children programatically. The height is set to 100% and verticalScrollPolicy=auto.
When a user wants to add another child to that Vbox, I want it to autoscroll to the bottom of the VBox since that is where the child is added.
I've tried every solution I could find online, but no matter wha...
Hello,
I want to implement an application in Flex/Rails in Background as I know these two languages but I'm fairly beginner with Flex and Intermediate-to-expert with Rails. My application will display a calendar like object by which there are say 5-day week or 7-day week or a month (30-days) and in each day there will be some data such ...
Hi,
I've created a custom textInput componenet that handles it's own validation using a private validator. The validation is enabled depending on the state of the component i.e. validation is enable when the components state is "edit".
However, when the state changes from edit the internal validator is set to not enabled but the vali...
i used iteamreander in datagrid . if i select checkbox in grid automatically select another
checkbox why? plz explain My xml data is more then 50 records.
<mx:DataGrid change="calculate()" id="calamount" x="0" y="3" width="327"
height="337" variableRowHeight="true"
dataProvider="{xml_coupon.lastResult.Teamco...
hi All,
how to change the bar chart color in bar charts?
Thanks,
AravindakumarThangaraju
...
Google shows a couple of hits for this issue, but never a solution that I can find. It's always just a few other people saying "it works for me", and the issue dries up. I've tested both with the "-incremental=true" flag to mxmlc and with the <incremental>true</incremental> tag in my flex config.xml with the same result:
Failed to ma...
Hi,
I have a datagrid in my application with custom itemRenderer & itemEditor. The rendererIsEditor property is false for the column.
I also have a menu bar in my application.
Now if I edit any cell the itemRenderer will be replaced with itemEditor and as the focus moves out the itemEditor switches to itemRenderer. It is the default n...