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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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://
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
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
>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
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:
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
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.
>
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
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'
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
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
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:
>
}
> if (style.factory == null)
> {
> style.factory = function():void
> {
> this.paddingBottom = 0;
> this.paddingTop = 0;
> };
> }
>
>
> Hope this helps,
> Anatole Tartakovsky
>
>
> - Original Message -
&
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
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
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
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
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
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
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
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,
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
>
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!
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
> 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
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
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
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
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
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
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();
//-
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
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
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
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
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
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:
>
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
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
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
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
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
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:
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
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=
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
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
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.
62 matches
Mail list logo