Re: [flexcoders] SystemManager and RSL linkage

2010-05-12 Thread Fotis Chatzinikos
Nope, no custom loading classes at all. That is strange then... Is there a way to see what gets included in an swf (appart from decompiling it)? The link report is not very helpful here... Thanks, Fotis On Tue, May 11, 2010 at 8:04 PM, Alex Harui aha...@adobe.com wrote: SystemManager and

Re: [flexcoders] SystemManager and RSL linkage

2010-05-12 Thread Fotis Chatzinikos
Alex, you were right. Including the system manager does not add any bytes in the project... The problematic bit that adds ~400KBs is casting the application to its ... class: the offending line is the following: - IT ADDS 400KBs to the release build !!! ((event.currentTarget.parent

Re: [flexcoders] Error #2063: Error attempting to execute IME command anyone?

2010-05-12 Thread claudiu ursica
It seems that the error is generated when I use the Alert.show(); Removed all the aAlert and it doesn't show anymore. The weird thing is that on the development machine I don't get this error. I use win7 with flex 4. However when deployed it is happening. The strage thing is that when

[flexcoders] Help regarding Grouping collection

2010-05-12 Thread hai_srividhya
Hello friends, I need to implement an AdvancedDataGrid with custom checkbox renderer, tree column and some editable renderers. I need to group the tree column and the last column and summarize it . Could anyone help with the idea please. Srividhya

[flexcoders] Problems with upload

2010-05-12 Thread sderamon
Hi, I have created a small flex application to upload file to a server. It work fine from a lot of internet conexions, but in some internet conexions it doesn't work (the progress bar doesn't appears and don't upload the file). do you know what happens? I don't konw if there are limitations in

Re: [flexcoders] SystemManager and RSL linkage

2010-05-12 Thread Oleg Sivokon
Preloader is in the first frame, by making dependency to your main class from the second frame you brought all it's dependencies into the first. Since the classes from the first frame cannot be externalized (they must be loaded some time, and at that time the first frame should be constructed

Re: [flexcoders] SystemManager and RSL linkage

2010-05-12 Thread Fotis Chatzinikos
Thanks Oleg, that makes sense. On Wed, May 12, 2010 at 11:57 AM, Oleg Sivokon olegsivo...@gmail.comwrote: Preloader is in the first frame, by making dependency to your main class from the second frame you brought all it's dependencies into the first. Since the classes from the first frame

[flexcoders] Logout question

2010-05-12 Thread Christophe
Hello, How to know if a user on a flex application is logout. Because the logout is not always made with the logout button, he can close the explorer. Thank you, Christophe,

Re: [flexcoders] Logout question

2010-05-12 Thread Akshar Kaul
for capturing that you will need to use javascript. Akshar Kaul On Wed, May 12, 2010 at 14:58, Christophe christophe_jacque...@yahoo.frwrote: Hello, How to know if a user on a flex application is logout. Because the logout is not always made with the logout button, he can close the

Re: [flexcoders] Logout question

2010-05-12 Thread p...@vin Uttarwar
What you are trying to achieve by doing this? what is the exact requirement? Thanks Regards, Pravin Uttarwar | Perennial Systems On 12 May 2010 15:08, Akshar Kaul akshar.k...@gmail.com wrote: for capturing that you will need to use javascript. Akshar Kaul On Wed, May 12, 2010 at

[flexcoders] Re: Problems with upload

2010-05-12 Thread sderamon
Hi, I solve the problem. The problem was that the port in the router was closed Thank

Re: [flexcoders] Logout question

2010-05-12 Thread Fotis Chatzinikos
Christophe to be safe you need to track the user session on the server. In java there are session destroy filters - if not on a java server google how to catch the session destroy event on your server On Wed, May 12, 2010 at 1:56 PM, p...@vin Uttarwar pravinuttar...@gmail.comwrote: What you

Re: [flexcoders] Use a Popup as itemEditor in Datagrids

2010-05-12 Thread DevSachin
Now problem has been solved. I use preventDefault in Item_Edit_Begin event after closing the popup. but it prevent it on same condition as in ITEM_EDIT_BEGINNING. it works fine now Thanks Sachin Alex Harui wrote: You may not be able to prevent another edit session from ITEM_EDIT_END, but

[flexcoders] Re: spark ButtonBar selectedIndex out of view

2010-05-12 Thread bhaq1972
Thanks. I haven't played with the Scroller so I will try it out (but a quick initial test gives a compile error ...a Scroller cant have a ButtonBar assigned to the default viewport property) I will probably go with Haykel's suggestion for now. thanks guys --- In

[flexcoders] Re: spark ButtonBar selectedIndex out of view

2010-05-12 Thread bhaq1972
Thanks. --- In flexcoders@yahoogroups.com, Haykel BEN JEMIA hayke...@... wrote: You can use the getScrollPositionDeltaToElement() function of the layout and add the x value of the returned point to the horizontalScrollPosition. Basically something like this (not tested):

[flexcoders] Issue:Authentication issue on edge server + LCDS 3.1 java based loadtesting tool

2010-05-12 Thread sanjitcs
I am using LCDS 3.1 java based load testing tool to generate 100 concurrent consumer to subscribe to the topic. Since I am using edge server to communicate with application server. It dose not be able to subscribe the consumer because getway service is not be able to authenticate client. I am

[flexcoders] Re: Folder-style dragOver highlight on tree

2010-05-12 Thread Richard Rodseth
I'm now aware of dropIndicatorSkin and found an example that customized the skin to do this: g.beginFill(0xa1bde2, 0.5); g.drawRect(-5, -1, w, 23); which is obviously a bit, er, hard-coded. The location and height for the skin appear to be set for

Re: [flexcoders] SystemManager and RSL linkage

2010-05-12 Thread Alex Harui
So, don’t reference the app from the preloader, or define an interface they can both use. On 5/12/10 2:10 AM, Fotis Chatzinikos fotis.chatzini...@gmail.com wrote: Thanks Oleg, that makes sense. On Wed, May 12, 2010 at 11:57 AM, Oleg Sivokon olegsivo...@gmail.com wrote: Preloader is

Re: [flexcoders] Re: Folder-style dragOver highlight on tree

2010-05-12 Thread Alex Harui
I would use a custom renderer. On 5/12/10 9:50 AM, Richard Rodseth rrods...@gmail.com wrote: I'm now aware of dropIndicatorSkin and found an example that customized the skin to do this: g.beginFill(0xa1bde2, 0.5); g.drawRect(-5, -1, w, 23); which is obviously a bit, er,

Re: [flexcoders] Re: Folder-style dragOver highlight on tree

2010-05-12 Thread Richard Rodseth
Could you elaborate a bit, please? The component is already used with a custom renderer. Are you suggesting that the dragEnter method should just do the highlighting directly? Makes sense, I suppose. On Wed, May 12, 2010 at 10:24 AM, Alex Harui aha...@adobe.com wrote: I would use a custom

Re: [flexcoders] Re: Folder-style dragOver highlight on tree

2010-05-12 Thread Baz
Doesn't the node already highlight because you are rolling over it?

Re: [flexcoders] Re: Folder-style dragOver highlight on tree

2010-05-12 Thread Richard Rodseth
No, this is dragging items from a datagrid to a tree. On Wed, May 12, 2010 at 10:43 AM, Baz li...@thinkloop.com wrote: Doesn't the node already highlight because you are rolling over it?

[flexcoders] PopUpManager and FocusManager

2010-05-12 Thread Joshua
This is driving me nuts. I have a form that has several textInputs in it. When you tab out of a textInput and you have entered something that is not currently in the database I create a Popupwindow with another form in it so the user can add more details (Quick Add for Quickbooks style) about

Re: [flexcoders] Re: Folder-style dragOver highlight on tree

2010-05-12 Thread Richard Rodseth
Though I strive to avoid subclassing the standard components, the code I inherited already has a Tree subclass, so I added the following: public function highlightItem(item:IListItemRenderer, highlighted:Boolean):void { this.drawItem(item, false, highlighted); } And call it from

Re: [flexcoders] Re: Folder-style dragOver highlight on tree

2010-05-12 Thread Richard Rodseth
And of course I had to add to my renderers dragExit: MyTreeSubclass(this.listData. owner).highlightItem(this,false ); On Wed, May 12, 2010 at 11:10 AM, Richard Rodseth rrods...@gmail.comwrote: Though I strive to avoid subclassing the standard components, the code I inherited

[flexcoders] Best way to remove line breaks from Label text?

2010-05-12 Thread Baz
I have an s:Label whose text comes from a DB. What's the best way to remove, or not show, any line breaks that may be in that text? I could use another text element if that's easier/cleaner. Thanks.

[flexcoders] Re: PopUpManager and FocusManager

2010-05-12 Thread Joshua
used callLater instead of waiting on the event to dispatch. That worked callLater(setNewFocus) function setNewFocus():void { focusManager.setFocus(this.augmentPackageForm.insuranceValue); } --- In flexcoders@yahoogroups.com, Joshua w...@... wrote: This is driving me nuts. I have a form that

RE: [flexcoders] Best way to remove line breaks from Label text?

2010-05-12 Thread Gordon Smith
I would just use a RegExp to replace \r and \n with nothing or with a space. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Baz Sent: Wednesday, May 12, 2010 11:39 AM To: Google/Yahoo Groups Subject: [flexcoders] Best way to

Re: [flexcoders] How to layer popup windows

2010-05-12 Thread Greg Hess
Thanks Alex, much appreciated! -Greg On Tue, May 11, 2010 at 4:21 PM, Alex Harui aha...@adobe.com wrote: The Application and all popups are parented by the SystemManager. The SystemManager divides its children into four childlists (application, popup, tooltip, cursor). The Application

[flexcoders] Dragged Items Icons Disappearing Whilst Being Dragged

2010-05-12 Thread James
In my air app I have 2 tilelists which contain items that have a label and an icon. When I drag each item during the drag the dragged items icon is disappearing as it's being moved. The array collections which populate my 2 tilelists are populated dynamically via remote xml/http request. Is

[flexcoders] How to verify if a Font is embedded in a TLF Label or RichText

2010-05-12 Thread dorkie dork from dorktown
How can I verify if a font is correctly embedded in a spark RichText or Label? JP

[flexcoders] Strange Behavior When Loading Sub Application

2010-05-12 Thread jmbo...@bellsouth.net
Hi, I am experiencing an odd problem and I hope someone knows why. I am loading a sub-application using SWFLoader. I listen for the Event.COMPLETE command. Once the swf is loaded, I then add a listener to the SystemManager for the swf and listen for the FlexEvent.APPLICATION_COMPLETE event.

[flexcoders] Flexicious - DataGrid for Flex

2010-05-12 Thread iflexicious
Hello, We are trying to spread the word about our component - http://www.flexicious.com, this is a Extension to the Base Flex Datagrid and AdvancedDataGrid, that provides Filter, Paging, Footer, Print, Excel Export, PDF export, Column chooser, preference persistence and a bunch of other

[flexcoders] Inconsistent Layout

2010-05-12 Thread Doug
Hey gang... I've noticed a few odd things with Flex that I need help with. When I load the application there are sometimes that Spark buttons and labels position themselves at x=0, y=0 or just y=0 to the container they're in even though they have an x and y position assigned to them. If you

[flexcoders] Re: How to verify if a Font is embedded in a TLF Label or RichText

2010-05-12 Thread iflexicious
Are you sure you are using embedAsCFF: true; Thanks, Sincerely http://www.flexicious.com --- In flexcoders@yahoogroups.com, dorkie dork from dorktown dorkiedorkfromdorkt...@... wrote: How can I verify if a font is correctly embedded in a spark RichText or Label? JP

[flexcoders] Why are embedded fonts lighter color than device fonts?

2010-05-12 Thread dorkie dork from dorktown
I have two RichText fields in a simple application. The one that is using the system device fonts are a dark black. The one that is using the embedded font is about two shades lighter. Both are the same font (the embedded font is in the assets folder). Why are embedded fonts lighter than device