[flexcoders] Re: Datagrid cellEditor focus problem

2005-05-05 Thread bhaq1972
Thanks Jim

that worked

regards
Bod (bhaq1972)

--- In flexcoders@yahoogroups.com, Jim Laing [EMAIL PROTECTED] wrote:
 I added a dg.disposeEditor(); line before setting the focused 
cell
 to the old cell when not changing the focus. This seems to make it
 work  Alternatively, you could use dg.focusedCell = 
undefined;
 
 Jim 
 
 function doCellPressFocusIn(event)
{
if(changeFocus)
{
var obj1 = oldCell =
 {itemIndex:event.itemIndex, columnIndex:event.columnIndex};
dg.focusedCell = obj1;
}
else
{
dg.focusedCell = undefined;
dg.focusedCell = oldCell;
}
 
 On 5/4/05, bhaq1972 [EMAIL PROTECTED] wrote:
  Hi
  I'm doing a simple test where i store the position of a 
focusedCell
  during a cellPress/cellFocusIn event.
  
  If i then set a boolean variable to false, i want the celleditor 
to
  appaer in the original position. This works except the green box
  appears in the new position.
  I want this green box to appear around the cellEditor all the 
time.
  
  heres an example of what i mean.
  
  TIA
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns=* backgroundColor=#C0DCC2
  
  mx:Script
  ![CDATA[
  
  var dp = [  { one:one, two:two,
  three:three },
  { one:four, two:five,
  three:six },
  { one:seven, 
two:eight,
  three:nine },
  { one:ten, 
two:eleven,
  three:twelve },
  { one:thirteen,
  two:fourteen, three:fifteen }];
  
  var changeFocus:Boolean = true;
  var oldCell;
  
  function doCellPressFocusIn(event)
  {
  if(changeFocus)
  {
  var obj1 = oldCell =
  {itemIndex:event.itemIndex, columnIndex:event.columnIndex};
  dg.focusedCell = obj1;
  }
  else
  {
  dg.focusedCell = oldCell;
  }
  }
  
  ]]
  /mx:Script
  
  mx:TextArea width=200 height=100 text=Select a cell
  from datagrid, then click the button, it should remain focused on
  the previously clicked cell  not always though/
  mx:DataGrid selectable=false editable=true id=dg
  dataProvider={ dp } cellFocusIn=doCellPressFocusIn(event)
  cellPress=doCellPressFocusIn(event)
  mx:columns
  mx:Array
  mx:DataGridColumn 
columnName=one/
  mx:DataGridColumn
  columnName=two /
  mx:DataGridColumn
  columnName=three/
  /mx:Array
  /mx:columns
  /mx:DataGrid
  mx:Button label=Button click=changeFocus=!
  changeFocus; /
  
  /mx:Application
  
  
  Yahoo! Groups Links
  
  
  
  
 




 
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] Info ColumnChart

2005-05-05 Thread [EMAIL PROTECTED]
Hi ,
i have seen the good tutorial Christophe's Chart Explorer.
But my i wish to understand this,
I have a RemoteObject that return me an array of CVenditaVO, this 
object is not gathered for code item and every code item has a qty, 
or rather i wish display in my columnchart
all my code item gathered, and that my chart sum all qty of every 
code item equal.
for examples

code item  qty
x1
y1
z4
x3

my chart should visualize

x   2
y   1
z   4

Ok, i can create a RemoteObject gathered, but if i can to this into 
Flex, it would be me useful, because the CVenditaVO not gathered.
Can you help me please



Hi Devis, not quite sure what you're asking here.  Have you checked some of
Christophe's Chart Explorer demo out?  It has a lot of examples as do the
ASDoc for the charts.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, May 04, 2005 9:46 AM
To: Flex Coders
Subject: [flexcoders] Info ColumnChart

hi,
it's my first test with ColumnChart,
but i don't understand, if i look the examples ColumnChartDemo, read 
into an xml file, and if i don't wrong the chart group the same value!is 
it correct?
But in my dataProvider the value are not groupby, can you help me please.

mx:ColumnChart width=100% height=100% dataProvider={voincasso} 
showDataTips=true

mx:horizontalAxis
mx:CategoryAxis dataProvider={voincasso} 
categoryField=modedi/
/mx:horizontalAxis

  

mx:series
mx:Array
mx:ColumnSeries yField=apples/
/mx:Array
/mx:series

/mx:ColumnChart





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 



  






 
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] constructor properties

2005-05-05 Thread Duccio





I have a custom component that extends from 
mx.controls.Image. I'd like to set some properties before the class executes its 
init() method. Can i usemy classconstructor to pass some values to 
my class?
Itried this but i just can't pass values to 
constructor (undefined):
import mx.controls.Image;
class MyImage extends Image{
private var myWidth:Number;
private var myHeight:Number;public 
function MyImage(myWidth:Number, 
myHeight:Number){myWidth=myWidth;
 
myHeight=myHeight;_alpha=80;}
}

Thanks for your help
Duccio Del Ministro







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 the Yahoo! Terms of Service.








No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005


[flexcoders] CMM Level 5 Company (C#,ASP.NET/J2EE/Datawarehousing)3-10yrs BANGALORE/CHENNAI/H

2005-05-05 Thread ap_subhasree
Hi All,

We are a Leading Resource Consultant catering to
various MNCs in India and Abroad. 

We are looking for Our World's Largest PCMM Level 5 Client in 
Bangalore,Chennai,Hyderbad

REQUIREMENT I : Developers/Senior Developers
Skills: *Experience in .Net (C#, ASP .Net, Windows Based).
*Working experience on min 2 Projects with 
external clientbased.
*Eperience in SQL Server 2000.
Experience:   2 to 6 years
Qualification:   BE/BTech/ MCA
Work Location:   Bangalore/Chennai/Hyderabad


REQUIREMENT II : Dev Lead/Tech Lead Profiles
Skills: *6+ Years of total IT Experience.
*Min 24 months of hands on Experience in .Net (C#, Web 
Based /  Windows Based)
*Working experience on min 5 Projects with external client 
 based.
*Min 4 Years of experience/Excellent technical expertise in 
 SQL Server 2000.
*Should have high level knowledge on Biztalk, Share Point 
 Portal  Content Management Servers. 

Experience: 6 plus years

Qualification:BE/BTech/ MCA 

Work Location: Bangalore/Chennai/Hyderabad

REQUIREMENT III: J2EE with EJB
Skills :Should be strong in Ejb
Experience:3-6yrs
Location:Bangalore/Chennai/Hyderabad
Qualification:BE/BTech/ MCA

REQUIREMENT VI:Datawarehousing Professionals  

Skills required:  Informatica   /  Ab Initio  /  Data stage (Any 
one skill will do) Developer / Senior Software Engineer / 
Consultants / Tech Lead  -  2 to 5 IT years experience with minimum 1 
year in DWH.

Experience:3 years to 7 years 
Location:Bangalore/Chennai/Hyderabad
Qualification:BE/BTech/ MCA

 
In receipt of your resume we will contact you fordiscussing on the 
job profile .We assure that your resume will not be processedwithout 
your consent.We will be Online in Yahoo Chat ID: 
[EMAIL PROTECTED] Kindly please send as your updated resume 
at the earliest.

With best regards,
A.P.SUBHASREE
E-Mail:[EMAIL PROTECTED],
[EMAIL PROTECTED],
Ph:52024557
Chennai
 







 
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] CMM Level 5 Company (C#,ASP.NET/J2EE/Datawarehousing)3-10yrs BANGALORE/CHENNAI/H

2005-05-05 Thread ap_subhasree
Hi All,

We are a Leading Resource Consultant catering to
various MNCs in India and Abroad. 

We are looking for Our World's Largest PCMM Level 5 Client in 
Bangalore,Chennai,Hyderbad

REQUIREMENT I : Developers/Senior Developers
Skills: *Experience in .Net (C#, ASP .Net, Windows Based).
*Working experience on min 2 Projects with 
external clientbased.
*Eperience in SQL Server 2000.
Experience:   2 to 6 years
Qualification:   BE/BTech/ MCA
Work Location:   Bangalore/Chennai/Hyderabad


REQUIREMENT II : Dev Lead/Tech Lead Profiles
Skills: *6+ Years of total IT Experience.
*Min 24 months of hands on Experience in .Net (C#, Web 
Based /  Windows Based)
*Working experience on min 5 Projects with external client 
 based.
*Min 4 Years of experience/Excellent technical expertise in 
 SQL Server 2000.
*Should have high level knowledge on Biztalk, Share Point 
 Portal  Content Management Servers. 

Experience: 6 plus years

Qualification:BE/BTech/ MCA 

Work Location: Bangalore/Chennai/Hyderabad

REQUIREMENT III: J2EE with EJB
Skills :Should be strong in Ejb
Experience:3-6yrs
Location:Bangalore/Chennai/Hyderabad
Qualification:BE/BTech/ MCA

REQUIREMENT VI:Datawarehousing Professionals  

Skills required:  Informatica   /  Ab Initio  /  Data stage (Any 
one skill will do) Developer / Senior Software Engineer / 
Consultants / Tech Lead  -  2 to 5 IT years experience with minimum 1 
year in DWH.

Experience:3 years to 7 years 
Location:Bangalore/Chennai/Hyderabad
Qualification:BE/BTech/ MCA

 
In receipt of your resume we will contact you fordiscussing on the 
job profile .We assure that your resume will not be processedwithout 
your consent.We will be Online in Yahoo Chat ID: 
[EMAIL PROTECTED] Kindly please send as your updated resume 
at the earliest.

With best regards,
A.P.SUBHASREE
E-Mail:[EMAIL PROTECTED],
[EMAIL PROTECTED],
Ph:52024557
Chennai
 







 
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] Tree questions

2005-05-05 Thread sreejithunni
I have 2 questions that I need guidance on.

1. How do you collapse an entire tree to display only the first or
second level in the hierarchy!

2. If I know the path to the nth level node in a hierarchy (for
example L1L2L3), is it possible to recursively open the nodes L1, L2
AND L3 by firing a single event. The constraint is that these nodes
are requested by webservice at run-time and do not exist on the client.

Regards




 
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] constructor properties

2005-05-05 Thread Alistair McLeod





Hi Duccio,

Have a look at the commitProperties method which 
iscalled by the Flex component framework- override that method, and 
make sure you call super.commitProperties().

Cheers,

Ali




--
Alistair 
McLeodDevelopmentDirector
iteration::two[EMAIL PROTECTED]

Office: +44 (0)131 338 
6108

This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately.Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of DuccioSent: 
05 May 2005 09:26To: flexcoders@yahoogroups.comSubject: 
[flexcoders] constructor properties

I have a custom component that extends from 
mx.controls.Image. I'd like to set some properties before the class executes its 
init() method. Can i usemy classconstructor to pass some values to 
my class?
Itried this but i just can't pass values to 
constructor (undefined):
import mx.controls.Image;
class MyImage extends Image{
private var myWidth:Number;
private var myHeight:Number;public 
function MyImage(myWidth:Number, 
myHeight:Number){myWidth=myWidth;
 
myHeight=myHeight;_alpha=80;}
}

Thanks for your help
Duccio Del Ministro







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 the Yahoo! Terms of Service.










[flexcoders] ColumnChart picture

2005-05-05 Thread [EMAIL PROTECTED]
Hi it's possibile about you display a picture into dataTipFunction?

This is my code, but don't work.
Devis



 function Foto_Obj(obj)
 {
tot.title=brimg 
src='../../images/+obj.hitData.item.modedi+.jpg'  border='0'br;
return brimg 
src='../../images/+obj.hitData.item.modedi+.jpg'  border='0'br;
 }


mx:ColumnChart width=100% height=100% 
dataProvider={dg_reso.dataProvider} showDataTips=true 
dataTipFunction=Foto_Obj





 
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] Filtering data in Flex

2005-05-05 Thread Ketan Bengali
Hello,
 
As we can filter data using DataSet component in Flash, is there any way
in Flex to do so?
 
I want to avoid server trip as I'm getting the whole data in one go and
depending upon the users response I just need to hide some records from
the pre-fetched data displayed in the TileList. 
 
experts, please help...
 

On behalf of my colleague, Dipti Mane.

-- 
Regards,

Ketan Bengali



 
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] Filtering data in Flex

2005-05-05 Thread Steven Webster
Ketan,

 As we can filter data using DataSet component in Flash, is 
 there any way in Flex to do so?
  
 I want to avoid server trip as I'm getting the whole data in 
 one go and depending upon the users response I just need to 
 hide some records from the pre-fetched data displayed in the 
 TileList. 

Have you taken a look at the FlexStore ?  The short answer
is that yes, you can do this ... maintain both a data provider
populated from your server-trip, and a filtered data provider
that is a view onto your main data provider, according to
filter criteria.

I have a feeling that Manish posted something; I can't find it
on his blog, but perhaps he'll post shortly.

Best,

Steven

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005
 



 
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] Filtering data in Flex

2005-05-05 Thread Ketan Bengali
Yes, we did had a look at FlexStore before posting this query.
It doesn't fulfill our need as it just fades away the items and it leaves
the item spaces empty if we try to make these items invisible by
specifying /visible=false/.

Our requirement is bit different, we need to show only items fulfilling
the filter criteria... 
 
We also need to implement the same thing for Datagrid.
 


Regards,
Dipti.

Regards,

Ketan Bengali




Steven Webster wrote:

Ketan,

  

As we can filter data using DataSet component in Flash, is 
there any way in Flex to do so?
 
I want to avoid server trip as I'm getting the whole data in 
one go and depending upon the users response I just need to 
hide some records from the pre-fetched data displayed in the 
TileList. 



Have you taken a look at the FlexStore ?  The short answer
is that yes, you can do this ... maintain both a data provider
populated from your server-trip, and a filtered data provider
that is a view onto your main data provider, according to
filter criteria.

I have a feeling that Manish posted something; I can't find it
on his blog, but perhaps he'll post shortly.

Best,

Steven

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.

  



 
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: Filtering data in Flex

2005-05-05 Thread joao_m_fernandes
Ketan,

Did you try to set Height and Width to 0? 
For the datagrid it should be easy, setting a new dg dataProvider with
only the new Items.


João Fernandes

