[flexcoders] Can't remember the name of the application.

2008-09-09 Thread Mikhail Shevchuk
Hello, flexcoders!

There is a library or some tool that can be embedded into your
application that lets user to see the description of a given
component.
The feature of that tool is that it shows this information in runtime.
User just hovers(or something like this) over a button for example and
tooltip with the info bubbles out.

I have a set of nested containers and one of them has undesired
scrollers there, so I would like to know which of them is guilty :)
That is the reason I am searching this tool. This is pretty frequent
operation I have in my work so I'd like to optimize this job with this
tool.

Thanks in advance.

-- 
m. | http://creationcomplete.com


Re: [flexcoders] Can't remember the name of the application.

2008-09-09 Thread Mikhail Shevchuk
Both solutions are great! Thank you!

2008/9/9 Jim Hayes [EMAIL PROTECTED]:
 Maybe flexSpy?



 http://www.riapedia.com/2008/01/02/flexspy_modify_and_inspect_all_visual_flex_components

 http://code.google.com/p/fxspy/







 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Mikhail Shevchuk
 Sent: 09 September 2008 09:52
 To: Flex
 Subject: [flexcoders] Can't remember the name of the application.



 Hello, flexcoders!

 There is a library or some tool that can be embedded into your
 application that lets user to see the description of a given
 component.
 The feature of that tool is that it shows this information in runtime.
 User just hovers(or something like this) over a button for example and
 tooltip with the info bubbles out.

 I have a set of nested containers and one of them has undesired
 scrollers there, so I would like to know which of them is guilty :)
 That is the reason I am searching this tool. This is pretty frequent
 operation I have in my work so I'd like to optimize this job with this
 tool.

 Thanks in advance.

 --
 m. | http://creationcomplete.com

 __
 This communication is from Primal Pictures Ltd., a company registered in
 England and Wales with registration No. 02622298 and registered office: 4th
 Floor, Tennyson House, 159-165 Great Portland Street, London, W1W 5PA, UK.
 VAT registration No. 648874577.

 This e-mail is confidential and may be privileged. It may be read, copied
 and used only by the intended recipient. If you have received it in error,
 please contact the sender immediately by return e-mail or by telephoning
 +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its
 contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs Email
 Security System.
 __
 



-- 
m. | http://creationcomplete.com


Re: [flexcoders] How would you make a heat map?

2007-11-08 Thread Mikhail Shevchuk
You should specify the itemRenderer where you should set the
'backgroundColor' style depending on data passed to the itemRenderer.

-- 
http://creationcomplete.com


Re: [flexcoders] Re: How to detect a *piece* of pie be clicked in Pie Chart?

2007-11-05 Thread Mikhail Shevchuk
Hello

Set itemClick listener for your PieChart instance like this

private function onClick(e:ChartItemEvent):void
{
trace(e.hitData.item.url); // also, check out
e.hitData.chartItem object for details
}

2007/11/5, flexawesome [EMAIL PROTECTED]:

   any suggestions? thanks


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 flexawesome [EMAIL PROTECTED] wrote:
 
  Hey there,
 
  I am working on pie chart( loads data from xml file), is there a way
  to click a piece of Pie chart to open a new window?
 
  I can show the following data in pie chart by using flex charting
  components. but I would like to allow user to click any piece to load
  the site in a new window.
 
  Does anybody know how to detect which piece of pie be clicked? if so I
  can use urlrequest to open the site.
 
  Thanks
 
  === xml file =
 
  sites
 
  site
  nameyahoo.com/name
  data120/description
  urlwww.yahoo.com/url
  /site
 
 
  site
  namegoogle.com/name
  data90/description
  urlwww.google.com/url
  /site
 
  site
  namemsn.com/name
  data150/description
  urlwww.msn.com/url
  /site
 
  /sites
 
 
  ==
 

  




-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] How to control placement of vertical axis in chart.

2007-10-07 Thread Mikhail Shevchuk
Probably gutterLeft/gutterRight properties will help you

2007/10/8, generalxxaxx [EMAIL PROTECTED]:

   I need to set the exact position of a vertical axis in a chart so that
 two charts (one above the other) will have their vertical axis line up
 and the horizontal data spread line up.

 Problem is, the axis moves when the data values change causing the
 labels to be longer or shorter (depending upon the data set).

 How can I force the axis to be at a particular location no matter what
 the axis label width might say?

 Thanks for any hints,
 Claude

  




