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* { *super*.updateDispl

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

2006-06-21 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 wo

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 can suggest to me?  On 6/14/06, Stanislav Zayarsky <[EMAIL PROTECTED]> wrote: Concerning Manish example, what is the magic numbers there? >> _measuredPreferredHeight = label.

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

2006-06-14 Thread Stanislav Zayarsky
Concerning Manish 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

[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 loaded I set it to components and set visibile = true to al

[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 TextArea expand it's height, so all text is visible without vertical scrollbar.   It looks l

[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 site and 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 p

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] Meaning of xmlns="*"?

2006-05-19 Thread Stanislav Zayarsky
From help:   Components in the same directory as the application can use a namespace defined as either of the following: xmlns="*" xmlns:prefix="*"   Best regards Stanislav  On 5/19/06, fi_heidi <[EMAIL PROTECTED]> wrote: Hello,I'm relatively new to Flex, and I'm editing some code in an existi

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 >&g

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

2006-05-16 Thread Stanislav Zayarsky
do-code showing it?   I understand your goal of having 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

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

2006-05-16 Thread Stanislav Zayarsky
t method pattern to put the formatting logic in utility class.> 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.co

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

2006-05-16 Thread Stanislav Zayarsky
Alistair, 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 Stanislav On 5/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Thanks Alistar, > > That seems like a cle

Re: [flexcoders] TextInput and masking

2006-05-14 Thread Stanislav Zayarsky
Hello Gordon, You are using RegExp in the sample, so two questions: Can you tell me where I can get RegExp documentation? Do we have RegExp in Flex 1.5, 2? Best regards Stanislav On 5/14/06, Gordon Smith <[EMAIL PROTECTED]> wrote: > TextInput has a 'restrict' property that lets you specify

[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: http://

Re: [flexcoders] Flex 1.5 development, hardware question

2006-05-03 Thread Stanislav Zayarsky
flexcoders@yahoogroups.com [mailto:[EMAIL 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 t

[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 bo

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 all

Re: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-23 Thread Stanislav Zayarsky
x27;m not sure what you're > 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] 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

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. >

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 PROTECTE

[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 haven'

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 variables

[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: http://www.mail-archive.com

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: >

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

2006-03-23 Thread Stanislav Zayarsky
} > if (style.factory == null) > { > style.factory = function():void > { > this.paddingBottom = 0; > this.paddingTop = 0; > }; > } > > > Hope this helps, > Anatole Tartakovsky > > > - Original Message - &

[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: http://groups.yahoo.com/group/flexcoders

[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: http://groups.yahoo.com/group/flexcoders/files/fl

[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: http://groups.yahoo.com/group/flexcoders/files/fl

Re: [flexcoders]Combobox feature?

2006-02-16 Thread Stanislav Zayarsky
haps). One that comes to mind is to capture keyboard event and > > cross-track that with the selectedItem to decipher when Ctrl+click on > > the currently selectedItem has occurred. > > > > -Original Message- > > From: flexcoders@yahoogroups.com [mailto:[EMAI

[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 S

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

2006-02-13 Thread Stanislav Zayarsky
our own and you can tune > however you want. > > It seems like you just need to experiment to find the tuning that works > for you. > > Sorry, > Matt > > -Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of

[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, usin

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: Few notes: 1. Don't forget to call .send() method on your HTTPService object,

Re: [flexcoders] How to create Validator via ActionScript

2006-01-13 Thread Stanislav Zayarsky
be created 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 >

[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 Yahoo!

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: 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 Message- > From: flexcoder

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 "true". and then compile mxml. Then open generated *.as file and see what is there. >From there we can take this script: var myXML:XMLNode

[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: function showSize() { mx.controls.Alert.show(String(cv._width) + " " + String (cv._height)); } It shows some numbers > 0. That's ok. But if we just remove back

[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: But the errors are: 1. Problem parsing external XML document 2. Model 'xmlModel' contains only scalar content - this is currently unsupported Best rega

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 extensi

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, Srid

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

2005-10-28 Thread Stanislav Zayarsky
Hello,   Two more methods:   1. To use method executeBindings(), on the control   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] 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 //Button that invoke function from ViewHelper Excerpt from ViewHelper

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, o

[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 th

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

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 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: >

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 o

[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] 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 a

Re: [flexcoders] Calling functions

2005-08-23 Thread Stanislav Zayarsky
x1,y1); You need to send additional 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 func

Re: [flexcoders] Calling functions

2005-08-23 Thread Stanislav Zayarsky
Hello, You had several errors in your script, try this variant: http://www.macromedia.com/2003/mxml"; > Best regards Stanislav On 8/23/05, Prasad Dhananjaya <[EMAIL PROTECTED]> wrote: > Hi All, > > I have a small question. > I want to call function "line()" and f

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: > > > > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Stanislav Zayarsky > Sent: 22 August 2005 15:

[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 rec

[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 ~--> http://us.ard.yahoo.com/SIG=12hifjn8i/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=

[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
in accordeon header in different color. > Maybe htmlText field in that header. > > As far as I know we have Button in the accordeon header, so my > assumption is to extend button class and use it in extended > accordeonHeader class. > > Maybe someone can su

[flexcoders] Accordeon header, text in different color

2005-08-05 Thread Stanislav Zayarsky
better solution? Best regards Stanislav Zayarsky Yahoo! Groups Sponsor ~--> 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/*http://www.networkforgood.