flex

If RTMPT only works on the root of IIS, then how can I have multiple applications in IIS using RTMPT?

I'm using flex-weborb-asp.net and I'm trying to make RTMPT (RTMP Tunneling through http). RTMP works just fine, but are having problems with firewalls. Now, apparently, RTMPT calls are always done at http://localhost. I can't seem to make it work at for instance http://localhost/edumatic/trunk, which is an application in IIS. If I config...

Adobe Flex: Word Wrap in Button Label

The standard Flex button does not allow the Label Text to word wrap. I read in the internet that there are some undocumented ways to handle this but I did not get them to work. If somebody could post me a small example would be great! ...

Papervision Glitches

Has anyone seen rendering glitches with Papervision? Please seee the flash movie at http://www.mapopolis.com/test/ which demonstrates the problem. Thanks. ...

Resize Sprite Flex/ActionScript

Hello, I am creating Sprite objects as simple shapes, and would like to know how to resize them dynamically. my question: How can I enable the Sprite to be re-sized on mouse drag(perhaps enabling a only a portion of the Sprite for this behavior)? It might be important to note that I am using the Flex SDK, and therefore do not have f...

flex security google app engine

I'm building a flex application and want to know the alternatives regarding security. don't want to use spring using graniteds limited access application server ...

Returning the value of a new CheckBox in Flex Air

I am trying to save settings to an XML File and setting the relevant data if the check box is checked or not. private static function createXMLData():void { prefsXML = <preferences/>; prefsXML.application.@windowsstart = Application.application.SettingsPage.settingWindowsStart.selected; prefsXML.application.@mintosystray = ...

Django + pyamf: Strange exception when calling the gateway from actionscript application

Hi! Could you please help. I am using the django-amf-gateway application (http://bitbucket.org/wolever/django-amf-gateway). I defined the gateway this way: from django_amf_gateway import register_amf_service from goserver.models import Game class ChangeService(object): def state(self): game = Game.objects.get(id = 1) ...

Font rendering in flex sometimes results in characters a couple pixels lower

Sometimes while typing in a textarea in Flex many characters will be rendered at one height then at some point on that same text line the rest of the characters are rendered a couple pixels lower than the rest. Here is an example, look at the last 'I' character, its low: Sometimes changing the font size will fix this but its not consis...

Passing array from flex to php

I have a TextInput and a List in my application. I want to send the information written in TextInput and the names of the selected options from the list to a php file. Following HTTPService sends the TextInput's text and the indices of selected items from list finely to a php file but the selectedItems is not working as i expected. It ...

ActionScript 3: ProgressEvent's bytesLoaded property to Document Class

Hi, in AS3, I have an external class ImageLoader, that loads an image upon request. In that class, I have an event handlers: ImageLoader Class public function loadImg(path:String):void { ldr = new Loader(); ldr.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, getProgress); var req:URLRequest = new URLRequest(path); ldr.lo...

Adobe Flex Transparency not working on Button icon

I am fairly inexperienced with Flex, but my googling has retrieved nothing to suggest this is an obvious question. I have an mx:Button with an Icon on it that is a png file with a transparent background, as below, however the transparency is not working, and the icon is painted with a white background. <mx:Button label="Button" icon="@...

Large serifs in a font cause flash to measure size incorrectly

I have a textarea where I measure the textWidth and textHeight to make sure the user cannot enter more text than can fit in the text area. I also extended the textArea with a textHeightNow and textWidthNow that measure the textField's dimensions since they update w/out requiring validation. Now this works great for 90% of the embedded ...

Flex 3 tracking users (their presence) in the flash app

i have a simple chat application in flex 3 and i want to make the list of users present on the right, how track this, how do you know when a user left if he just closed the browser window or typed in an other url ? ...

Flex 3 make text from 2 labels in a Hbox look like one word

I'm adding dynamically labels to hbox, and i need to remove all spaces between the text of 2 nearby labels i did horizontalGap = 0 for Hbox padding left and right = 0 for labels anything else i could do ? or maybe some other component ? here is the code <mx:HBox horizontalGap="0"> <mx:Label text="wo" paddingLeft="0" paddingRi...

Bitmap Morph Tween in Actionscript?

How do you do a bitmap morph tween in Actionscript? I would like to morph a Panel into a Button, using BitmapData or something but I have no idea where to begin. ...

How to export a datagrid to Excel file in Flex?

How do I export data in my datagrid to an Excel file in Flex? Can anyone provide some examples for that? I am browsing but couldn't find out a single example of that kind. EDIT Browsed a lot and found out how to convert datagrid data to csv format. Now How to convert that to excel? Is there a way to do that without using any server sc...

SelecedIndex of tabnavigator is appended to url

In my flex application when I added a tabnavigator control and ran the application, I found that a "#" was appended to the url in the browser and whenever I select one of the tabs the url changes to this "myurl#app=7049&c152-selectedIndex=1" reflecting the index of the selected tab, is this a normal behavior of the tabnavigator, is there...

Problem with setting the xml dataprovider for combo box

I am trying to get the drop down list of combobox by using a php file. That php file returns an xml string which has been used as data provider for combobox. I followed this thread too but in vain. Details I have set the creationComplete attribute of mx:Application to init(). In the init() function i have sent the following HTTPService...

videoDisplay metadatareceiced ready totaltime

I'm building a video player that run's FLVs and cannot overcome the fact that flex foes not fire the metadataReceived event sometimes. Sometimes it does and sometimes it does not. therefore the total time of the FLV remains -1. I understand its a known bug , I'm researching about it for a long time now , but could not find a good worka...

Flash Security Error Accessing URL with crossdomain.xml

Hello, I recently deployed a Flash application to a server, and am now experiencing errors when making HTTPService requests. I have put what I believe to be the most permissive crossdomain.xml possible in the wwwroot folder, and still get the errors. Interestingly enough, the error only seems to occur when the request is made from a d...