[flexcoders] Flex Ant Build Process

2009-06-23 Thread pratikshah83
Hi Folks, 

I am trying to automate flex build process using ANT build script. But I am 
facing an issue and cannot find any enough documentation.
According to the flex docs
compc output=${DEPLOY_DIR}/MyComps.swc
include-classes=custom.MyButton custom.MyLabel
source-path path-element=${basedir}/components/
include-file name=f1-1.jpg path=assets/images/f1-1.jpg/
/compc

I need to include each and every class and assets files, but I have like 200 
different classes and images in my project, do you know any easier way to 
include everything ?

Suggestions would be appreciated.

Thanks
Pratik




[flexcoders] Dynamically loading image from URL

2009-01-26 Thread pratikshah83
Hi Guys, 

I want to have a custom image as the itemrenderer for plot chart...
just like the butterfly image here
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_12.html.


But I want to load image dynamically from an URL, and not embed it in. 

Can any one help me with this. I tried using loader but loader.content
is null. 

Thanks in advance.

-Pratik 



[flexcoders] CartesianDataCanvas Drawing a Rectagle from Edge to Edge

2009-01-06 Thread pratikshah83
Hey guys

I have been using DataDrawingCanvas, which is an awesome component,
but unfortunatly no longer works in the constraints with Flex 3. For
which i've been trying to port the code over to use the new
CartesianDataCanvas which is the replacement (or update) to it.

With DataDrawingCanvas, there was a simply definition of EDGE, which
allowed to draw from a data point to the edge of the component,
however this no longer exists in the cartesiandatacanvas, as all
points are described in terms of data, or offsets of the data. Is
there anyway to get this functionality back?

I can't rely on having set maximum minimum on the axis, and drawing
solely in data points, because I need the padding that only computed
maximum minimum values that the graphing provides.

If anyone can help it would be much appreciated.

Thanks in advance!
Pratik



[flexcoders] Re: Using ActiveXObject with Adobe AIR and Flex

2009-01-06 Thread pratikshah83
Any help would be appreciated. If any one could throw some light.

Thanks
Pratik

--- In flexcoders@yahoogroups.com, pratikshah83 pratiksha...@...
wrote:

 Hi Guys, 
 
 I am trying to execute a application on the desktop using
 ActiveXObject... but I am unable to get it working with Adobe AIR +
Flex. 
 
 Something Like this. It works fine using it in javascript in IE. But i
 am unable to get it working from AIR even after calling the javascript
 and so tried using the mx:html tag.
 
 AB = new ActiveXObject(Broker.Application);
 AB.Quit();
 
 Any help if this regards would be appreciated. 
 
 Thanks
 Pratik





[flexcoders] Using ActiveXObject with Adobe AIR and Flex

2008-12-31 Thread pratikshah83
Hi Guys, 

I am trying to execute a application on the desktop using
ActiveXObject... but I am unable to get it working with Adobe AIR + Flex. 

Something Like this. It works fine using it in javascript in IE. But i
am unable to get it working from AIR even after calling the javascript
and so tried using the mx:html tag.

AB = new ActiveXObject(Broker.Application);
AB.Quit();

Any help if this regards would be appreciated. 

Thanks
Pratik 




[flexcoders] Re: Using ActiveXObject with Adobe AIR and Flex

2008-12-31 Thread pratikshah83
Hi Nate, 

Actually I am trying to call an application and update the application
using the activexobject. 

The application has an OLE Object model set up. So it has certain
methods exposed which I can access using the activexobject in jscript. 

You can take and example of calling Excel.Application and updating the
excel document. 

I hope you are getting an idea what exactly I am trying to do. 

Let me know if you need any more information. I was trying to use
html. But if I can achieve without using html it would be great. In
short I need to call an application on my PC and update it using its
OLE object.

Thanks
Pratik 


--- In flexcoders@yahoogroups.com, Nate Beck n...@... wrote:

 Can you possibly give some more code?
 I'm trying to understand what it is you are trying to do.  If you
are using
 Adobe AIR, then you are running the application outside of the browser
 completely.  The MX:HTML tag is a version of webkit within the Adobe AIR
 runtime, not within IE.
 
 Cheers,
 Nate
 
 On Wed, Dec 31, 2008 at 5:46 PM, pratikshah83 pratiksha...@...wrote:
 
