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* {
*
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
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
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
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
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
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
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)
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
. 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
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
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
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:
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
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
>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
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
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
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
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
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
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
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:
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:
{
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
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
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:
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:
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
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
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
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,
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}
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
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
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
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
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%
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:
mx:Script
![CDATA[
[Embed(data.xml)]
var xmldata:Object;
]]
/mx:Script
mx:Model id=xmlModel
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
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();
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
.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
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
60 matches
Mail list logo