-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Linechart dataprovider question

2007-10-03 Thread Mikhail Shevchuk
It usually adjusts to the min and max of the data you give.
You have told that chart doesn't show data after jan07, but as far as I can
see, you didn't provide data for this range.

2007/10/3, Nate Pearson [EMAIL PROTECTED]:

   1)I add line series one and set the linechart dp to it. It has data
 from august 05 to jan 07.

 2)I add a second line series. It has data from july 06 to sept 07.

 3) The line chart does not show any category axis fields after jan07.

 Anyone know how to make it so it justs adjusts to the min and max of
 the data I give it?

  




-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Printing custom DataGrid in landscape orientation

2007-09-21 Thread Mikhail Shevchuk
As far as I can see according to the bug tracker, this issue was
already resolved in HotFix1, but how can I use it ?

I have Flex 2 SDK with both HotFixes applied.

2007/9/20, Tom Chiverton [EMAIL PROTECTED]:
 On Thursday 20 Sep 2007, [EMAIL PROTECTED] wrote:
  If I understand your problem correctly the only way you can print in
  landscape in Flex is to have the user select landscape in the print
  options.

 Yup. You could vote for the bug @ https://bugs.adobe.com/jira/browse/SDK-11211
 but it's been resolved as 'needs fixing in the Player'.
 I notice work being done on the Linux print dialogue (i.e. it's got one now),
 so you never know.

 --
 Tom Chiverton
 Helping to ambassadorially revolutionize enterprise-class features
 on: http://thefalken.livejournal.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Printing custom DataGrid in landscape orientation

2007-09-20 Thread Mikhail Shevchuk
Thanks Giles for your response, I've read about that feature and the way to
force user to select landscape orientation. But this is not convenient for
the user. I wonder, if somebody knows the way to implement the rotated
datagrid printing.

2007/9/20, Giles Roadnight [EMAIL PROTECTED]:

   If I understand your problem correctly the only way you can print in
 landscape in Flex is to have the user select landscape in the print options.
 This will then pass landscape dimensions to your flex app that will scale
 the print data grid properly.

 To print multiple pages you'll ahve to add instances of the printDataGrid
 to the flexPrint object once for each page then use hte nextPage() function
 to page the data.


 On 9/20/07, Mikhail Shevchuk [EMAIL PROTECTED] wrote:
 
Hello, group
 
  I would like to print DataGrid data as a simple table. The problem,
  I've faced to is that I can't use PrintDataGrid component because it
  prints data not the way I need. What I need is to print table in
  landscape orientation. How can I implement this ?
 
  The landscape orientation is the only appropriate way to print tables
  with many columns, as far as I know. I would like also to print
  multipage tables.
 
  Any ideas are highly appreciated.
 
  Thanks,
  Mikhail
 
  --
  A vivid and creative mind characterizes you.
 



 --
 Giles Roadnight
 http://giles.roadnight.name

  




-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Printing custom DataGrid in landscape orientation

2007-09-20 Thread Mikhail Shevchuk
Thanks Giles for your response, I've read about that feature and the way to
force user to select landscape orientation. But this is not convenient for
the user. I wonder, if somebody knows the way to implement the rotated
datagrid printing.

2007/9/20, Giles Roadnight [EMAIL PROTECTED]:

   If I understand your problem correctly the only way you can print in
 landscape in Flex is to have the user select landscape in the print options.
 This will then pass landscape dimensions to your flex app that will scale
 the print data grid properly.

 To print multiple pages you'll ahve to add instances of the printDataGrid
 to the flexPrint object once for each page then use hte nextPage() function
 to page the data.


 On 9/20/07, Mikhail Shevchuk [EMAIL PROTECTED] wrote:
 
Hello, group
 
  I would like to print DataGrid data as a simple table. The problem,
  I've faced to is that I can't use PrintDataGrid component because it
  prints data not the way I need. What I need is to print table in
  landscape orientation. How can I implement this ?
 
  The landscape orientation is the only appropriate way to print tables
  with many columns, as far as I know. I would like also to print
  multipage tables.
 
  Any ideas are highly appreciated.
 
  Thanks,
  Mikhail
 
  --
  A vivid and creative mind characterizes you.
 



 --
 Giles Roadnight
 http://giles.roadnight.name

  




-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Re: Adding to an ArrayCollection

2007-09-19 Thread Mikhail Shevchuk
You can use getItem() or getItemAt() methods for that ArrayCollection
object:

someArrayCol.getItemAt(0).address = New Address;

If this object definition is marked as [Bindable] than yes, other component
will watch for it.

2007/9/20, donvoltz [EMAIL PROTECTED]:

   This is where I am confused.

 if I do

 xyz2.address = Some Address

 Am I not just updating the xyz2 variable and not actually the
 arrayCollection?? (I am unclear if there needs to be some additional
 binding to this)

 Also, what if the array collection is actually holding a collection of
 references to a custom component. When the array collection is updated,
 will the custom component actually see its property change as well??

 Thanks for the help

 Don

  




-- 
A vivid and creative mind characterizes you.


[flexcoders] Printing custom DataGrid in landscape orientation

2007-09-19 Thread Mikhail Shevchuk
Hello, group

I would like to print DataGrid data as a simple table. The problem,
I've faced to is that I can't use PrintDataGrid component because it
prints data not the way I need. What I need is to print table in
landscape orientation. How can I implement this ?

The landscape orientation is the only appropriate way to print tables
with many columns, as far as I know. I would like also to print
multipage tables.

Any ideas are highly appreciated.

Thanks,
Mikhail

-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Change Color of Column in Chart When Clicked

2007-09-04 Thread Mikhail Shevchuk
Hi,

Do you need to specify one single column or the whole set of column series?
If first, then you should definetly look into Ely's
http://www.quietlyscheming.com/blog/charts/easy-custom-charts/
If second, then you can just apply the corresponding props of the column.

HTH,
Mikhail

2007/9/3, Daniel Kim [EMAIL PROTECTED]:

   How would I change the color of a column in a ColumnChart when the
 column is clicked?

  




-- 
A vivid and creative mind characterizes you.


[flexcoders] How to hide tab in the TabNavigator object?

2007-08-28 Thread Mikhail Shevchuk
Hello,

I wonder why the 'visible' property doesn't work in the following example:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
mx:TabNavigator x=71 y=56 width=200 height=200
mx:Canvas label=Tab 1 width=100% height=100%
/mx:Canvas
mx:Canvas label=Tab 2 visible=false width=100% 
height=100%
/mx:Canvas
/mx:TabNavigator
/mx:Application

Thanks much,
Mikhail
-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] How to hide tab in the TabNavigator object?

