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?? ...
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?? ...
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...
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...
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...
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...
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...
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)...
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. ...
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...
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...
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...
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...
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 ...
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...
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 ...
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...
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...
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...
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...
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? ...