[flexcoders] Re: repeater with TextArea -- TextArea not sizing to internal text?

2008-04-04 Thread Dmitri Girski
only. Also, since the resize happened in creationComplete, it will NOT work in an item renderer or in a Repeater with recycleChildren=true. there is also no guarantee that data binding will happen before the creationComplete event, so you have to override set text method as well. Dmitri.

[flexcoders] Re: Partial result from HTTPService call

2008-04-04 Thread Dmitri Girski
? Pier Dmitri Girski wrote: Hmmm, I just re-read your post and realised that you are getting the binary data via the HTTPService. I am not sure if you can do this. If I were you I would save the generated image as .jpg file on server in some temp location and then return

[flexcoders] Re: Partial result from HTTPService call

2008-04-03 Thread Dmitri Girski
it when I looked now. Maybe it isn't exactly the same. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Wednesday, April 02, 2008 4:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Partial

[flexcoders] Re: How To Refresh the Date Field...

2008-04-03 Thread Dmitri Girski
Hi Ganesh, If you talking about DateChooser class, then you have to reset hours, mins, seconds and ms to 0 in source Date object. Otherwise it won't display the current date. NB I wonder why this is a undocumented feature. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Ganesh

[flexcoders] Re: Partial result from HTTPService call

2008-04-03 Thread Dmitri Girski
Hmmm, I just re-read your post and realised that you are getting the binary data via the HTTPService. I am not sure if you can do this. If I were you I would save the generated image as .jpg file on server in some temp location and then return the path+name of it to the client. And then just

[flexcoders] Re: Export release build copying PHP files

2008-04-03 Thread Dmitri Girski
Hi Troy, My *.jpgs/gifs went haywire as well. Cheers, Dmitri. You're telling me. And its not all files, it's only PHP files.

[flexcoders] Re: Export release build copying PHP files

2008-04-03 Thread Dmitri Girski
Dmitri. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Hi Troy, My *.jpgs/gifs went haywire as well. Cheers, Dmitri. You're telling me. And its not all files, it's only PHP files.

[flexcoders] Re: Export release build copying PHP files

2008-04-02 Thread Dmitri Girski
*contents* ?!? Not the files themselves ? That's very weird. yes, it removes the *contents*, leaving files in place. This is weird indeed. And it takes time to understand why the app is busted - all files are there, but nothing works. Troy, I've submitted a bug

[flexcoders] Re: External swf as menu in Flex App

2008-04-02 Thread Dmitri Girski
Hi Alexander Have a read from here: http://blogs.adobe.com/flexdoc/2007/08/using_the_flex_component_kit_f_1.html We have a lot of components designed in Flash and we communicated with them from Flex. Now we are converting them one-by-one into the Flex components in Flash. This is more

[flexcoders] Re: Partial result from HTTPService call

2008-04-02 Thread Dmitri Girski
Why not to use lastResult? It is absolutely the same as event.result. Even better - you can bind to it :) --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: First, don't use lastResult. It is intended for binding expressions. Use event.result. Change that an see if it

[flexcoders] Re: TextArea and Dynamic Heights

2008-04-02 Thread Dmitri Girski
Hi Matt, Here is the solution for your problem - override set text method and then measure the textHeight and change height accordingly. NB This won't work if you want to print it. package { import mx.controls.TextArea; import mx.core.ScrollPolicy; public class ElasticTextArea

[flexcoders] Flex3: MXML file diffing is slow as a dog

2008-04-01 Thread Dmitri Girski
While comparing mxml files Flex3 just kills itself - 50% CPU usage, takes about 30 seconds to compare 700 lines of code. It didn't happen in Flex2. What I am doing wrong?

[flexcoders] Re: Flex3: MXML file diffing is slow as a dog

2008-04-01 Thread Dmitri Girski
Hmmm... Seems like there is a problem http://www.actionscript.org/forums/showthread.php3?p=720343 --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: While comparing mxml files Flex3 just kills itself - 50% CPU usage, takes about 30 seconds to compare 700 lines of code

[flexcoders] Re: RSL loader problem - it stops

2008-04-01 Thread Dmitri Girski
problems. I can't get Loader to properly load a library SWF. Could be you're experiencing the same issue. Dmitri Girski wrote: Hi all, Has anyone encountered with the following problem - when player loads application which uses RSLs it just stops, screen shows Loading library N

[flexcoders] RSL loader problem - it stops

2008-03-31 Thread Dmitri Girski
Hi all, Has anyone encountered with the following problem - when player loads application which uses RSLs it just stops, screen shows Loading library N. And nothing happens afterwards, unless you do the right click and click on Play menu item. Then loading process continues. Cheers, Dmitri.

[flexcoders] Re: Date problem - going over daylight saving date