2007-08-28 Thread Mikhail Shevchuk
Thanks for the response, Alex.

2007/8/28, Alex Harui [EMAIL PROTECTED]:

Visible is used to hide the views that cannot be seein in a navigator.
 They are essentially under control of the navigator and do not affect which
 tabs are visible.  You can remove the child if you want to hide it.


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Mikhail Shevchuk
 *Sent:* Tuesday, August 28, 2007 1:01 AM
 *To:* Flex
 *Subject:* [flexcoders] How to hide tab in the TabNavigator object?



 Hello,

 I wonder why the 'visible' property doesn't work in the following example:

 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
 mx:TabNavigator x=71 y=56 width=200 height=200
 mx:Canvas label=Tab 1 width=100% height=100%
 /mx:Canvas
 mx:Canvas label=Tab 2 visible=false width=100% height=100%
 /mx:Canvas
 /mx:TabNavigator
 /mx:Application

 Thanks much,
 Mikhail
 --
 A vivid and creative mind characterizes you.

  




-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] How to bind complex boolean values?

2007-08-27 Thread Mikhail Shevchuk
Wow, thanks much for sharing, Troy.

2007/8/24, Troy Gilbert [EMAIL PROTECTED]:

   It's actually much simpler than that. You were doing exactly the right
 thing in your very first try, you just needed to encode the ampersands as
 XML entities because you're in an XML file. Instead of  you should have
 used amp;amp;. Like this:

 mx:Canvas
 id=cashMatchingCounterPartyModeButton
 visible={(cashMatchingModeButton.selected amp;amp;
 counterPartyModeButton.selected)}
 width=100% height=100%
 

 And to fix your second issue, you can just as simply add a do-nothing
 setter (though that does put a setter in the interface of your class, which
 may hurt some folks proper-oop-feelings, in which case the linked-to
 solution is the proper one). E.g.,

 [Bindable]
 public function get someValue():Boolean { return
 someComplexExpressionInvolvingIntermediateVariables; }
 public function set someValue(value:Boolean):void { }

 There was a thread regarding this recently (binding to read-only
 getters)...

 I'd argue this is something the Flex guys should change...

 Troy.


 On 8/24/07, Mikhail Shevchuk  [EMAIL PROTECTED] wrote:

   http://www.rubenswieringa.com/blog/binding-read-only-accessors-in-flex
 
  This article was extremely useful while solving the issue.
 
  2007/8/24, Mikhail Shevchuk [EMAIL PROTECTED]:
  
 Hello, flexcoders.
  
   I have a bunch of RadioButton controls from two different groups
   (modes and mainModes):
  
   mx:RadioButton
   id=cashMatchingModeButton
   groupName=mainModes
   /
  
   mx:RadioButton
   id=affirmationsModeButton
   groupName=mainModes
   /
  
   mx:RadioButton
   id=counterPartyModeButton
   groupName=modes
   /
  
   mx:RadioButton
   id=payDateModeButton
   groupName=modes
   /
  
   I would like to bind visibility of the Canvas object (aCanvas) to the
   result of (cashMatchingModeButton.selected 
   counterPartyModeButton.selected) but I can't implement it directly
   using the following code:
  
   mx:Canvas
   id=cashMatchingCounterPartyModeButton
   visible={(cashMatchingModeButton.selected 
   counterPartyModeButton.selected)}
   width=100% height=100%
   
  
   The following error occurred at the compile-time: The entity name
   must immediately follow the '' in the entity reference.
  
   I also tried to use the getter:
  
   [Bindable]
   public function get isCashMatchingCounterPartyMode():Boolean
   {
   return (cashMatchingModeButton.selected 
   counterPartyModeButton.selected);
   }
  
   But that caused warning message:
   [Bindable] on read-only getter is unnecessary and will be ignored.
  
   What is the most elegant way to solve this issue ?
  
   --
   Thanks,
   Mikhail Shevchuk
  
 
 
 
  --
  A vivid and creative mind characterizes you.
 

  




