SOLVED: Re: [flexcoders] Re: How to make FormItem labels left aligned?

2006-12-14 Thread Stanislav Zayarsky
Guys, Just use this ExtendedFormItem class instead of default FormItem. Here is the code: *public* *class* ExtendedFormItem *extends* FormItem { * override* *protected* *function*updateDisplayList(unscaledWidth:Number, unscaledHeight:Number) : *void* { *

Re: [flexcoders] [Ann] The world's largest Flex application

2006-06-22 Thread Stanislav Zayarsky
Chris, So how all other developers can get this valuable knowledge? Best regards Stanislav On 6/22/06, Chris Velevitch [EMAIL PROTECTED] wrote: FlexDaddy ( http://www.flexdaddy.info/2006/06/19/afr-access-one-of-the-largest-public-flex-apps-to-date/)talks about it and, unfortunately, it won't

[flexcoders] Flex 1.5 TextArea height

2006-06-14 Thread Stanislav Zayarsky
Hello FlexCoders, I have TextArea on the stage, it has some size. After app initialized I'm populating TextArea with new data, scrollbar appears and it works good. But I need next functionality,I need TextAreaexpand it's height, so all text is visible without vertical scrollbar. It looks like

[flexcoders] Flex 1.5 Components Blinking

2006-06-14 Thread Stanislav Zayarsky
Hello FlexCoders, Let's assume next situation: We have a lot of different components on the screen, application initialized and they are hidden. Then I load some data from the server, in the meantime showing preloader, and after data loadedI set it to components and set visibile = true to all

Re: Re[2]: [flexcoders] Flex 1.5 TextArea height

2006-06-14 Thread Stanislav Zayarsky
ConcerningManish example, what is the magic numbers there? _measuredPreferredHeight = label.textHeight + 4; And it doesn't work! I will try getTextExtent workaround. Best regards Stanislav On 6/14/06, Andriy Panas [EMAIL PROTECTED] wrote: Hello Stanislav,One more idea found by me at history

Re: Re[2]: [flexcoders] Flex 1.5 TextArea height

2006-06-14 Thread Stanislav Zayarsky
Ok, let's forget about getTextExtent.. Because it is has it's own limitations. What Adobe guys cansuggest to me? On 6/14/06, Stanislav Zayarsky [EMAIL PROTECTED] wrote: ConcerningManish example, what is the magic numbers there? _measuredPreferredHeight = label.textHeight + 4; And it doesn't

[flexcoders] Flex 1.5 Proflier doesn't work

2006-05-30 Thread Stanislav Zayarsky
Hello FlexCoders, I have installed Flex Profiler, usign Tutorial from Adobe siteand I can't get it to work! Three other people from my company tried to do the same job and no luck! Flex Profiler just don't show results, and don't save any data to profiler directory. Yes, we have debug

Re: [flexcoders] Re: Loading one cairngorm into another cairngorm

2006-05-28 Thread Stanislav Zayarsky
What if you will remove singletons from you code? I don't think that you can get clear solution to this problem with Cairngorm design, just some workarounds. Best regards Stanisla On 5/27/06, Xavi Beumala [EMAIL PROTECTED] wrote: Maybe the new LoaderContext (similar to classLoader in Java)

Re: [flexcoders] Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-16 Thread Stanislav Zayarsky
Alistair, mx:Label text={ MyUtilityClass.formatDataToSomethingSimpler( ModelLocator.getInstance().complexData ) } / I think it is not good when view knows something about how to parse data. View should be decoupled from this. This is not clear solution. What do you think? Best regards

Re: [flexcoders] Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-16 Thread Stanislav Zayarsky
. That would also let us test it using FlexUnit. Where would you propose that logic would go? Cheers, Ali -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com ] On Behalf Of Stanislav Zayarsky Sent: 16 May 2006 15:00 To: flexcoders@yahoogroups.com Subject: Re

Re: [flexcoders] Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-16 Thread Stanislav Zayarsky
a view that is re-usable, but I would go for simplicity to start with and refactor to that reusability should it be required. Cheers, Ali From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Stanislav Zayarsky Sent: 16 May 2006 16:11 To: flexcoders

Re: [flexcoders] Are ViewHelper and ViewLocator deprecated in Cairngorm 2?

2006-05-16 Thread Stanislav Zayarsky
Ok, I have just found the review: http://www.richinternetapps.com/archives/000144.html Best regards Stanislav On 5/16/06, Stanislav Zayarsky [EMAIL PROTECTED] wrote: I'm not 100% sure what you're saying - are you saying you'd have a controller for each view? Right, I would like to have

[flexcoders] question about Adobe MAX 2006

2006-05-14 Thread Stanislav Zayarsky
Hello FlexCoders, Question to Adobe guys: I'm interested when we(community) will have information about Adobe MAX 2006. Exact dates, schedules, prices, etc.. And second question is how to become a speaker on MAX conference? Best regards Stanislav -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Flex 1.5 development, hardware question

2006-05-03 Thread Stanislav Zayarsky
PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Friday, April 28, 2006 2:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5 development, hardware question Hello FlexCoders, I'm interested what is the best hardware configuration for developing Flex app? Because compiling

[flexcoders] Flex 1.5 development, hardware question

2006-04-28 Thread Stanislav Zayarsky
Hello FlexCoders, I'm interested what is the best hardware configuration for developing Flex app? Because compiling time sometimes, when project really large, takes 1 min+. I know that processor(less 50%) and RAM usage is ok on my machine when compile, but HDD is working hard. So where is

Re: [flexcoders] Flex 1.5 ViewStack child creation

2006-04-25 Thread Stanislav Zayarsky
>From Help: Navigator containers such as Accordion, TabNavigator, and ViewStack implement the auto policy by creating all their children immediately, but wait to create the deeper descendants of a child until it becomes the selected child of the navigator container. So if you want to create

Re: [flexcoders] Flex 1.5 - getrepeaterItem values

2006-04-23 Thread Stanislav Zayarsky
Matt, you know that mx.utils.ObjectCopy doesn't work properly. Best regards Stanislav On 4/23/06, Matt Chotin [EMAIL PROTECTED] wrote: You'll need to make your own copy of the object, AS is always pass by reference. You can try calling mx.utils.ObjectCopy.copy(yourobj) and it may

Re: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-23 Thread Stanislav Zayarsky
actually running into here? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Saturday, April 22, 2006 7:52 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Uncaught exceptions in Flex 1.5 Hello

Re: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-22 Thread Stanislav Zayarsky
Hello FlexCoders, I have the same problem! Adobe guys, can you help us? Best regards Stanislav On 4/21/06, Sergey Kovalyov [EMAIL PROTECTED] wrote: Hi All! How to deal with uncaught exceptions in Flex 1.5? Actually they kill application running via terminating the current script. Due

Re: [flexcoders] Flex framework: ARP, Cairngorm... Which to use?

2006-04-19 Thread Stanislav Zayarsky
Actually I think that this two frameworks almost the same. The same patterns, with very little difference. By the way ViewLocator is bad practice. So you can try Cairngorm, I think you will get more support here with this framework. Best regards Stanislav On 4/19/06, JesterXL [EMAIL

[flexcoders] Question to Adobe about Flex Framework 1.5 Code Quality

2006-04-06 Thread Stanislav Zayarsky
Hello FlexCoders, Recently I have discovered very weird bug in ViewStack, I haven't been able to reproduce it yet, will do that later, so in the meantime I started to explore Flex source files, and look what interesting code I see there(see attachment) This is just excerpt from one file, I

Re: [flexcoders] As2lib regexp doesn't work in Flex

2006-04-04 Thread Stanislav Zayarsky
Hello FlexCoders, To Adobe guys: Is this a bug in Flex 1.5? I spent 4 hours and I have just fixed that bug! :) So it doesn't work in Flex because, of this (org.as2lib.regexp.Pattern): static var ACCEPT:Node = new Node(); static var LASTACCEPT:Node = new LastNode(); A classes instance

[flexcoders] AS2, RegExp implementation?

2006-03-28 Thread Stanislav Zayarsky
Hello FlexCoders, Does anybody know if there good implementation of RegExp in AS2? AS2Lib implementation is not working properly. Best regards Stanislav -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Stanislav Zayarsky
Hi FlexCoders, I'm wondering how I can create new custom style in my ActionScript Component? And how to use it with StyleManager? Can anybody point me to documentation where this topic is described? Best regards Stanislav -- Flexcoders Mailing List FAQ:

Re: [flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Stanislav Zayarsky
{ this.paddingBottom = 0; this.paddingTop = 0; }; } Hope this helps, Anatole Tartakovsky - Original Message - From: Stanislav Zayarsky To: flexcoders@yahoogroups.com Sent: Thursday, March 23, 2006 11:29 AM Subject: [flexcoders] How to create new custom Style

Re: [flexcoders] How to create new custom Style in custom component?

2006-03-23 Thread Stanislav Zayarsky
Thanks Stephen, I suppose it will work with Flex 1.5 too? Best regards Stanislav On 3/23/06, Stanislav Zayarsky [EMAIL PROTECTED] wrote: Thanks Anatole, This helps! Best regards Stanislav On 3/23/06, Anatole Tartakovsky [EMAIL PROTECTED] wrote: I believe the simplest way is to look

[flexcoders] Flex 1.5 ObjectCopy again

2006-02-23 Thread Stanislav Zayarsky
Hello Flex Coders, I know this question was discussed earlier, but I can't find the working source code. So please if anyone has source for working ObjectCopy class, please send it to me. Best regards Stanislav -- Flexcoders Mailing List FAQ:

[flexcoders] How to get to know that control has N% width property?

2006-02-23 Thread Stanislav Zayarsky
Hello Flex Coders, I have next question: For example we have declared in mxml Button with width property set to N%. So I'm wondering how I can find at runtime that this Button is N% width? Best regards Stanislav -- Flexcoders Mailing List FAQ:

[flexcoders]Combobox feature?

2006-02-16 Thread Stanislav Zayarsky
Hello All, Try next: 1. Create combobox with some data inside 2. Run app 3. Choose any item inside in combobox 4. Open combobox again and CTRL+click on the same item. Result: Empty selected value in combobox. Question: Is this feature or the bug? If feature, how I can remove it? Best regards

Re: [flexcoders]Combobox feature?

2006-02-16 Thread Stanislav Zayarsky
to decipher when Ctrl+click on the currently selectedItem has occurred. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Thursday, February 16, 2006 7:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

Re: [flexcoders]How to create Heavy interface properly?

2006-02-13 Thread Stanislav Zayarsky
to find the tuning that works for you. Sorry, Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Friday, February 10, 2006 4:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]How to create Heavy

[flexcoders]How to create Heavy interface properly?

2006-02-10 Thread Stanislav Zayarsky
Hello Flex Developers, I have next problem: Context of the problem: In my application I have little main page with text info, and after mouse click user goes to next page where is accordion placed with 5 childrens inside and every of this children load some data from server and then show it,

Re: [flexcoders] Filling a TileList with objects from a dataProvider in Flex 1.5

2006-01-26 Thread Stanislav Zayarsky
Good Morning, It works, you just need to make dataBinding: HTTPService result -- Repeater dateprovider Sample code: mx:HTTPService id=dataModel / mx:Tileid=myTile mx:Repeater id=items dataProvider={dataModel.result}

Re: [flexcoders] How to create Validator via ActionScript

2006-01-13 Thread Stanislav Zayarsky
in ActionScript. However in Flex 2 they're completely faceless and just begging for you to create them in AS. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Wednesday, January 11, 2006 5:05 AM To: flexcoders

[flexcoders] Best way to create such type of DataGrid?

2005-12-30 Thread Stanislav Zayarsky
Hello FlexCoders, I'm wondering what is the best way to create such type of DataGrid in Flex 1.5? here is image with datagrid that was created in html: http://www.go4flash.com/Table.gif Does DataGrid component suits the best in this case? Best regards Stanislav

Re: [flexcoders] Extra space problem in ViewStack while using Text with 100% width defined

2005-12-28 Thread Stanislav Zayarsky
Hello Guys, Inside documentation we can find resizeToContent property: mx:ViewStack resizeToContent=true So it's a good practice to read documentation sometimes :) Best regards Stanislav On 12/27/05, Matt Chotin [EMAIL PROTECTED] wrote: Look into the margin styles maybe? -Original

Re: [flexcoders] How to embed XML in AS3?

2005-12-26 Thread Stanislav Zayarsky
I want to konw how to embed XML in AS2? Is xml MIME type? Let's try the next thing: create XML element in mxml and before this set in flex-config.xml file keep-generated-astrue/keep-generated-as. and then compile mxml. Then open generated *.as file and see what is there. From there we can take

[flexcoders] Size of the container, bug or feature?

2005-12-09 Thread Stanislav Zayarsky
Hello Guys, Can please someone explain to me next thing, let's review the code: mx:Script function showSize() { mx.controls.Alert.show(String(cv._width) ++ String (cv._height)); } /mx:Script mx:Canvas id=cv width=100%

[flexcoders] How to specify root application folder

2005-11-25 Thread Stanislav Zayarsky
Hello Flex Coders, I have next problem: I have images folder in the root of the application folder. And I have mxml file deeply inside other folders, that has Loader component and I want to load image there. But I don't know how to specify path to the image i.e. I don't know how to point to the

[flexcoders] How to Embed XML file at compile time?

2005-11-18 Thread Stanislav Zayarsky
Hello Guys, Does anyone know how to Embed XML file at compile time? I'm trying to use this code: mx:Script ![CDATA[ [Embed(data.xml)] var xmldata:Object; ]] /mx:Script mx:Model id=xmlModel

Re: [flexcoders] Re: TextInput/List matching

2005-11-04 Thread Stanislav Zayarsky
Hello Matt, I have just implemented this feature! :) If you will have questions about implementation I will gladly help you. The sample here http://www.richinternetapps.com/archives/79.html is using much memory but pretty fast, I created application that uses less memory but more cpu