--- In flexcoders@yahoogroups.com, Ketan Bengali [EMAIL PROTECTED] wrote:
 Yes, we did had a look at FlexStore before posting this query.
 It doesn't fulfill our need as it just fades away the items and it
leaves
 the item spaces empty if we try to make these items invisible by
 specifying /visible=false/.
 
 Our requirement is bit different, we need to show only items fulfilling
 the filter criteria... 
  
 We also need to implement the same thing for Datagrid.
  
 
 
 Regards,
 Dipti.
 
 Regards,
 
 Ketan Bengali
 
 
 
 
 Steven Webster wrote:
 
 Ketan,
 
   
 
 As we can filter data using DataSet component in Flash, is 
 there any way in Flex to do so?
  
 I want to avoid server trip as I'm getting the whole data in 
 one go and depending upon the users response I just need to 
 hide some records from the pre-fetched data displayed in the 
 TileList. 
 
 
 
 Have you taken a look at the FlexStore ?  The short answer
 is that yes, you can do this ... maintain both a data provider
 populated from your server-trip, and a filtered data provider
 that is a view onto your main data provider, according to
 filter criteria.
 
 I have a feeling that Manish posted something; I can't find it
 on his blog, but perhaps he'll post shortly.
 
 Best,
 
 Steven
 
 --
 Steven Webster
 Technical Director
 iteration::two
  
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or
used by
 anyone other than the intended recipient(s). If you are not the
intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately.
  
 Please also note that while software systems have been used to try
to ensure
 that this e-mail has been swept for viruses, iteration::two do not
accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are
carried out
 before any attachments are opened.
 
   
 




 
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] Cairngorm 0.99 - coming soon !

2005-05-05 Thread Steven Webster





All,

I think an update on 
Cairngorm 0.99 is in order  the summary and the good news is that 
we
are almost there for 
you.

The team at 
iteration::two have been very much heads down; you may have seen the blog 
entry
we made about 
releasing a significant Flex application to one of the UK banks last month; you 

can take a look from 
the links here:

http://www.richinternetapps.com/archives/000107.html

At the same time, 
the other members and contributors to the Cairngorm committee 
have
been snowed with 
work as well.

However, with the 
financial services project delivered, we've had a small team of consultants 

working on pulling 
together 
the promised 0.99 release of Cairngorm. The lads delivered 
a
code-drop to the 
Cairngorm team earlier this week, and it's now undergoing review by 
the
rest of the Cairngorm 
committee

Significant in this 
release, is a new sample application ... as well as the very 
simple
Login sample, there 
is now a ground-up rewrite of Flex Store as a Cairngorm application, 

that we 
are sure 
will help people instantly understand how the Cairngorm architecture 

can be 
used in 
real-world applications.

We'll release 
Cairngorm 0.99 just as soon as we get the thumbs up from the rest 
of
the committee; 
around the release there will be significantly more output from 
the
team at 
iteration::two (and the rest of the committee too I would hope), discussing 

the additions to 
Cairngorm, the motivations, and some of the challenges that 
were
solved along the 
way.

So just to clarify; 
all that stands between you and Cairngorm 0.99 is Matt 
Chotin,
Ilya Devers, Romain 
Faraut, Dirk EismannandJimmy Giannianis. 
:-D

Best,

Steven



--
Steven WebsterTechnical 
Director
iteration::two

This e-mail and any associated attachments 
transmitted with it may contain confidential information and must not be copied, 
or disclosed, or used by anyone other than the intended recipient(s). If you are 
not the intended recipient(s) please destroy this e-mail, and any copies of it, 
immediately.Please also note that while software systems have been 
used to try to ensure that this e-mail has been swept for viruses, 
iteration::two do not accept responsibility for any damage or loss caused in 
respect of any viruses transmitted by the e-mail. Please ensure your own checks 
are carried out before any attachments are 
opened.








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 the Yahoo! Terms of Service.










--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005
 


Re: [flexcoders] Re: Filtering data in Flex

2005-05-05 Thread Ketan Bengali
Setting the height/width to 0 doesn't make any difference.

We wont to delete the items not satisfying the filter criteria.
In other words update the TileList component with the data.


Regards,

Ketan Bengali




joao_m_fernandes wrote:

Ketan,

Did you try to set Height and Width to 0? 
For the datagrid it should be easy, setting a new dg dataProvider with
only the new Items.



  

  



 
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: Filtering data in Flex

2005-05-05 Thread Alistair McLeod
Hi Ketan,

As Steven said, you should create a FilteredDataProvider that implements the
DataProvider interface and does the filtering for you - your TileList then
takes that as its dataprovider and when filtering occurs, the TileList will
updates its view of the data.

Here's the one Manish wrote:

http://manish.revise.org/2005/04/data-filtering-using-custom.html

Cheers,

Ali


--
Alistair McLeod
Development Director
iteration::two
[EMAIL PROTECTED]
 
Office:  +44 (0)131 338 6108
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ketan Bengali
Sent: 05 May 2005 13:12
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Filtering data in Flex

Setting the height/width to 0 doesn't make any difference.

We wont to delete the items not satisfying the filter criteria.
In other words update the TileList component with the data.


Regards,

Ketan Bengali




joao_m_fernandes wrote:

Ketan,

Did you try to set Height and Width to 0? 
For the datagrid it should be easy, setting a new dg dataProvider with 
only the new Items.



  

  



 
Yahoo! Groups Links



 



 
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] crimson.jar flex runtime

2005-05-05 Thread laura . donia



Hi Peter,

I checked the web.xml and the AMFGatewayServlet is loaded by a BootstrapServlet.

Regarding sending XML over RemoteObject: No, we are not directly sending XML over the RemoteObject. We are using the RemoteObject to just call java methods on the app server. My concern was that I didn't know what was happening under the hood when the RemoteObject service calls are invoked  if crimson.jar could impact that.

thanks,

Laura

-- Original message -- 

In Flex 1.0 I think the AMF Gateway and the Flex MXML compiler were both behind a bootstrap classloader (you can tell from the servlet mapping in /WEB-INF/web.xml to see if the AMFGatewayServlet is actually loaded by a BootstrapServlet). 

In Flex 1.5 the AMF Gateway was removed from the bootstrap classloader due to other classloader reasons.

Are you sending XML at all over RemoteObject?





From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, May 04, 2005 4:46 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] crimson.jar  flex runtime

Hi Peter,

This app is built on Flex 1.0 (not sure if that makes a difference for this topic).

I have not seen any issues in the testing that i have done so far (which included remote object calls). I am just wondering if it's possible to run into the same issues that I saw w/ mxml compilation. Basically the flex app runs in the same web app as a commerce server. The commerce server now requires the crimson.jar lib. I'm just looking to verify whether or not that will cause problems w/ the flex app during runtime.

thanks,

Laura

-- Original message -- 

The Flex 1.5 AMF gateway reads its own configuration file using SAX during servlet initialization and DOM for deserializing/serializing ActionScript XML objects sent via AMF. Are you seeing issues with just the gateway deployed or are you just wondering whether it's theoretically possible to run into the same issues as with mxml compilation?


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Wednesday, May 04, 2005 3:29 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] crimson.jar  flex runtime

Hi,

This helps a lot, thank you.

I do have an additional question. Our swf does make data service calls back to the server using AMF. Is there any possibility that the AMF gateway relies on an XML parser which could be in conflict w/ crimson.jar? 

thanks, Laura

-- Original message -- 

Hi,

Flex runtime means Macromedia Flash Player, which is totally client side. As you said, you have precompiled swfs on server, I am sure there won't be any conflict by keeping crimson.jar. Once swf is delivered to client, it is run on client side(in Macromedia Flash Player). Only data service calls are made between client and server.

Flex compiler and Flex runtime(Macromedia Flash Player) are two different isolated entitity. 

Hope that helps

-abdul



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 7:16 PMTo: flexcoders@yahoogroups.com; flexcoders@yahoogroups.comCc: Jonathan BezuidenhoutSubject: Re: [flexcoders] crimson.jar  flex runtime

Hi,

Thanks for the reply -

It sounds like the conflict you experienced occurs during compile time, when compiling the mxml.

Our app is installed as a precompiled swf (no mxml pages are installed with the application), so I am wondering if any of the flex runtime code could also be in conflict w/ the crimson.jar, or if it is just isolated to the compiler.

-- Original message -- I am sure it can - we just had the same problem with batik.jar.In fact, to see weirdness being even weirder, copy the exact batik jarfiles from the flex/jars into your regular WEB-INF/jars - you wouldthink duplicate but OK - unfortunately Flex does not like that. Assoon as you access mxml pages that need to be recompiled, it givesweird error messages like being unable to find global.css etc.JonathanOn 5/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:  Hi,   Our flex application shares it's web app with another application that requires crimson.jar in the WEB-INF/lib directory. I found that this creates a conflict for the parser required for the mxmlc compiler  the compiler fails. If I exclude crimson.jar from the classpath during compile time, I am able to compile the swf.   My question is, does anyone know if having crimson.jar live in the flex web app could create other conflicts with flex during runtime? I am able to run the application with no problems that I can see, but am not sure what is going on under the hood and if there are other gotchas that I should be aware of.   thanks in advance for your help,   Laura   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]  

[flexcoders] Re: More Competition

2005-05-05 Thread dunwerkin
Andy, 

I haven't used the SnappMX product, but I imagine that you can use one
of the OpenSource implementations of the AMF gateway:   AMFPHP (php),
OpenAMF (Java), and I seem to recall seeing a .net version too once.
There's a python alpha, and the format is somewhat documented by these
OSS efforts, so you could rewrite in the language of your choice :) 
The quote you reference is probably just out of context.

My reason to not look at SnappMX (or Lazlo for that matter) is that
every XML based implementation for a UI seems to be creating its own
very different dialect. Not very good if you want to repurpose UI
later.  If someone wrote a SWF generator that used either XUL
(Mozilla's dialect) or MXML, I'd be much happier.  At least the
XAMALON effort is using the M$ dialect, which will have a high uptake.

Adam


 Message: 1
Date: Wed, 4 May 2005 16:39:00 -0500
From: Andy Goodfellow [EMAIL PROTECTED]
 Subject: Re: More Competition
 
 I went to download the trial and saw this at the bottom: Snapp MX
 uses a Flash Remoting Gateway to communicate with web services.  If
 you do not have this product, a trial version can be obtained from
 Macromedia.
 
 So much for this quote from the press release, For the first time,
 developers can learn and use one tool to create web-based business
 systems for all common environments. With Snapp MX, they are no longer
 tethered or restricted to a specific language and/or platform. 
 
 On 5/4/05, sreejithunni [EMAIL PROTECTED] wrote:
   Rich Internet Application Development Propelled Into High Gear ...
 
   http://newsroom.eworldwire.com/view_release.php?id=11933
 
   ... After extensive testing over two months on Macromedia's Flex(TM),
   Laszlo Systems' OpenLaszlo(TM) and Snapp MX, it ultimately selected
   Snapp MX. ...
 
 
 


 
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: More Competition

2005-05-05 Thread Darron J. Schall
dunwerkin wrote:

My reason to not look at SnappMX (or Lazlo for that matter) is that
every XML based implementation for a UI seems to be creating its own
very different dialect. Not very good if you want to repurpose UI
later.  If someone wrote a SWF generator that used either XUL
(Mozilla's dialect) or MXML, I'd be much happier.  At least the
XAMALON effort is using the M$ dialect, which will have a high uptake.

Adam
  


There's an open source project in the works called ActionStep that is a 
port of the NextStep AppKit.  There is already an XML interface language 
for GNUStep (OpenStep, NeXT, whatever).  In theory, this is going to be 
available in ActionScript at some point, though I imagine its quite a 
ways away.. still lots of work to do. 

But, more of an FYI, Renaissance is probably going to be an option in 
the future as well.

http://www.gnustep.it/Renaissance/

I wonder if we'll start to see some XSLT transformers to convert between 
the different UI markups.  I kind of doubt it, as there isn't a real 
need for it (i.e. if you use Flex, you won't be using XAML, etc).  
However, I wonder how long it will take to form a standards committee as 
the official xml format for interfaces like the w3c, with a way to 
specify that code is in a certain language.  Probably not for awhile, if 
ever, as everyone is competing with their proprietary format to see who 
comes out on top...

-d




 
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] crimson.jar flex runtime

2005-05-05 Thread Joe Berkovitz
I will say (possibly irrelevantly) that I have seen xerces-based 
applications fail in the past when crimson.jar was placed in the 
CLASSPATH.  I don't think they play nice together.

[EMAIL PROTECTED] wrote:
 Hi Peter,
  
 I checked the web.xml and the AMFGatewayServlet is loaded by a 
 BootstrapServlet.
  
 Regarding sending XML over RemoteObject: No, we are not directly sending 
 XML over the RemoteObject. We are using the RemoteObject to just call 
 java methods on the app server. My concern was that I didn't know what 
 was happening under the hood when the RemoteObject service calls are 
 invoked  if crimson.jar could impact that.
  
 thanks,
  
 Laura
  
 
 -- Original message --
 In Flex 1.0 I think the AMF Gateway and the Flex MXML compiler were
 both behind a bootstrap classloader (you can tell from the servlet
 mapping in /WEB-INF/web.xml to see if the AMFGatewayServlet is
 actually loaded by a BootstrapServlet).
  
 In Flex 1.5 the AMF Gateway was removed from the bootstrap
 classloader due to other classloader reasons.
  
 Are you sending XML at all over RemoteObject?
  
  
  
 
 
 *From:* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] *On Behalf Of
 [EMAIL PROTECTED]
 *Sent:* Wednesday, May 04, 2005 4:46 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] crimson.jar  flex runtime
 
  
 Hi Peter,
  
 This app is built on Flex 1.0 (not sure if that makes a difference
 for this topic).
  
 I have not seen any issues in the testing that i have done so far
 (which included remote object calls). I am just wondering if it's
 possible to run into the same issues that I saw w/ mxml compilation.
 Basically the flex app runs in the same web app as a commerce
 server. The commerce server now requires the crimson.jar lib. I'm
 just looking to verify whether or not that will cause problems w/
 the flex app during runtime.
  
 thanks,
  
 Laura
  
 
 -- Original message --
 The Flex 1.5 AMF gateway reads its own configuration file using
 SAX during servlet initialization and DOM for
 deserializing/serializing ActionScript XML objects sent via AMF.
 Are you seeing issues with just the gateway deployed or are you
 just wondering whether it's theoretically possible to run into
 the same issues as with mxml compilation?
 
 
 
 *From:* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] *On Behalf Of
 [EMAIL PROTECTED]
 *Sent:* Wednesday, May 04, 2005 3:29 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* RE: [flexcoders] crimson.jar  flex runtime
 
  
 Hi,
  
 This helps a lot, thank you.
  
 I do have an additional question. Our swf does make data service
 calls back to the server using AMF. Is there any possibility
 that the AMF gateway relies on an XML parser which could be in
 conflict w/ crimson.jar?
  
 thanks, Laura
  
 
 -- Original message --
 Hi,
  
 Flex runtime means Macromedia Flash Player, which is totally
 client side. As you said, you have precompiled  swfs on
 server, I am sure there won't be any conflict by keeping
 crimson.jar. Once swf is delivered to client, it is run on
 client side(in Macromedia Flash Player). Only data service
 calls are made between client and server.
  
 Flex compiler and Flex runtime(Macromedia Flash Player) are
 two different isolated entitity.
  
 Hope that helps
  
 -abdul
  
 
 
 
 *From:* flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED]
 *Sent:* Wednesday, May 04, 2005 7:16 PM
 *To:* flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
 *Cc:* Jonathan Bezuidenhout
 *Subject:* Re: [flexcoders] crimson.jar  flex runtime
 
  
 Hi,
  
 Thanks for the reply -
  
 It sounds like the conflict you experienced occurs during
 compile time, when compiling the mxml.
  
 Our app is installed as a precompiled swf (no mxml pages are
 installed with the application), so I am wondering if any of
 the flex runtime code could also be in conflict w/ the
 crimson.jar, or if it is just isolated 