-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] DataGrid is slow

2007-05-30 Thread Mikhail Shevchuk
 Define 'large'.

Sure, e.g. as follows:

There are 12 columns (not so many, right?) and 50 rows on P4 2.8Ghz
with 1Gb RAM. It scrolls *very* slow.


Re: [flexcoders] DataGrid is slow

2007-05-30 Thread Mikhail Shevchuk

That's not large.  That's small.

Yes, it is. We have more than 50 columns in one datagrid. But what is the
sense to tell about it if DataGrid is terribly works when there are only 12
columns(!). May be some tips for making it faster?


Re: [flexcoders] DataGrid is slow

2007-05-30 Thread Mikhail Shevchuk
Any custom renderers?  Or just basic renderers?  Is the data static
or are there frequent updates?
If you have custom renderers have you read my blog (blogs.adobe.com/aharui)

No, there are no custom renderers at all, but obviously the more
columns I create the more it slows.


[flexcoders] mxml-mode for Emacs

2007-05-25 Thread Mikhail Shevchuk
Hi!
I would like to address the following question to the Adobe guys, who
are interested
in Flex development tools, as far as I remember. To tell the truth I
don't like FB
not only because it doesn't run on my favourite OS (Linux box), but
because I *do* like
such highly-customizable tools like Emacs. So the question is - is
there any schema(Relax NG e.g.) for MXML so somebody can develop the
mxml-mode for the Emacs with all those useful features like
autocompletion, validation, etc.
P.S. Or may be, there are already some people who are developing such a mode?

This http://toomuchzeit.wordpress.com/2006/09/06/flex-vs-openlaszlo-part-2/
hurts.

Have a nice day,
Mikhail

-- 
A vivid and creative mind characterizes you.


[flexcoders] Columnchart series order.

2007-04-18 Thread Mikhail Shevchuk
Hello,

ColumnChart orders column series descending by default, is there any
way to set the order of series strictly?

Thanks in advance,
Mikhail.

-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Multi-axis chart

2007-04-16 Thread Mikhail Shevchuk
Anybody?
I need to display several line series, but the distribution of Y
values can vary very much. So, I want to show these lines neatly, and
scale each of them separately.

