[flexcoders] Re: ComboBox not updating

2009-08-18 Thread Dmitri Girski
This is an old story with ComboBox selectedIndex. It does not count the fact that binding on SelectedIndex could come well before dataProvider property assignment, so it simply resets itself every time it has dataProvider property being updated. I have rewritten the ComboBox class to make it

[flexcoders] Re: MultiPage printing

2009-08-06 Thread Dmitri Girski
Create a proper ItemRenderer which will render your labels and use PrintDataGrid. --- In flexcoders@yahoogroups.com, veritech82 j...@... wrote: Hi, I am trying to print a series of pages of labels in AIR. I have a single page working where I have a VBox component with a tilelist.

[flexcoders] Re: Memory consumption. Part 2. ItemRenderers

2009-02-14 Thread Dmitri Girski
Thanks, Alex! --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: ListItemRenderer.as adds and removes its icon in commitProperties. If it is the same 3 icons, and they are small, they should be embedded and then you don't need the Image class and will save lots of memory that

[flexcoders] Memory consumption. Part 2. ItemRenderers

2009-02-13 Thread Dmitri Girski
Hi Everybody, I have identified the memory consumption problem within the custom ItemRenderer. This IR is derived from UIComponent and besides other elements has 3 Image members to display 3 possible icons. The grid has around 200 elements, so 200 IRs are created at the startup. Each IR

[flexcoders] Re: Memory consumption by the browser

2009-02-09 Thread Dmitri Girski
...@yahoogroups.com] On Behalf Of Dmitri Girski Sent: Sunday, February 08, 2009 11:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Memory consumption by the browser Hi everybody, I am trying to solve the problem when my application consumes a lot of memory. When application starts

[flexcoders] Re: Memory consumption by the browser

2009-02-09 Thread Dmitri Girski
); and not addEventListener(MouseEvent.CLICK, onClick) HTH, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dmitri Girski Sent: Monday, February 09, 2009 5:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Memory

[flexcoders] Re: How to cancel HTTPRequest?

2009-02-08 Thread Dmitri Girski
Thanks, Marc! --- In flexcoders@yahoogroups.com, hu22hugo hu2h...@... wrote: Once you sent a HTTP request, you cannot cancel it any more from the client side. You could send a second request to the server to cancel the previous request but that can lead to very unpleasant effects, e.g. when

[flexcoders] Memory consumption by the browser

