flex

Change image source at run time

I want to change the image at click event.I change the source of the image on click but its not reflecting immediately it comes when any other event is fired.Why is it so and anyone have the solution?? ...

Flex3 - Using an image as a HSlider

Hi! I'm using a hslider to select a range of values. However, I only have 5 values. The problem I'm having is that the dragging of a thumb does not look too good and the values of the thumbs are displayed in labels, beside the slider... I was then thinking about how to improve the look of the dragging and the slider. I came up with th...

Flex: Wrapper for ResourceManager.getInstance().getString is not notified of localeChain updates

I have written a utility library that contains some of my most used functions. There I have a wrapper for ResourceManager.getString to simplify using the resource manager in non-UI classes: package { import mx.resources.ResourceManager; /** * Convenience function to return a localized string * */ [Bindable("change...

Flex/AS3 incompletely decoding WSDL XML on one particular operation. How on earth do I remedy this?

I am currently consuming a WSDL in Flex, that is on the back-end served by .NET. ALL of the operations seem to work fine, except one, whose result object is not being properly parsed by AS3 for some odd reason. I have inspected the response XML in Fiddler/Charles and the data is there, but in NOT in the result in the Flex variable inspec...

gotoAndStop(); flashdevelop or flex

I have a custom class that embeds a movie clip. When I try to use parent class's such as gotoAndStop(). It ignores the method. I would like to know what I am doing wrong. below is my code. I call the method in my constructor Thanks! game object class package com.objects { import com.eapi.IGameObject; import flash.display.Movi...

Selecting and Setting Style to DataGridColumn after passing the DataProvider

I have a Datagrid thats being populated by different Arrays... (headers/columns change for the same DataGrid)... I would like to Select a Column of the Datagrid after it was generated by the Dataprovider and Bold it, and place it as the 'last column" This is what I have.... and throwing an error: private function populateGrid(evt:Obje...

Flex: removedEffect causes error when changing parent

ok I have a subclass of TitleWindow with this method: public function launchInNewWindow(e:Event):void { this.parent.removeChild(this); ownWindow = new Window(); ownWindow.systemChrome = 'none'; ownWindow.type = NativeWindowType.LIGHTWEIGHT; ownWindow.transparent = true; ownWindow.setStyle('showFlexChrome', false)...

flash slider or what?

Hi, Probably for someones this question is trivial but i can't remember which is the correct name for this flash slider with products from here The original name is not slider but something else... The second question: do you know any flex or javascript "slider" like this which is free? Thanks in advance. ...

Status of Flex and Grails

Looking to integrate a Flex component with Grails server I found http://www.grails.org/Flex+Plugin and was disappointed to realize that: As written in its description "It's not sure if the plugin works in production mode" Plus Tomas Lin Lesson 2 in his blog post http://fbflex.wordpress.com/2008/07/26/nine-lessons-from-building-a-grails...

Flex - ComboBox has lines around it

I'm stumbling my way through designing my first Flex app, using Flex Builder 4 Beta 2. I'm trying to use a ComboBox, but they always seem to have lines around it and I can't figure out how to get rid of them. The ComboBox looks like this: http://www.freeimagehosting.net/uploads/a1cde1d098.png All I did was drag the ComboBox from the C...

Use same MXML for an Add & Modify Form?

I have a form that is written in MXML that allows a user to create/add a User. I need to add a form that allows a user to modify SOME but NOT ALL of the fields for this user. The forms are so similar, I don't want to have to create two separate forms, one for Add and one for Modify. For example, in the Add form, the user specifies a...

Accessing children elements in a SWC

Does anyone know if its possible to access children elements in a SWC? I have created some MC's and inside of some of these MC's I have some dynamic textFields. I export the content to a SWC and load it into my Flex project. No problem loading it or accessing the parent elements, they display fine. But I want to access the textfields...

accessing child movieClips FlashDevelop

I have a movieClip within another MovieClip. I gave the child movieClip the instance name "hSprite" and I added it to the parent movieClip stage. Now I get an error like the following. [Fault] exception, information=ReferenceError: Error #1056: Cannot create property hSprite on com.objects.Hero. If I remove the instance name from the ...

plugin to play video content from my blog/website.

I wish to play a video content (in a container) from my website/ blog, when the page is loaded . Similar to that of youtube, dailymotion etc. I wish to give the actual Url to that container, which then plays the video in that location. The basic idea is to hide the actual URL from the user and make the person to view the video from th...

Playing with Graphics in Flex

Hi All, I was just going through one code used to draw one chart. This code is written in the updateDisplayList of the itemrenderer of column chart. I am not good at the graphics part of flex. Can anybody please explain me what this code is doing. I can see the final output, but am not sure how is this achieved. var rc:Rectangle = new ...

Definition could not be found error compiling ClassReference in CSS file to Swf file

Hi All I am compiling my css files to swf files and loading them at run time. I have no problem compiling these and using ClassReference statements most of the time: .miniCashLadderGridStyle { color : #2a2a2a; backgroundAlpha : 0; borderSkin : ClassReference("mx.skins.ProgrammaticSkin"); headerSortSeparatorSkin : ClassR...

Problem with position objects on different resolutions

Situation A Flex project exported as a Projector, showing fullscreen. The project has a background and several dots which each represent a "Location". These locations are fetched from an XML file and have their position set in percentages. The location in pixels is calculated (this works as it should) by the width and height of the Appli...

Is there a API from Flex/Flash to list all the UIComponent ??

Hi All, I am trying to create an API utility using Adobe AIR where given a component name it should list all it methods, variables, and other properties of that component. But I could not find an API to list all the UIComponents of Flex/Flash. is there an API to lookup all the UIComponent or if there is no such API, can anyone tell me...

combine mutiple movie clip functions into a single swc file or MXP file For Flash Action Script 3.0?

hi, I have to build one MXP package for Flash (not Flex). But i have multiple components, somthing like HelpSymbolMovieClips(have its on class), one image holder. etc. I need to combine there swc file into a single MXP file. Is it possible? or How can i make a all these multi movieClip functionality in a single SWC file. Am bit confu...

How to clear the existing list data values

I would like to know how to delete(clear) the existing list data values before binding new values. I'm using the list for binding data dynamically using http services. When I make a new call to the service, I want the exiting items to be flushed and bind the newly retrieved data to the same list. How can I achieve this? ...