Hi Guys,
 
  I am trying to execute a application on the desktop using
  ActiveXObject... but I am unable to get it working with Adobe AIR
+ Flex.
 
  Something Like this. It works fine using it in javascript in IE. But i
  am unable to get it working from AIR even after calling the javascript
  and so tried using the mx:html tag.
 
  AB = new ActiveXObject(Broker.Application);
  AB.Quit();
 
  Any help if this regards would be appreciated.
 
  Thanks
  Pratik
 
   
 
 
 
 
 -- 
 
 Cheers,
 Nate
 
 http://blog.natebeck.net





[flexcoders] Re: Charts Datatip hide delay

2008-12-09 Thread pratikshah83
Thanks for your reply. I would just like to know. Is there a way to
use the detaTipRenderer style already available to delay the display
of the tooltip. 

I am aware of having event on items and handle it separately. But just
wanted to know if there is something like hideDelay available in
tooltipmanager.

Thanks
Pratik
 

--- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED]
wrote:

 An example based on DataGrid control... could be modified for use with
 Series item renderers on a chart easily enough based on mouse events
as I
 have for the Datagrid here already:
 http://www.meutzner.com/blog/attachments/menu_tooltip/
 
 
 HTH,
 
 Brendan
 
 
 
 On Mon, Dec 8, 2008 at 7:21 PM, pratikshah83 [EMAIL PROTECTED] wrote:
 
Help would really be appreciated.
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  pratikshah83 pratikshah83@
  wrote:
 
  
   Hi Guys,
  
   I would like to know how to delay the hiding of datatip for charts.
  
   I am planning to have a URL in the datatip. But when I move the
mouse
   it destroys the datatip. I would like to delay it so that the
user can
   move over the tooltip and click the URL, I can destroy it on
mouse out
   event.
  
   Replies in this regards will be highly appreciated.
  
   Thanks
   Pratik
  
 
   
 
 
 
 
 -- 
 Brendan Meutzner
 http://www.meutzner.com/blog/





[flexcoders] Change Timezone

2008-12-09 Thread pratikshah83
Hi Guys, 

I would like to know if there is any way to dynamically change the
timezone in flex. 

Say suppose we have local time and few check boxes to see time in
other timezones. When you check and uncheck the check box the time
changes according to the selected timezone. This would not depend on
the location of the persons timezone. So persons local timezone may be
PST but he wants to see the data in EST. 

There is the timezoneoffset method but that just gives you the offset
of local timezone with respect to UTC.

I hope my issue is clear. 

Any help would be appreciated. 

Thanks
Pratik 




[flexcoders] Charts Datatip hide delay

2008-12-08 Thread pratikshah83
Hi Guys, 

I would like to know how to delay the hiding of datatip for charts. 

I am planning to have a URL in the datatip. But when I move the mouse
it destroys the datatip. I would like to delay it so that the user can
move over the tooltip and click the URL, I can destroy it on mouse out
event. 

Replies in this regards will be highly appreciated. 

Thanks
Pratik 




[flexcoders] Re: Charts Datatip hide delay

2008-12-08 Thread pratikshah83
Help would really be appreciated. 

--- In flexcoders@yahoogroups.com, pratikshah83 [EMAIL PROTECTED]
wrote:

 Hi Guys, 
 
 I would like to know how to delay the hiding of datatip for charts. 
 
 I am planning to have a URL in the datatip. But when I move the mouse
 it destroys the datatip. I would like to delay it so that the user can
 move over the tooltip and click the URL, I can destroy it on mouse out
 event. 
 
 Replies in this regards will be highly appreciated. 
 
 Thanks
 Pratik





[flexcoders] Re: Component Life Cycle

2008-12-05 Thread pratikshah83
Thanks for you help. Really appreciated. 

--- In flexcoders@yahoogroups.com, Aaron Hardy [EMAIL PROTECTED] wrote:

 To be honest, I'm not sure why it's using the default Flex styles at the
 beginning.  What I do know is that when I set up my component's default
 style in the manner I posted, it works.  The answer to your question
lies in
 the underbelly of the Flex architecture and how/when it applies styles;
 there are probably other people on here that are much more qualified to
 explain.
 
 Good luck!
 
 Aaron
 
 On Thu, Dec 4, 2008 at 1:44 PM, pratikshah83 [EMAIL PROTECTED] wrote:
 
