[flexcoders] Re:3

2011-10-14 Thread srikanth reddy
I want you to be strong and healthy! So I can help you to stop smoking!.. 
http://www.nmbcmedia.net/sites.friend.php?inpage=22my7


[flexcoders] Re: 3 questions

2009-07-10 Thread ag_rcuren
--- In flexcoders@yahoogroups.com, christophe_jacquelin 
christophe_jacque...@... wrote:

 Hello, 
 
 I have 3 questions 
 
 - How to initialize a DateField with the date of the day ? 
 
 - How to add a skin for the buttons of a buttonbar ?
 
 - How to display in red a given row of a DataGrid ?
 
 Thank you,
 Christophe


A ButtonBar allows you to specify styles for the first button, the last button, 
and the buttons in the middle.

mx:ButtonBar
firstButtonStyleName=firstButton
buttonStyleName=middleButton
lastButtonStyleName=lastButton /




[flexcoders] Re: 3 questions

2009-07-10 Thread ag_rcuren
The ButtonBar allows you to specify 3 different styles:

mx:ButtonBar
 firstButtonStyleName=firstButton
 buttonStyleName=middleButton
 lastButtonStyleName=lastButton
 /


This lets you provide separate styles for both end buttons and the ones
in the middle

--- In flexcoders@yahoogroups.com, christophe_jacquelin
christophe_jacque...@... wrote:

 Hello,

 I have 3 questions

 - How to initialize a DateField with the date of the day ?

 - How to add a skin for the buttons of a buttonbar ?

 - How to display in red a given row of a DataGrid ?

 Thank you,
 Christophe





[flexcoders] Re: 3 charts side by side but only one vertical axis?

2008-11-20 Thread EddieBerman
Assuming ar is your AxisRenderer:
ar.setStyle(showLabels, false);
ar.setStyle('showLine', false);
ar.setStyle(tickPlacement, none);

-Eddie

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

 Hi y'all
 
 i have a customer who wants 3 charts jammed together (see the
customer's mockup with my 
 notes -
http://img.skitch.com/20081120-pqa3yk2se6m94fugee6r8dnpi4.jpg ) but
they only 
 want one vertical axis with the values. I hope the image describes
it better than i can with 
 text.
 
 I've not found a way to suppress the vertical axis on a chart (which
is what i think i need to 
 do). I have the 3 charts ready to go, but just can't seem to get rid
of the axis on 23.
 
 Any ideas?
 
 Thanks
 Mitch





[flexcoders] Re: 3 charts side by side but only one vertical axis?

2008-11-20 Thread maunger
Eddie - that's perfect! THANK YOU!


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

 Assuming ar is your AxisRenderer:
 ar.setStyle(showLabels, false);
 ar.setStyle('showLine', false);
 ar.setStyle(tickPlacement, none);
 
 -Eddie
 
 --- In flexcoders@yahoogroups.com, maunger maunger@ wrote:
 
  Hi y'all
  
  i have a customer who wants 3 charts jammed together (see the
 customer's mockup with my 
  notes -
 http://img.skitch.com/20081120-pqa3yk2se6m94fugee6r8dnpi4.jpg ) but
 they only 
  want one vertical axis with the values. I hope the image describes
 it better than i can with 
  text.
  
  I've not found a way to suppress the vertical axis on a chart (which
 is what i think i need to 
  do). I have the 3 charts ready to go, but just can't seem to get rid
 of the axis on 23.
  
  Any ideas?
  
  Thanks
  Mitch
 






Re: [flexcoders] Re: 3 charts side by side but only one vertical axis?

2008-11-20 Thread Brendan Meutzner
So I'm curious why you'd only want 1 axis... you'd never really be certain
that it correctly reflected the other 2 chart items?
So, a better solution would be to define a CaresianChart type and create 3
distinct series based on your 3 charts... have the first series power the
bar chart, second series power the line chart, etc...  This way you can
assure that they are all reflected correctly in the axis values.

Just my 2 cents...


Brendan