[flexcoders] how to read initialization properties?

2005-05-05 Thread sanjayd
Hi.

Is there a formal/elegant way to read start-up properties via a
java-style-properties-file/windows-style-ini-file/xml-config-type-file ?
Thanks - Sanjay





 
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] Problem Displaying Data

2005-05-05 Thread clogic_info
Warning: newb---

I have seen issue posted before but could not seem to get anything 
to work,

Basically I am using FAST to request a SOAP service and it targets
customerSummaryArray for the reply, however when I try to display 
this in a datagrid, it shows nothing, but makes scrollbar.

//The SOAP service responds to me with an XML string:

string 
xmlns=http://www.sportsdatabases.com/ClientServices/ContentServices;
Games Game GameId25416/GameId AwayTeamBoston/AwayTeam 
AwayShortNameBOS/AwayShortName AwayRotation961/AwayRotation 
AwayTeamId19/AwayTeamId HomeTeamDetroit/HomeTeam 
HomeShortNameDET/HomeShortName HomeRotation962/HomeRotation 
HomeTeamId22/HomeTeamId HomeLine110.00/HomeLine 
OverUnder9.50/OverUnder PreviewAvailableYes/PreviewAvailable 
GameDate05/05/2005 13:05:00/GameDate/Games/string 

I know it has something to do with looping through something, or 
maybe not, To test I created local .xml file 

//Works (had to remove xml string tag in local xml file):

mx:Model id=gameModel source=../../assets/data/games.xml/
mx:DataGrid id=srcGrid editable=false width=100% 
height=100% dataProvider={gameModel.Game}/



PLEASE HELP!





 
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] how to read initialization properties?

2005-05-05 Thread Manish Jethani
On 5/5/05, sanjayd [EMAIL PROTECTED] wrote:

 Is there a formal/elegant way to read start-up properties via a
 java-style-properties-file/windows-style-ini-file/xml-config-type-file ?

XML, yes.  You can store the configuration properties in an XML file
on the server.  See this file, cfg.xml:

root
  boxWidth50/boxWidth
  boxHeight300/boxHeight
/root

Load it into your MXML (compiled in):

?xml version=1.0?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
  mx:Model id=cfg source=cfg.xml /
  mx:Box width={cfg.boxWidth} height={cfg.boxHeight}
borderStyle=solid /
/mx:Application

If the cfg.xml file is modified, the SWF will be recompiled.


 
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] Problem Displaying Data

2005-05-05 Thread Manish Jethani
On 5/5/05, clogic_info [EMAIL PROTECTED] wrote:

 string
 xmlns=http://www.sportsdatabases.com/ClientServices/ContentServices;
 Games Game GameId25416/GameId AwayTeamBoston/AwayTeam
 AwayShortNameBOS/AwayShortName AwayRotation961/AwayRotation
 AwayTeamId19/AwayTeamId HomeTeamDetroit/HomeTeam
 HomeShortNameDET/HomeShortName HomeRotation962/HomeRotation
 HomeTeamId22/HomeTeamId HomeLine110.00/HomeLine
 OverUnder9.50/OverUnder PreviewAvailableYes/PreviewAvailable
 GameDate05/05/2005 13:05:00/GameDate/Games/string

Your Game tag isn't closed.

Anyway, I think it should be gameModel.Games.Game (try it).  Also,
FAST allows you to specify the path in the result object when making
the call.


 
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: Filtering data in Flex

2005-05-05 Thread Daniel Harfleet
Don't quote me on this ;-) but I believe its the Adapter Pattern (GOF)

a java swing example is here:

http://java.sun.com/docs/books/tutorial/uiswing/co
mponents/table.html#sorting

rgds

dan

--- In flexcoders@yahoogroups.com, Alistair McLeod [EMAIL PROTECTED]
wrote:
 Hi Ketan,
 
 As Steven said, you should create a FilteredDataProvider that
implements the
 DataProvider interface and does the filtering for you - your
TileList then
 takes that as its dataprovider and when filtering occurs, the
TileList will
 updates its view of the data.
 
 Here's the one Manish wrote:
 
 http://manish.revise.org/2005/04/data-filtering-using-custom.html
 
 Cheers,
 
 Ali
 
 
 --
 Alistair McLeod
 Development Director
 iteration::two
 [EMAIL PROTECTED]
  
 Office:  +44 (0)131 338 6108
  
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or
used by
 anyone other than the intended recipient(s). If you are not the
intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately.
  
 Please also note that while software systems have been used to try
to ensure
 that this e-mail has been swept for viruses, iteration::two do not
accept
 responsibility for any damage or loss caused in respect of any
viruses
 transmitted by the e-mail. Please ensure your own checks are
carried out
 before any attachments are opened.
  
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:flexcod
[EMAIL PROTECTED] On
 Behalf Of Ketan Bengali
 Sent: 05 May 2005 13:12
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Filtering data in Flex
 
 Setting the height/width to 0 doesn't make any difference.
 
 We wont to delete the items not satisfying the filter criteria.
 In other words update the TileList component with the data.
 
 
 Regards,
 
 Ketan Bengali
 
 
 
 
 joao_m_fernandes wrote:
 
 Ketan,
 
 Did you try to set Height and Width to 0? 
 For the datagrid it should be easy, setting a new dg dataProvider
with 
 only the new Items.
 
 
 
   
 
   
 
 
 
  
 Yahoo! Groups Links




 
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] Help Needed - Removing Item from tileList

2005-05-05 Thread Manish Jethani
On 5/5/05, David Terry [EMAIL PROTECTED] wrote:

 function doDragComplete(event) 
 
   { 
 
  var dragItems =
 event.dragSource.dataForFormat(source).selectedItems; 
 
  var counter = dragItems.length; 
 
  for (var i=0;icounter;i++) 
 
  { 
 
 var item = dragItems[i]; 
 
 item.removeTreeNode(); 
 
  } 
 
   } 

I think 'selectedItems' will return new array (make sense, but I'm not
sure).  Instead, you could use 'selectedIndices' to get the indices of
the selected items and then use removeItemAt() on the TileList.


 
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] variable naming convention oddity

2005-05-05 Thread Robert Brueckmann
I just encountered something very bizarre.  I have a java VO called
DateSpans...it's a class that simply contains a whole set of variations
of date spans available for a portfolio the user selects and I use this
class to dynamically set the calendar component in my flex app.  

The DateSpans class is populated by a procedure in the database and then
I send the DateSpans VO back to my Flex delegate class and use it
accordingly in my app.  An example of some of the fields of this VO is 

...
previousMTDFromDate
mTDFromDate
mTDToDate
previousQTDFromDate
qTDFromDate
qTDToDate
...

I have a corresponding ActionScript VO that has all the same fields.
Well, in my Flex app, I would retrieve the previousMTDFromDate and it
would work...then when I went to retrieve the mTDFromDate or the
mTDToDate, I would get an undefined returned to me.  I have 25 other
fields that I use and they were all turning back the date to me
correctly...except for the ones that were named starting with yTD, mTD,
qTD.  It wasn't until I actually went through the fields in both VOs and
renamed those fields to:

...
mtdFromDate
mtdToDate
qtdFromDate
qtdToDate
ytdFromDate
ytdToDate
...

That I started getting the returned item I was successfully getting from
the other fields...is there some issue with a naming convention with
fields that start with only one lowercase letter?  I SWEAR all I did was
rename the fields to the examples above from qTDFromDate to qtdFromDate
and so on and that fixed my problem.  I thought I was going crazy...I
was watching Java set the variables and I was calling them to
doublecheck right before I sent the DateSpans object back to my
ActionScript delegate class and all the info was there as I expected it
to be for every field in the VO...and as soon as I entered the delegate
I was printing out these fields...everything was properly set except for
the ones that started with a single lowercase letter followed by a
series of capital letters...isn't that bizarre?  I named them initially
that way just for function naming sake so the functions would be
setMTDFromDate, getMTDToDate, etc just for ease of readability...but now
they're all setMtdFromDate, getMtdToDate, which isn't the end of the
world but I think this is kind of a funny behavior...am I missing
something?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
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: Control Tree with a Button

2005-05-05 Thread jwaknitz
Matt, how do I get at the dataProvider to use the methods?  
I tried adding the nodes to the dataProvider dynamically but that 
didn't work.  Little more info would be helpful.  Thanks.


--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
 Check out the TreeDataProvider API in the ASDoc.  You'll see the 
methods you
 should use.  Tree.dataProvider should provide you with the root of 
the tree.
 
  
 
 Matt
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of jwaknitz
 Sent: Wednesday, May 04, 2005 12:53 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Control Tree with a Button
 
  
 
 Anyone know how I would be able to go through nodes of a tree 
using a 
 button?  My tree has two levels and I would like to be able to go 
 through just the child nodes for each parent node.  Can anyone show
 me 
 some code to do this?  I'm stumped.  
 
 I'm dynamically adding nodes to the tree.
 
 mx:Tree id=treeMenu indentation=3 height=100% width=100% 
 change=changeMenu() defaultLeafIcon= folderClosedIcon= 
 folderOpenIcon= /
 
 
 
 
 
 
 
   _  
 
 Yahoo! Groups Links
 
 * To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/ 
   
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
   
 * Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/  Terms of Service.




 
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] Tile container?

2005-05-05 Thread Robert Brueckmann
Is there a way to set how many items you want in a row for the tile
container to put...it seems it's default is 3 per row...any way to
change this?  There doesn't seem to be anything in the API or in the
examples that come with Flex or in the APIs themselves...just figured
there might be something clever someone is doing out there...

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820
 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
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] Problems with DestroyChild

2005-05-05 Thread Jeff Tapper
Hey folks -

I'm having a hard time getting rid of a pesky component.  What should be a 
pretty straight forward operation is causing me no end of grief.

Running this code
Echo.info(child index:+panel.getChildIndex(rowArray[i]));
panel.destroyChild(rowArray[i]);
Echo.info(child index:+panel.getChildIndex(rowArray[i]));

I see the child in question is at an index of 7 before i destroy, and still 
there after I destroy it.  And, I still see it in the interface.  Any one 
see anything obviously wrong?



 
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] Cool Transition Effects

2005-05-05 Thread Alex Uhlmann
Hi Andy,

while I think we still have to wait a bit when we can achieve runtime 
transition effects like this
http://www.mailorderchickens.org/  ( ;

...we do have some options at the moment.

We just posted about this topic:
http://www.richinternetapps.com/archives/000108.html

Best,
Alex

--
Alex Uhlmann
Software Engineer
iteration::two



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
Behalf Of Andy Goodfellow
Sent: 03 May 2005 14:32
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Cool Transition Effects


All,

This is purely gee-whiz, but has anyone achieved a 3D transition
effect with Flex? I have created the sliding page-to-page effect using
the compositing stuff (parallel and sequential) however it would be
really neat to flip a panel (using viewstacks) and have added
functionality on the back. It seems we would need a custom skew effect
or something. Any thoughts?

-Andy



Yahoo! Groups Links








--
Internal Virus Database is out-of-date.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 01/04/2005 


 
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] Tile container?

2005-05-05 Thread David Terry










Robert,



If I understand your request correctly,
you want to change the number of columns for the tileItem control?



You can change the columnCount
property to reflect the number needed. IE: columnCount=1



I hope that helps.



~David T.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Thursday, May 05, 2005 12:07
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tile
container?





Is there a way to set how many items you want in a row for the tile
container to put...it seems it's default is 3 per
row...any way to
change this? There doesn't seem to be
anything in the API or in the
examples that come with Flex or in the APIs
themselves...just figured
there might be something clever someone is doing
out there...

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595
  Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.












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 the Yahoo! Terms of Service.












[flexcoders] CSSI Security Issues and Flex

2005-05-05 Thread Eric Raymond
Cross Site Scripting attacks are the bane of web based systems. 
Essentially an attacker takes advantage of the fact that some text
they can enter contains code which is evaluated when someone else
looks at the text.

For example, a user enters text into a text input field on a web page.
 Later on an admin user or another user views that info.  The text had
a hidden javascript command which causes something bad to happen in
the context of that other person, not the attacker.

For a while I thought flex was largely immune to this.  Then I started
thinking.

One exploit is that fscommands are interpreted by some flex components
which accept htmlText.  I think this is slightly better than
javascript in that it may require a mouse click to get triggered, but
still a threat.

Another exploit is when the input from Flex is displayed in a web
browser (or vice versa).