2009-02-08 Thread Dmitri Girski
Hi everybody, I am trying to solve the problem when my application consumes a lot of memory. When application starts in the browser, Windows/Mac reports the size of browser process around 150Mb. Then, if you start opening/closing the same popup window (which is actually being cached by

[flexcoders] How to cancel HTTPRequest?

2009-01-29 Thread Dmitri Girski
Hi everybody, How can I cancel the http request? Is there a way to close the underlying socket? I've got a situation when first HTTP request is in progress (waiting/receiving the results), and I have to fetch the data again, as I know that the dataset I am expecting to get is already obsolete.

[flexcoders] Re: Flex Builder 3 crashes (Vista)

2009-01-20 Thread Dmitri Girski
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dmitri Girski Sent: Monday, January 19, 2009 2:56 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Builder 3 crashes (Vista) Hi Kevin, Thank you very much for such detailed instructions. First, I looked

[flexcoders] Re: Flex Builder 3 crashes (Vista)

2009-01-19 Thread Dmitri Girski
in Library Build Path, the project may need any swc's or referenced projects that were in the old project configuration. 12. Turn back on automatic build. KFB From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dmitri Girski Sent: Saturday, January

[flexcoders] Flex Builder 3 crashes (Vista)

2009-01-17 Thread Dmitri Girski
Hi everybody, After some absolutely painless 6 months run, my Flex Builder 3 (3.0.2) started to crash every 10-15 minutes under Vista (I know, I know, this is beyond my control, I have to live with this). The only one thing which actually changed is Flash CS4 - all components have been

[flexcoders] Re: Getting IP address of the local machine

2008-11-19 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Mark Easton [EMAIL PROTECTED] wrote: I dont know about flex itself, but flex can call php and get the ip address from that. PHP/Server can't always return the machine's IP. If machine is behind the NAT/proxy, proxy address will be returned. Cheers, Dmitri.

[flexcoders] Re: FP plugin for debugging in Firefox/Chrome

2008-11-04 Thread Dmitri Girski
Sure, white not? Actually, I used IE before, now I use Chrome. The reason for this is that when the application is stopped in the debugger all Firefox windows are stopped as well. IE Chrome run every browser window in a separate process. Cheers, Dmitri. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: How to pass data to popup window?

2008-11-04 Thread Dmitri Girski
Hi Louise, Why not to use good old callbacks? I see that everyone is obsessed now with the events, but this is so simple just to pass the value to the popup and when popup finishes, it will call the function. Simple. To do this, simply add the function to the popup window code. public function

[flexcoders] Re: FP plugin for debugging in Firefox/Chrome

2008-11-04 Thread Dmitri Girski
Sure, why not? Actually, I used IE before, now I use Chrome. The reason for this is that when the application is stopped in the debugger all Firefox windows are stopped as well. IE Chrome run every browser window in a separate process. Cheers, Dmitri. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: FP plugin for debugging in Firefox/Chrome

2008-11-04 Thread Dmitri Girski
@yahoogroups.com, Dmitri Girski mitek17@ wrote: Sure, white not? Actually, I used IE before, now I use Chrome. The reason for this is that when the application is stopped in the debugger all Firefox windows are stopped as well. IE Chrome run every browser window in a separate process

[flexcoders] Re: textArea.setFocus();

2008-10-29 Thread Dmitri Girski
BTW. Does anyone know if this is rectified with FP10? Or is it just something we have to live with from the browser vendors? AFAIK this is a browser issue, not the FP. Cheers, Dmitri.

[flexcoders] Re: Do you use a Mac?

2008-10-28 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, ross_w_henderson [EMAIL PROTECTED] wrote: Dealing with multiple daily crashes/freezes was something I had become used to. Hmmm, my development PC with WinXP has usual uptime 90-150 days and not because of the crashes/freezes, but because of the system updates

[flexcoders] Re: Combo box changes selected Item when dp refreshes

2008-10-27 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Yes this is standard behavior. ComboBox has no way of knowing whether the currently selected item exists in the new dataProvider. It knows, as setter could simply loop through the dataProvider and check the fact of

[flexcoders] Re: Do you use a Mac?

2008-10-23 Thread Dmitri Girski
Hi Matthew, I know, I know, it will be only one post in this thread :) We have a mix of Windows Mac machines. The time I spent setting up things/ fixing problems is 1:10. WinXP is a stable system. I don't like MS. I don't like Windows, but I can't just say that it does not work, as it would be

[flexcoders] Re: Do you use a Mac?

2008-10-23 Thread Dmitri Girski
Hi Guy, I know FreeBSD/Linux quite well to say that OSX's underlying unix is just a castrated version of FreeBSD to make it safe for the housewifes/designers. If they are not happy with Win/Cygwin I doubt that they found a happiness with MacOs. Cheers, Dmitri. --- In

[flexcoders] Re: Do you use a Mac?

2008-10-23 Thread Dmitri Girski
is it missing, in your experience? Guy On 24/10/2008, at 11:23 AM, Dmitri Girski wrote: Hi Guy, I know FreeBSD/Linux quite well to say that OSX's underlying unix is just a castrated version of FreeBSD to make it safe for the housewifes/designers. If they are not happy with Win

[flexcoders] Re: Reusing HTTPService

2008-10-16 Thread Dmitri Girski
with handlers on the client right? So do you use a massive switch for that? Thanks again. LT --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: If I were you, I would simply add the requestId into the server's response, so client always knows which request-response pair

[flexcoders] Re: Reusing HTTPService

2008-10-15 Thread Dmitri Girski
If I were you, I would simply add the requestId into the server's response, so client always knows which request-response pair it handles. This idea lies behind most of the transmissions protocols. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, lagos_tout [EMAIL PROTECTED] wrote: Hi,

[flexcoders] Re: ComboBox in Component won't open to Saved Value

