[flexcoders] Re: Module loaded but not displayed every time...

2008-11-26 Thread Claudiu Ursica
to reproduce it until now. However this is not something I can be sure of that it is indeed the fix... And the fact that this happend very randomly doesn't help that much either TIA, Claudiu --- In flexcoders@yahoogroups.com, claudiu ursica [EMAIL PROTECTED] wrote: I am, but via bindings (set via

[flexcoders] Re: Module loaded but not displayed every time...

2008-11-25 Thread Claudiu Ursica
to fire so late. Maybe some of you can help with this, TIA, Caludiu --- In flexcoders@yahoogroups.com, Claudiu Ursica [EMAIL PROTECTED] wrote: Hi, I load a module using a custom module loader. Event though the READY event fires every time, and the visible property traces out to true, I am

Re: [flexcoders] Re: Module loaded but not displayed every time...

2008-11-25 Thread claudiu ursica
but not displayed every time... Are you contacting a server by any chance? Perhaps you could post some code? --- In [EMAIL PROTECTED] ups.com, Claudiu Ursica the_braniak@ ... wrote: Hi again, I see nobody bumped into this issue... Since the previous post I have discovered that the module does

Re: [flexcoders] Re: dataGrid effciency

2008-11-19 Thread claudiu ursica
You can remember your last index of the scroolbar and use scorllToIndex(index : int) after the refresh. HTH, Claudiu From: Fu Di [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, November 19, 2008 11:03:39 AM Subject: Re: [flexcoders] Re:

[flexcoders] Module loaded but not displayed every time...

2008-11-17 Thread Claudiu Ursica
Hi, I load a module using a custom module loader. Event though the READY event fires every time, and the visible property traces out to true, I am not able to see the module each time I load it. This happens only when I start the application. If I can see it the first time I can then unload and

[flexcoders] Drag and drop module

2008-11-10 Thread Claudiu Ursica
Hi, I have a module who contains a TitleWindow. In the main application i use a ModuleLoader to loads that module at a certain time (when I click a button to be more precise). Everything works fine until I want to move the frehly loaded TitleWindow (from the module) on the screen. I am not able

[flexcoders] Re: Drag and drop module

2008-11-10 Thread Claudiu Ursica
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claudiu Ursica Sent: Monday, November 10, 2008 5:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Drag and drop module Hi, I have a module who contains a TitleWindow. In the main application i use a ModuleLoader to loads

[flexcoders] Re: Memory issues ... garbage collection only running in IE (not FF or Safari)

2008-10-29 Thread Claudiu Ursica
Here is how we manage collection when it comes to Araay collection. We declare a custom class whic helds an instance of the array collection and an array for fast searching. [Bindable] public class FullGameHistorySuiteStatuses { private var _suiteStatusesArrayCollection : ArrayCollection = new

[flexcoders] Re: Extending the Datagrid to enable paging

2008-10-28 Thread Claudiu Ursica
check this one, http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetailsproductId=2postId=11083 hth, Claudiu --- In flexcoders@yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: Hi, all. For a current project, I need to extend the DataGrid to enable paging of the data. Can

Re: [flexcoders] ItemRenderes are consuming more memory

2008-10-28 Thread claudiu ursica
I'm not sure what you are trying to do, but try to add new instances to the list only when needed, otherwise just update already existing elements. Cheers, Claudiu From: jitendra jain [EMAIL PROTECTED] To: flex group flex flexcoders@yahoogroups.com Sent:

Re: [flexcoders] Html file in Flex application.

2008-10-28 Thread claudiu ursica
Lots of components within the framework (the VBox or HBox for example) have the the htmlText property. Just assign your page to that property. However I am absolutely sure that there is somewhere there an example related to this issue, they have embeded yahoo in flex. Just cannot find it now,

Re: [flexcoders] Re: PLaying Flash From Scratch

2008-10-24 Thread claudiu ursica
I guess you are having the flash movie embeded in a flex wrapper. Expose a public start (or something)function from there (from the flash movie). Just call that on the state change interception. HTH, Claudiu - Original Message From: John [EMAIL PROTECTED] To:

Re: [flexcoders] Custom List Renderer Memory Leak

2008-10-22 Thread claudiu ursica
Can you paste the code snippet that update the list? Cheers, Claudiu - Original Message From: darkcube86 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, October 21, 2008 7:49:53 PM Subject: [flexcoders] Custom List Renderer Memory Leak I have a list which always

Re: [flexcoders] Re: Alert.show - Detect when closed from another mxml component

2008-10-22 Thread claudiu ursica
for the Stage to receive via capture or bubble, for example, mouseclicks (Stage.addEventList ener(MouseEvent. CLICK,clickHandl er)). Is there no way to do this in Flex with the Alert component and the Stage (Application. application? )? --- In [EMAIL PROTECTED] ups.com, claudiu ursica the_braniak

Re: [flexcoders] Binding Getter to Collection Change

2008-10-22 Thread claudiu ursica
Binding only fires when you are hooked into a certain item of the array collection changes. So unless you are bound on a certain item, you should probably add a listener for CollectionEvent. COLLECTION_ CHANGE yourself and handle by hand the update. HTH, Claudiu - Original Message

Re: [flexcoders] Alert.show - Detect when closed from another mxml component

2008-10-21 Thread claudiu ursica
Suposedly you'd have a data model in there, in you app, you can hold a boolean value and set it to true everytime you call Alert show and set it to false on close. In your other mxml just check that property of the model and you're done. (Not sure it is the best way to do it though.). HTH,

Re: [flexcoders] Listem to an event sent by a DataGrid ItemRenderer

2008-10-20 Thread claudiu ursica
Can you provide a larger code snippet? Try listen to the event on the stage maybe taht will help. Cheers, Claudiu. - Original Message From: Sébastien Tromp [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, October 18, 2008 1:18:39 PM Subject: [flexcoders] Listem to

Re: [flexcoders] Custom event - Create, dispatch, and listen to.

2008-10-17 Thread claudiu ursica
You also may want to avveride the clone method in the custom event class: /** * @private */ override public function clone():Event { return new RemoteClick(type, bubbles, cancelable); } - just omit the arguments if you are not using

Re: [flexcoders] Rippling through state changes

2008-10-17 Thread claudiu ursica
How about write a custom item renderer and expose a public property state name it however you want. Bind that property to the current state of your custom component. When the parent state changes, the item renderer wil update also. HTH, Claudiu - Original Message From: Paul

Re: [flexcoders] custom event not working in popup

2008-10-17 Thread claudiu ursica
Are you sure you are listening for the same event type in main? From what I can see your custom event is of type formSubmitted while the main listens for formUpdate ... Claudiu - Original Message From: Mark Hosny [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October

Re: [flexcoders] how to add internal padding in canvas?

2008-10-17 Thread claudiu ursica
The panel component supports padding, wil that suit you? HTH, Claudiu - Original Message From: markflex2007 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, October 17, 2008 5:07:27 PM Subject: [flexcoders] how to add internal padding in canvas? I want to add right

[flexcoders] Re: adding the user input to an arraycollection

2008-10-16 Thread Claudiu Ursica
Add them as Object, the idea is to update the bookSales if I'm reading this right? so when you pass the to the function you do it as pair values {bookType: Fiction, Sales: 143}. HTH, Cheers, Claudiu --- In flexcoders@yahoogroups.com, sainath evuri [EMAIL PROTECTED] wrote: i would like to get

Re: [flexcoders] Locale in Flex

2008-10-16 Thread claudiu ursica
You need to be more specific. If you're running a web app is highly porbably to save that into a cookie on user computer. You pass that to flash as input parameter and precess it when flex loads (mainappp creationComplete or something - you'll have it in the :parameters variable in the main

[flexcoders] Re: coloring a box

2008-10-09 Thread Claudiu Ursica
Try this: package com.whatever.anotherwhatever.gradientbox { import mx.containers.Box; [Style(name=fillColors, type=Array, arrayType=Number, format=Color, inherit=no)] public class GradientBox extends Box { import flash.display.*;

[flexcoders] Re: How to show the Hand Cursor on the Close Button?

2008-08-05 Thread Claudiu Ursica
var btn:Button = this.mx_internal::closeButton; btn.useHandCursor = true; However the mx:internal might change in the future so this is not bullet proof. --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hey there, In the titlewindow component, I set showCloseButton =

[flexcoders] Re: Tabbing children from custom item renderer inside List

2008-08-04 Thread Claudiu Ursica
preventDefault when it is time to transfer the tab to the next renderer. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claudiu Ursica Sent: Sunday, August 03, 2008 5:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Tabbing

[flexcoders] Re: how to change the state of custom item renderer of list control on itemFocu

2008-08-04 Thread Claudiu Ursica
I tried myself several times to get itemFocusIn on the list but it doesn't for some strange reason. However you can have a state variable on the parent of the list and send that to the renderer. Depending on the type of renderer: inline set currentState = {outerDocument.stateNameOrWhateverYouName

[flexcoders] Re: Tabbing children from custom item renderer inside List

2008-08-03 Thread Claudiu Ursica
Ok, I managed to send the focus to the second numeric stepper, but when I hit tab again I loose the tab and cannot sent the focus to the second item in the list on the first numeric stepper. Now my code looks something like this: mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: Tabbing children from custom item renderer inside List

2008-08-03 Thread Claudiu Ursica
Ok, I managed to send the focus to the second numeric stepper, but when I hit tab again I loose the tab and cannot sent the focus to the second item in the list on the first numeric stepper. Now my code looks something like this: mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Tabbing children from custom item renderer inside List

2008-08-01 Thread Claudiu Ursica
Hi, I have a List, whose dataprovider is loaded from a server. The list is using a custom itemRenderer to render data. The renderer has amongst other things 2 numeric steppers inside it. The list can have durin execution none, one or many items. I want to be able to use tab and go through the the

[flexcoders] Re: Undefined Method Error

2008-07-08 Thread Claudiu Ursica
Have you tried to access it via outerDocument.methodName, you'l find some example if you google for this It means that you use outerDocument to to target the method outside your inline item renderer... PS. If I'm not mistaking there is also a parentDocument, but better check before trying

[flexcoders] Re: Flex creating an unwanted extra item in list

2008-06-03 Thread Claudiu Ursica
--- In flexcoders@yahoogroups.com, spirit_ryder2k [EMAIL PROTECTED] wrote: Hi, I'm doing a small app which loads a list of songs from an XML and display it in a list. I'm using a TileList with a custom renderer to render the songs. Because I want to keep track which song has loaded I put a

<    1   2   3