2008-03-29 Thread Dmitri Girski
Hi Peter, The problem is that Date class does not provide method addDay() as would any decent class will do. So you have to muck around manually. and it does mean that you have to deal with timezones and other stuff you really don't want to deal with. And by the way - DateChooser component

[flexcoders] Re: RSL linker settings in multiple projects

2008-03-29 Thread Dmitri Girski
and a number of SWFs which I am loading into the main one. The result totally worth the efforts. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Hi, I've got the following structure of an application - base_core lib (AS project) - base_ui lib

[flexcoders] Re: Flex 3 - Using https in HTTPService

2008-03-29 Thread Dmitri Girski
still have a long struggle to break the microsoft monopoly at my company :-) Cheers Mark - Original Message From: Dmitri Girski [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Monday, 17 March, 2008 9:17:57 PM Subject: [flexcoders] Re: Flex 3

[flexcoders] Re: Flex Beta 3 to Flex 3 Migration Problems

2008-03-29 Thread Dmitri Girski
The major functional problem so far is a change to ComboBox behaviour - now it respects selectedItem property. In Flex2 if selectedItem was set to null it was selecting the first item. Now it stays clear. Yes, this this a proper behaviour, but it breaks the code if you try to reach selectedItem

[flexcoders] Re: How do I print in Flex?

2008-03-29 Thread Dmitri Girski
Yeah... nice. It does not support such complex structures as 2 grids one after another, or large text area etc. When I hear easy/nice printing in Flex I become nervous (after I killed so many days of my life trying to get it nicely printed) PS FlexReport (http://flexreport.riaforge.org/) is a

[flexcoders] Re: Flex Builder 3: *major* bug in deleting linked folders

2008-03-25 Thread Dmitri Girski
I've submitted a bug related to this problem (export release build deletes files contents in the release dir) https://bugs.adobe.com/jira/browse/FB-12306 Dmitri. --- In flexcoders@yahoogroups.com, thirtyfivemph [EMAIL PROTECTED] wrote: I am trying my best to not go to my blog and rant

[flexcoders] Re: Flash component in Flex

2008-03-13 Thread Dmitri Girski
to. Dmitri. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: As long as you've put [Bindable] metadata on the properties. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Thursday, March 13

[flexcoders] Re: Flash component in Flex

2008-03-13 Thread Dmitri Girski
] wrote: You might be better off writing a setter function and using [Bindable(someEvent)]. That's how virtually every property in the framework is implemented. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent

[flexcoders] Re: Refactoring with Flex Builder 3

2008-03-06 Thread Dmitri Girski
Yep, seen that. Refactoring sometimes hangs and Cancel didn't do anything. I had just to kill the process. Also, the text file comparison seems to be much slower than in fb2 and it tends to hang up for a while. Cancel worked though. As I said before - I never ever had so many crashes/kills with

[flexcoders] Re: Flex 2 - 3 migration problems

2008-03-06 Thread Dmitri Girski
here, so at least I know that there is a way to do this. Thanks! Dmitri. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: It looks like HTTPService in Flex 3 was 'improved'. It sends empty POST requests when contentType=CONTENT_TYPE_XML and request= XML object

[flexcoders] Re: Flex 2 - 3 migration problems

2008-03-06 Thread Dmitri Girski
out empty. Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Thursday, March 06, 2008 10:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2 - 3 migration problems After some

[flexcoders] Re: Flex 2 - 3 migration problems

2008-03-06 Thread Dmitri Girski
Of Dmitri Girski Sent: Thursday, March 06, 2008 10:33 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2 - 3 migration problems After some tweaks I've managed to convert my beautiful XML object into the ugly flash.xml.XMLNode one and then convert it with SimpleXMLDecoder

[flexcoders] Re: Flex 2 - 3 migration problems

2008-03-06 Thread Dmitri Girski
:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Thursday, March 06, 2008 12:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex 2 - 3 migration problems Seth, Here is the shortest snippet: http://mitek.id.au/flex/HTTPService/TestFlex3.mxml http://mitek.id.au/flex

[flexcoders] Re: Flex Builder 3: *major* bug in deleting linked folders

2008-03-05 Thread Dmitri Girski
Hi Troy, I had the same experience with deleting the contents of PHP files as well. I didn't realised that it was through Export release feature, as I found it later. Could you please submit a bug for this? Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Troy Gilbert [EMAIL PROTECTED]

[flexcoders] Re: Flex 2 SDK (hotfix 1) source?

2008-03-04 Thread Dmitri Girski
Hi Matt, The View change log button for the nightly builds bring up the empty screen. Is it a bug or feature? Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Also, we've put a bunch of web service fixes into 2.0.1 recently, we're not sure if we'll

[flexcoders] Re: Praise for the Flex 3 Documentation

2008-03-03 Thread Dmitri Girski
And now everyone will also print out 1000 pages of documentation... :) Besides waste of paper, what's the point of loosing context search? Cheers! --- In flexcoders@yahoogroups.com, Glenn Williams [EMAIL PROTECTED] wrote: Just wanted to say this. Having bought and read many Flex