On Thu, Nov 20, 2008 at 6:40 PM, maunger [EMAIL PROTECTED] wrote:

   Eddie - that's perfect! THANK YOU!


 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 EddieBerman [EMAIL PROTECTED] wrote:
 
  Assuming ar is your AxisRenderer:
  ar.setStyle(showLabels, false);
  ar.setStyle('showLine', false);
  ar.setStyle(tickPlacement, none);
 
  -Eddie
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 maunger maunger@ wrote:
  
   Hi y'all
  
   i have a customer who wants 3 charts jammed together (see the
  customer's mockup with my
   notes -
  http://img.skitch.com/20081120-pqa3yk2se6m94fugee6r8dnpi4.jpg ) but
  they only
   want one vertical axis with the values. I hope the image describes
  it better than i can with
   text.
  
   I've not found a way to suppress the vertical axis on a chart (which
  is what i think i need to
   do). I have the 3 charts ready to go, but just can't seem to get rid
  of the axis on 23.
  
   Any ideas?
  
   Thanks
   Mitch
  
 

  




-- 
Brendan Meutzner
http://www.meutzner.com/blog/


[flexcoders] Re: 3 tier architecture using adobe flex

2008-07-13 Thread Sid Maskit
Well, it's pretty flexible. At one end, you can do as suggested below,
and use flex purely as a presentation layer, keeping business logic
and data storage on the server. At the opposite end, you can deploy as
an air application which functions as a pure desktop application with
all three layers on the user's machine. In such a scenario, you could
use the local database and/or filesystem as needed. 

You can do pretty much anything you want anywhere along the continuum
between those two endpoints. Needless to say, once you get into the
world of air deployment, you open up all sorts of possibilities for
distributing responsibilities between the server and local
environment, and for sharing and/or synchronizing data between those
two locales. Although a browser-deployed solution will not have access
to local file system, never mind a local database, it will nonetheless
have a significant amount of local storage available to it. Needless
to say, the security situation is quite different depending on whether
what one deploys is a browser-based application, or an air application.

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

 Well, Flex and FP are presentation layers. You would need to have
 something running on the server. I am using a traditional ASP that
 calls OLE servers that in turn talk to the SQL back-end.
 
 Mark
 
 --- In flexcoders@yahoogroups.com, litesh_b321 litesh_b321@ wrote:
 
  How to design a 3 tier architecture using adobe flex
 





[flexcoders] Re: 3 tier architecture using adobe flex

2008-07-12 Thread markgoldin_2000
Well, Flex and FP are presentation layers. You would need to have
something running on the server. I am using a traditional ASP that
calls OLE servers that in turn talk to the SQL back-end.

Mark

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

 How to design a 3 tier architecture using adobe flex





[flexcoders] Re: 3 problems about datagrid ...

2005-09-09 Thread xiankevin2005
thanks for your prompt.
but i think there must be something wrong with my code and the 
event cellClick cannot be caught by the listener.

when using 
  myGrid.addEventListener(cellClick, this);
or
  mx:DataGrid cellClick=trace('cell was clicked')/
what i can see on the sreen is the following:
Unknown attribute 'cellClick' on mx.controls.DataGrid

here attaches my CheckCellRenderer.as.

import mx.core.UIComponent;
import mx.controls.CheckBox;

[Event(cellClick)]
class CheckCellRenderer extends UIComponent
{

var check : MovieClip;
var listOwner : MovieClip;
var getCellIndex : Function;
var getDataLabel : Function;

function CheckCellRenderer()
{
}

function createChildren(Void) : Void
{
check = createClassObject(CheckBox, check, 1, 
{styleName:this, owner:this});
check.addEventListener(click, this);
size();
}

function size(Void) : Void
{
check.setSize(20, layoutHeight);
check._x = (layoutWidth-20)/2;
check._y = (layoutHeight-16)/2;
}

function setValue(str:String, item:Object, sel:Boolean) : 
Void
{
check._visible = (item!=undefined);
check.selected = item[getDataLabel()];
}

function getPreferredHeight(Void) : Number
{
return 16;
}

function getPreferredWidth(Void) : Number
{
return 20;
}

function click()
{
var currentIndex:Number = getCellIndex().itemIndex;
listOwner.dataProvider.editField(getCellIndex
().itemIndex, getDataLabel(), check.selected ? 1 : 0);
listOwner.dispatchEvent({type:cellClick, 
row:getCellIndex().itemIndex});
}
}



--- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] 
wrote:
 You could make the CheckCellRenderer dispatch an event on the 
DataGrid,
 i.e. inside your CheckCellRenderer:
 
   mx:CheckBox click=listOwner.dispatchEvent({type: 'cellClick', 
row:
 getCellIndex().itemIndex}) /
 
 This will make the DataGrid dispatch a cellClick event. To listen 