Re: [flexcoders] When ModelLocator Databinding does not work...

2005-10-28 Thread Stanislav Zayarsky
Hello, Two more methods: 1. To use method executeBindings(), on thecontrol 2. To recreate the data to which control is binded. For example if we have a list that is binded to array, then we need to recreate the array: temp_arr = new Array(); temp_arr = new_arr; my_arr = new Array();

Re: [flexcoders] Remoe Object call issue

2005-10-28 Thread Stanislav Zayarsky
Hello Sridhar, We had a similar problem. Flex app didn't want to get data from RO, the problem was that server sent to us not correct data. Please double check the data that server return to you! It is possible that problem on server side. Best regards Stanislav On 10/28/05, Boddula, Sridhar

Re: [flexcoders] ViewHelper and Cairngorm

2005-10-27 Thread Stanislav Zayarsky
Hello Michel, ViewHelper is made for separation code from content. Example: you can specify in mxml file button, and on click event ask ViewHelper to invoke function. Excerpt from View: //attaching ViewHelper to the view view:myViewHelper id=myViewHelper / //Button that invoke function from

Re: [flexcoders] Me go to MAX alone. you be my friend?

2005-10-13 Thread Stanislav Zayarsky
Hello All, I will be there too :) I'm 23 and I'm from Kiev, Ukraine. Looking forward to see you all there. Best regards Stanislav On 10/12/05, Douglas Knudsen [EMAIL PROTECTED] wrote: Maybe we can write 'FLEXCODERS' on our badges. Then we can spot each other in the halls, in sessions, or