[flexcoders] Re: Flex Builder complaint

2008-03-03 Thread Dmitri Girski
Actually, I've seen similar bug - when I tried to migrate the project to FB3 at some point this yobbo removed the contents of all PHP files in bin subdirectory. By this I mean wiping of the contents and setting file size to zero. It took me a while to figure out why the requests are going haywire.

[flexcoders] Re: Flex Builder complaint

2008-03-03 Thread Dmitri Girski
[EMAIL PROTECTED] wrote: does it sound like either of these bugs? https://bugs.adobe.com/jira/browse/FB-11894 https://bugs.adobe.com/jira/browse/FB-11583 --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: Actually, I've seen similar bug - when I tried to migrate the project

[flexcoders] Re: Praise for the Flex 3 Documentation

2008-03-03 Thread Dmitri Girski
Good work, Randy! I've never bothered myself buying any books on Flex or AS (even including so tempting Flex for Dummies in 10 days :) All necessary information is in the documentation. And I am very doubt that the missing bits are covered anywhere. (That's why we are all subscribed to

[flexcoders] Re: user friendly No/Lost Connection alert

2008-03-01 Thread Dmitri Girski
Don, What is your server configuration? I had a lot of problems connecting Flex to Apache2/SSL. Something was just wrong there - session disconnections and retries, high latency etc. Then I switched to Apache1/SSL - this thing hasn't missed a beat so far. Cheers Dmitri. --- In

[flexcoders] Re: Error in web service from Flex 2 to Flex 3

2008-02-29 Thread Dmitri Girski
The easiest way to check - see the request contents on your server. In case of this HTTPService problem, request is made, but with empty body. Start from this point first. I spent a lot time figuring out why my server went nuts until I realised that it works on empty request. Cheers, Dmitri.

[flexcoders] Re: user friendly No/Lost Connection alert

2008-02-29 Thread Dmitri Girski
Hi Don, Probably you can use XMLSocket. You connect it to your server and when connection breaks for any reason, XMSocket dispatches IOError event. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Don Kerr [EMAIL PROTECTED] wrote: Can anyone point me to examples of how to alert the user

[flexcoders] Re: RSL VerifyError: Error #1079: Native methods are not allowed in loaded code.

2008-02-27 Thread Dmitri Girski
. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Hi all, Just trying to convert the project into RSL and I am getting this strange error on the startup VerifyError: Error #1079: Native methods are not allowed in loaded code. Does anyone know what does it mean? Thanks

[flexcoders] Flex 2 - 3 migration problems

2008-02-27 Thread Dmitri Girski
It looks like HTTPService in Flex 3 was 'improved'. It sends empty POST requests when contentType=CONTENT_TYPE_XML and request= XML object. Works fine for unnamed Objects contentType=CONTENT_TYPE_FORM though.

[flexcoders] Re: TextInput.setFocus() problem ?

2008-02-27 Thread Dmitri Girski
Hi Robert, we have discussed this problem recently: http://tech.groups.yahoo.com/group/flexcoders/message/102706 Also, there is a separate problem - when you want to place a cursor somewhere at the application startup. SWF just does not receive a focus from a browser (Firefox). This works fine

[flexcoders] RSL VerifyError: Error #1079: Native methods are not allowed in loaded code.

2008-02-26 Thread Dmitri Girski
Hi all, Just trying to convert the project into RSL and I am getting this strange error on the startup VerifyError: Error #1079: Native methods are not allowed in loaded code. Does anyone know what does it mean? Thanks! Dmitri.

[flexcoders] Re: ItemEditor looses focus and then crash

2008-02-22 Thread Dmitri Girski
case i couldn't use callLater because my Alert was actually asking (Yes/No) and not just warning Hope this help to solve your problem Andrii Olefirenko --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: Hi Alex and all, I was so inspired with the last victory over my

[flexcoders] ItemEditor looses focus and then crash