to
 this event you'll need to add an event listener on the DataGrid
 
   myGrid.addEventListener(cellClick, this);
 
 The clicked row will be available in the event object passed to the
 cellClick function, e.g.
 
   function cellClick(event:Object):Void {
 mx.controls.Alert.show(Row clicked:  + event.row);
   }
 
 Dirk.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of xiankevin2005
 Sent: Thursday, September 08, 2005 1:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: 3 problems about datagrid ...
 
 thanks for the reply...let me describe the problem i'm facing.
 assume that the dategrid is a song list with several pages and i 
use a
 CheckCellRenderer for a column.when user clicks the check box,the 
song
 will add to his play list and remove it for another click.
 i want to create a click handler in the mxml file,which functions to
 watch all the check boxes,and when one of them is clicked,i can get 
the
 number of the row.then append the selected song to the play list.
 
 i used to add some code in the click handler in
 CheckCellRenderer.as.like this:
 if(check.checked)
   listOwner._parent.addToPlayList(getCellIndex().itemIndex);
 else
   listOwner._parent.delFromPlayList(getCellIndex().itemIndex);
   
 it seems strange though can work properly...
 
 how can i do?
 
 
 about problem 3:
 to add a ... is just what i want.but how to implement this cell
 renderer?i've no idea...any prompt would be appreciated...
 
 thanks a lot.
 
 kevin
 
 
 
 
 
  Yahoo! Groups Sponsor 
~--
 Fair play? Video games influencing politics. Click and talk back!
 http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
 
~- 
 
 --
 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




 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: 3 problems about datagrid ...

2005-09-09 Thread xiankevin2005
sorry for my neglect...
the way that using   myGrid.addEventListener(cellClick, this)  
works correctly.but it seems that i cannot use the event handler 
cellClick directly in the mx:DataGrid tag.
thank you very much!


--- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] 
wrote:
 You could make the CheckCellRenderer dispatch an event on the 
DataGrid,
 i.e. inside your CheckCellRenderer:
 
   mx:CheckBox click=listOwner.dispatchEvent({type: 'cellClick', 
row:
 getCellIndex().itemIndex}) /
 
 This will make the DataGrid dispatch a cellClick event. To listen 
to
 this event you'll need to add an event listener on the DataGrid
 
   myGrid.addEventListener(cellClick, this);
 
 The clicked row will be available in the event object passed to the
 cellClick function, e.g.
 
   function cellClick(event:Object):Void {
 mx.controls.Alert.show(Row clicked:  + event.row);
   }
 
 Dirk.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of xiankevin2005
 Sent: Thursday, September 08, 2005 1:21 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: 3 problems about datagrid ...
 
 thanks for the reply...let me describe the problem i'm facing.
 assume that the dategrid is a song list with several pages and i 
use a
 CheckCellRenderer for a column.when user clicks the check box,the 
song
 will add to his play list and remove it for another click.
 i want to create a click handler in the mxml file,which functions to
 watch all the check boxes,and when one of them is clicked,i can get 
the
 number of the row.then append the selected song to the play list.
 
 i used to add some code in the click handler in
 CheckCellRenderer.as.like this:
 if(check.checked)
   listOwner._parent.addToPlayList(getCellIndex().itemIndex);
 else
   listOwner._parent.delFromPlayList(getCellIndex().itemIndex);
   
 it seems strange though can work properly...
 
 how can i do?
 
 
 about problem 3:
 to add a ... is just what i want.but how to implement this cell
 renderer?i've no idea...any prompt would be appreciated...
 
 thanks a lot.
 
 kevin
 
 
 
 
 
  Yahoo! Groups Sponsor 
~--
 Fair play? Video games influencing politics. Click and talk back!
 http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
 
~- 
 
 --
 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




 Yahoo! Groups Sponsor ~-- 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Re: 3 problems about datagrid ...

2005-09-09 Thread Dirk Eismann
Your code works, I've attached a simple test file.

You just have to make sure that you use 

  myGrid.addEventListener(cellClick, this);

and not by using the MXML syntax. Otheriwse the compiler will complain
about the fact that DataGrid is not known to dispatch a cellClick
event.