2008-10-08 Thread Dmitri Girski
Nope, this won't work. Next call creates new instances which don't correspond to the instances from the first call. You have to loop through the dataProvider, find the corresponding item (by label, id, whatever) and say Combo.selectedItem = ArrayCollection(Combo.dataProvider).getItemAt(i) this

[flexcoders] Re: Obtaining name of method

2008-09-26 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I bet you are trying to find a nifty way to log your code's processing, right? This comes up a lot and really, there is no good way to do it. You might try the archives, in case I missed something, but if I'd

[flexcoders] Re: Preventing cutpaste in Flex3 application

2008-09-22 Thread Dmitri Girski
the input. Well, you can, but your customers will notice, and your app will feel weird to them and they won't like it so much. -Josh On Mon, Sep 22, 2008 at 1:52 PM, Dmitri Girski [EMAIL PROTECTED] wrote: Hi Paul, Here is the example: there is a text input field where you can enter

[flexcoders] Re: Framework RSLs -- Any Reason Not To Use? Any Problems Related to Their Use?

2008-09-21 Thread Dmitri Girski
Hi Matt, I've got unconfirmed problem with RSLs - the loader *sometimes* is stuck while loading the libraries. I am unable to create an isolated test-case, but this thing popped in immediately after I converted the project into the RSLs. The problem seems to be highly discoverable if you run

[flexcoders] Re: Preventing cutpaste in Flex3 application

2008-09-21 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: Good software is all about enabling people not disabling them. This is just a meaningless statement. You can't enable everything for everyone in any possible way. First, good software does whatever it is supposed to do.

[flexcoders] Re: Preventing cutpaste in Flex3 application

2008-09-21 Thread Dmitri Girski
dangerous, as not so many developers realise that setting this property does not protect them from the invalid input. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: Dmitri Girski [EMAIL PROTECTED] To: flexcoders

[flexcoders] Re: Preventing cutpaste in Flex3 application

2008-09-17 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Easy: Sorry Steve, can't be done, it's a browser plugin. You'll have to try *managing* your people. Yeah, this is 100% Apple solution. You don't need it , anyway! :) Cheers, Dmitri.

[flexcoders] Re: Preventing cutpaste in Flex3 application

2008-09-17 Thread Dmitri Girski
Chiverton [EMAIL PROTECTED] wrote: On Tuesday 16 Sep 2008, Dmitri Girski wrote: Do you need any more clues? Or use-cases how you call it. Umm, yes ? Cut and paste is one of the great GUI tools, and everyone expects it. Witness the poor UX on (say) the iPhone which inexplicably has

[flexcoders] Re: Preventing cutpaste in Flex3 application

2008-09-17 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 17 Sep 2008, Dmitri Girski wrote: Well, sometimes you have to restrict users from doing something. Crippled products are often not received well by end users. Yes, Tom, you are right. As usual. Good

[flexcoders] Re: Preventing cutpaste in Flex3 application

2008-09-16 Thread Dmitri Girski
Why do you think there is a restrict property on the TextInput control? Why there is displayAsPassword property? Do you need any more clues? Or use-cases how you call it. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 16 Sep 2008,

[flexcoders] Re: FlexPrintJob - Very Hit Miss

2008-08-29 Thread Dmitri Girski
Hi Jeff, Your image simply is not ready to be rendered. It could be not loaded yet, it could be loaded, but positioned well off the Vbox etc. You have to wait for 2 events for this image: -creation Complete -updateComplete This would guarantee in 90% that your image will be printed. If you want

[flexcoders] Re: Mail Merge...

2008-08-24 Thread Dmitri Girski
Hi Paul, FlexReport is not on the right track, as well as Adobe's approach to printing. Problem starts right here: http://livedocs.adobe.com/flex/3/html/help.html?content=printing_5.html Person who wrote this manual didn't know the fact that Flash Player has a 2-pass renderer and this a key

[flexcoders] Re: about allowMultipleSelection question