2008-02-21 Thread Dmitri Girski
Hi Alex and all, I was so inspired with the last victory over my focus problem (http://tech.groups.yahoo.com/group/flexcoders/message/102706) so I just went through the list of all focus related bugs. I've got another case of some weird behaviour regarding the loosing the focus. Test case is

[flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Dmitri Girski
Hi Alex, I have created a simple test case: http://mitek.id.au/TestPopUpSimple.html Source: http://mitek.id.au/PopupFocus.zip http://mitek.id.au/CMyPanel.as - is the base class for the popup window - it performs all the focusing stuff. Actually this class can focusing without any problem BUT

[flexcoders] Re: Problem with focus in secondary popups

2008-02-20 Thread Dmitri Girski
Alex, thank you very much for the help. You just saved me from madness after 4 days I spent with this problem. Only one thing I want to mention: if I use a mixture of automatic manual popups generation, I still have to call manually fSetFocus() in the parent. PS I've updated the code in

[flexcoders] Re: Problem with focus in secondary popups

2008-02-19 Thread Dmitri Girski
: Yep thats what we do. --- In flexcoders@yahoogroups.com, Ralf Bokelberg ralf.bokelberg@ wrote: You could dispatch a close event to the view, which opened the popup Cheers Ralf. On Sat, Feb 16, 2008 at 1:38 PM, Dmitri Girski mitek17@ wrote: Thank you, Alex

[flexcoders] Re: Why upgrade to FB3?

2008-02-16 Thread Dmitri Girski
Hi Tracy, Maybe I am just unlucky, but I tried last FB3 - it just falls apart on my app - some mysterious compilation errors which could be cleared only by shutdown and clear/rebuild (SDK2.0.1). CVS compare plugin is much slower. It is fancier, but slower. And yes, FB3 feel far more attractive

[flexcoders] Re: Problem with focus in secondary popups

2008-02-16 Thread Dmitri Girski
Thank you, Alex and reflexactions! Your advices helped to move forward I can create popups and set focus without a problem. But there is another thing - I have to return focus correctly to the first popup window after second third popups closed in one click. Cheers, Dmitri.

[flexcoders] Problem with focus in secondary popups

2008-02-15 Thread Dmitri Girski
Hi all, I bumped into the problem with setting focus to the subsequent popups. E.g. first popup is created, then user presses the button on it and first popup creates second popup and second popup immediately creates third popup. I can't find a way to set focus to the third popup - it still

[flexcoders] Re: DragManager question

2008-01-30 Thread Dmitri Girski
the mouseUp. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Tuesday, January 29, 2008 9:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] DragManager question Hi all, I am performing my own Drag

[flexcoders] Re: DragManager question

2008-01-30 Thread Dmitri Girski
Thank you! listening on the DragInitiator object solved the problem. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, rahultnath [EMAIL PROTECTED] wrote: Try This...This will help you

[flexcoders] DragManager question

2008-01-29 Thread Dmitri Girski
Hi all, I am performing my own Drag-n-Drop actions on the custom List component and I wondering - how to figure out that drop operation actually never happened? If I drag the object within the same list and while dragOverHandler is not allowing the drop by setting the feedback to NONE there is

[flexcoders] Re: multiple attempts to load socket security file

2008-01-28 Thread Dmitri Girski
@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Hi folks, I've just bumped into the following problem: FP loads the SWF which tries to make the connection on the same server the file was loaded from and port 843. If there is a server running everything is fine. If server is down Flash

[flexcoders] Re: multiple attempts to load socket security file

2008-01-28 Thread Dmitri Girski
http://bugs.adobe.com/jira/browse/SDK-14483

[flexcoders] Re: HorizontalList questions

2008-01-27 Thread Dmitri Girski
: there is the horizontalScrollPolicyChanged event that gets dispatched, but i have no idea if you can use it, it gets dispatched in the setter - Original Message From: Dmitri Girski [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, January 23, 2008 10:47:57 PM Subject

[flexcoders] Re: HorizontalList questions

2008-01-27 Thread Dmitri Girski
(or adjust width/height), you will end up with partially visible items. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Wednesday, January 23, 2008 8:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] multiple attempts to load socket security file

2008-01-27 Thread Dmitri Girski
Hi folks, I've just bumped into the following problem: FP loads the SWF which tries to make the connection on the same server the file was loaded from and port 843. If there is a server running everything is fine. If server is down Flash Player attempts to connect on the 843 port, attempt fails

[flexcoders] Re: HorizontalList questions

2008-01-23 Thread Dmitri Girski
anyone knows? --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Hi, I've a couple of question about the HorizontalList component: 1. is there any event which is dispatched when component adds horizontal scrollbar to the display? (horizontalScrollPolicy=auto) 2

[flexcoders] HorizontalList questions

2008-01-19 Thread Dmitri Girski
Hi, I've a couple of question about the HorizontalList component: 1. is there any event which is dispatched when component adds horizontal scrollbar to the display? (horizontalScrollPolicy=auto) 2. How to tell horizontalList to display only full items in the list? I've got custom item renderers

[flexcoders] Whcih eventis is sent when scrollbars appear?

2008-01-18 Thread Dmitri Girski
Hi everybody, I've got a HorizontalList for example and I defined HorizontalScrollPolicy=auto. Is there a way to catch a moment when horizontal scrollbar appears? Thanks!

<    1   2