[flexcoders] Application built on Cairngorm framework, several instances problem

2005-10-05 Thread Stanislav Zayarsky
Hello Everybody, I have next issue: I have built simple Rich Text Editor on Flex using Cairngorm framework. All is working perfectly! But, when I'm trying to create, for example, two instances in one application... The issue that we use ModelLocator class that has static properties inside and

Re: [flexcoders] How to properly use dispatchEvent

2005-09-15 Thread Stanislav Zayarsky
Hello, Yes dispatchEvent({type:event_name}) is the right command, But also you need to specify MetaData, so compiler knows that this component is dispatching event, so you should type: [Event(event_name)] in Script tag. Best regards Stanislav On 9/15/05, jcrane [EMAIL PROTECTED] wrote: I am

Re: [flexcoders] How to properly use dispatchEvent

2005-09-15 Thread Stanislav Zayarsky
Yeah, interesting question. Maybe you will just need to add your own listener!? So grandparent will be listen for events from grandchild. Best regards Stanislav On 9/15/05, jcrane [EMAIL PROTECTED] wrote: Yes, I have the MetaData setup. It actually is working the way I expect it to, I just

Re: [flexcoders] How to overload methods in Actionscript?

2005-09-15 Thread Stanislav Zayarsky
Libby, ActionScript doesn't support method overloading. Best regards Stanislav On 9/15/05, Libby [EMAIL PROTECTED] wrote: When I use same method name more than once (with additional arguments), Flex compiler says I can't use the same name more than once. Is this really true (Flex doesn't

[flexcoders] Form dynamic layout

2005-09-05 Thread Stanislav Zayarsky
Hello Flex Coders, I have next question: I have some Form. Dependent on user actions, I want to dynamically change FormItems, destroy or create new of them. (For example user choose country Zimbabwe, so then I need to remove state combobox with list of usa states) How I can achieve this? Best

Re: [flexcoders] Form dynamic layout

2005-09-05 Thread Stanislav Zayarsky
Thanks Manish, it works! Best regards Stanislav On 9/5/05, Manish Jethani [EMAIL PROTECTED] wrote: On 9/5/05, Stanislav Zayarsky [EMAIL PROTECTED] wrote: I have some Form. Dependent on user actions, I want to dynamically change FormItems, destroy or create new of them. (For example user

Re: [flexcoders] Calling functions

2005-08-23 Thread Stanislav Zayarsky
Hello, You had several errors in your script, try this variant: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Panel width=732 title=MyPanel mx:Canvas id =mycanvas width=715 height=408 backgroundColor=#FF

Re: [flexcoders] Calling functions

2005-08-23 Thread Stanislav Zayarsky
parameter to line function that contain movieclip where you want to draw that line! Best regards Stanislav Zayarsky On 8/23/05, david_gal-reyniez [EMAIL PROTECTED] wrote: Prasad, What I may say about your code : - the function line contains moveTo that you call each time you call

Re: [flexcoders] Flex App with RSL fails in Standalone Flash Player

2005-08-23 Thread Stanislav Zayarsky
So is it possible to run that app with rsl from standalone player? If so, can you please create some sample with crossdomain.xml file? Best Regards Stanislav Zayarsky On 8/23/05, Matt Chotin [EMAIL PROTECTED] wrote: You might need a crossdomain.xml file available since the standalone

[flexcoders] dispatchEvent with parameter

2005-08-22 Thread Stanislav Zayarsky
Dear Flex Coders, I have next small issue: I don't know how to dispatchEvent with parameter from *.as custom component to Flex. Actually I know how to send parameter from component, it should look like this: link.dispatchEvent({type:eventName,param:Hello World}); But I don't know how to

Re: [flexcoders] dispatchEvent with parameter

2005-08-22 Thread Stanislav Zayarsky
Wow, It's working! Thanks a lot Allen! :) On 8/22/05, Allen Manning [EMAIL PROTECTED] wrote: componentName eventName=clicked(event.param)/ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: 22 August 2005 15:15

[flexcoders] Ladislav Zigo Tweening Prototype in Flex

2005-08-18 Thread Stanislav Zayarsky
Does anybody know how to use this Ladislav Zigo Prototype http://laco.wz.cz/tween/ in Flex? Best regards Stanislav Yahoo! Groups Sponsor ~-- font face=arial size=-1a

[flexcoders] Flash Component for Flex

2005-08-11 Thread Stanislav Zayarsky
Hello, I want to create advanced flash component and use it in Flex. So I have started to write Flash component for flex and... suddenly I realized that I can't use attachMovie command! But I want to attach symbols from library... Does anyone know smth about this issue? Best regards Stanislav

RE: [flexcoders] Accordeon header, text in different color

2005-08-09 Thread Stanislav Zayarsky
.selectedIndex); // accordion1 is the id of the accordion lastSelected = header; header.setStyle(color, 0xFF) } Thanks -Ashish -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent

[flexcoders] Accordeon header, text in different color

2005-08-05 Thread Stanislav Zayarsky
better solution? Best regards Stanislav Zayarsky Yahoo! Groups Sponsor ~-- font face=arial size=-1a href=http://us.ard.yahoo.com/SIG=12hs4mknp/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123263230/A=2894361/R=0/SIG=13jmebhbo