flex

icon flex movie flv core

i saw adobe player this link and downloaded.but all flv players icons are automatically changed.But if i write my own flv player and changed extension to 'AAAA' sothat movie file format will be abc.AAAA then how can i change the default icon of abc.AAAA to customized icon where customized icon must be configured by some mxml file built ...

Are Flex View States Used in Real-World Projects

I've just found out about View States in Flex (v3.0), but I am not really sure how widely this is used in real-world applications. Is it a good practice to use it? Are there any pitfalls such as maintainability for instance? ...

Flex: referencing all data in TileList

I have 2 TileList component in my Flex application. 1 tilelist is filled with data much like following xml sample: <person name="Test"> <likes>Flex</likes> <likes>PHP</likes> </person> <person name="test2"> <likes>HTML</likes> <likes>CSS</likes> </person> the data shown in that tilelist is the name. my second tilelist: <items> <pr...

AdvancedDataGrid sort column on application creationComplete

I have a AdvancedDataGrid that shows searchwords grouped by searchengine. So the searchengines are the branches and if I open one branche I see all the keywords that are searched with that searchengine. Behind that I have a column of "visits". This shows how much visitors came by this searchengine or searchword. Behind the searchengine i...

How to Work with checkboxes in VsFlexGrid in vb6.0?

Hi I am developing a form for handling access rights in a project. I use VsflexGrid7.0 and also Vb6.0. I thought that it would be good when I show 1 (has access) and 0 (doesn't have) via checkbox within my vsflexgrid(vsflexgrid1). Now, my problem is when I click on a checkbox for Insert access right, how to get control it's value ? Th...

Explicity mapping between ActionScript and Java objects for the BlazeDS Messaging Service

The BlazeDS documentation shows how to explicitly map between ActionScript and Java objects. For example, this works fine for RPC services, e.g. import flash.utils.IExternalizable; import flash.utils.IDataInput; import flash.utils.IDataOutput; [Bindable] [RemoteClass(alias="javaclass.User")] public class User implements IExternalizable...

Flex tab's x and y position

In a tab navigator, I need to find out the x and y coordinates of each the tabs. Is there a way to do that? I am using HBox as Tab in the TabNavigator. ...

How to dynamically change the size of the Canvas?

If the size of canvas set in the MXML markup, some part of the components that go beyond the boundaries of canvas not displayed. If the canvas size to change dynamically(canvas.width, canvas.height), canvas boundaries are virtually absent. How to dynamically change the size of the Canvas? ...

Flex: Changing Control Properties based on contents of a Databinding event

I'm trying to set up a form that presents a combobox when an ArrayCollection it's bound to has several items, and doesn't present one when it's empty or only has one item. I've tried doing this by creating this class, but unfortunately, the data provider I've bound to is never not empty at the time the setter executes. Is there a differe...

How does object initialization occur when deserializing binary objects in Flex?

The jist of what I'd like to know and focus on understanding, is details on how binary deserialization occurs in Flex 3. When is the constructor called, when are properties set, are private members serialized or does all deserialization occur on and through setters, etc? I'm having a hard time finding information on this. In a Flex 3 ...

Flex - How to access component inside another component in MXML?

I have two components. One is called "InsideComp" and one is called "OutsideComp". OutsideComp has InsideComp as one piece of its component, and in my main MXML file, I have embedded an instance of OutsideComp. How do I access a public variable of InsideComp within my main MXML file? In Actionscript, I could just do something like: Ou...

Adding key board shortcuts to a flex application

I have a flex app with lots of custom components, like custom buttons, comboBoxes etc. I am trying to add keyBoard shortcuts to the flex app. In doing so, I added a key-down listener to the app to listen for ctrl+shift key combination like this: this.stage.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyDown); then I dispatch a cust...

How can I tell if an instance implements an interface in ActionScript 3.0

I am overriding the addItem() function of an array collection and I would like to detect if the added item implements a particular interface. Previously I used the, is operator to detect the class type, but now that I am using an interface for classes I would rather test to see if the object implements the interface. I expect I could j...

Is there a list of reserved FlashVars names?

Currently I work on localization for a Flex application. From an article I know that you can control the localization with the following FlashVars: resourceModuleURLs localeChain Are there any other FlashVars reserved by Adobe that a Flash/Flex Developer should know about? ...

Flex Tree Display Custom Data - DataDescriptor?

I am trying to have a tree display custom data that looks like this. ID DATA PARENT SORT a ... 10 aa ... a 10 ab ... a 20 b ... 20 c ... 30 It would look like this in xml <root> <a> <aa/> <ac/> </a> <b/> <c/> </root> I don't wa...

Flex: Getting "a bunch" of data from Flex into an HTML page?

I've got a bunch (say, 1k) of data in Flex, and I want to get that data to an HTML page, where some JavaScript will slice-and-dice the data and generate a report. What's the simplest way to get it there? I've considered passing it as part of the url, for example: navigateToUrl("report.html?data=" + serialized_report_data) But, apart...

How to dispatch event between Components in Flex?

Hi,everyone I'm new to Flex.My question is how to dispatch event between components?As far as I know,Flex only bubbles event to itself or its parent. I'm in such a situation: <mx:Application> <com:Component1 id="comp1" /> <com:Component2 id="comp2" /> </mx:Application> In Component2.mxml I have two ot...

call() of function with arguments

I have a component that I hand over a function public var func : Function; Now the function is a function that has parameters in its signature public function myFunction(s : String) : void { doSomething(s); } from my component I can call the function with func.call(); Can someone tell me how to invoke the function with its p...

Should I add VOs into a library project when developing using flex modules?

I'm developing a module based applications in Flex and I was thinking about moving all my Value Objects (VOs) into a library project and I was wondering if any thinks this is a bad idea or have any alternative suggestions. Current Structure: I have a project that consist of a shell application and 3 modules. The modules contain about 1...

How to add icons to a PopUpMenuButton in Flex 3 using an XML file

Hi, I've been looking at the following example for populating a PupUpMenuButton http://blog.flexexamples.com/2008/02/21/creating-a-custom-label-function-on-a-flex-popupmenubutton-control/ and would like to add icons to each menu. Ideally, I would specify the icon in the xml and assign it in a similar way to using labelFunction for the t...