Given that Macromedia owns the platform, they are in a unique position
to stamp this problem out at the roots.  Macromedia can and should do
a better job than the web browser equivalent world (which more/less
shrugs responsibility of this matter).

Here's one way to resolve the issue.  There are a handful of input
methods in Flex that allow arbitrary input.  It would be a step in the
right direction if (by default) these text input methods would strip
out offending strings.  Ideally there would be a property on these
components that would allow them to accept any input ... but by
default they would be safe.  Alternatively there could be an
application level setting that controlled for this.

Another idea is to disable execution of fscommands by default and
require setting a property on a component before they can be handled.

There are many flavors of a solution here.  The key issue is that Flex
should be a safe environment by default.

P.S.  It's easy to say that it's the responsibility of each Flex
developer to address this.  Rather Macromedia spends one week of
effort addressing this than each flex development team that is lucky
enough to recognize the issue.

P.P.S. It's also easy to dismiss the exploit on the grounds that
certain knowledge needs to be known or users interaction is involved
or that it is unlikely to happen.  I'm sure that's what Yahoo thought
before their internal systems were attacked








 
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] help enabling or disabling a control when a user selects something

2005-05-05 Thread cnewroth55
What I am trying to do (with out much success) is to disable the one 
list container(srcgrid) if a person drags All Reports into the 
destination list container(destgrid), I have tried using 
selectedIndices with both the text and the value of zero as this is 
the index of all reports but it doesn't work, can anyone help?
...here is my mxml code:

standardReports.mxml
?xml version=1.0 encoding=utf-8?
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxml;  
width=100% 
mx:Script
function changeOther( event )
{
if ( event.target == summaryCHB )
detailCHB.enabled = !
detailCHB.enabled;

if ( event.target == detailCHB )
summaryCHB.enabled = !
summaryCHB.enabled;

if ( event.target == summaryCHB2 )
detailCHB2.enabled = !
detailCHB2.enabled;

if ( event.target == detailCHB2 )
summaryCHB2.enabled = !
summaryCHB2.enabled;

if ( event.target == summaryCHB3 )
detailCHB3.enabled = !
detailCHB3.enabled;

if ( event.target == detailCHB3 )
summaryCHB3.enabled = !
summaryCHB3.enabled;

}
/mx:Script
mx:Script source=DragEventHandlers.as/
mx:Script
  ![CDATA[
  var thrustData:Array = [All Reports, ASMT - Affordable 
Structures  Mfg. Tech., ALE - Advanced Lean  Efficient, ASC - 
Advanced Support Concepts, APS - Advanced Platform Systems, NCO -
 Netcentric Operations ];   
  ]]

/mx:Script
  !-- Create a LinkBar container to navigate the ViewStack 
container. --
  mx:LinkBar dataProvider=myViewStack width=100% 
borderStyle=inset borderColor=#123154 
textRollOverColor=#00CC00 disabledColor=#A1C472 
backgroundImage=@Embed('_images/viewstk_bkgrnd.png') 
backgroundSize=100% /

  !-- Define the ViewStack and the three child containers. --
  mx:ViewStack id=myViewStack  borderStyle=inset 
borderColor=#123154 width=100% height=100% 
backgroundImage=@Embed('_images/viewstk_bkgrnd.png') 
backgroundSize=100%
 mx:Canvas id=thrustRPTS label=Thrust Reports 
width=708 height=238

mx:Label text=Thrust Reports x=0 y=2 
color=#A1C472 /
mx:HBox x=320 y=183 
mx:FormItem 
  mx:CheckBox label=Summary color=#123154 
labelPlacement=top id=summaryCHB click=changeOther( event );/
/mx:FormItem
mx:FormItem
  mx:CheckBox label=Detail color=#123154 
labelPlacement=top id=detailCHB click=changeOther( event );/
/mx:FormItem
   /mx:HBox
mx:HBox x=5 y=20 
  mx:List id=srcgrid width=265 height=150 
multipleSelection=true dataProvider={thrustData}
dragEnabled=true dragEnter=doDragEnter
(event) dragExit=doDragExit(event) dragDrop=doDragDrop(event)
dragOver=doDragOver(event) 
dragComplete=doDragComplete(event) toolTip=Drag any of these 
items to the box on the right. x=-6 y=21/
 mx:List id=destgrid width=265 height=150 
multipleSelection=true dragEnabled=true
dragEnter=doDragEnter(event) 
dragExit=doDragExit(event) dragDrop=doDragDrop(event)
dragOver=doDragOver(event) 
dragComplete=doDragComplete(event) /
/mx:HBox
mx:Text x=5 y=175  text=Drag amp; Drop your 
selecions into the box on the right width=265 height=35 /
/mx:Canvas
 mx:Canvas id=businessUnitRPTS label=Business Unit 
Reports width=100% height=100%
mx:Label text=Business Unit Reports 
color=#A1C472 /
mx:Link label=Aerospace Support  x=4 y=24 
alpha=0 textRollOverColor=#00CC00 color=#123154  /
mx:Link label=Air Force Systems  x=4 
y=44 alpha=0 textRollOverColor=#00CC00 color=#123154  /
mx:Link label=Army Systems  x=4 y=64 
alpha=0 textRollOverColor=#00CC00 color=#123154  /
mx:Link label=Homeland Security  x=4 
y=84 alpha=0 textRollOverColor=#00CC00 color=#123154  /
mx:Link label=IDeAS  x=4 y=104 
alpha=0 textRollOverColor=#00CC00 color=#123154  /
mx:Link label=Missle Defense Systems  
x=4 y=124 alpha=0 textRollOverColor=#00CC00 
color=#123154  /
mx:Link label=NASA Systems  x=4 y=144 
alpha=0 textRollOverColor=#00CC00 color=#123154  /
mx:Link label=Naval Systems  x=4 
y=164 alpha=0 textRollOverColor=#00CC00  color=#123154 /
mx:Link label=Space amp; Intelligence 
Systems  x=4 y=184 alpha=0 textRollOverColor=#00CC00 

RE: [flexcoders] Tile container?

2005-05-05 Thread Robert Brueckmann









Thanks David but Im using the Tile
container not the TileListthe tileList has a nice columnCount attributeI
just want to use the Tile container that displays items in equal sized cells
and it seems to only allow for 3 items per row no matter what I do and the
columnCount attribute, when set for the Tile container, is ignored and still
only allows for 3Ive just succumbed to its unchangeable 3
for now but this is kind of strange.





Robert L. Brueckmann

Senior Web Developer

Merlin Securities, LLC

595 Madison Avenue

New York, NY 10022

p: 212.822.4821
f: 212.822.4820











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of David Terry
Sent: Thursday, May 05, 2005 1:35
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Tile
container?





Robert,



If I understand your request correctly,
you want to change the number of columns for the tileItem control?



You can change the
columnCount property to reflect the number needed. IE:
columnCount=1



I hope that helps.



~David T.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Robert Brueckmann
Sent: Thursday, May 05, 2005 12:07
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tile
container?





Is there a way to set how
many items you want in a row for the tile
container to put...it seems it's default is 3 per
row...any way to
change this? There doesn't seem to be
anything in the API or in the
examples that come with Flex or in the APIs
themselves...just figured
there might be something clever someone is doing
out there...

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595
  Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.










This message contains information fromMerlin Securities, LLC, or from one of its affiliates, that may be confidential and privileged. If you are not an intended recipient, please refrain from any disclosure, copying, distribution or use of this information and note that such actions are prohibited. If you have received this transmission in error, please notify the sender immediately by telephone or by replying to this transmission.


Merlin Securities, LLC is a registered broker-dealer. Services offered throughMerlin Securities, LLC are not insured by the FDIC or any other Federal Government Agency, are not deposits of or guaranteed byMerlin Securities, LLCand may lose value. Nothing in this communication shall constitute a solicitation or recommendation to buy or sell a particular security.







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 the Yahoo! Terms of Service.










Re: [flexcoders] Tile container?

2005-05-05 Thread JesterXL





Why are you using Tile vs. TileList?

- Original Message - 
From: Robert Brueckmann 
To: flexcoders@yahoogroups.com 
Sent: Thursday, May 05, 2005 1:50 PM
Subject: RE: [flexcoders] Tile container?



Thanks David but I’m 
using the Tile container not the TileList…the tileList has a nice columnCount 
attribute…I just want to use the Tile container that displays items in equal 
sized cells and it seems to only allow for 3 items per row no matter what I do 
and the columnCount attribute, when set for the Tile container, is ignored and 
still only allows for 3…I’ve just succumbed to it’s unchangeable 3 for now but 
this is kind of strange.


Robert L. 
Brueckmann
Senior Web 
Developer
Merlin Securities, 
LLC
595 Madison 
Avenue
New 
York, NY 10022
p: 
212.822.4821f: 212.822.4820




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of David 
TerrySent: Thursday, May 05, 
2005 1:35 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Tile 
container?

Robert,

If I understand your 
request correctly, you want to change the number of columns for the tileItem 
control?

You can change the 
‘columnCount’ property to reflect the number needed. IE: 
columnCount="1"

I hope that 
helps.

~David 
T.





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Robert 
BrueckmannSent: Thursday, May 
05, 2005 12:07To: 
flexcoders@yahoogroups.comSubject: [flexcoders] Tile 
container?

Is there a way to set how many items you 
want in a row for the tilecontainer to put...it seems it's default is 3 per row...any 
way tochange this? There 
doesn't seem to be anything in the API or in theexamples that come with Flex or in the APIs themselves...just 
figuredthere might be something 
clever someone is doing out there...Robert L. BrueckmannSenior Web DeveloperMerlin Securities, LLC595 Madison 
AvenueNew York, NY 10022p: 212.822.4821f: 212.822.4820This message contains information from Merlin Securities, 
LLC, or from one of its affiliates, that may be confidential and privileged. If 
you are not an intended recipient, please refrain from any disclosure, copying, 
distribution or use of this information and note that such actions are 
prohibited. If you have received this transmission in error, please notify the 
sender immediately by telephone or by replying to this 
transmission.Merlin Securities, 
LLC is a registered broker-dealer. Services offered through Merlin Securities, 
LLC are not insured by the FDIC or any other Federal Government Agency, are not 
deposits of or guaranteed by Merlin Securities, LLC and may lose value. Nothing 
in this communication shall constitute a solicitation or recommendation to buy 
or sell a particular security.





This message contains information fromMerlin Securities, LLC, 
or from one of its affiliates, that may be confidential and privileged. If you 
are not an intended recipient, please refrain from any disclosure, copying, 
distribution or use of this information and note that such actions are 
prohibited. If you have received this transmission in error, please notify the 
sender immediately by telephone or by replying to this 
transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services 
offered throughMerlin Securities, LLC are not insured by the FDIC or any 
other Federal Government Agency, are not deposits of or guaranteed 
byMerlin Securities, LLCand may lose value. Nothing in this 
communication shall constitute a solicitation or recommendation to buy or sell a 
particular 
security.







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 the Yahoo! Terms of Service.










Re: [flexcoders] CSSI Security Issues and Flex

2005-05-05 Thread John Dowdell
The title may be a bit of a misnomer, because Macromedia Flex lives on 
the server, while cross-site scripting exploits would occur on the 
client machines. This seems a sub-class of general security in the 
Macromedia Flash Player rather than the development environment, true...?

Here's general background info on security and privacy in the Macromedia 
Flash Player:
http://www.macromedia.com/devnet/flashplayer/
... and here's background on recent security issues in the Macromedia 
Flash Player:
http://www.macromedia.com/devnet/security/security_zone/#flashplayer

As I understand the post, you're concerned about the possibility of a 
command injection into a textfield of a SWF application. (I could be 
wrong, but it sounded to me more like a script-injection issue than a 
cross-site scripting issue.) Have you been able to see this happen yet? 
have you typed fscommand:() into a textfield in a particular component 
to pop up an alert or such? If there's a recipe that could be reproduced 
in-house then we can work on it.

Or is it more a general curiosity, about whether there might be a way 
that such a thing is possible?

tx,
jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 
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] Alex Uhlmann: Rotation class help

2005-05-05 Thread Duccio





Hi,
i'm currently using animationpackage. I have one 
little problem with the Rotation class, i'm using it to rotate an image but it 
rotates on its 0,0 axis (upper left corner) and not on its centre as i expected. 
I looked the documentation butdidn't findanything regarding changing 
the centreof rotation. I 'd like also to thank you again for your great 
work!!! Below there'sthe interested code...
Best Regards
Duccio Del Ministro
 public function myMouseDownHandler(event) : 
Void{trace("mouseDown "+ 
_indice.valueOf());

if (!_selected) 
{_alpha=100;width+=1;

setStyle("shadowDistance",0);setStyle("dropShadow",false);setStyle("borderSides","left 
top right bottom");new 
Rotation(this).run(360,2000,Quad.easeIn,"onCallback");} else 
{_alpha=80;width-=1;setStyle("borderSides","");setStyle("shadowDistance",4);setStyle("dropShadow",true);my_border.clear();} 
_selected=!_selected;

}







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 the Yahoo! Terms of Service.








No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005


Re: [flexcoders] Tile container?

2005-05-05 Thread Manish Jethani
On 5/5/05, Robert Brueckmann [EMAIL PROTECTED] wrote:
 Is there a way to set how many items you want in a row for the tile
 container to put...it seems it's default is 3 per row...any way to
 change this?  There doesn't seem to be anything in the API or in the
 examples that come with Flex or in the APIs themselves...just figured
 there might be something clever someone is doing out there...

The Tile container is designed to lay out its children in a way such
that, if children no longer fit in one direction, they wrap to the
next row/column.  So it's like a Box with automatic wrapping.  There's
no hard limit on the number of rows/columns in a Tile -- it depends on
the available space.  The horizontal Tile grows vertically, the
vertical Tile grows horizontally.

If you're looking for a fixed number of columns/rows, then you really
want a bunch of Box'es inside Box'es.

 !-- 3x3 grid --
 mx:VBox
  mx:HBox!-- 3 children here --/mx:HBox
  mx:HBox!-- 3 children here --/mx:HBox
  mx:HBox!-- 3 children here --/mx:HBox
 /mx:VBox

Or (bingo!) a Grid:

 mx:Grid
   horizontalGap=8
   verticalGap=8
   ...
   These child tags are examples only:
  mx:GridRow id=row1
   mx:GridItem
 rowSpan=1
 colSpan=1
   mx:Button label=Button 1/
   /mx:GridItem
   ...
  /mx:GridRow
   ...
 /


 
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] Cairngorm Result Question