Hi Aaron,
 
  Thanks for you reply. I was just wondering that I am currently doing
  the styling in initialize() method. So the charts is not rendered
until
  that time, so why is the default flex axis is getting rendered.
  When the chart is rendered my styles should already be set.
 
  So how the updateDisplayList() method is getting called. I need to get
  my styles set before the updateDisplayList() method is called.
 
  Do you have any idea if preinitialize() method help ??
 
  Thanks
  Pratik
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Aaron
  Hardy aaronius9er@
  wrote:
 
  
   I think I understand your question. Try throwing this in your
  component
   (outside of any methods/properties) and tweaking for your needs:
  
   // Default styles
   //
   private static var classConstructed:Boolean =
  classConstruct();
  
   /**
   * @private
   * Creates default styles that can be overridden by the
  developer.
   */
   private static function classConstruct():Boolean {
   var styleDeclaration:CSSStyleDeclaration =
   StyleManager.getStyleDeclaration('Cursor');
  
   if (!styleDeclaration) {
   styleDeclaration = new CSSStyleDeclaration();
   }
  
   styleDeclaration.defaultFactory = function():void {
   this.color = 0xFF;
   }
  
   StyleManager.setStyleDeclaration('Cursor',
  styleDeclaration,
   false);
  
   return true;
   }
  
  
   Note that Cursor is the component's name. This way of setting a
  default
   style personally seems rather unorthodox but it's the only way I've
  seen
   that works. I hope a better/developer-friendly approach is offered
  in
   future versions of Flex.
  
   Aaron
  
   On Thu, Dec 4, 2008 at 12:27 PM, pratikshah83
  pratikshah83@wrote:
  
Hi Guys,
   
I had a question regarding the component life cycle. I am
  extending
flex charts and adding my custom style to it.
   
But when I load the chart I see the default flex axis being shown
  and
than it would disappear and my styled axis shows up. I am
  wondering
where do I style my axis such that default flex components are not
rendered.
   
Currently I am doing my custom styling in initialize() method.
  Please
let me know which component life cycle method show I be doing the
styling.
   
Your replies would be appreciated.
   
Thanks
Pratik
   
   
   
  
 
   
 





[flexcoders] Component Life Cycle

2008-12-04 Thread pratikshah83
Hi Guys, 

I had a question regarding the component life cycle. I am extending 
flex charts and adding my custom style to it. 

But when I load the chart I see the default flex axis being shown and 
than it would disappear and my styled axis shows up. I am wondering 
where do I style my axis such that default flex components are not 
rendered. 

Currently I am doing my custom styling in initialize() method. Please 
let me know which component life cycle method show I be doing the 
styling. 

Your replies would be appreciated. 

Thanks
Pratik 





[flexcoders] Re: Component Life Cycle

2008-12-04 Thread pratikshah83
Hi Aaron, 

Thanks for you reply. I was just wondering that I am currently doing 
the styling in initialize() method. So the charts is not rendered until that 
time, so why is the default flex axis is getting rendered. 
When the chart is rendered my styles should already be set.

So how the updateDisplayList() method is getting called. I need to get 
my styles set before the updateDisplayList() method is called. 

Do you have any idea if preinitialize() method help ??

Thanks
Pratik 


--- In flexcoders@yahoogroups.com, Aaron Hardy [EMAIL PROTECTED] 
wrote:

 I think I understand your question.  Try throwing this in your 
component
 (outside of any methods/properties) and tweaking for your needs:
 
 // Default styles
 //
 private static var classConstructed:Boolean = 
classConstruct();
 
 /**
  * @private
  * Creates default styles that can be overridden by the 
developer.
  */
 private static function classConstruct():Boolean {
 var styleDeclaration:CSSStyleDeclaration =
 StyleManager.getStyleDeclaration('Cursor');
 
 if (!styleDeclaration) {
 styleDeclaration = new CSSStyleDeclaration();
 }
 
 styleDeclaration.defaultFactory = function():void {
 this.color = 0xFF;
 }
 
 StyleManager.setStyleDeclaration('Cursor', 
styleDeclaration,
 false);
 
 return true;
 }
 
 
 Note that Cursor is the component's name.  This way of setting a 
default
 style personally seems rather unorthodox but it's the only way I've 
seen
 that works.  I hope a better/developer-friendly approach is offered 