2008-08-24 Thread Dmitri Girski
You have to subclass TileList and override selectItem method to simulate Ctrl key. Funny thing, I just did the same thing in the DataGrid yesterday :) http://mitek.id.au/blog/2008/08/24/easy-multiple-items-selection-in-datagrid/ Cheers, Dmitri. --- In flexcoders@yahoogroups.com, dialogtmp

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-23 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Howard Fore [EMAIL PROTECTED] wrote: On Fri, Aug 22, 2008 at 1:33 PM, Dmitri Girski [EMAIL PROTECTED] wrote: Nope, That's how Eclipse and Beyond Compare have always interacted, through a plugin. It's not a workaround, it's using the builtin capabilities

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-23 Thread Dmitri Girski
. I can't see the problem here. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED] wrote: Is it not just using the Eclipse tools for compare? DK On Fri, Aug 22, 2008 at 11:30 AM, Dmitri Girski [EMAIL PROTECTED] wrote: C'mon, guys! I don't believe

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
it in the Preferences? I haven't noticed that it was so terrible. And if you really don't like it that much use the External Tools Plugin and BeyondCompare. On Fri, Aug 22, 2008 at 11:30 AM, Dmitri Girski [EMAIL PROTECTED] wrote: C'mon, guys! I don't believe that I am the only one who uses

[flexcoders] SWCs become invisible in Design View

2008-08-22 Thread Dmitri Girski
Did anyone hit the problem with getting SWC contents shown in the Design View? At some of point of time (I presume with project growth), SWC contents are disappeared from Design View. And there is no Red Cross mark like if the component is not found - SWCs are just invisible, you can't point a

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
Dude, what's the hassle? You install a plugin for Eclipse, point the plugin at the BC executable and you're off... I just like when everything works. It worked before, now it is broken. And surprisingly, I am not happy with this fact, as instead of doing what I used to do I have to find some

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
Nope, That's how Eclipse and Beyond Compare have always interacted, through a plugin. Is so hard just to vote for the bug ? You can make at least one person happier :)

[flexcoders] Re: Vote or loose! MXML diff sucks, let's change it!

2008-08-22 Thread Dmitri Girski
Hi Kelly Why don't you just use Tortoise Diff? I use Tortoise SVN most of the time. Instead of Subclipse which sucks and instead of internal diff which also sucks. Tortoise SVN is a really great tool. But we also have guys on Macs and they don't have it. All stuff I tried for OS X is very

[flexcoders] Vote or loose! MXML diff sucks, let's change it!

2008-08-20 Thread Dmitri Girski
Hi guys, Internal diff tool in FB3 sucks big time. It worked in FB2, but someone decided that this thing is too good for this world and changed it. This ugly proportional font and this terrible performance are just unbearable! Single diff on 1000 lines files takes around 50 seconds. Multiply it

[flexcoders] Re: PrintDataGrid is not work properly

2008-07-04 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: Sometime last row for every page is not appeared and next page will skip that row . Sometime printing area is not apply to all page . This looks like a bug either in your code or the PDG itself. Could you post

[flexcoders] Re: Printing full page w/ no margins

2008-06-25 Thread Dmitri Girski
on in the driver although I still think it would be weird that my margins are 0,0 for top and left, and 100 px 100 px for right and bottom especially because anything else I print off (from another program) has evenly spaced margins. On 6/16/08 4:52 AM, Dmitri Girski [EMAIL PROTECTED] wrote

[flexcoders] Re: FlexPrintJob and page resolution

2008-06-25 Thread Dmitri Girski
Did you set FlexPrintJob property printAsBitmap = false? Cheers, Dmitri. http://mitek17.worpress.com --- In flexcoders@yahoogroups.com, y.mauron [EMAIL PROTECTED] wrote: Hi, I tried to use FlexPrintJob to print the content of one of my widget but I'm still struggling to obtain what I

[flexcoders] Google Maps - Error #2070 Cannot access Stage

2008-06-22 Thread Dmitri Girski
G'Day All! I've embedded the GoogleMaps into the website and I am getting this weird error #2070: SecurityError: Error #2070: Security sandbox violation: caller http://maps.googleapis.com/maps/lib/map_1_4.swf cannot access Stage owned by http://dental4u.com.au/index.swf. at