2005-05-05 Thread digital_eyezed
I have an application which upon initialisation triggered a remote 
object request which returned an Array of VO objects as a result. I 
assigned this result as the dataProvider to a dataGrid. No problem. 
Now I am redesigning into Cairngorm and am a bit stuck on how to deal 
with the result.

I followed the architecture and try to pass the result (VO Array) into 
a viewhelper method but the datGrid does not show the result.

It's really difficult to debug this, as flex builder wont even load 
the mxml due to the cairgormApplication root.

Any help or suggestions would be appreciated.

Thanks




 
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: More Competition

2005-05-05 Thread John Dowdell
dunwerkin wrote:
 My reason to not look at SnappMX (or Lazlo for that matter) is that
 every XML based implementation for a UI seems to be creating its own
 very different dialect. Not very good if you want to repurpose UI
 later.  If someone wrote a SWF generator that used either XUL
 (Mozilla's dialect) or MXML, I'd be much happier.  At least the
 XAMALON effort is using the M$ dialect, which will have a high uptake.

I like the diversity of markup languages myself... a language is 
oriented directly around a component set, or a timeline model, or some 
other abstraction of a particular experience in SWF.

I can see the desirability of one markup language to rule them all, 
but that seems like it would imply shoehorning a desired novel 
experience into a single pre-existing schema.

That repurposing need you mentions seems like it will be a significant 
one, particularly after a year or two and work needs to be migrated from 
one environment to another. Schema-to-schema translations seem like 
they'd go further than trying to settle on just a few universal schemas 
up front...?

jd




-- 
John Dowdell . Macromedia Developer Support . San Francisco CA USA
Weblog: http://www.macromedia.com/go/blog_jd
Aggregator: http://www.macromedia.com/go/weblogs
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


 
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] help enabling or disabling a control when a user selects something

2005-05-05 Thread Manish Jethani
On 5/5/05, cnewroth55 [EMAIL PROTECTED] wrote:

 if (event.target.selectedIndices == All Reports){
 srcgrid.enabled = !srcgrid.enabled;
 }

I'm sorry if this is a stupid question as I haven't gone through your
entire code line by line, but what does the above if-condition want to
test?  'selectedIndices' will be an array of Number objects, so I
wonder if comparing it to a string like that is correct.


 
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: Filtering data in Flex

2005-05-05 Thread Lehman, Jason
Manish,
I attempted to use the FilteredDataProvider that you've implemented,
however, when the datagrid consists of more data rows than the rowcount
defined it starts to repeat data from the beginning when scrolling.  Any
suggestions?

- Jason

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Alistair McLeod
 Sent: Thursday, May 05, 2005 8:22 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: Filtering data in Flex
 
 Hi Ketan,
 
 As Steven said, you should create a FilteredDataProvider that
implements the
 DataProvider interface and does the filtering for you - your TileList
then
 takes that as its dataprovider and when filtering occurs, the TileList
will
 updates its view of the data.
 
 Here's the one Manish wrote:
 
 http://manish.revise.org/2005/04/data-filtering-using-custom.html
 
 Cheers,
 
 Ali
 
 
 --
 Alistair McLeod
 Development Director
 iteration::two
 [EMAIL PROTECTED]
 
 Office:  +44 (0)131 338 6108
 
 This e-mail and any associated attachments transmitted with it may
contain
 confidential information and must not be copied, or disclosed, or used
by
 anyone other than the intended recipient(s). If you are not the
intended
 recipient(s) please destroy this e-mail, and any copies of it,
immediately.
 
 Please also note that while software systems have been used to try to
ensure
 that this e-mail has been swept for viruses, iteration::two do not
accept
 responsibility for any damage or loss caused in respect of any viruses
 transmitted by the e-mail. Please ensure your own checks are carried
out
 before any attachments are opened.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Ketan Bengali
 Sent: 05 May 2005 13:12
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: Filtering data in Flex
 
 Setting the height/width to 0 doesn't make any difference.
 
 We wont to delete the items not satisfying the filter criteria.
 In other words update the TileList component with the data.
 
 
 Regards,
 
 Ketan Bengali
 
 
 
 
 joao_m_fernandes wrote:
 
 Ketan,
 
 Did you try to set Height and Width to 0?
 For the datagrid it should be easy, setting a new dg dataProvider
with
 only the new Items.
 
 
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 



 
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] Problems with DestroyChild

2005-05-05 Thread Manish Jethani
On 5/5/05, Jeff Tapper [EMAIL PROTECTED] wrote:

  panel.destroyChild(rowArray[i]);
  panel.destroyChildAt(panel.getChildIndex(rowArray[i]));

Do you need both of the above or only the second one?

I'm surprised, because destroyChild() calls destroyChildAt() internally.


 
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] Tile container?

2005-05-05 Thread Robert Brueckmann
Thanks Manish...I was initially thinking of using the grid...guess I
should have just went with that...I just thought the Tile Container
would have something like the tile list component that you could
indicate how many you wanted in a row.  Thanks again for your help!

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595 Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Manish Jethani
Sent: Thursday, May 05, 2005 3:21 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tile container?

On 5/5/05, Robert Brueckmann [EMAIL PROTECTED] wrote:
 Is there a way to set how many items you want in a row for the tile
 container to put...it seems it's default is 3 per row...any way to
 change this?  There doesn't seem to be anything in the API or in the
 examples that come with Flex or in the APIs themselves...just figured
 there might be something clever someone is doing out there...

The Tile container is designed to lay out its children in a way such
that, if children no longer fit in one direction, they wrap to the
next row/column.  So it's like a Box with automatic wrapping.  There's
no hard limit on the number of rows/columns in a Tile -- it depends on
the available space.  The horizontal Tile grows vertically, the
vertical Tile grows horizontally.

If you're looking for a fixed number of columns/rows, then you really
want a bunch of Box'es inside Box'es.

 !-- 3x3 grid --
 mx:VBox
  mx:HBox!-- 3 children here --/mx:HBox
  mx:HBox!-- 3 children here --/mx:HBox
  mx:HBox!-- 3 children here --/mx:HBox
 /mx:VBox

Or (bingo!) a Grid:

 mx:Grid
   horizontalGap=8
   verticalGap=8
   ...
   These child tags are examples only:
  mx:GridRow id=row1
   mx:GridItem
 rowSpan=1
 colSpan=1
   mx:Button label=Button 1/
   /mx:GridItem
   ...
  /mx:GridRow
   ...
 /


 
Yahoo! Groups Links



 


This message contains information from Merlin Securities, LLC, or from one of 
its affiliates, that may be confidential and privileged. If you are not an 
intended recipient, please refrain from any disclosure, copying, distribution 
or use of this information and note that such actions are prohibited. If you 
have received this transmission in error, please notify the sender immediately 
by telephone or by replying to this transmission.
 
Merlin Securities, LLC is a registered broker-dealer. Services offered through 
Merlin Securities, LLC are not insured by the FDIC or any other Federal 
Government Agency, are not deposits of or guaranteed by Merlin Securities, LLC 
and may lose value. Nothing in this communication shall constitute a 
solicitation or recommendation to buy or sell a particular security.


 
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: Filtering data in Flex

2005-05-05 Thread Manish Jethani
On 5/6/05, Lehman, Jason [EMAIL PROTECTED] wrote:

 I attempted to use the FilteredDataProvider that you've implemented,
 however, when the datagrid consists of more data rows than the rowcount
 defined it starts to repeat data from the beginning when scrolling.  Any
 suggestions?

If your FilteredDataProvider follows the DataProvider spec, then there
should be no problem.  It's hard to say anything without looking at
the source.  What sort of filtering are you doing?  Can you post the
source with some sample MXML, please?


 
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] Tile container?

2005-05-05 Thread Manish Jethani
On 5/6/05, Robert Brueckmann [EMAIL PROTECTED] wrote:

 I just thought the Tile Container
 would have something like the tile list component that you could
 indicate how many you wanted in a row.

That sounds like a nice feature suggestion (and we need 'em).  Thanks!


 
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] CSSI Security Issues and Flex

2005-05-05 Thread Manish Jethani
On 5/5/05, Eric Raymond [EMAIL PROTECTED] wrote:

 Here's one way to resolve the issue.  There are a handful of input
 methods in Flex that allow arbitrary input.  It would be a step in the
 right direction if (by default) these text input methods would strip
 out offending strings.  Ideally there would be a property on these
 components that would allow them to accept any input ... but by
 default they would be safe.  Alternatively there could be an
 application level setting that controlled for this.

It would be hard to define offending strings.  The way this is
solved in the HTML world is, data is encoded at the output end.  For
example, if a 'title' and 'description' is being output in a webpage,
the values for the 'title' and 'description' field are HTML-encoded
before printing.  So basically the application treats data like data
(and prevents it from being treated like code) at the output end.

The other approach, of restricting input to a subset, is used when you
want users to be able to input some code (B, I, P tags in HTML, but
not malicious tags like SCRIPT, OBJECT, etc.) but only specific
types of code.


 
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: Filtering data in Flex

2005-05-05 Thread Lehman, Jason
 On 5/6/05, Lehman, Jason [EMAIL PROTECTED] wrote:
 
  I attempted to use the FilteredDataProvider that you've implemented,
  however, when the datagrid consists of more data rows than the
rowcount
  defined it starts to repeat data from the beginning when scrolling.
Any
  suggestions?
 
 If your FilteredDataProvider follows the DataProvider spec, then there
 should be no problem.  It's hard to say anything without looking at
 the source.  What sort of filtering are you doing?  Can you post the
 source with some sample MXML, please?

I downloaded your source and added 5 records to the xml.  It repeats the
data from the datagrid when you scroll rather than picking up new data
from the source.

- Jason


 
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: SOAP into DataGrid headache :(

2005-05-05 Thread clogic_info
I know this one does'nt work but try and get it to work :/ i cant for 
the life of me. if you need username and pass i e-mail me please.


Thanks in Advance!




 
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: Tree questions

2005-05-05 Thread sreejithunni
Manish, I am not sure if I got the right leads ... i did read the
archive, especially
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05181.html
and it works well if I know the tree nodes!

The problem I have is that the the first level does not have any leaf
nodes on appInit. On nodeOpen I send a ws request that fetches the
leaves of that node and subsequently on 

The best demonstration is the MSDN library
http://msdn.microsoft.com/library/default.asp

Dont open in a non-IE browser (one reason I think we can do this
better with Flex :-)

The feature I am trying to implement is the syncToc.
Note that the syncToc is used when the page displayed does not have a
node selected in the Toc or in many cases, it is not even present in
the Toc. This has to be requested, the parent nodes opened up and the
leafnode selected. In this case I do know that a particlar page
belongs to a particular node and I know its parents too. (A page All
About scripting occurs in the hierarchy at Web
DevelopmentScriptingTechnical Articles.

Sree

--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 5/5/05, sreejithunni [EMAIL PROTECTED] wrote:
 
  1. How do you collapse an entire tree to display only the first or
  second level in the hierarchy!
  
  2. If I know the path to the nth level node in a hierarchy (for
  example L1L2L3), is it possible to recursively open the nodes L1, L2
  AND L3 by firing a single event. The constraint is that these nodes
  are requested by webservice at run-time and do not exist on the
client.
 
 Does this help?

http://www.mail-archive.com/cgi-bin/htsearch?config=flexcoders_yahoogroups_comwords=open+tree+node
 I think you're looking for the setIsOpen function of Tree.




 
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: how to read initialization properties?

2005-05-05 Thread sanjayd
This seems to work off  on !

I tried this:
mx:Model id=properties source=properties.xml /
mx:Label text={properties.wsdlURL}/
and it works fine.
however, this does not work:
mx:WebService id=ws wsdl={properties.wsdlURL}

any ideas ?

Sanjay

--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 5/5/05, sanjayd [EMAIL PROTECTED] wrote:
 
  Is there a formal/elegant way to read start-up properties via a
 
java-style-properties-file/windows-style-ini-file/xml-config-type-file ?
 
 XML, yes.  You can store the configuration properties in an XML file
 on the server.  See this file, cfg.xml:
 
 root
   boxWidth50/boxWidth
   boxHeight300/boxHeight
 /root
 
 Load it into your MXML (compiled in):
 
 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
   mx:Model id=cfg source=cfg.xml /
   mx:Box width={cfg.boxWidth} height={cfg.boxHeight}
 borderStyle=solid /
 /mx:Application
 
 If the cfg.xml file is modified, the SWF will be recompiled.




 
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: Filtering data in Flex

2005-05-05 Thread Manish Jethani
On 5/6/05, Lehman, Jason [EMAIL PROTECTED] wrote:

 I downloaded your source and added 5 records to the xml.  It repeats the
 data from the datagrid when you scroll rather than picking up new data
 from the source.

it turns out there's a bug. FilteredDataProvider must also implement
the getItemID function of DataProvider. Here's my implementation (add
it to your FilteredDataProvider.as):

public function getItemID(index:Number):Number
{
return __source.getItemID(index);
}


 
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] Clearing Canvas or tileList

2005-05-05 Thread Manish Jethani
On 5/6/05, David Terry [EMAIL PROTECTED] wrote:

 How do I clear a tileList or Canvas? 

TileList.removeAll()
Canvas.destroyAllChildren()


 
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] Cairngorm Result Question

2005-05-05 Thread Steven Webster
Iain,

You may want to consider not using the CairngormApplication
tag so you can debug in Flexbuilder...

In the meantime, can you post your onResult method in your
command class, post the method on your view helper that
you are calling, and show us how and where you are
instantiating your DataGrid ?  

You're not doing anything fundamentally wrong, so there
must be a bug sneaked into your code.

The imminent release of Cairngorm 0.99 will give you
another way of handling the data grid update from the
Command class, without needing to use the View Helper
in this instance  more shortly 

Best,

Steven