BTW, you don't need to add the [Event(cellClick] metadat to your
CheckCellRenderer class because it's not the CheckCellRenderer that
dispatches the event but the DataGrid.

Dirk.



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of xiankevin2005
Sent: Friday, September 09, 2005 3:15 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: 3 problems about datagrid ...

thanks for your prompt.
but i think there must be something wrong with my code and the event
cellClick cannot be caught by the listener.

when using
  myGrid.addEventListener(cellClick, this); or
  mx:DataGrid cellClick=trace('cell was clicked')/ what i can see on
the sreen is the following:
Unknown attribute 'cellClick' on mx.controls.DataGrid


 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


testGrid.mxml
Description: testGrid.mxml


CheckCellRenderer.as
Description: CheckCellRenderer.as


RE: [flexcoders] Re: 3 problems about datagrid ...

2005-09-09 Thread Dirk Eismann
Yes, that's true. 

When assingning event handlers in MXML, the Flex compiler looks for the
Metadata tags defined in the different classes when compiling a SWF. Due
to the fact that the cellClick event is not defined inside the
DataGrid class, the compiler complains.

If you want, you could create a subclass of mx.controls.DataGrid and
define a [Event(cellClick)] in this subclass. Then, when you use your
DataGrid subclass in your MXML code, you'll be able to write 

  yourNamespace:DataGridSubclass cellClick=doSomething(event) /

Dirk.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of xiankevin2005
Sent: Friday, September 09, 2005 3:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: 3 problems about datagrid ...

sorry for my neglect...
the way that using   myGrid.addEventListener(cellClick, this)  
works correctly.but it seems that i cannot use the event handler
cellClick directly in the mx:DataGrid tag.
thank you very much!



 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: 3 problems about datagrid ...

2005-09-08 Thread xiankevin2005
thanks for the reply...let me describe the problem i'm facing.
assume that the dategrid is a song list with several pages and i use 
a CheckCellRenderer for a column.when user clicks the check box,the 
song will add to his play list and remove it for another click.
i want to create a click handler in the mxml file,which functions to 
watch all the check boxes,and when one of them is clicked,i can get 
the number of the row.then append the selected song to the play list.

i used to add some code in the click handler in 
CheckCellRenderer.as.like this:
if(check.checked)
  listOwner._parent.addToPlayList(getCellIndex().itemIndex);
else
  listOwner._parent.delFromPlayList(getCellIndex().itemIndex);
  
it seems strange though can work properly...

how can i do?


about problem 3:
to add a ... is just what i want.but how to implement this cell 
renderer?i've no idea...any prompt would be appreciated...

thanks a lot.

kevin





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: 3 problems about datagrid ...

2005-09-08 Thread Dirk Eismann
You could make the CheckCellRenderer dispatch an event on the DataGrid,
i.e. inside your CheckCellRenderer:

  mx:CheckBox click=listOwner.dispatchEvent({type: 'cellClick', row:
getCellIndex().itemIndex}) /

This will make the DataGrid dispatch a cellClick event. To listen to
this event you'll need to add an event listener on the DataGrid

  myGrid.addEventListener(cellClick, this);

The clicked row will be available in the event object passed to the
cellClick function, e.g.

  function cellClick(event:Object):Void {
mx.controls.Alert.show(Row clicked:  + event.row);
  }

Dirk.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of xiankevin2005
Sent: Thursday, September 08, 2005 1:21 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: 3 problems about datagrid ...

thanks for the reply...let me describe the problem i'm facing.
assume that the dategrid is a song list with several pages and i use a
CheckCellRenderer for a column.when user clicks the check box,the song
will add to his play list and remove it for another click.
i want to create a click handler in the mxml file,which functions to
watch all the check boxes,and when one of them is clicked,i can get the
number of the row.then append the selected song to the play list.

i used to add some code in the click handler in
CheckCellRenderer.as.like this:
if(check.checked)
  listOwner._parent.addToPlayList(getCellIndex().itemIndex);
else
  listOwner._parent.delFromPlayList(getCellIndex().itemIndex);
  
it seems strange though can work properly...

how can i do?


about problem 3:
to add a ... is just what i want.but how to implement this cell
renderer?i've no idea...any prompt would be appreciated...

thanks a lot.

kevin





 Yahoo! Groups Sponsor ~--
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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



 





 Yahoo! Groups Sponsor ~-- 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~- 

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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/