[flexcoders] Re: Printing full page w/ no margins

2008-06-16 Thread Dmitri Girski
I think that these are the settings of your printer driver. I am printing with margins 5-10 pixels, but I set the margings to 0 in the Distiller printer drivers. Cheers, Dmitri. http://mitek17.wordpress.com --- In flexcoders@yahoogroups.com, Josh Millstein [EMAIL PROTECTED] wrote: Does

[flexcoders] Re: HTTPRequest vs URLLoader

2008-06-16 Thread Dmitri Girski
HTTPRequest uses URLLoader. From the user point of view HTTPRequest is more XML oriented and URLLoader is more suitable for the binary stuff. Cheers, Dmitri. http://mitek17.wordpress.com --- In flexcoders@yahoogroups.com, Deniz Davutoglu [EMAIL PROTECTED] wrote: Hello I wonder what is

[flexcoders] Re: PrintJob print dialog box

2008-06-11 Thread Dmitri Girski
AFAIK, you can't do this. Also, FlexPrintJob does not have page support. I'd say more - it does not support printing at all except some trivial one page layouts. Cheers, Dmitri. http://mitek.id.au/whingingpom --- In flexcoders@yahoogroups.com, Yochikoh Haruomi [EMAIL PROTECTED] wrote: Dear

[flexcoders] Re: How to connect SSL pop server such as Gmail?

2008-06-10 Thread Dmitri Girski
you have 2 options: a) wait for Adobe to implement SSL support b) do it yourself I bet that the second option is much faster, even if it takes you 6 months :) Here is the library which contains everything you need to implement SSL support http://crypto.hurlant.com/ Cheers, Dmitri.

[flexcoders] Re: How to connect SSL pop server such as Gmail?

2008-06-10 Thread Dmitri Girski
, and if that protection would make it impossible to proxy, but I think it's doable. -Josh On Wed, Jun 11, 2008 at 12:39 PM, Dmitri Girski [EMAIL PROTECTED] wrote: you have 2 options: a) wait for Adobe to implement SSL support b) do it yourself I bet that the second option is much faster

[flexcoders] Re: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error.

2008-06-09 Thread Dmitri Girski
This is a general type socket error and it could be many reasons for it. - Check server logs for errors - set the fault handler for the HTTPService - use any sniffer to check the server response (you need to setup a standalone server for it as it is quite hard to debug localhost connections)

[flexcoders] Re: Enabling or disabling individual rows

2008-06-09 Thread Dmitri Girski
You can do it via custom ItemRenderers. For each column you have to create IR and there check the condition. If data meets the criteria - set enabled property of label or checkbox or whatever is in the IR to false. Cheers, Dmitri. -- http://mitek.id.au/whingingpom --- In

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-05 Thread Dmitri Girski
I am just wondering, why everyone is thinking about Mac laptops? IMHO, it does not worth it. The beauty of Mac is the 24 iMac screen. If you try it you will never go back to the laptops again. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, b_alen [EMAIL PROTECTED] wrote: Interesting.

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-05 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Oh please, mac is so intuitive. yeah, right. for housewives designers - maybe :) I went through all types of Windows, a lot of Linuxes, FreeBSD, damn PDP-11 and in my opinion Mac was the least intuitive *if you

[flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Dmitri Girski
I had caching issues with IE using POST. PS You can always do a POST using dynamic URL, which will stop caching. It does not really matter what is in the request body. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I have heard that POSTed requests

[flexcoders] Re: HTTPService multiple requests not being sent?

2008-05-27 Thread Dmitri Girski
the user agent to retrieve a cacheable resource. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: I had caching issues with IE using POST. PS You can always do a POST using dynamic URL, which will stop caching. It does not really matter what is in the request body

[flexcoders] Re: bug in setMonth() method?

2008-05-19 Thread Dmitri Girski
Hi Alex, Here is the bug when you set correct value and get incorrect result. https://bugs.adobe.com/jira/browse/SDK-14983 adding 24 hours does will not cause switching to the next date if it happens over the daylight saving change date [summer-winter]) Cheers, Dmitri. --- In

[flexcoders] Re: bug in setMonth() method?

2008-05-19 Thread Dmitri Girski
myDate.date += 1; instead, eh? I suspect mutating myDate.time is looked at as low level manipulation for special cases. Just a guess. DK On Mon, May 19, 2008 at 1:55 AM, Dmitri Girski [EMAIL PROTECTED] wrote: Hi Alex, Here is the bug when you set correct value and get incorrect

[flexcoders] Re: bug in setMonth() method?

2008-05-19 Thread Dmitri Girski
some others to vote and we'll take another look. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Monday, May 19, 2008 12:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: bug in setMonth() method

[flexcoders] Re: What do you use to print reports?

2008-05-15 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: You can also check out FlexReport - http://code.google.com/p/flexreport/ That'll probably get you what you need with no server-side :D FlexReport does not solve any of the original Flex printing problems - datagrid

[flexcoders] Re: URLRequest using local cache but I don't want it to.

2008-05-10 Thread Dmitri Girski
Hi Phil, Try this method: http://www.jabbypanda.com/blog/?p=16 Cheers! --- In flexcoders@yahoogroups.com, Phil Heinz [EMAIL PROTECTED] wrote: Hi everyone, I have a Flex 2 Loader component that I pass a URLRequest to the load method. We have an issue that the SWF we're trying to load via

[flexcoders] Re: NumericStepper goes nuts. Who to stop it?

2008-05-07 Thread Dmitri Girski
:59 PM, Dmitri Girski [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: So, change event comes if you do enabled = false/true. Here is the description from docs: Dispatched [change event] when the value of the NumericStepper control changes as a result of user interaction. I always

[flexcoders] Re: TextField - how does it calculate the number of lines?

2008-05-06 Thread Dmitri Girski
Anyone? --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: Question to Alex and the rest from Adobe gang: Why the TextField does not include in numLines the number of lines which ends up with CR or LF? I.e. if you have a text: Mary has a little lambCR (1

[flexcoders] NumericStepper goes nuts. Who to stop it?

2008-05-06 Thread Dmitri Girski
Hi all, Just bumped into some strange effect - if you click on the NumericStepper, then processing function disables it, does something and re-enables it - it starts clicking by itself. Any ideas how to stop this? Here is the code: ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: NumericStepper goes nuts. Who to stop it?

2008-05-06 Thread Dmitri Girski
flag which triggers the change event and so on... --- In flexcoders@yahoogroups.com, Dmitri Girski mitek17@ wrote: Hi all, Just bumped into some strange effect - if you click on the NumericStepper, then processing function disables it, does something and re-enables it - it starts

[flexcoders] Re: TextField - how does it calculate the number of lines?

2008-05-06 Thread Dmitri Girski
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Tuesday, May 06, 2008 8:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TextField - how does it calculate the number of lines? Anyone? --- In flexcoders@yahoogroups.com

[flexcoders] TextField - how does it calculate the number of lines?

2008-05-02 Thread Dmitri Girski
Question to Alex and the rest from Adobe gang: Why the TextField does not include in numLines the number of lines which ends up with CR or LF? I.e. if you have a text: Mary has a little lambCR (1) Mary has a little lambCR (2) And the width of TextField is big enough to accommodate the whole

[flexcoders] Re: resizing a textArea to fit Text of the container.

2008-05-01 Thread Dmitri Girski
TextField has a problem calculating numLines if text contains CR/LF symbols. Dmitri. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: At measure time, it's width may not have been passed to the internal textfield. From:

[flexcoders] Re: resizing a textArea to fit Text of the container.

2008-05-01 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote: TextField has a problem calculating numLines if text contains CR/LF symbols. Still, I don't know why you've got such a difference in your case. I am using the following thing: override public function set text

[flexcoders] Re: Loading socket policy files q

2008-04-29 Thread Dmitri Girski
Did you place cross-domain-policy allow-access-from domain=*.yourdomain.com/ /cross-domain-policy in the crossdomain.xml in your server root (same place where all your SWF are hosted)? This should allow further communications with yourdomain. Cheers, Dmitri. --- In

[flexcoders] Re: Partial result from HTTPService call

2008-04-26 Thread Dmitri Girski
with lastResult. event.result is reliable. That is enough reason for me. But it is your app, you can do whatever you want. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Friday, April 25, 2008 9:01 PM

[flexcoders] Re: Send DataProvider or datagrid to php

2008-04-26 Thread Dmitri Girski
You have to convert you data into XML, send it to server and then handle XML in PHP. Latest version of PHP already have XML parsing libraries. Or you can use something like this: http://keithdevens.com/software/phpxml http://eric.pollmann.net/items/2007/2/2007_02_12_xmlparser/ Cheers, Dmitri.

[flexcoders] Re: Secure Login

2008-04-25 Thread Dmitri Girski
Hi, I think that the simplest back-end is a PHP with session handling. On the client side you shouldn't do anything as browsers deal with sessions. Start reading from here: http://au.php.net/manual/en/book.session.php The idea is that server should ask browser to start a session for every

[flexcoders] Re: Partial result from HTTPService call

2008-04-25 Thread Dmitri Girski
. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: See if it goes away if you delay your work with a callLater()? If so, then you're probably dead right :) -J On Wed, Apr 23, 2008 at 3:27 PM, Dmitri Girski [EMAIL PROTECTED] wrote: Hi Tracy

[flexcoders] Re: currentState question

2008-04-25 Thread Dmitri Girski
Bonjour, I am pretty sure that this error comes as a consequence of changing the state. You should check what happens when you change the state - probably you trying to access an element which does not exist in the base state. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Nicolas

[flexcoders] Re: printAsBitmap true vs. false

2008-04-25 Thread Dmitri Girski
And? It sets printAsBitmap = false. So what? It does not answer the question. --- In flexcoders@yahoogroups.com, nathanpdaniel [EMAIL PROTECTED] wrote: Have you looked into FlexReport? http://code.google.com/p/flexreport --- In flexcoders@yahoogroups.com, toofah_gm garym@ wrote: I

[flexcoders] Re: Partial result from HTTPService call

2008-04-25 Thread Dmitri Girski
event.result would also prevent that. lastResult is unadvisable for programmatic use. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Friday, April 25, 2008 9:42 AM To: flexcoders@yahoogroups.com

[flexcoders] Re: currentState question

2008-04-25 Thread Dmitri Girski
mailto:flexcoders% 40yahoogroups.com , Dmitri Girski mitek17@ wrote: Bonjour, I am pretty sure that this error comes as a consequence of changing the state. You should check what happens when you change the state - probably you trying to access an element which does not exist

[flexcoders] Slooooow Compare Editor in FB3

2008-04-24 Thread Dmitri Girski
Please vote on this bug: https://bugs.adobe.com/jira/browse/FB-12492 This performance will not stand, man! :) Cheers!

[flexcoders] Re: Partial result from HTTPService call

2008-04-22 Thread Dmitri Girski
. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: It is in the docs somewhere, but I couldn't find it when I looked now. Maybe it isn't exactly the same. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri

[flexcoders] Re: Need help buying Flex licenses in US$ - Intl prices are highway robbery!

2008-04-17 Thread Dmitri Girski
This is a well known rip off. Adobe still thinks that 1USD = 0.6AUD. And same happens in Europe. It looks like that the Adobe's online shop was created in 1998 and all team members have been fired immediately afterwards. And probably they were relocated to the small isolated island in Pacific.

[flexcoders] Re: Flex bug database - choosing a milestone

2008-04-13 Thread Dmitri Girski
so picked that. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com , Dmitri Girski mitek17@ wrote: Hi all, When you create an bug in the Flex bug database you have to select the milestone or release in which bug is found. Does

[flexcoders] Re: Fb3 Help

2008-04-13 Thread Dmitri Girski
I didn't find anything regarding FB3 Help in bugs database, so I've created the new bug: https://bugs.adobe.com/jira/browse/FB-12406 Please vote if you think that using Google is a wrong way to search :) Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Dmitri Girski [EMAIL PROTECTED] wrote

[flexcoders] Re: Problem when trying to use RSL Cache

2008-04-13 Thread Dmitri Girski
Hi Bruce, Have a look at my earlier post http://tech.groups.yahoo.com/group/flexcoders/message/108149 AFAIK it means that the order player loads things is incorrect. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, boy_trike [EMAIL PROTECTED] wrote: I am using FB 3. in Project / Build I

[flexcoders] Re: Weird stacktrace in Console panel

2008-04-13 Thread Dmitri Girski
There are many cases when you people combine multiple cases with one action, so getting compiler warning for them will be unwelcome. Documentation clearly states the condition of fall-through, so this is perfectly legal situation. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, João

[flexcoders] Re: socket policy for 9.0.124

2008-04-13 Thread Dmitri Girski
Hi Mathew, Sorry for stupid question - but do you have a socket server listening on port 843? Cheers, Dmitri. --- In flexcoders@yahoogroups.com, Easow Jacob [EMAIL PROTECTED] wrote: Hi, After the new flash updates 9.0.124 ,i changed my security seetings for socket connection...but its

[flexcoders] Re: What hosting compagny are you using for Flex + (Blaze || LCDS)

2008-04-13 Thread Dmitri Girski
co-location. Servers are cheap in these days. Cheers, Dmitri. --- In flexcoders@yahoogroups.com, guillaumeracine [EMAIL PROTECTED] wrote: I just created a new Flex+BlazeDS app. I did not notice any memory problem during development because i was using -xms:1024. When i copied the my

[flexcoders] Flex bug database - choosing a milestone

2008-04-11 Thread Dmitri Girski
Hi all, When you create an bug in the Flex bug database you have to select the milestone or release in which bug is found. Does anybody know what is the proper name for the Flex Builder 3 release (Feb 27, 2008)? I3 Moxie Release (Fix Before Release) RC6 RC5 RC4 RC3 RC2 RC1 RC0 Moxie M3(zero)

[flexcoders] Re: How can I clear an ArrayCollection or Datagrid

2008-04-07 Thread Dmitri Girski
Hi Alex, I believe that there is a bug/feature with binding HTTPService result to a DataGrid. If HTTPService returns empty result (null), DataGrid won't be cleared from a previous values. To overcome this problem I had to use a dataProvider variable(ArrayCollection) which I clear every time

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Dmitri Girski
Install Wireshark sniffer and check the contents of the packets. I am inclined to think that this problem is on a server side. PS What is on the server side? --- In flexcoders@yahoogroups.com, longxjyh [EMAIL PROTECTED] wrote: When I use HttpService to send data by post method,I encounter a

[flexcoders] Re: How can I clear an ArrayCollection or Datagrid

2008-04-07 Thread Dmitri Girski
Assigning an empty AC should do it as well, though. Nope, it didn't work for me. I had this problem with both DataGrid AdvancedDataGrid and ended up with intermediate ArrayCollection.

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-07 Thread Dmitri Girski
OK, guys, I'll try to summarise my painful experience with HTTPService. Things which could go wrong: - HTTPService settings, i.e. type of the parameters object. You should check that if you send XML, the type of the object is XML and content-type is application/xml - I had a lot of mysterious

[flexcoders] Re: How can I clear an ArrayCollection or Datagrid

2008-04-07 Thread Dmitri Girski
, but again, if you detect that it returns null and set the array collection to an empty array collection it should reset the DG. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitri Girski Sent: Monday, April 07, 2008 8:22 AM

[flexcoders] Re: CVS server and flex builder

2008-04-07 Thread Dmitri Girski
It is very easy under *nix environment. http://gentoo-wiki.com/HOWTO_CVS_Server And it is possible under Windows, but I would go instead with CVSNT. http://weblog.cemper.com/a/200307/28-cvs-version-control-on-windows-in-10-minutes.php Dmitri. --- In flexcoders@yahoogroups.com, hworke [EMAIL

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

2008-04-04 Thread Dmitri Girski
By a coincidence I created yesterday a component you are talking about. http://mitek.id.au/flex/ElasticTextField.as The important thing is - it works in Flex Printing Plant/Engine. PS This is a readonly thing as my primary goal was printing. I tried to use TextArea - it does not work in

  1   2   >