--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
 Sent: 05 May 2005 20:24
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Cairngorm Result Question
 
 I have an application which upon initialisation triggered a 
 remote object request which returned an Array of VO objects 
 as a result. I assigned this result as the dataProvider to a 
 dataGrid. No problem. 
 Now I am redesigning into Cairngorm and am a bit stuck on how 
 to deal with the result.
 
 I followed the architecture and try to pass the result (VO 
 Array) into a viewhelper method but the datGrid does not show 
 the result.
 
 It's really difficult to debug this, as flex builder wont 
 even load the mxml due to the cairgormApplication root.
 
 Any help or suggestions would be appreciated.
 
 Thanks
 
 
 
 
  
 Yahoo! Groups Links
 
 
 
  
 
 --
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005
  
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 04/05/2005
 



 
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: Cairngorm Result Question

2005-05-05 Thread digital_eyezed
Cheers Steven,

I thought a bug was to blame, but have pasted some code for a quick 
browse:

My command class has this result method:

public function onResult( event : Object ) : Void{
var getInboxViewHelper = ViewLocator.getInstance().getViewHelper
( ControlView );
getInboxViewHelper.fillInbox(event.result);
}
//---The result is an Array of VO's

My Viewhelper code to deal with this is:

public function fillInbox(inboxVOArray:Object):Void
{
view.inboxGrid.dataProvider = inboxVOArray;
view.retreivalStatus.text = Update Complete;
}


Having looked at this out of eclipse, I have a sneeky feeling it may 
have something to do with event.result or event : Object?

Either way, the component mxml file looks like this:

mx:Panel xmlns:mx=http://www.macromedia.com/2003/mxml;
  xmlns:demoView=com.iterationtwo.demo.view.*
  title=Control Assets themeColor=#FF 
headerColors=[0xFFCC55,0xFF] width=50% 
horizontalAlign=center creationComplete=initControl(); 

   demoView:InboxViewHelper name=ControlView view={ this } /

   mx:Script
![CDATA[
import uk.co.vianet.InboxVO;
import com.iterationtwo.cairngorm.control.EventBroadcaster;
var call;
var interval: Number=3;
public function initControl(){
call=setInterval(this, doGetInbox, interval);
EventBroadcaster.getInstance().broadcastEvent
( startApp );
}
public function doGetInbox(){
EventBroadcaster.getInstance().broadcastEvent
( getInbox );
}
]]
/mx:Script
mx:Form label=Inbox for Last Hour
mx:DataGrid id=inboxGrid width=100% 
height=175
mx:columns
mx:Array
mx:DataGridColumn columnName=dateReceived 
headerText=Date / Time Received /
mx:DataGridColumn columnName=origin 
headerText=Originating Number /
mx:DataGridColumn columnName=message 
headerText=Message /
/mx:Array 
/mx:columns
/mx:DataGrid
mx:ControlBar width=100%
mx:Text id=retreivalStatus 
text=Initializing Database/
/mx:ControlBar
/mx:Form
mx:ControlBar width=100%
mx:Text id=statusBar text=Application Stopped/
/mx:ControlBar
/mx:Panel

I know, its a mess!

Cheers,

Iain


--- In flexcoders@yahoogroups.com, Steven Webster [EMAIL PROTECTED] 
wrote:
 Iain,
 
 You may want to consider not using the CairngormApplication
 tag so you can debug in Flexbuilder...
 
 In the meantime, can you post your onResult method in your
 command class, post the method on your view helper that
 you are calling, and show us how and where you are
 instantiating your DataGrid ?  
 
 You're not doing anything fundamentally wrong, so there
 must be a bug sneaked into your code.
 
 The imminent release of Cairngorm 0.99 will give you
 another way of handling the data grid update from the
 Command class, without needing to use the View Helper
 in this instance  more shortly 
 
 Best,
 
 Steven
 
 --
 Steven Webster
 Technical Director
 iteration::two
  
 This e-mail and any associated attachments transmitted with it may 
contain
 confidential information and must not be copied, or disclosed, or 
used by
 anyone other than the intended recipient(s). If you are not the 
intended
 recipient(s) please destroy this e-mail, and any copies of it, 
immediately.
  
 Please also note that while software systems have been used to try 
to ensure
 that this e-mail has been swept for viruses, iteration::two do not 
accept
 responsibility for any damage or loss caused in respect of any 
viruses
 transmitted by the e-mail. Please ensure your own checks are 
carried out
 before any attachments are opened.
  
 
  -Original Message-
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed
  Sent: 05 May 2005 20:24
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Cairngorm Result Question
  
  I have an application which upon initialisation triggered a 
  remote object request which returned an Array of VO objects 
  as a result. I assigned this result as the dataProvider to a 
  dataGrid. No problem. 
  Now I am redesigning into Cairngorm and am a bit stuck on how 
  to deal with the result.
  
  I followed the architecture and try to pass the result (VO 
  Array) into a viewhelper method but the datGrid does not show 
  the result.
  
  It's really difficult to debug this, as flex builder wont 
  even load the mxml due to the cairgormApplication root.
  
  Any help or suggestions would be appreciated.
  
  Thanks
  
  
  
  
   
  Yahoo! Groups Links
  
  
  
   
  
  --
  No virus found in this incoming message.
  Checked by AVG Anti-Virus.
  Version: 7.0.308 / Virus Database: 266.11.5 - Release Date: 

Re: [flexcoders] Re: Cairngorm Result Question

2005-05-05 Thread Valy Sivec



Iain,

I think the input parameter for the onResult will contain the actual result.

Try:

public function onResult(result : Object ) : Void
{var getInboxViewHelper = ViewLocator.getInstance().getViewHelper( "ControlView" );getInboxViewHelper.fillInbox(result);}

You might want to use mx.utils.ArrayUtil.toArray(result) to populate the dataProvider in case the result is not an array.

Also, you can use some mx.core.Application.alert('Your message') to trace your code, a method that I personally don't like

HTH,
Valy

digital_eyezed [EMAIL PROTECTED] wrote:
Cheers Steven,I thought a bug was to blame, but have pasted some code for a quick browse:My command class has this result method:public function onResult( event : Object ) : Void{var getInboxViewHelper = ViewLocator.getInstance().getViewHelper( "ControlView" );getInboxViewHelper.fillInbox(event.result);}//---The result is an Array of VO'sMy Viewhelper code to deal with this is:public function fillInbox(inboxVOArray:Object):Void {  view.inboxGrid.dataProvider = inboxVOArray;  view.retreivalStatus.text = "Update Complete"; }Having looked at this out of eclipse, I have a sneeky feeling it may have
 something to do with event.result or event : Object?Either way, the component mxml file looks like this:mx:Panel xmlns:mx="http://www.macromedia.com/2003/mxml" xmlns:demoView="com.iterationtwo.demo.view.*" title="Control Assets" themeColor="#FF" headerColors="[0xFFCC55,0xFF]" width="50%" horizontalAlign="center" creationComplete="initControl();"  demoView:InboxViewHelper name="ControlView" view="{ this }" / mx:Script ![CDATA[ import uk.co.vianet.InboxVO; import com.iterationtwo.cairngorm.control.EventBroadcaster; var
 call; var interval: Number=3;  public function initControl(){  call=setInterval(this, "doGetInbox", interval);  EventBroadcaster.getInstance().broadcastEvent( "startApp" );  } public function doGetInbox(){ EventBroadcaster.getInstance().broadcastEvent( "getInbox" ); } ]] /mx:Script mx:Form label="Inbox for Last Hour"  mx:DataGrid
 id="inboxGrid" width="100%" height="175"  mx:columns   mx:Arraymx:DataGridColumn columnName="dateReceived" headerText="Date / Time Received" /mx:DataGridColumn columnName="origin" headerText="Originating Number" /mx:DataGridColumn columnName="message" headerText="Message" /   /mx:Array  
 /mx:columns  /mx:DataGrid  mx:ControlBar width="100%"   mx:Text id="retreivalStatus" text="Initializing Database"/  /mx:ControlBar /mx:Form mx:ControlBar width="100%"  mx:Text id="statusBar" text="Application Stopped"/ /mx:ControlBar/mx:PanelI know, its a mess!Cheers,Iain--- In flexcoders@yahoogroups.com, "Steven Webster" [EMAIL PROTECTED] wrote: Iain,  You may want to consider not
 using the CairngormApplication tag so you can debug in Flexbuilder...  In the meantime, can you post your onResult method in your command class, post the method on your view helper that you are calling, and show us how and where you are instantiating your DataGrid ?   You're not doing anything fundamentally wrong, so there must be a bug sneaked into your code.  The imminent release of Cairngorm 0.99 will give you another way of handling the data grid update from the Command class, without needing to use the View Helper in this instance  more shortly   Best,  Steven  -- Steven Webster Technical Director iteration::two  This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed,
 or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.  Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.-Original Message-  From: flexcoders@yahoogroups.com   [mailto:[EMAIL PROTECTED] On Behalf Of digital_eyezed  Sent: 05 May 2005 20:24  To: flexcoders@yahoogroups.com  Subject: [flexcoders] Cairngorm Result QuestionI have an application which upon initialisation
 triggered a   remote object request which returned an Array of VO objects   as a result. I assigned this result as the dataProvider to a   dataGrid. No problem.   Now I am redesigning into Cairngorm and am a bit stuck on how   to deal with the result.I followed the architecture and try to pass the result (VO   Array) into a viewhelper method but the datGrid does not show   the result.It's really difficult to debug this, as flex builder wont   even load the mxml due to the cairgormApplication root.Any help or suggestions would be appreciated.ThanksYahoo! Groups Links--  No virus found in
 this incoming message.  Checked by AVG Anti-Virus.  Version: 7.0.308 / Virus 

Re: [flexcoders] SOAP into DataGrid headache :(

2005-05-05 Thread Manish Jethani
On 5/6/05, clogic_info [EMAIL PROTECTED] wrote:

 (event.result) resultFormat=xml
^^^

I think your main problem is that you're getting data as XML and you
somehow need to convert it to an object.  Check this thread out:
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05626.html
Sorry, I don't have a solution.  I'll have to play around.


 
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] web services suddenly stopped working!!

2005-05-05 Thread Peter Farland





Hmm, {context.root} should have been replaced at compile 
time by the context root.

Are you using mxmlc to compile this on the command line or 
are you browsing to the .mxml file? If you are using the command line, are you 
specifying a context root?




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steve 
PruittSent: Thursday, May 05, 2005 6:40 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] web services suddenly 
stopped working!!

I have a very 
inexplicable problem and I have exhausted everything I know to check, twiddle, 
verify, etc. Perhaps someone can think of something else. My 
application has a set of webservices that have been working for months. I 
have not changed anything related to the deployment environment. I have 
not changed the WSDLs. I have not changed the web services that are 
called. When my application starts up it makes a web service call for a 
list of items. This particular web service call has been operational for 
nearly a year. The only major change I have made is switching over to Flex 
1.5, but I did this last week and all of my web services have working up until 
now. So I do not see how 1.5 is a factor.

Like I stated, when 
my application launches an initial window comes up and a web service call is 
invoked. It looks like the call is never issued by Flex. I use a tcp 
monitor and the request never shows. What I do get is 5 alerts. All 
five are completely blank and the title is simply Error. If I click around 
blindly at the bottom of the alerts I can find the Ok button and it 
closes. But, I have no idea what, if any, message is supposed to be 
viewable. I have 5 wsdls so I think the 5 alerts is not 
coincidental. However, like I said, they have not changed. The way I 
deploy has not changed. I have no idea what elseI can look at or 
check on.

The flashlog shows 
no problems. Each WSDL has the following in the 
flashlog:

5/5 18:22:29 [INFO] 
WebService: Creating stub for http://localhost:8080/anywhere/wsdl/User.wsdl5/5 
18:22:29 [INFO] WSDL: Creating WSDL object for http://localhost:8080/anywhere/{context.root}/flashproxy?transport=wsdltarget=http%3A%2F%2Flocalhost%3A8080%2Fanywhere%2Fwsdl%2FUser%2Ewsdl5/5 
18:22:29 [INFO] XMLSchema: Registering schema namespace: http://www.w3.org/1999/XMLSchema5/5 18:22:29 [INFO] 
XMLSchema: Registering schema namespace: http://www.w3.org/2000/10/XMLSchema5/5 18:22:29 
[INFO] XMLSchema: Registering schema namespace: http://www.w3.org/2001/XMLSchema5/5 18:22:29 [INFO] 
XMLSchema: Registering schema namespace: http://schemas.xmlsoap.org/soap/encoding/5/5 
18:22:29 [INFO] XMLSchema: Registering schema namespace: http://xml.apache.org/xml-soap5/5 18:22:29 [INFO] 
XMLSchema: Registering schema namespace: http://rpc.xml.coldfusion5/5 18:22:29 [INFO] WSDL: 
Successfully created WSDL object5/5 18:22:29 [INFO] WebService: Created stub 
for http://localhost:8080/anywhere/{context.root}/flashproxy?transport=wsdltarget=http%3A%2F%2Flocalhost%3A8080%2Fanywhere%2Fwsdl%2FUser%2Ewsdl
The Flex log doesn't 
show any problems, nor does anything appear in the server 
console.

The method for 
calling the first service is below. Everyone of those trace stmts appears 
in the Flash log, so the method is not blowing up.