in
 future versions of Flex.
 
 Aaron
 
 On Thu, Dec 4, 2008 at 12:27 PM, pratikshah83 
[EMAIL PROTECTED]wrote:
 
Hi Guys,
 
  I had a question regarding the component life cycle. I am 
extending
  flex charts and adding my custom style to it.
 
  But when I load the chart I see the default flex axis being shown 
and
  than it would disappear and my styled axis shows up. I am 
wondering
  where do I style my axis such that default flex components are not
  rendered.
 
  Currently I am doing my custom styling in initialize() method. 
Please
  let me know which component life cycle method show I be doing the
  styling.
 
  Your replies would be appreciated.
 
  Thanks
  Pratik
 
   
 






[flexcoders] Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
Hi Guys, 

I would like to know how to get the coordinates of current location
after drawing graphics.lineto().

Thanks
Pratik




[flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
Yes you are correct it moves the current position to the last lineto
coordinates, but I need to get the values of that coordinates as i
need to store them and reuse it to draw a line from some other point
to that stored point.

Can you let me know how can i get the coordinates.

Thanks
Pratik


--- In flexcoders@yahoogroups.com, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:

 as far as i can remember the coordinate is the coordinate you used
to your
 last call of lineTo...
 
 On Thu, Nov 6, 2008 at 9:17 PM, pratikshah83 [EMAIL PROTECTED] wrote:
 
Hi Guys,
 
  I would like to know how to get the coordinates of current location
  after drawing graphics.lineto().
 
  Thanks
  Pratik
 
   
 
 
 
 
 -- 
 Fotis Chatzinikos, Ph.D.
 Founder,
 Phinnovation
 [EMAIL PROTECTED],





[flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
I am using a itemrenderer for a bubble chart, instead of a bubble I
would like to plot a line and connect all the lines to form a area, so
I have a local coordinate, so x=5,y=5 are the local coordinates, I
would like to know the actual coordinates wrt the complete chart

this is what I am using for each item in the itemrenderer, so this
uses a local coordinate space.

g.moveTo(unscaledHeight/2,unscaledHeight/2);
g.lineTo(unscaledHeight/2,-unscaledHeight/16);

I am actually trying to implement this type of custom chart
http://www.enterprise-dashboard.com/2008/06/19/the-horizon-graph/

Which is like a area chart but having 3 coordinates like the bubble
chart. So I am planning to use a bubble chart and draw a line instead
of the bubble with the bubble radius, and than connect all and fill
the area.

I would appreciate if you could throw some light on this.

Thanks
Pratik






--- In flexcoders@yahoogroups.com, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:

 i do not seem to get your point... quick example:
 
 x = 5 ;
 y = 5 ;
 
 lineTo(x,y) ;
 
 x y is now your last coordinate...
 
 On Thu, Nov 6, 2008 at 9:29 PM, pratikshah83 [EMAIL PROTECTED] wrote:
 
Yes you are correct it moves the current position to the last lineto
  coordinates, but I need to get the values of that coordinates as i
  need to store them and reuse it to draw a line from some other point
  to that stored point.
 
  Can you let me know how can i get the coordinates.
 
  Thanks
  Pratik
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Fotis
  Chatzinikos
 
  fotis.chatzinikos@ wrote:
  
   as far as i can remember the coordinate is the coordinate you used
  to your
   last call of lineTo...
  
   On Thu, Nov 6, 2008 at 9:17 PM, pratikshah83 pratikshah83@ wrote:
  
Hi Guys,
   
I would like to know how to get the coordinates of current
location
after drawing graphics.lineto().
   
Thanks
Pratik
   
   
   
  
  
  
   --
   Fotis Chatzinikos, Ph.D.
   Founder,
   Phinnovation
   Fotis.Chatzinikos@,
  
 
   
 
 
 
 
 -- 
 Fotis Chatzinikos, Ph.D.
 Founder,
 Phinnovation
 [EMAIL PROTECTED],





[flexcoders] Re: Get coordinates after using graphics.lineto()

2008-11-06 Thread pratikshah83
Just to add to it I tried localtoglobal() but that too is not giving
me the coordinates I am looking for. 


--- In flexcoders@yahoogroups.com, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:

 i do not seem to get your point... quick example:
 
 x = 5 ;
 y = 5 ;
 
 lineTo(x,y) ;
 
 x y is now your last coordinate...
 
 On Thu, Nov 6, 2008 at 9:29 PM, pratikshah83 [EMAIL PROTECTED] wrote:
 
Yes you are correct it moves the current position to the last lineto
  coordinates, but I need to get the values of that coordinates as i
  need to store them and reuse it to draw a line from some other point
  to that stored point.
 
  Can you let me know how can i get the coordinates.
 
  Thanks
  Pratik
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Fotis
  Chatzinikos
 
  fotis.chatzinikos@ wrote:
  
   as far as i can remember the coordinate is the coordinate you used
  to your
   last call of lineTo...
  
   On Thu, Nov 6, 2008 at 9:17 PM, pratikshah83 pratikshah83@ wrote:
  
Hi Guys,
   
I would like to know how to get the coordinates of current
location
after drawing graphics.lineto().
   
Thanks
Pratik
   
   
   
  
  
  
   --
   Fotis Chatzinikos, Ph.D.
   Founder,
   Phinnovation
   Fotis.Chatzinikos@,
  
 
   
 
 
 
 
 -- 
 Fotis Chatzinikos, Ph.D.
 Founder,
 Phinnovation
 [EMAIL PROTECTED],





[flexcoders] New Chart Type - Horizontal Chart

2008-11-04 Thread pratikshah83
Hi Guys, 

I need to implement a new chart type. Something like a bubble chart
having 3 dimensions. But represent it as a area chart. 

I am planning to write a custom renderer for bubble chart and draw a
line instead of a bubble, get the coordinated for the line and fill
the area with the color to show it as a area chart. 

It may be a bit confusing, you can check out this link, which shows
what I am planning to implement. 

http://www.enterprise-dashboard.com/2008/06/19/the-horizon-graph/

Please give comments or suggestions regarding the same.

Your help would be appreciated.

Thanks
Pratik 



[flexcoders] Runtime loading of fonts.

2008-10-23 Thread pratikshah83
Hello Guys, 

I am currently embedding the font I need for label rotation. Its 
getting included at compile time. I am using unicodeRange to reduce 
the size of the swf with the font. 

Would loading the font at runtime help in improving the performance ?

Can you please provide me some pointers to load the font at runtime 
only if label rotation is specified. 

Thanks
Pratik 





[flexcoders] Optimizing the swf size and performance

2008-10-23 Thread pratikshah83
Hi Guys, 

I would like some pointers on reducing the swf size and improving the 
performance of the swf files.

I have custom chart component but the swf file is quite high. 

Can you give me some pointers I can use to reduce the swf files. 

You help would be really appreciated.

Thanks
Pratik 





[flexcoders] Any other alternative to find the type of an object (object is oftype)

2008-09-23 Thread pratikshah83
Hi Guys, 

I would like to know if there is any other way to find out if the
object is of a particular type. 

I am currently using the IS keyword to check if the object is of a
particular type. (Object is Type)

But doing that is loading the complete class in the swf file which if
increasing the size of the swf to a great extend and affecting the
performance of the application. 

Can you suggest me any way to check for an object is of some type
which would not increase the swf size of than (Object is Type).

Thanks
Pratik




[flexcoders] Wrapping the Legend Text for Charts over multiple lines

2008-09-12 Thread pratikshah83
Hi Guys, 

I am trying to wrap the text for the legend item to multiple lines if
the text is too long.

for example long legend text would like to be displayed as 

long legend
text

I tried to set the marker height and width but its not helping. I
tried the legend height and width but that just adjusts the complete
legend item. I just want to wrap the legend text.

Your help would really be appreciated. 

Thanks
Pratik




[flexcoders] Re: Wrapping Contents in HBOX or VBOX

2008-09-12 Thread pratikshah83
Hi Amy, 

Thanks for the reply. I could not find anything in the link you
provided. They specify how to arrange the legend Item. 

I would just like to wrap the legend text(label) if it is long. 

I am not sure if i missed anything on the blog.

I would appreciate if you could give me some leads.

Thanks
Pratik


--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, pratikshah83 pratikshah83@ 
 wrote:
 
  Thanks Tracy, 
  
  This helped me solve one of my issue. 
  
  If you could help me with another issue. 
  
  ie. if i have my chart legend towards the right and the legend text is
  too long how do I wrap the text of the legend in multiple lines ??
  
  for example 
  
  if the text for the legend is long legend test I would like to get
  it displayed as
  long legend
  test
 
 I think the article from the documentation team shows how to pull the 
 LegendData apart and get at the pieces to reconstruct them into 
 something other than a LegendItem.
 
 HTH;
 
 Amy





[flexcoders] Wrapping Contents in HBOX or VBOX

2008-09-11 Thread pratikshah83
Hi Guys, 

I am using a Hbox/Vbox to place legends in the chart. 

So if I use a Hbox the legend displays like

legend 1 legend 2 legend 3 legend 4 legend 5 legend 6

Due to which I get a scroll bar as the number of legends increase.

I would like to know how could I wrap them in Hbox so that it displays 
like

legend 1 legend 2 legend 3 legend 4 
legend 5 legend 6

Thanks your help would be appreciated.

Pratik



[flexcoders] Re: Wrapping Contents in HBOX or VBOX

2008-09-11 Thread pratikshah83
Thanks Tracy, 

This helped me solve one of my issue. 

If you could help me with another issue. 

ie. if i have my chart legend towards the right and the legend text is
too long how do I wrap the text of the legend in multiple lines ??

for example 

if the text for the legend is long legend test I would like to get
it displayed as
long legend
test

You help would be appreciated.

Pratik


--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:

 Use a Tile container (NOT TileList).
 
 Tracy
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of pratikshah83
 Sent: Thursday, September 11, 2008 4:55 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Wrapping Contents in HBOX or VBOX
 
  
 
 Hi Guys, 
 
 I am using a Hbox/Vbox to place legends in the chart. 
 
 So if I use a Hbox the legend displays like
 
 legend 1 legend 2 legend 3 legend 4 legend 5 legend 6
 
 Due to which I get a scroll bar as the number of legends increase.
 
 I would like to know how could I wrap them in Hbox so that it displays 
 like
 
 legend 1 legend 2 legend 3 legend 4 
 legend 5 legend 6
 
 Thanks your help would be appreciated.
 
 Pratik





[flexcoders] Border for Header in panel

2008-07-16 Thread pratikshah83
Hello Guys, 

I would like to know is there a way to give border only to the panel
header and not the complete panel. 

i tried borderstyle= solid but that give for the whole panel and
borderThicknessTop: just give the bottom border to the header. 

Can any one of you help me. 

Thanks
Pratik




[flexcoders] Reducing chart height and width to size of thumbnail

2008-07-15 Thread pratikshah83
Hi Folks, 

I an having and issue and would appreciate if some one could help out. 

I want to create a thumbnail size chart. But when i reduce the height
and width after a certain limit it start to clip the chart. 

I would like the height of the chart 25px but it start to clip the
chart from the bottom. 

Can any one help regarding this issue or suggest me some solution to
make a thumbnail of the chart with datatip feature.

Thanks
Pratik



[flexcoders] Fill Effect for charts.

2008-07-15 Thread pratikshah83
Hi Folks, 

I have to apply different fill effects for different charts. Like I
have pie chart, horizontal bar chart, vertical bar chart etc, and i
need to apply linear gradient fill for bar chart with angle difference
for horizontal and vertical, for the pie chart i need to apply radial
gradient.

Currently I was using a static array for the fills(as there was no
gradient), but in this case i would need to have 3 different static
arrays for each. 

Would this be a good way to implement, or creating the array on the
fly at run time would be a better option.

If you can suggest me some other better way i would really appreciate it. 

Thanks
Pratik



[flexcoders] Adding event to an image set as titleIcon property

2008-06-11 Thread pratikshah83
Hi ,

I am currently using a collapsible panel. It expands or collapse when
we click the panel header. Currently I have an event on the titleBar.
I have an open and close arrow image set as titleIcon property, I
would like to add a click event on that arrow image property instead
of the titleBar. 

Any help in this regards is appreciated. 

Thanks
Pratik




[flexcoders] Loading arial.ttf style at run time

2008-06-06 Thread pratikshah83
Hi , 

I would like to know what would be the best way to include the
arial.ttf font at runtime. As currently its embedded which increases
the swf size by 100Kb. 

I have found out a way but would like to know if there is any other
better way of doing it, or this one is appropriate.

http://blog.flexmonkeypatches.com/2007/02/23/using-runtime-css-to-change-embedded-true-type-fonts-at-runtime-in-flex-applications/

Thanks 
Pratik