2007/2/28, Mikhail Shevchuk [EMAIL PROTECTED]:
 As far as I can see, it can draw only two axis max. I need three axes, like
 in this link(http://www.infosoftglobal.com
  /FusionCharts/PowerCharts.asp#maxisline).

 How can I implement *real* multiple(not just 2) axis chart?


 2007/2/27, Tom Chiverton  [EMAIL PROTECTED]:
  On Tuesday 27 Feb 2007, Mikhail Shevchuk wrote:
   What is the best way to implement multi-axis line chart like this (
  
 http://www.infosoftglobal.com/FusionCharts/PowerCharts.asp#maxisline
 ) ?
 
  The normal Flex Charting stuff supports multiple axis.
 
  --
  Tom Chiverton
  Helping to elementarily brand fine-grained appliances
  at http://thefalken.livejournal.com
 
  
 
  This email is sent for and on behalf of Halliwells LLP.
 
  Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
 available for inspection at the registered office. Any reference to a
 partner in relation to Halliwells LLP means a member of Halliwells LLP.
 Regulated by the Law Society.
 
  CONFIDENTIALITY
 
  This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged.  If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents.  If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 8008.
 
  For more information about Halliwells LLP visit www.halliwells.com.
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ:
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 



 --
 A vivid and creative mind characterizes you.


-- 
A vivid and creative mind characterizes you.


Re: [flexcoders] Multi-axis chart

2007-04-16 Thread Mikhail Shevchuk
Thanks for the advise, Tom. I think, that will work.



16 Apr 2007 07:00:38 -0700, Tom Chiverton [EMAIL PROTECTED]:
 On Monday 16 Apr 2007, Mikhail Shevchuk wrote:
  I need to display several line series, but the distribution of Y
  values can vary very much. So, I want to show these lines neatly, and
  scale each of them separately.

 Err, yes ?
 So scale them (client or server-side). It's only math and a for loop.

 --
 Tom Chiverton
 Helping to synergistically seize cross-media content
 on: http://thefalken.livejournal.com

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and 
 Wales under registered number OC307980 whose registered office address is at 
 St James's Court Brown Street Manchester M2 2JF.  A list of members is 
 available for inspection at the registered office. Any reference to a partner 
 in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
 the Law Society.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and may 
 be confidential or legally privileged.  If you are not the addressee you must 
 not read it and must not use any information contained in nor copy it nor 
 inform any person other than Halliwells LLP or the addressee of its existence 
 or contents.  If you have received this email in error please delete it and 
 notify Halliwells LLP IT Department on 0870 365 8008.

 For more information about Halliwells LLP visit www.halliwells.com.



 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links






-- 
A vivid and creative mind characterizes you.


[flexcoders] labelRenderer problem

2007-03-27 Thread Mikhail Shevchuk

Hello, group.

I have to render labels for horizontal axis, so I use the following MXML
code:
mx:horizontalAxisRenderer
   mx:AxisRenderer labelRenderer=MyLabelRenderer
/mx:horizontalAxisRenderer

Where MyLabelRenderer.mxml is just a MXML component inhereted from Label. I
assigned an init()
function to the creationComplete event. In that function I can set any text
to the 'text' property of the
instance. But how can I get the default value of that text (I need to cut it
if it is too long)? Like this.data in ItemRenderer.
--
A vivid and creative mind characterizes you.


[flexcoders] Re: Fancy floating hint

2007-03-23 Thread Mikhail Shevchuk

I quess that it is just a skinned ToolTip control.

2007/3/23, Mikhail Shevchuk [EMAIL PROTECTED]:


How can I embed a hint like in validation demo here
http://www.adobe.com/devnet/flex/quickstart/validating_data/ in my
application?

--
A vivid and creative mind characterizes you.





--
A vivid and creative mind characterizes you.


[flexcoders] DataGridColumn's width adjustment

2007-03-22 Thread Mikhail Shevchuk

Hi,

When I just set a datagrid's dataprovider, I get all DataGridColumns with
the same width, and there are situations when the datafield's text doesn't
fit into it.
Is there any easy flexy way to set column's width automatically so that even
the max text of the column will fit into it?

--
A vivid and creative mind characterizes you.


[flexcoders] Fancy floating hint

2007-03-22 Thread Mikhail Shevchuk

How can I embed a hint like in validation demo here
http://www.adobe.com/devnet/flex/quickstart/validating_data/ in my
application?

--
A vivid and creative mind characterizes you.


Re: [flexcoders] Re: DataGridColumn's width adjustment

2007-03-22 Thread Mikhail Shevchuk

Thanks for the tip, Iko. Appreciate it.

2007/3/23, iko_knyphausen [EMAIL PROTECTED]:



I have never tried this, but maybe you can have an itemRenderer for the
column in question, take a label component for the text, set the text
property, and then read the label.width property. This width you could
pass back out to the dataGrid.column and set the minWidth to that
value... (parentDocument.dataGrid.columns(x).minWidth = ...) - just an
idea...

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Mikhail
Shevchuk

[EMAIL PROTECTED] wrote:

 Hi,

 When I just set a datagrid's dataprovider, I get all DataGridColumns
with
 the same width, and there are situations when the datafield's text
doesn't
 fit into it.
 Is there any easy flexy way to set column's width automatically so
that even
 the max text of the column will fit into it?

 --
 A vivid and creative mind characterizes you.


 





--
A vivid and creative mind characterizes you.


[flexcoders] DateField selectable ranges

2007-03-09 Thread Mikhail Shevchuk

I have a DateField widget in my app and a bunch of random Date objects. How
can I disable all dates in that DateField except these Dates? Is the only
way is to sort all Date objects and then set disable ranges between that
Dates?

--
A vivid and creative mind characterizes you.


[flexcoders] Datagrid with vertical text direction in headers

2007-03-06 Thread Mikhail Shevchuk

Hello, flexcoders.

We tried to create an itemRenderer for that headers based on Label and
TextField components applying rotation property. In this case, we got ugly
offset effect and don't see any text at all. It just lifts up away. Using
Rotate object we get better result - text showed in that headers has some
vertical and horizontal offset. We also tried to use originX(Y) properties
of Rotate object but it is hard to understand how they influence the
rotation in this case.
--
A vivid and creative mind characterizes you.


Re: [flexcoders] How to align chart items in two charts?

2007-03-03 Thread Mikhail Shevchuk

Wow. Its amazing how simple the solution is. Thanks, Ely.

2007/3/2, Ely Greenfield [EMAIL PROTECTED]:




by default charts compute their gutterLeft and gutterRight dynamically,
but if you need to get two charts to align, you can set them to explicit
values. You lose a little bit of flexibility in axis/label layout...it will
fit the axes to the space available rather than choosing the best space
available for the labels, but if you choose appropriate values it should
work fine.

Ely.


 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Mikhail Shevchuk
*Sent:* Friday, March 02, 2007 1:44 AM
*To:* Flex
*Subject:* [flexcoders] How to align chart items in two charts?

 Hello, Flexcoders.

I have two charts one below another. They are quite similar and use the
same horizontal axeses. But the problem is that I can't get the correct
chart view. The problem is that they have different positions of start and
end points on the canvas. How to align those vertical axes vertically? I've
attached two small pictures to show you what I mean.

Saying another words, I need to align the chart points vertically, as
axes.

Thanks.
--
A vivid and creative mind characterizes you.

 





--
A vivid and creative mind characterizes you.


Re: [flexcoders] Multi-axis chart

2007-03-01 Thread Mikhail Shevchuk

As far as I can see, it can draw only two axis max. I need three axes, like
in this link(http://www.infosoftglobal.com


/FusionCharts/PowerCharts.asp#maxisline).



How can I implement *real* multiple(not just 2) axis chart?


2007/2/27, Tom Chiverton [EMAIL PROTECTED]:


On Tuesday 27 Feb 2007, Mikhail Shevchuk wrote:
 What is the best way to implement multi-axis line chart like this (
 http://www.infosoftglobal.com/FusionCharts/PowerCharts.asp#maxisline) ?

The normal Flex Charting stuff supports multiple axis.

--
Tom Chiverton
Helping to elementarily brand fine-grained appliances
at http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England
and Wales under registered number OC307980 whose registered office address
is at St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and
may be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links







--
A vivid and creative mind characterizes you.


[flexcoders] Multi-axis chart

2007-02-27 Thread Mikhail Shevchuk

Hello,

What is the best way to implement multi-axis line chart like this (
http://www.infosoftglobal.com/FusionCharts/PowerCharts.asp#maxisline) ?


--
A vivid and creative mind characterizes you.


[flexcoders] Negative plane in Column Chart

2007-02-22 Thread Mikhail Shevchuk

How to implement such a thing?
Simple defining negative values doesn't help. These columns just not
displayed.

If this is impossible within Column Chart, could you please advise me where
should I look for?

Thanks.

--
A vivid and creative mind characterizes you.


Re: [flexcoders] Negative plane in Column Chart

2007-02-22 Thread Mikhail Shevchuk

Thanks guys for your fast replies. I have no that code right now, but the
problem was that:
I use ColumnSet as the only element in ColumnChart and it has no yField
property of course(but there are yFields in ColumnSeries in ColumnSet). I
don't understand very much how this component(ColumnChart) works with it's
dataProvider, because it doesn't display negative values in that situation
(only ColumnSet in the ColumnChart). But when I add another (invisible)
ColumnSeries with empty dataProvider in my ColumnChart, it began to display
negative values for that ColumnSet. This problem description is rather
messy, I am sorry :) Is there are any thoughts about such a behavior?

2007/2/22, Ely Greenfield [EMAIL PROTECTED]:




Hi Mikhail.  Can you be more specific about what you're looking for?  In
general, the charts support negative values with no problems, so maybe I'm
not understanding your question.

Ely.

 --
 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Mikhail Shevchuk
*Sent:* Thursday, February 22, 2007 3:18 AM
*To:* Flex
*Subject:* [flexcoders] Negative plane in Column Chart

 How to implement such a thing?
Simple defining negative values doesn't help. These columns just not
displayed.

If this is impossible within Column Chart, could you please advise me
where should I look for?

Thanks.

--
A vivid and creative mind characterizes you.

 





--
A vivid and creative mind characterizes you.


[flexcoders] Object property

2007-02-20 Thread Mikhail Shevchuk

Hello, group.

I got an object with several properties. I can access these properties just
by using obj.property_name.
How can I access the given property if it is passed to the function as a
string? How to implement the following function?

function getObjectPropertyValue(obj:Object, property:String)
{
 return ?
}

This function should return obj.property_name, if property =
property_name.

Thanks.
--
A vivid and creative mind characterizes you.


[flexcoders] LineChart with Points

2007-02-14 Thread Mikhail Shevchuk

Hello,

How can I create a chart like regular LineChart using form='curve' with
emphasized points on it? For example, with diamonds as in PlotChart
component. Can LineChart component create a plot in Cartesian coordinates if
it is provided by nonuniform X-points? I mean spaces between neighbouring
can be different.

--
A vivid and creative mind characterizes you.


[flexcoders] How to set component's position programmatically

2007-02-08 Thread Mikhail Shevchuk

Hello there,

How to set the values to right/left/top/bottom properties programmatically
using AS3 ?

Thanks

--
A vivid and creative mind characterizes you.


[flexcoders] How to get object by id?

2007-02-08 Thread Mikhail Shevchuk

Is there any way to get the programmatically created object if it's id is
known?
Or how can I get a property of such object?

Thanks in advance!

--
A vivid and creative mind characterizes you.


[flexcoders] Re: How to get object by id?

2007-02-08 Thread Mikhail Shevchuk

I decided to extend this question a little bit: There are some objects of
DateField, TextInput, and others that are created using AS3 dynamically. I
have also an array of ids as String objects. How can I access these objects
using that array?

2007/2/8, Mikhail Shevchuk [EMAIL PROTECTED]:


Is there any way to get the programmatically created object if it's id is
known?
Or how can I get a property of such object?

Thanks in advance!

--
A vivid and creative mind characterizes you.





--
A vivid and creative mind characterizes you.


[flexcoders] Re: How to get object by id?

2007-02-08 Thread Mikhail Shevchuk

Heh, the solution was close enough to me.

I just have to assign a name property, not the id one. After that, I can
access to the text property of this object by:

Object(super.getChildByName(dateFrom)).text


2007/2/8, Mikhail Shevchuk [EMAIL PROTECTED]:


I decided to extend this question a little bit: There are some objects of
DateField, TextInput, and others that are created using AS3 dynamically. I
have also an array of ids as String objects. How can I access these objects
using that array?

2007/2/8, Mikhail Shevchuk [EMAIL PROTECTED]:

 Is there any way to get the programmatically created object if it's id
 is known?
 Or how can I get a property of such object?

 Thanks in advance!

 --
 A vivid and creative mind characterizes you.




--
A vivid and creative mind characterizes you.





--
A vivid and creative mind characterizes you.


Re: [flexcoders] How to set component's position programmatically

2007-02-08 Thread Mikhail Shevchuk

Thanks guys for your help!

2007/2/9, Gordon Smith [EMAIL PROTECTED]:


   They're styles, not properties, so you write



foo.setStyle(left, 10);



- Gordon


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Mikhail Shevchuk
*Sent:* Thursday, February 08, 2007 1:14 AM
*To:* Flex
*Subject:* [flexcoders] How to set component's position programmatically



Hello there,

How to set the values to right/left/top/bottom properties programmatically
using AS3 ?

Thanks

--
A vivid and creative mind characterizes you.

 





--
A vivid and creative mind characterizes you.


Re: [flexcoders] Tutorial zoom in a linechart

2007-02-07 Thread Mikhail Shevchuk

I suppose that it is not difficult to implement. During zooming, just store
smaller (zoomed area, relatively to the whole chart) array collection and
change a dataprovider for the component.

2007/2/7, bcncgn3 [EMAIL PROTECTED]:


  I have linechart and i want that the user can zoom in in the horizontal
axis selecting an area on the chart? Someone knows a tutorial which
explains how to program this?

 





--
A vivid and creative mind characterizes you.


[flexcoders] AS3 shell

2007-02-01 Thread Mikhail Shevchuk

Is there any shell to play with Action Script 3 like ipython for python or
smth. like that ?
That would be extremely useful for rapid development.

--
A vivid and creative mind characterizes you.


[flexcoders] ComboBox Weirdness

2007-02-01 Thread Mikhail Shevchuk

When an empty item added to a data provider for ComboBox component, this
component began to act strange. When menu is dropped down there are several
empty items in it, which do not exist in data provider. There is a rule -
every 5th item in it is empty. Is that a bug?

--
A vivid and creative mind characterizes you.


[flexcoders] Debug in Flex SDK, fcsh

2007-01-29 Thread Mikhail Shevchuk

Hello, group.

If I compile app using FB, I got a special debug version of it, how can I
get the same thing without FB, just in usual Flex SDK?
When I use fdb - it just displays a blank player's window.

--
A vivid and creative mind characterizes you.


Re: [flexcoders] Re: Debug in Flex SDK, fcsh

2007-01-29 Thread Mikhail Shevchuk

Thanks for detailed answer about '-debug' option, Mike. But the problem I've
been faced to is that there are some security permissions which deny the
access of my swf file. This application tries to connect to a remote server
and that works under FB. I get error about permissions when I use usual
fdb.exe. What is my mistake?

--
A vivid and creative mind characterizes you.


[flexcoders] Size properties in AS3

2007-01-25 Thread Mikhail Shevchuk

Hello, Flexcoders!

Is there any way to set the size property (height and width) in AS3 in
percents?

--
A vivid and creative mind characterizes you.


[flexcoders] Font weight in Line Chart's legend

2007-01-24 Thread Mikhail Shevchuk

Hello, Flexcoders!

There is a simple Line Chart component with legend. I am trying to change
the font weight of the legend's labels by defining a property fontWeight
like this:
mx:Legend dataProvider={linechart1} x=297 y=8 width=94 height=116
fontSize=10 fontWeight=normal/
But that doesn't make any effect - the font is still bold. Please, let me
know where I've made a mistake.

Thanks in advance,
Mikhail Shevchuk.
--
A vivid and creative mind characterizes you.


[flexcoders] Re: Font weight in Line Chart's legend

2007-01-24 Thread Mikhail Shevchuk

It seems to be that problem is in the Verdana font 10. If I set font to
Arial it is normal by weight by default.

2007/1/24, Mikhail Shevchuk [EMAIL PROTECTED]:


Hello, Flexcoders!

There is a simple Line Chart component with legend. I am trying to change
the font weight of the legend's labels by defining a property fontWeight
like this:
mx:Legend dataProvider={linechart1} x=297 y=8 width=94
height=116 fontSize=10 fontWeight=normal/
But that doesn't make any effect - the font is still bold. Please, let me
know where I've made a mistake.

Thanks in advance,
Mikhail Shevchuk.
--
A vivid and creative mind characterizes you.





--
A vivid and creative mind characterizes you.


[flexcoders] Line Chart and Line shadows

2007-01-23 Thread Mikhail Shevchuk

Hello, flexcoders!

Is there any way to disable the shadow line effect in Line Chart component?

--
A vivid and creative mind characterizes you.


[flexcoders] Non-english characters

2007-01-20 Thread Mikhail Shevchuk
Hello, flexcoders!

I got a Linux box with FF 1.5 and new Adobe Flash Plugin 9.0.31.0
installed. I have a problem with text in Russian - when I print some in
input fields I got wrong characters. The page encoding is set to UTF-8.
There are no such problem with a Windows box. I suppose other
non-english speaking/writing people have faced to this problem too.

Thanks,

Mikhail Shevchuk

-- 
I'll burn my books.
-- Christopher Marlowe