public function fetchDSNList() : 
Object{trace("UserWebServiceImpl - 
fetchDSNList()"); var request : XML = new 
XML();var root : XMLNode = 
request.createElement(Constants.DSNLIST_REQUEST_TAG);var dNode : XMLNode = 
request.createElement(Constants.LIST_TAG);var tNode : XMLNode = 
request.createTextNode("Get List."); 
dNode.appendChild(tNode); 
root.appendChild(dNode); 
request.appendChild(root);trace("UserWebServiceImpl - calling: " + 
"FetchDSNList");trace("UserWebServiceImpl - _userServices: " + 
_userServices); _userServices.FetchDSNList.request = 
request; var userCall = 
_userServices.FetchDSNList.send();trace("UserWebServiceImpl - userCall: " + 
userCall); userCall.resultHandler = 
mx.utils.Delegate.create(this, fetchDSNListResult); 
userCall.faultHandler = mx.utils.Delegate.create(this, 
fetchDSNListFault);trace("UserWebServiceImpl - creating return 
call"); userCall.returnCall = new 
Object();trace("UserWebServiceImpl - returning return 
call"); return 
userCall.returnCall;}







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 the Yahoo! Terms of Service.










RE: [flexcoders] CSSI Security Issues and Flex

2005-05-05 Thread Matt Chotin










These are some good points, Ive
forwarded this on to our Product Security Team and theyre going to think
about this a little more in terms of existing and future Flex components and
will make recommendations as to how to lock them down.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Eric Raymond
Sent: Thursday, May 05, 2005 10:45
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CSSI
Security Issues and Flex





Cross Site Scripting attacks are the bane of web based systems. 
Essentially an attacker takes advantage of the
fact that some text
they can enter contains code which is evaluated
when someone else
looks at the text.

For example, a user enters text into a text input
field on a web page.
Later on an admin user or another user views that
info. The text had
a hidden _javascript_ command which causes something
bad to happen in
the context of that other person, not the attacker.

For a while I thought flex was largely immune to
this. Then I started
thinking.

One exploit is that fscommands are interpreted by
some flex components
which accept htmlText. I think this is
slightly better than
_javascript_ in that it may require a mouse click to
get triggered, but
still a threat.

Another exploit is when the input from Flex is
displayed in a web
browser (or vice versa).

Given that Macromedia owns the platform, they are
in a unique position
to stamp this problem out at the roots. Macromedia
can and should do
a better job than the web browser equivalent world
(which more/less
shrugs responsibility of this matter).

Here's one way to resolve the issue. There
are a handful of input
methods in Flex that allow arbitrary input.
It would be a step in the
right direction if (by default) these text input
methods would strip
out offending strings. Ideally there would
be a property on these
components that would allow them to accept any
input ... but by
default they would be safe. Alternatively
there could be an
application level setting that controlled for
this.

Another idea is to disable execution of fscommands
by default and
require setting a property on a component before
they can be handled.

There are many flavors of a solution here.
The key issue is that Flex
should be a safe environment by default.

P.S. It's easy to say that it's the
responsibility of each Flex
developer to address this. Rather Macromedia
spends one week of
effort addressing this than each flex development
team that is lucky
enough to recognize the issue.

P.P.S. It's also easy to dismiss the exploit on
the grounds that
certain knowledge needs to be known or users
interaction is involved
or that it is unlikely to happen. I'm sure
that's what Yahoo thought
before their internal systems were attacked


















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 the Yahoo! Terms of Service.












[flexcoders] Tree Drag and Drop help

2005-05-05 Thread pilby1
I've been wracking my brains on this for a while now, and it hasn't 
been a smooth ride. Instead of chanting my experiences in this forum, 
it all boils down to my pleading for help from any of you.

Can anyone please provide me a code sample or a URL of such 
pertaining to drag-n-drop with a Tree which can demonstrate a 
successful drag of one node onto another, and having the dragged node 
appear as a child of the node where it was dropped?

In a nutshell, I've gotten as far as getting the node references of 
the dragged and dropped nodes within my dragDrop event, including the 
index of the node that was dropped on. I can even display these two 
nodes using alert, and their internal toString() methods would 
correctly display all the node contents (in XML). However, when I use 
the addTreeNodeAt() method on a node that's a parent (i.e. a folder), 
nothing happens! And when the node is a leaf (i.e., not a parent of 
any child nodes), that node somehow climbs up one step higher in 
the tree hierarchy, and the dragged node does not appear anywhere!

I would be very grateful to anyone who could provide me some help and 
guidance on this please. :(




 
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: CSSI Security Issues and Flex

2005-05-05 Thread Eric Raymond
Well filtering out fscommand: would be enough to avoid problems
within Flex itself.  I don't believe there is any way to make text
active in flex other than through fscommand?

Typically people rewrite  and  into the html entities (e.g., lt;),
but that won't work for flex.  Unlike html, it's harder to guarantee
that these entities will be displayed in a way that reverts that back
to human readable form.

I'm not saying what the best solution to the problem is, but the
reality is that the more people using flex, the more likely such a
problem will occur in the wild (Flex encourages these types of apps in
way that flash itelf is largely agnostic)

My hope is that Macromedia does one or two easy things that make this
problem go away by default for an application totally built in Flex. 
 And then allow those who cannot make the small compromises the option
to turn this protection off at some level and handle it as they see fit.  


--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 5/5/05, Eric Raymond [EMAIL PROTECTED] wrote:
 
  Here's one way to resolve the issue.  There are a handful of input
  methods in Flex that allow arbitrary input.  It would be a step in the
  right direction if (by default) these text input methods would strip
  out offending strings.  Ideally there would be a property on these
  components that would allow them to accept any input ... but by
  default they would be safe.  Alternatively there could be an
  application level setting that controlled for this.
 
 It would be hard to define offending strings.  The way this is
 solved in the HTML world is, data is encoded at the output end.  For
 example, if a 'title' and 'description' is being output in a webpage,
 the values for the 'title' and 'description' field are HTML-encoded
 before printing.  So basically the application treats data like data
 (and prevents it from being treated like code) at the output end.
 
 The other approach, of restricting input to a subset, is used when you
 want users to be able to input some code (B, I, P tags in HTML, but
 not malicious tags like SCRIPT, OBJECT, etc.) but only specific
 types of code.




 
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] Tree Drag and Drop help

2005-05-05 Thread Ashish Goyal





Try 
this code as adragDrop event handler for the treeand let me know if 
it doesn't work.


function doDragDrop(event) 
{doDragExit(event);

var items = 
event.dragSource.dataForFormat(treeItems);var 
dest = event.target;var dropLoc = 
dest.getDropLocation();

dest.clearSelected();var 
dropParent = dest.getDropParent();
for (var i = items.length - 1; i 
= 0; i--){var newNode = 
dropParent.addTreeNodeAt(dropLoc,items[i]);dest.selection 
= newNode;}}


-Ashish



  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of pilby1Sent: 
  Thursday, May 05, 2005 4:04 PMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Tree Drag and Drop 
  help
  I've been wracking my brains on this for a while now, and it 
  hasn't been a smooth ride. Instead of chanting my experiences in this 
  forum, it all boils down to my pleading for help from any of 
  you.Can anyone please provide me a code sample or a URL of such 
  pertaining to drag-n-drop with a Tree which can demonstrate a 
  successful drag of one node onto another, and having the dragged node 
  appear as a child of the node where it was dropped?In a nutshell, 
  I've gotten as far as getting the node references of the dragged and 
  dropped nodes within my dragDrop event, including the index of the node 
  that was dropped on. I can even display these two nodes using "alert", and 
  their internal toString() methods would correctly display all the node 
  contents (in XML). However, when I use the addTreeNodeAt() method on a 
  node that's a parent (i.e. a folder), nothing happens! And when the node 
  is a leaf (i.e., not a parent of any child nodes), that node somehow 
  "climbs" up one step higher in the tree hierarchy, and the dragged node 
  does not appear anywhere!I would be very grateful to anyone who could 
  provide me some help and guidance on this please. :(







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 the Yahoo! Terms of Service.










[flexcoders] Re: CSSI Security Issues and Flex (Proof of concept exploit)

2005-05-05 Thread Eric Raymond
Semantics aside, flex applications tend to promote a type of
interaction that the majority of flash applications (in general) do not.  

FYI, I mispoke hugely.  The offending command is asfunction, not
fscommand.

Here is a sample exploit.  It requires you to trick the user into
clicking a link. But if you can do that some percent of the time,
with the aid of a flash decompiler to explore the app, you might be
able to do all sorts of interesting things.

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
xmlns=*

mx:Script
![CDATA[
private function hello() {
alert(hello world);
}
private var textFromAnotherUserViaRemoteObject = Please ua
href='asfunction:_parent.hello'click me/a/u;
]]
/mx:Script

mx:Text htmlText={textFromAnotherUserViaRemoteObject}/

/mx:Application


--- In flexcoders@yahoogroups.com, John Dowdell [EMAIL PROTECTED] wrote:
 The title may be a bit of a misnomer, because Macromedia Flex lives on 
 the server, while cross-site scripting exploits would occur on the 
 client machines. This seems a sub-class of general security in the 
 Macromedia Flash Player rather than the development environment,
true...?
 
 Here's general background info on security and privacy in the
Macromedia 
 Flash Player:
 http://www.macromedia.com/devnet/flashplayer/
 ... and here's background on recent security issues in the Macromedia 
 Flash Player:
 http://www.macromedia.com/devnet/security/security_zone/#flashplayer
 
 As I understand the post, you're concerned about the possibility of a 
 command injection into a textfield of a SWF application. (I could be 
 wrong, but it sounded to me more like a script-injection issue than a 
 cross-site scripting issue.) Have you been able to see this happen yet? 
 have you typed fscommand:() into a textfield in a particular
component 
 to pop up an alert or such? If there's a recipe that could be
reproduced 
 in-house then we can work on it.
 
 Or is it more a general curiosity, about whether there might be a way 
 that such a thing is possible?
 
 tx,
 jd
 
 
 
 
 -- 
 John Dowdell . Macromedia Developer Support . San Francisco CA USA
 Weblog: http://www.macromedia.com/go/blog_jd
 Aggregator: http://www.macromedia.com/go/weblogs
 Technotes: http://www.macromedia.com/support/
 Spam killed my private email -- public record is best, thanks.




 
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] Tree Drag and Drop help

2005-05-05 Thread Ashish Goyal





One correction.. 'treeItems' should be in quotes. 


var items = 
event.dragSource.dataForFormat("treeItems");


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Ashish 
  GoyalSent: Thursday, May 05, 2005 4:28 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Tree Drag and 
  Drop help
  
  Try 
  this code as adragDrop event handler for the treeand let me know 
  if it doesn't work.
  
  
  function doDragDrop(event) 
  {doDragExit(event);
  
  var items = 
  event.dragSource.dataForFormat(treeItems);var 
  dest = event.target;var dropLoc = 
  dest.getDropLocation();
  
  dest.clearSelected();var 
  dropParent = dest.getDropParent();
  for (var i = items.length - 1; 
  i = 0; i--){var newNode 
  = 
  dropParent.addTreeNodeAt(dropLoc,items[i]);dest.selection 
  = newNode;}}
  
  
  -Ashish
  
  
  


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
pilby1Sent: Thursday, May 05, 2005 4:04 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Tree Drag and 
Drop help
I've been wracking my brains on this for a while now, and it 
hasn't been a smooth ride. Instead of chanting my experiences in this 
forum, it all boils down to my pleading for help from any of 
you.Can anyone please provide me a code sample or a URL of such 
pertaining to drag-n-drop with a Tree which can demonstrate a 
successful drag of one node onto another, and having the dragged node 
appear as a child of the node where it was dropped?In a 
nutshell, I've gotten as far as getting the node references of the 
dragged and dropped nodes within my dragDrop event, including the index 
of the node that was dropped on. I can even display these two nodes 
using "alert", and their internal toString() methods would correctly 
display all the node contents (in XML). However, when I use the 
addTreeNodeAt() method on a node that's a parent (i.e. a folder), 
nothing happens! And when the node is a leaf (i.e., not a parent of 
any child nodes), that node somehow "climbs" up one step higher in 
the tree hierarchy, and the dragged node does not appear 
anywhere!I would be very grateful to anyone who could provide me 
some help and guidance on this please. :(







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 the Yahoo! Terms of Service.










RE: [flexcoders] Tree Drag and Drop help

2005-05-05 Thread Tracy Spratt
Attached is a complete example.  I just tested it and it seems to work
fine.
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pilby1
Sent: Thursday, May 05, 2005 7:04 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tree Drag and Drop help

I've been wracking my brains on this for a while now, and it hasn't 
been a smooth ride. Instead of chanting my experiences in this forum, 
it all boils down to my pleading for help from any of you.

Can anyone please provide me a code sample or a URL of such 
pertaining to drag-n-drop with a Tree which can demonstrate a 
successful drag of one node onto another, and having the dragged node 
appear as a child of the node where it was dropped?

In a nutshell, I've gotten as far as getting the node references of 
the dragged and dropped nodes within my dragDrop event, including the 
index of the node that was dropped on. I can even display these two 
nodes using alert, and their internal toString() methods would 
correctly display all the node contents (in XML). However, when I use 
the addTreeNodeAt() method on a node that's a parent (i.e. a folder), 
nothing happens! And when the node is a leaf (i.e., not a parent of 
any child nodes), that node somehow climbs up one step higher in 
the tree hierarchy, and the dragged node does not appear anywhere!

I would be very grateful to anyone who could provide me some help and 
guidance on this please. :(




 
Yahoo! Groups Links



 






 
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/
 


DragDropWithinTree.mxml
Description: DragDropWithinTree.mxml


[flexcoders] Performance question relating to array element referencing

2005-05-05 Thread jgserrault
I am about to embark on building a component that will involve heavy 
usage of arrays, and before I write a benchmark routine to answer my 
question, I thought I would see if anyone already had the answer.  My 
question is basic:  When referencing array elements using the 
following approaches/methods which is the fastest to execute, and 
then what is the next best method relative to best? For example:  
Method x is best, method y would be about 1.4x, and method z would be 
1.8x.  

Method A (Integer ordinals from 0 or 1 to Length):
  Array[0]
  Array[1]
  Array[2]

Method B (Text ordinals short in length):
  Array[i00]
  Array[i01]
  Array[i02]

Method C (Text ordinals long in length):
  Array[ArrayItemDescriptionThatIsVeryInformative1] 
  Array[ArrayItemDescriptionThatIsVeryInformative2] 
  Array[ArrayItemDescriptionThatIsVeryInformative3]

I am just looking for a realistic approximation so I can make an 
informed decision.  Obviously Method C offers the greatest 
flexibility, but if the execution price is 2+ times the quickest 
method then it needs to be reconsidered...at least in my intended 
usage.  

Also, in the case of text based ordinals are there ranges that are 
better to use than others (i.e. a-z or A-Z).  Sorry if this has been 
covered in a tech doc.   




 
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: Control Tree with a Button

2005-05-05 Thread Matt Chotin










myTree.dataProvider should provide you the
root node of the Tree. How were you populating the dataProvider where it wasnt
working?











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jwaknitz
Sent: Thursday, May 05, 2005 9:33
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Control
Tree with a Button





Matt, how do I get at the dataProvider to use the methods? 
I tried adding the nodes to the dataProvider
dynamically but that 
didn't work. Little more info would be
helpful. Thanks.


--- In flexcoders@yahoogroups.com, Matt Chotin
[EMAIL PROTECTED] wrote:
 Check out the TreeDataProvider API in the
ASDoc. You'll see the 
methods you
 should use. Tree.dataProvider should
provide you with the root of 
the tree.
 
 
 
 Matt
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of jwaknitz
 Sent: Wednesday, May 04, 2005 12:53 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Control Tree with a
Button
 
 
 
 Anyone know how I would be able to go through
nodes of a tree 
using a 
 button? My tree has two levels and I
would like to be able to go 
 through just the child nodes for each parent
node. Can anyone show
 me 
 some code to do this? I'm
stumped. 
 
 I'm dynamically adding nodes to the tree.
 
 mx:Tree id=treeMenu indentation=3
height=100% width=100% 
 change=changeMenu()
defaultLeafIcon= folderClosedIcon= 
 folderOpenIcon= /
 
 
 
 
 
 
 
 _ 
 
 Yahoo! Groups Links
 
 * To visit your
group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/
 http://groups.yahoo.com/group/flexcoders/

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

mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
 
 * Your use of
Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/
Terms of Service.














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 the Yahoo! Terms of Service.












[flexcoders] Vertical Accordion?

2005-05-05 Thread nithya karthik



HAi,
 Is there any possibility to have a vertical accordion in flex? anything like Rotate can be used to rotate the whole container? i came to know it is possible with laszlo.. 

thanks,
nithya  
Yahoo! Messenger - Communicate instantly..."Ping" your friends 
today! Download Messenger Now







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 the Yahoo! Terms of Service.










RE: [flexcoders] variable naming convention oddity

2005-05-05 Thread Matt Chotin










Must be how our translator does variable
name conversion. We follow the JavaBeans style and I guess doing lots of caps
in the first word messes things up? I saw someone else pointing out in a
different area how doing something with URL in the middle of the name (like
setDebugURLString) didnt work and had to change the acronym to lowercase
(setDebugUrlString).



Matt











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Robert Brueckmann
Sent: Thursday, May 05, 2005 9:23
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] variable
naming convention oddity





I just encountered something very bizarre. I have a java VO
called
DateSpans...it's a class that simply contains a
whole set of variations
of date spans available for a portfolio the user
selects and I use this
class to dynamically set the calendar component in
my flex app. 

The DateSpans class is populated by a procedure in
the database and then
I send the DateSpans VO back to my Flex delegate
class and use it
accordingly in my app. An example of some of
the fields of this VO is 

...
previousMTDFromDate
mTDFromDate
mTDToDate
previousQTDFromDate
qTDFromDate
qTDToDate
...

I have a corresponding ActionScript VO that has
all the same fields.
Well, in my Flex app, I would retrieve the
previousMTDFromDate and it
would work...then when I went to retrieve the
mTDFromDate or the
mTDToDate, I would get an undefined returned to
me. I have 25 other
fields that I use and they were all turning back
the date to me
correctly...except for the ones that were named
starting with yTD, mTD,
qTD. It wasn't until I actually went through
the fields in both VOs and
renamed those fields to:

...
mtdFromDate
mtdToDate
qtdFromDate
qtdToDate
ytdFromDate
ytdToDate
...

That I started getting the returned item I was
successfully getting from
the other fields...is there some issue with a
naming convention with
fields that start with only one lowercase
letter? I SWEAR all I did was
rename the fields to the examples above from
qTDFromDate to qtdFromDate
and so on and that fixed my problem. I
thought I was going crazy...I
was watching Java set the variables and I was
calling them to
doublecheck right before I sent the DateSpans
object back to my
ActionScript delegate class and all the info was
there as I expected it
to be for every field in the VO...and as soon as I
entered the delegate
I was printing out these fields...everything was
properly set except for
the ones that started with a single lowercase
letter followed by a
series of capital letters...isn't that
bizarre? I named them initially
that way just for function naming sake so the
functions would be
setMTDFromDate, getMTDToDate, etc just for ease of
readability...but now
they're all setMtdFromDate, getMtdToDate, which
isn't the end of the
world but I think this is kind of a funny behavior...am
I missing
something?

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595
  Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.












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 the Yahoo! Terms of Service.












RE: [flexcoders] Tile container?

2005-05-05 Thread Matt Chotin










It will basically lay out as many as it
can horizontally before moving to the next row, and after that will use the
same number in each row. So if you make the Tile itself wider or narrower
(setting width via percentage or pixels) you can affect the # of items in the
row.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Brueckmann
Sent: Thursday, May 05, 2005 10:07
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Tile
container?





Is there a way to set how many items you want in a row for the tile
container to put...it seems it's default is 3 per
row...any way to
change this? There doesn't seem to be
anything in the API or in the
examples that come with Flex or in the APIs
themselves...just figured
there might be something clever someone is doing
out there...

Robert L. Brueckmann
Senior Web Developer
Merlin Securities, LLC
595
  Madison Avenue
New York, NY 10022
p: 212.822.4821
f: 212.822.4820



This message contains information from Merlin
Securities, LLC, or from one of its affiliates, that may be confidential and
privileged. If you are not an intended recipient, please refrain from any
disclosure, copying, distribution or use of this information and note that such
actions are prohibited. If you have received this transmission in error, please
notify the sender immediately by telephone or by replying to this transmission.

Merlin Securities, LLC is a registered
broker-dealer. Services offered through Merlin Securities, LLC are not insured
by the FDIC or any other Federal Government Agency, are not deposits of or
guaranteed by Merlin Securities, LLC and may lose value. Nothing in this
communication shall constitute a solicitation or recommendation to buy or sell
a particular security.












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 the Yahoo! Terms of Service.












RE: [flexcoders] Help Needed - Removing Item from tileList

2005-05-05 Thread Matt Chotin










I would use the selectedIndices instead
and call removeItemAt. removeTreeNode is used for Trees.



Matt











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Terry
Sent: Thursday, May 05, 2005 8:30
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help Needed
- Removing Item from tileList





Hello,



I have another newbie question



I am trying to remove an item from a tileList control
after dropping the item onto a Canvas control. I know something is not
right, but where am I going wrong.



Many thanks,

David T.





Code

*



mx:TileList 

dataProvider={catalog.product}
width=180 height=594 

cellRenderer=lstThumbnail x=10
y=38 borderColor=#CC borderThickness=1 

highlightColor=#FF
dragEnabled=true backgroundColor=#FF 

barColor=#FF
rollOverColor=#FF selectionColor=#F0F0F0 

columnCount=1 borderStyle=solid
itemWidth=160 /



mx:Canvas x=211 y=38
id=cvsCanvas width=459 height=594 

borderThickness=1
borderStyle=solid 

borderColor=#CC
backgroundColor=#F9F9F9

dragEnter=doDragEnter(event)

dragExit=doDragExit(event)

dragDrop=doDragDrop(event)

dragOver=doDragOver(event) 

dragComplete=doDragComplete(event)

vScrollPolicy=off
hScrollPolicy=off /





function doDragEnter(event) {


event.handled=true;

}



function doDragExit(event) {


event.target.hideDropFeedback();

}



function doDragOver(event) {


event.target.showDropFeedback();

}



function doDragDrop(event) {


doDragExit(event);


var item = event.dragSource.dataForFormat(items);





//Alert.show(item[0].height, Alert Box,Alert.OK);


//Alert.show(item[0].name, Alert Box,Alert.OK);





/*if (item != undefined) {


item.mapX = event.target.mouseX - item.mouseInitX;


item.mapY = event.target.mouseY - item.mouseInitY;


}*/




//cvsCanvas.createChild(mx.controls.Image, item[0].name,
{x:event.target.mouseX, y:event.target.mouseY, source:item[0].image,
height:'100', width:'100'});




cvsCanvas.createChild(cvsElement, , {


x:event.target.mouseX, 


y:event.target.mouseY,


source: item[0].image


});



}



function doDragComplete(event) 

 {

 var
dragItems = event.dragSource.dataForFormat(source).selectedItems;

 var
counter = dragItems.length;

 for (var
i=0;icounter;i++)

 {


var item = dragItems[i];


item.removeTreeNode();

 }

 }














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 the Yahoo! Terms of Service.












RE: [flexcoders] Problems with DestroyChild

2005-05-05 Thread Matt Chotin










I guess destroyChildAt is more reliable J











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Tapper
Sent: Thursday, May 05, 2005 10:38
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Problems
with DestroyChild





Well -

I've come up with a functioning workaround, but
its just plain odd.

If I just destroy the child as I was, it wasnt
working, but if i do both 
that and
panel.destroyChildAt(panel.getChildIndex(rowArray[i]));
suddenly it works.

How very very odd. Seems like it requires a
belt and suspenders.

function destroyRows(rowArray:Array){

for (var i=0;irowArray.length;i++){

Echo.info(child index:+panel.getChildIndex(rowArray[i]));

panel.destroyChild(rowArray[i]);

panel.destroyChildAt(panel.getChildIndex(rowArray[i]));

Echo.info(child index:+panel.getChildIndex(rowArray[i]));
 }
}

At 01:19 PM 5/5/2005, Jeff Tapper wrote:
Hey folks -

I'm having a hard time getting rid of a pesky
component. What should be a
pretty straight forward operation is causing
me no end of grief.

Running this code
Echo.info(child
index:+panel.getChildIndex(rowArray[i]));
panel.destroyChild(rowArray[i]);
Echo.info(child index:+panel.getChildIndex(rowArray[i]));

I see the child in question is at an index of
7 before i destroy, and still
there after I destroy it. And, I still
see it in the interface. Any one
see anything obviously wrong?



--
Yahoo! Groups Links
 * To visit your group on
the web, go to:
 * 
 http://groups.yahoo.com/group/flexcoders/http://groups.yahoo.com/group/flexcoders/


 *
 * To unsubscribe from this
group, send an email to:
 * 

mailto:[EMAIL PROTECTED][EMAIL PROTECTED]


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













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 the Yahoo! Terms of Service.












RE: [flexcoders] HttpRequest and HttpSession access in Remote Obj ect

2005-05-05 Thread Matt Chotin










Hmm, that seems odd considering we need a
request to reach the RemoteObject. Youre not spawning a thread are you?











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pradeep
Sent: Thursday, May 05, 2005 4:48
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] HttpRequest
and HttpSession access in Remote Object





I'am using Remote Objects to call my Java class methods on server. For
maintaining user information I need Http Session
object. So I tried
using flashgateway.Gateway.getHttpRequest() and
flashgateway.Gateway.getHttpRequest().getSession()
to get HttpRequest
and HttpSession objects respectively. But
flashgateway.Gateway.getHttpRequest() method
returns null.

Unless I get reference to request obect I will not
be able to access
Session object.

Can anybody please suggest something?














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 the Yahoo! Terms of Service.












RE: [flexcoders] Re: how to read initialization properties?

2005-05-05 Thread Matt Chotin










You cant bind into the wsdl
property of WebService, it has to be set at compile-time which binding cant
do. Sorry!











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjayd
Sent: Thursday, May 05, 2005 1:17
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to
read initialization properties?





This seems to work off  on !

I tried this:
mx:Model id=properties
source=properties.xml /
mx:Label
text={properties.wsdlURL}/
and it works fine.
however, this does not work:
mx:WebService id=ws
wsdl={properties.wsdlURL}

any ideas ?

Sanjay

--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
 On 5/5/05, sanjayd [EMAIL PROTECTED]
wrote:
 
  Is there a formal/elegant way to read
start-up properties via a
 
java-style-properties-file/windows-style-ini-file/xml-config-type-file
?
 
 XML, yes. You can store the
configuration properties in an XML file
 on the server. See this file, cfg.xml:
 
 root

boxWidth50/boxWidth

boxHeight300/boxHeight
 /root
 
 Load it into your MXML (compiled in):
 
 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
 mx:Model id=cfg
source=cfg.xml /
 mx:Box
width={cfg.boxWidth} height={cfg.boxHeight}

borderStyle=solid /
 /mx:Application
 
 If the cfg.xml file is modified, the SWF will
be recompiled.














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 the Yahoo! Terms of Service.












RE: [flexcoders] Info ColumnChart

2005-05-05 Thread Matt Chotin










I think youre going to have to go
through the array and combine similar code items yourself. The column chart
will create one bar for every item in the array, so you need to make sure that
there is only one array entry for each code item.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, May 05, 2005 1:01
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Info
ColumnChart





Hi ,
i have seen the good tutorial Christophe's Chart
Explorer.
But my i wish to understand this,
I have a RemoteObject that return me an array of
CVenditaVO, this 
object is not gathered for code item
and every code item has a qty, 
or rather i wish display in my columnchart
all my code item gathered, and that my
chart sum all qty of every 
code item equal.
for examples

code
item qty
x
1
y
1
z
4
x
3

my chart should visualize

x 2
y 1
z 4

Ok, i can create a RemoteObject
gathered, but if i can to this into 
Flex, it would be me useful, because
the CVenditaVO not gathered.
Can you help me please



Hi Devis, not quite sure what you're asking
here. Have you checked some of
Christophe's Chart Explorer demo out? It
has a lot of examples as do the
ASDoc for the charts.

Matt

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, May 04, 2005 9:46 AM
To: Flex Coders
Subject: [flexcoders] Info ColumnChart

hi,
it's my first test with ColumnChart,
but i don't understand, if i look the examples
ColumnChartDemo, read 
into an xml file, and if i don't wrong the
chart group the same value!is 
it correct?
But in my dataProvider the value are not
groupby, can you help me please.

mx:ColumnChart width=100%
height=100% dataProvider={voincasso} 
showDataTips=true


mx:horizontalAxis

mx:CategoryAxis dataProvider={voincasso} 
categoryField=modedi/

/mx:horizontalAxis

 


mx:series

mx:Array

mx:ColumnSeries yField=apples/

/mx:Array

/mx:series

 /mx:ColumnChart





 
Yahoo! Groups Links



 




 
Yahoo! Groups Links



 



 
















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 the Yahoo! Terms of Service.