[flexcoders] [FLEX2:B3] I think that a variable of the Function type is passed by value, right?

2006-05-26 Thread Bryan Choi





Hi, all.

I'll show you sometest code 
about the closure.
You can see that3 variables that is type of 
Functionwere assigned with foo() 
method.
Genually, as you know, the primitive types is passed by value 
that is copied.
So I think that this is also.

How about you think?



private 
function foo () : Function 
{ 

 var i:int = 0; 
 function rectArea() : int { 
// function closure defined 
 
return ++i; 
 } 
 return rectArea; 

} 

private 
function bar () : void 
{ 

 var increaseCount1:Function 
= foo(); 
 var increaseCount2:Function 
= foo(); 
 trace("increaseCount1 : " + 
increaseCount1() ); 
 trace("increaseCount1 : " + 
increaseCount1() ); 
 var increaseCount3:Function 
= foo(); 
 trace("increaseCount2 : " + 
increaseCount2() ); 
 trace("increaseCount3 : " + 
increaseCount3() ); 
 trace("increaseCount1 : " + 
increaseCount1() ); 
 trace("increaseCount1 : " + 
increaseCount1() ); 
 trace("increaseCount2 : " + 
increaseCount2() ); 
 trace("increaseCount3 : " + 
increaseCount3() ); 
} 

bar(); 

// 
Output 
increaseCount1 
: 1increaseCount1 : 2increaseCount2 : 1increaseCount3 : 
1increaseCount1 : 3increaseCount1 : 4increaseCount2 : 
2increaseCount3 : 2





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: AJAX versus Flex

2006-05-26 Thread pk_wasp



I don't think its particularly hard to convince internal management 
to consider Flex as a viable RIA/Enterprise solution.

The main problem/resistance we are finding is from our 
clients/customers opposing I.T architects who either get upset if we 
suggest Flex as a solution, or say they never heard of Flex and want 
an Ajax solution instead.

I think its partly Flash's animation legacy + ignorance/lack of 
awareness of Flex and the Flash Platform.

So I wonder if maybe the Flash Platform needs a reboot/rebranding 
e.g. a new runtime without legacy code (but obviously Flash Player 9 
will still be around for legacy stuff) and a new name :). I mean 
Microsoft are essentially doing this through WPF/E.

Also I think for the Flash Platform to be a true platform, it really 
needs a platform XML dialect for UIs - which is what XAML is for WPF 
and WPF/E. Would be great to able to export content created in Flash 
Authoring in some form of XML UI dialect and use it in the Flex 
Framework, Apollo, Flashlite etc.

Just my 2c, have really enjoyed learning Flex 2, guys (Java and .NET 
developers) at work were impressed, but definitely agree that Ajax is 
getting alot of hype and it seems to be working e.g. our customers 
are talking about Ajax but not about Flex or Flash.

I hope when Flex 2 goes live, there's a big marketing campaign + lots 
of real world stories of Flex being used in RIAs, Web 2.0 Apps and 
Internal Enterprise Applications so that our customers can see its a 
viable option.

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

 To all:
 
 Got this email today, http://ajax.sys-con.com/ and it got me to
 thinking.
 
 I may get blasted for this, but here goes . . . just my .0199 cents.
 
 Let me first say I believe 100% that the Flex platform is a 
 better mousetrap. I am currently developing applications with 
 Flex. I prefer Flex.
 
 However, you can not open a software magazine, newsletter, journal, 
 article, etc. that doesn't reference something about AJAX. It's 
 everywhere. Adobe's Flex gets an honorable mention.
 
 I have been in the software business for over 27 years. I have 
seen 
 many companies come and go that had a better mousetrap. I also 
 realize that most end users do not care if a desktop app is 
 developed with Visual C++ or Visual Basic. So why would they care 
 what a RIA app is developed with. Probably not.
 
 In the end it is the application not the engine.
 
 There seems to be a parallel between PCs with Windows and 
 Apple/Macs. Many believe that the Mac is better, but Apple/Mac has 
 less the 5% of the market.
 
 Can Adobe accept 5% market share?
 
 You also can not under estimate the impact when Microsoft releases 
 Atlas. And no Robert I don't want to hear about how you hate MS or 
 the evil empire. Fact is, tens of thousands of developers will and 
 I say will use their product.
 
 What this also does is make it more difficult for developers to 
 convince management that the Flex product is better. Especially 
 when all they hear is AJAX this and AJAX that.
 
 AJAX is getting all the hype. Right or wrong these are the facts. 
 They have essentially taken over the RIA landscape and claimed it 
as 
 their own.
 
 My point . . . . Adobe you need to step up to the plate. If you 
 think you can wait, then by the time you start you will be too far 
 behind. You will be left behind always playing catch-up. If 
 you want to reach that 1 million developer goal, it needs to start 
 now.
 
 To be better and say you are better is not enough. If the industry 
 has already declared AJAX as the RIA industry leader then it 
becomes 
 too late.
 
 From a market perception, look how AJAX has evolved in the last 
 year. Compare that to Adobe Flex. Adobe you are asking developers 
 to make a commitment to you, well I think you need to increase your 
 commitment to us.
 
 Now is the time to promote to the industry and the general public 
as 
 a whole about the value of Flex.
 
 Again, just my opinion.
 
 Sincerely,
 
 Jack












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] A Problem in the example of 'using view states '

2006-05-26 Thread rama satoskar



hi all,

i was trying the sample example of Using View states to create a
button dynamically using actionscript 3.0 from the help provided by
flex beta 3.0. However i encounter a problem at the statement 

var addChild:AddChild = new AddChild();
 addChild.target = myPanel;
 addChild.child = newButton;

The error is that access to an undefined property of addchild object.
I checked the reference library to discover that there is no 'child'
property of the addchild class object. even the following code is a
problem

addChildDyn.childFactory = new
DeferredInstanceFromFunction(createMyButton);

What shud i do?
Kindly help
 .










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: AJAX versus Flex

2006-05-26 Thread Jim Robson










Also I think for the Flash Platform to be a true platform, it
really 
needs a platform XML dialect for UIs 



Isnt that what MXML is?









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] addEventListener and setting events in mxml

2006-05-26 Thread Tom Chiverton
On Wednesday 24 May 2006 21:27, John Grden wrote:
 1.  Why won't this work? treeView.addEventListener(nodeOpen, open);

In flex 2?
Because there is no such event.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~-- 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Legends

2006-05-26 Thread Eugene Louw



HI, Im trying to add the displayName for the a LineSeries so that it can display correctly in the legend, I'm using the following code to add a new series.public function defineSeries(name:String):void {   var s:LineSeries = new LineSeries();
   s.yField=decQueryTime;   s.dataProvider = dbQueryTimeRequest.lastResult.result.row;var currentSeries:Array = querytime.series;   
   currentSeries.push(s);  querytime.series = currentSeries;}This works, but in the legend field it inserts the new colour but it has no name? Can Anyone help?
Eugene Louw






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] [FLEX2:B3] I think that a variable of the Function type is passed by value, right?

2006-05-26 Thread Till Schneidereit



Not exactly.
What's happening here is that each time foo is called, a new activation object, containing the local variables i and rectArea, is created and returned. Since these activation objects are completely independent of each other, they seem to exhibit some of the behaviour of types that are passed by value.
But try this ( in the context of your sample code, of course ;) ) :
var increaseCount4:Function = increaseCount3;
increaseCount3(); //output 1
increaseCount4(); //output 2

cheers,
till

Bryan Choi wrote:
 
 Hi, all.
 
 I'll show you some test code about the closure.
 You can see that 3 variables that is type of Function were assigned with 
 foo() method .
 Genually, as you know, the primitive types is passed by value that is 
 copied.
 So I think that this is also.
 
 How about you think?
 
 
 private function foo () : Function
 {
 var i:int = 0;
 function rectArea() : int { // function closure defined
 return ++i;
 }
 return rectArea;
 }
 private function bar () : void
 {
 var increaseCount1:Function = foo();
 var increaseCount2:Function = foo();
 trace(increaseCount1 :  + increaseCount1() );
 trace(increaseCount1 :  + increaseCount1() );
 var increaseCount3:Function = foo();
 trace(increaseCount2 :  + increaseCount2() );
 trace(increaseCount3 :  + increaseCount3() );
 trace(increaseCount1 :  + increaseCount1() );
 trace(increaseCount1 :  + increaseCount1() );
 trace(increaseCount2 :  + increaseCount2() );
 trace(increaseCount3 :  + increaseCount3() );
 }
 bar();
 // Output
 increaseCount1 : 1
 increaseCount1 : 2
 increaseCount2 : 1
 increaseCount3 : 1
 increaseCount1 : 3
 increaseCount1 : 4
 increaseCount2 : 2
 increaseCount3 : 2
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 
 
 SPONSORED LINKS
 Web site design development 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
  Computer software development 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
  Software design and development 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw 
  Software development best practice 
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
 YAHOO! GROUPS LINKS
 
 * Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders on the web.
 
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/. 
 
 
 

-- 
__
Till Schneidereit Max-Brauer-Allee 259

phone ++49 40 98238528 20354 Hamburg
fax ++49 40 98238530 germany
__






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Legends

2006-05-26 Thread Eugene Louw



HI, Im trying to add the displayName for the a LineSeries so that it can display correctly in the legend, I'm using the following code to add a new series.public function defineSeries(name:String):void {
   var s:LineSeries = new LineSeries();
   s.yField=decQueryTime;   s.dataProvider = dbQueryTimeRequest.lastResult.result.row;var currentSeries:Array = querytime.series;   
   currentSeries.push(s);  querytime.series = currentSeries;}This works, but in the legend field it inserts the new colour but it has no name? Can Anyone help?

Eugene Louw

-- Eugene Louw11 Khartoum RoadEcclesallSheffieldS11 8RDHome : +441142686221Mobile : +447788600118







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] maps for flex

2006-05-26 Thread nitin mehta



Hi ptrisnadi ,

Thanks a lot for replying my mail. . . I am explain my task and then I tell you wht I have done in it.

See I want to create a search in which user can locate the city or state on world map just by click and with 4 levels of zoom in. my problem is if we zoom in to map its getting distorted. what type of map do we use to mentain the resolution/clarity of the map.I just want to display the same clarity what we are getting on yahoo maps or google maps..


can anybody tell me what are arial maps  hybird maps... 

Regards
Nitin Mehta

On 5/25/06, ptrisnadi [EMAIL PROTECTED] wrote:





Hi Nitin,I'm not sure why your map gets distorted. But my initial reaction is to think that the container you have for the map is resized by scale, not by size, which then distorts the content as well. Perhaps we can understand it better if you give us more detail to what you have done.
Yahoo! Maps Beta uses Navteq, TeleAtlas. As for the API, you can grab it from:http://developer.yahoo.com/maps/
http://developer.yahoo.com/maps/flash/flexGettingStarted.html
To see samples of such implementations:http://developer.yahoo.com/maps/applications.html
I've used the API and being a novice I find it really easy to implement, thanks to the thorough documentation. Good luck.
- ptrisnadi
- Original Message From: mehta_nm 
[EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, May 25, 2006 12:47:12 AM
Subject: [flexcoders] maps for flexHi All, My name is nitin  I am a new member of your group I just want to know that is any one know about the working with map on flex. I am working with maps on flex but when ever iam resizing the map its 
getting distorted. please guide me how to mentain the resolution while zoom in /zoom out of the map and it will be great if some one tell me what maps these Yahoo people are using in yahoo maps while working on flex.. 
regardsnitin--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

Visit your group flexcoders on the web. 

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 Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

Visit your group flexcoders on the web. 
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] addEventListener and setting events in mxml

2006-05-26 Thread John Grden



Yeah, that's what I just found out. it used to be nodeOpen, now it's itemOpenTHanks just the same TomJGOn 5/26/06, Tom Chiverton 
[EMAIL PROTECTED] wrote:On Wednesday 24 May 2006 21:27, John Grden wrote:
 1.Why won't this work? treeView.addEventListener(nodeOpen, open);In flex 2?Because there is no such event.--Tom Chiverton
This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.
CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards
 Yahoo! Groups Sponsor ~--Everything you need is oneclick away. Make Yahoo! your home pagenow.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM~---Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 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/
-- John Grden - Blitz






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] F2/CF VO's

2006-05-26 Thread Bill Sahlas










Are you also utilizing the
cfproperty tag in the CFC itself? This blog talks about it in more
detail http://mrmx.blogspot.com/2006/03/getting-cfcas-auto-conversion-working.html











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn Schultheiss
Sent: Thursday, May 25, 2006 8:43
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2/CF VO's





Hi,



I sent a typed VO from Flex2 to a CFC and returned it to
Flex perfectly, properties the same, works like a gem.

Problem is accessing the properties in CF.

I was using

cfargument name=flexobj /

cfreturn arguments.flexobj.email /

And this display in the flex FAULT_EVENT saying EMAIL
property of flexobj is undefined.

If I use

cfargument name=flexobj required=true
/

cfreturn arguments.flexobj /

This returns the object, still typed back to flex where I
can inspect the email property.



How do I access the properties in coldfusion?









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Question on CF components created by the Flex Wizard

2006-05-26 Thread Bill Sahlas










We thought about exposing the returned ID
(ID that gets created for AUTOINCREMENT keys) in the CFQUERY RESULT, a new
attribute available as part of CFMX 7.x. But, the process to get this is
not always supported by the backend DBs so we backed off this feature for now. Youll
need to code this yourself in the release that you currently have by using a SELECT
statement with a WHERE clause whose criteria is identical to the values that
you used in the INSERT statement. For the final release this code is
already gend by the wizard.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of g8torjoe
Sent: Thursday, May 25, 2006 3:17
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question on
CF components created by the Flex Wizard





I am having a little
trouble following the flow of the CF components
created by the wizard in Flex. I am using the save function of the
gateway component and writing to the database successfully. When I
create a new record I am wondering if the ID (or key - mine is ID)
should be returned. I see in the component that is searches for the ID
after I add it but when I debug my Flex app in the result event
handler I am not finding that data. Am I making an assumption here?
Thanks!












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b



I'm trying to get up to speed and participate in the Flex2 Beta3 programme, but 'm having a difficult time doing so. Please forgive me if I'm bothering the group, but this is incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to speed on this document delivery issue?Whenever I try to access any of the Flex2 beta documentation I run into problems. Say for example I'd like to peruse the "flex2_gettingstarted_pdf" docs. I click on the appropriate link from within the release notes section at the "labs" site and it takes forever to load. When the document finally doescome back I get a few pages, that's it. When I try to scroll to a new page it takes
 literally 3 minutes to perform a page down if it occurs at all. Often the “document” just hangs. If I try to print the document, the process also hangs, w/o fail. I've tried printing perhaps 10 times over the last week at various times to no avail. The LiveDocs are no better. Thus the whole learning exercise becomes moot.While I have a 3mb broadband connection, I'm in the East near Toronto, and I fear, I'm doomed since I'm not at all proximal to "your" pops on the West coast. I’m about ready to bail on the beta, it’s just too time
 consuming to tough it out.Any insight would be appreciated. (As an aside I can access literally thousands of pages of documentation at the Oracle site in a flash, (pardon aside). Their document delivery system works. If you Adobe folks wanna get the word out about your flex software, this has certainly got to improve quickly, IMHO.Thanks for your time.  PB  
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Jim Robson










If you download the FlexBuilder beta, it
comes with all the documentation in HTML format. Its a lot more pleasant
than dealing with the PDFs.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of p b
Sent: Friday, May 26, 2006 9:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2 Beta3
- slow to non existent document delivery







I'm trying to get up to speed and participate in the Flex2
Beta3 programme, but 'm having a difficult time doing so. Please forgive me if
I'm bothering the group, but this is incredibly frustrating. I'm wondering if
the folks at Adobe/Macromedia are up to speed on this document delivery issue?











Whenever I try to access any of the Flex2 beta documentation
I run into problems. Say for example I'd like to peruse the
flex2_gettingstarted_pdf docs. I click on the appropriate link from
within the release notes section at the labs site and it takes
forever to load. When the document finally doescome back I get a few
pages, that's it. When I try to scroll to a new page it takes literally 3
minutes to perform a page down if it occurs at all. Often the
document just hangs. If I try to print the document, the process
also hangs, w/o fail. I've tried printing perhaps 10 times over the last week
at various times to no avail. The LiveDocs are no better. Thus the whole
learning exercise becomes moot.











While I have a 3mb broadband connection, I'm in the East
near Toronto,
and I fear, I'm doomed since I'm not at all proximal to your pops
on the West coast. Im about ready to bail on the beta, its just
too time consuming to tough it out.











Any insight would be appreciated. 











(As an aside I can access literally thousands of pages of
documentation at the Oracle site in a flash, (pardon aside). Their document
delivery system works. If you Adobe folks wanna get the word out about your
flex software, this has certainly got to improve quickly, IMHO.











Thanks for your time.





PB















New Yahoo! Messenger with
Voice. Call
regular phones from your PC and save big. 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Alistair McLeod





Hi PB,

Have you tried to save the pdf to your local file system, 
rather than downloading and reading it over the internet every 
time?

Regards,

Alistair


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 
May 2006 14:25To: flexcoders@yahoogroups.comSubject: 
[flexcoders] flex2 Beta3 - slow to non existent document 
delivery

I'm trying to get up to 
speed and participate in the Flex2 Beta3 programme, but 'm having a difficult 
time doing so. Please forgive me if I'm bothering the group, but this is 
incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to 
speed on this document delivery issue?

Whenever I try to access 
any of the Flex2 beta documentation I run into problems. Say for example I'd 
like to peruse the "flex2_gettingstarted_pdf" docs. I click on the appropriate 
link from within the release notes section at the "labs" site and it takes 
forever to load. When the document finally doescome back I get a few 
pages, that's it. When I try to scroll to a new page it takes literally 3 
minutes to perform a page down if it occurs at all. Often the document just 
hangs. If I try to print the 
document, the process also hangs, w/o fail. I've tried printing perhaps 10 times 
over the last week at various times to no avail. The LiveDocs are no better. 
Thus the whole learning exercise becomes moot.

While I have a 3mb 
broadband connection, I'm in the East near Toronto, and I fear, I'm 
doomed since I'm not at all proximal to "your" pops on the West coast. Im about 
ready to bail on the beta, its just too time consuming to tough it 
out.

Any insight would be 
appreciated. 

(As an aside I can access 
literally thousands of pages of documentation at the Oracle site in a flash, 
(pardon aside). Their document delivery system works. If you Adobe folks wanna 
get the word out about your flex software, this has certainly got to improve 
quickly, IMHO.

Thanks for your 
time.
PB



New Yahoo! Messenger with Voice. Call 
regular phones from your PC and save big. 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread rama satoskar



hi,

The beta3 version has help documents in them...i fu have 3mbps
internet connectionreading those would not be a
problemthey have improved their format in the documentation since
beta2. Its much more user friendly. Try it.
Good luck.

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

 I'm trying to get up to speed and participate in the Flex2 Beta3
programme, but 'm having a difficult time doing so. Please forgive me
if I'm bothering the group, but this is incredibly frustrating. I'm
wondering if the folks at Adobe/Macromedia are up to speed on this
document delivery issue?
 
 Whenever I try to access any of the Flex2 beta documentation I run
into problems. Say for example I'd like to peruse the
flex2_gettingstarted_pdf docs. I click on the appropriate link from
within the release notes section at the labs site and it takes
forever to load. When the document finally does come back I get a few
pages, that's it. When I try to scroll to a new page it takes
literally 3 minutes to perform a page down if it occurs at all. Often
the document just hangs. If I try to print the document, the
process also hangs, w/o fail. I've tried printing perhaps 10 times
over the last week at various times to no avail. The LiveDocs are no
better. Thus the whole learning exercise becomes moot.
 
 While I have a 3mb broadband connection, I'm in the East near
Toronto, and I fear, I'm doomed since I'm not at all proximal to
your pops on the West coast. I'm about ready to bail on the beta,
it's just too time consuming to tough it out.
 
 Any insight would be appreciated. 
 
 (As an aside I can access literally thousands of pages of
documentation at the Oracle site in a flash, (pardon aside). Their
document delivery system works. If you Adobe folks wanna get the word
out about your flex software, this has certainly got to improve
quickly, IMHO.
 
 Thanks for your time.
 PB
 
 
   
 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC
and save big.












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] View states problem in beta3

2006-05-26 Thread rama satoskar



hi all,

is there a problem in the following code
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 

 !-- The Application class states property defines the view
states. --
 mx:states
 !-- Flex enters the newButton state when you click button b1 --
 mx:State name=newButton
 !-- Add a Button child control to the v1 VBox control. --
 mx:AddChild target={v1}
 mx:Button label=New Button /
 /mx:AddChild
 !-- Disable the Add a Button button to prevent adding
more than
 one button. --
 mx:SetProperty target={b1} name=enabled value=false /
 /mx:State
 /mx:states
 !-- The application's child controls define the base state. --
 mx:VBox id=v1
 mx:Button id=b1 label=Add a Button
click=currentState='newButton'/
 !-- clicking the following button returns Flex to the bas
state. --
 mx:Button label=Remove Added Button click=currentState=''/
 /mx:VBox
/mx:Application

i seem to get a error each time saying:
Error: Cannot add a child that is already parented.













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: How to populate an attribute value in DataGrid control?

2006-05-26 Thread flexnewbie



Tracy,

Thank you very much!! It works!

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

 Isn't it kind of strange to give your attributes names starting 
with an
 @ sign? I don't think that's common in XML, unless its use is 
dictated
 by somebody else.
 
 Also, there's no point in building up an XML string with the + 
operator.
 You can use XML literal syntax in AS3:
 
 private var gXMLDoc:XML =
 records
 record
 ...
 /records;
 
 - Gordon
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Tracy Spratt
 Sent: Thursday, May 25, 2006 4:30 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Re: How to populate an attribute value in
 DataGrid control?
 
 First, the sample xml in your post is not valid: the data nodes 
have no
 closing taqs (or /). If we fix that then the example below works 
for
 your xml.
 
 The key is to use the attribute method instead of the @ symbol 
to
 reference the attributes.
 
 Tracy
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute 
   creationComplete=initApp()
 
 mx:Script![CDATA[
 import mx.controls.dataGridClasses.DataGridColumn;
  private var gXMLDoc:XML;
  private function initApp():void
  {
 
   var sXMLDoc:String = 
 'records' +
 'record' +
 'data @name=firstname @value=My_FirstName1 /' +
 'data @name=lastname @value=My_LastName1 /' +
 '/record' +
 'record' +
 'data @name=firstname @value=My_FirstName2 /' + 
 'data @name=lastname @value=My_LastName2 /' + 
 '/record' + 
 '/records'
 gXMLDoc = XML(sXMLDoc);
 dg1.dataProvider = gXMLDoc.record; 
  }//initApp
  
  private function lfnGeneral(xmlItem:XML,
 column:DataGridColumn):String
  {
   var sLabel:String = ;
   var sHeaderText:String = column.headerText;
   switch (sHeaderText) {
   case First Name:
   sLabel = xmlItem.data[0].attribute(@value);
   break;
   case Last Name:
   sLabel = xmlItem.data[1].attribute(@value);
   break;
   }
 
   return sLabel;
  }//lfGeneral
 
 ]]/mx:Script
 
  mx:DataGrid id=dg1 labelFunction=lfnGeneral
 mx:columns
 mx:Array
 mx:DataGridColumn headerText=First Name /
 mx:DataGridColumn headerText=Last Name /
 /mx:Array
 /mx:columns
 /mx:DataGrid
 /mx:Application
 
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of flexnewbie
 Sent: Thursday, May 25, 2006 5:39 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to populate an attribute value in 
DataGrid
 control?
 
 Tracy,
 
 Thanks for the feedback.
 
 Unfortunately I cannot change the XML, the data is from third party 
 provider. I tried it with labelFunction and @@, it does not work :-(
 
 var sFirstName:String = xmlRecord.data[0].(@@name ==
 lastname).@@value;
 
 
 --- In flexcoders@yahoogroups.com, Tracy Spratt tspratt@ wrote:
 
  First, the @ in fornt of all the xml attributes might cause a 
 problem.
  
  Second, The name/value pair structure of your xml is going to be
  difficult to work with. Are you stuck with that structure?
  
  If so you will need to use a labelFunction(). In that you will do
  something like:
  
  var sFirstName:String = xmlRecord.data[0].(@@name ==
  lastname).@@value; //that is where those @ signe might cause a
  problem.
  
  If you can change the xml format this can be much easier.
  
  Below is a sample app that uses labelFunction on fairly complex 
xml.
  
  Tracy
  
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
  layout=absolute 
creationComplete=initApp()
  
  mx:Script![CDATA[
  import mx.controls.dataGridClasses.DataGridColumn;
   private var gXMLDoc:XML;
   private function initApp():void
   {
gXMLDoc = 
  users
  user
  username gender=maleJoe/username
  useremailjoe@/useremail
  location id=001
  cityBedford/city
  stateMA/state
  /location
  /user
  user
  username gender=femaleMaggie/username
  useremailmaggie@/useremail
  location id=002
  cityLexington/city
  stateMA/state
  /location
  /user
  /users
  dg1.dataProvider = gXMLDoc.user; 
   }//initApp
   
   private function lfnGeneral(item:Object,
  column:DataGridColumn):String
   {
var sLabel:String = 
var sHeaderText:String = column.headerText
switch (sHeaderText) {
case Name:
sLabel = item.username;
break;
case Email:
sLabel = item.useremail;
break;
case City:
sLabel = item.location.city;
break;
case State:
sLabel = item.location.city;
break;
case Gender:
sLabel = [EMAIL PROTECTED];
break;
}
  
return sLabel;
   }//lfGeneral
  
  ]]/mx:Script
  
   mx:DataGrid id=dg1 labelFunction=lfnGeneral
  mx:columns
  mx:Array
  mx:DataGridColumn headerText=Name /
  mx:DataGridColumn headerText=Email /
  mx:DataGridColumn headerText=City /
  mx:DataGridColumn headerText=State /
  mx:DataGridColumn headerText=Gender /
  /mx:Array
  /mx:columns
  /mx:DataGrid
  /mx:Application
  
  
  
  

RE: [flexcoders] View states problem in beta3

2006-05-26 Thread Jim Robson










In Beta 3, target is changed to relativeTo:




mx:AddChild relativeTo ={v1}











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rama satoskar
Sent: Friday, May 26, 2006 9:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] View states
problem in beta3





hi all,

is there a problem in the following code
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml


 !-- The Application class states property defines the
view
states. --
 mx:states
 !-- Flex enters the newButton
state when you click button b1 --
 mx:State
name=newButton
 !-- Add
a Button child control to the v1 VBox control. --

mx:AddChild target={v1}

mx:Button label=New Button /

/mx:AddChild
 !--
Disable the Add a Button button to prevent adding
more than

one button. --

mx:SetProperty target={b1} name=enabled
value=false /
 /mx:State
 /mx:states
 !-- The application's child controls define the base
state. --
 mx:VBox id=v1
 mx:Button id=b1
label=Add a Button
click=currentState='newButton'/
 !-- clicking the following
button returns Flex to the bas
state. --
 mx:Button label=Remove
Added Button click=currentState=''/
 /mx:VBox
/mx:Application

i seem to get a error each time saying:
Error: Cannot add a child that is already parented.















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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b



Alistair,  Yes I have also tried this. I can't get one document to save, not one. It's very odd. I'm at my wits end.Another gentlemen suggested that there is documentation w the download. While I have the download, I haven't looked there yet to see what's available. That's a good idea! Does anyone know, are the tutorials and the like there?I really want to get up to speed on this but I'm currently hamstrung.Thanks to both of you,  PBAlistair McLeod [EMAIL PROTECTED] wrote:  Hi PB,Have you tried to save the pdf to your local file system, rather than downloading and reading it over the internet every time?Regards,Alistair  From: flexcoders@yahoogroups.com
 [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 May 2006 14:25To: flexcoders@yahoogroups.comSubject: [flexcoders] flex2 Beta3 - slow to non existent document deliveryI'm trying to get up to speed and participate in the Flex2 Beta3 programme, but 'm having a difficult time doing so. Please forgive me if I'm bothering the group, but this is incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to speed on this document delivery issue?Whenever I try to access any of the Flex2 beta documentation I run into problems. Say for example I'd like to peruse the
 "flex2_gettingstarted_pdf" docs. I click on the appropriate link from within the release notes section at the "labs" site and it takes forever to load. When the document finally doescome back I get a few pages, that's it. When I try to scroll to a new page it takes literally 3 minutes to perform a page down if it occurs at all. Often the “document” just hangs. If I try to print the document, the process also hangs, w/o fail. I've tried printing perhaps 10 times over the last week at various times to no avail. The LiveDocs are no better. Thus the whole learning exercise becomes moot.While I have a 3mb broadband connection, I'm in the East near Toronto, and I fear, I'm doomed since I'm not at all proximal to "your" pops on the West coast. I’m about ready to bail on the beta, it’s just too time consuming to tough it out.Any insight would be appreciated. (As an aside I can access literally thousands of pages of documentation at the Oracle site in a flash, (pardon aside). Their document delivery system works. If you Adobe folks wanna get the word out about your flex software, this has certainly got to improve quickly, IMHO. 
   Thanks for your time.  PBNew Yahoo! Messenger with Voice. Call regular phones from your PC and save big. 
		Be a chatter box. Enjoy free PC-to-PC calls  with Yahoo! Messenger with Voice.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] How to make a components to show its tooltip without point mouse to it?

2006-05-26 Thread Ronan Bottini










Hi.
How to make a components to show its tooltip without point mouse to it? 

Thanks.











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: View states problem in beta3

2006-05-26 Thread rama satoskar



can u explain me the difference between the two target and
relativeto.i have installed beta3 but in the flex builder it shows
both the options.
--- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote:

 In Beta 3, target is changed to relativeTo:
 
 
 
 mx:AddChild relativeTo ={v1}
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of rama satoskar
 Sent: Friday, May 26, 2006 9:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] View states problem in beta3
 
 
 
 hi all,
 
 is there a problem in the following code
 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 
 !-- The Application class states property defines the view
 states. --
 mx:states
 !-- Flex enters the newButton state when you click button
b1 --
 mx:State name=newButton
 !-- Add a Button child control to the v1 VBox control. --
 mx:AddChild target={v1}
 mx:Button label=New Button /
 /mx:AddChild
 !-- Disable the Add a Button button to prevent adding
 more than
 one button. --
 mx:SetProperty target={b1} name=enabled
value=false /
 /mx:State
 /mx:states
 !-- The application's child controls define the base state. --
 mx:VBox id=v1
 mx:Button id=b1 label=Add a Button
 click=currentState='newButton'/
 !-- clicking the following button returns Flex to the bas
 state. --
 mx:Button label=Remove Added Button click=currentState=''/
 /mx:VBox
 /mx:Application
 
 i seem to get a error each time saying:
 Error: Cannot add a child that is already parented.
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 
 Web

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site

+design+developmentw2=Computer+software+developmentw3=Software+design+and+

developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development 
 
 Computer

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si

te+design+developmentw2=Computer+software+developmentw3=Software+design+an

d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
 =166.sig=lvQjSRfQDfWudJSe1lLjHw software development 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+design+

and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and development 
 
 
 Macromedia

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve

lopmentw2=Computer+software+developmentw3=Software+design+and+development

w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n
 PIrz7_EpZI36cYzBjw flex 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W

eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi

gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
 c=5s=166.sig=f89quyyulIDsnABLD6IXIw development best practice 
 
 
 
 
 
 _ 
 
 YAHOO! GROUPS LINKS 
 
 
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/ Terms of Service. 
 
 
 
 _











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: View states problem in beta3

2006-05-26 Thread rama satoskar



Thanks JIMit worked!!
--- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote:

 In Beta 3, target is changed to relativeTo:
 
 
 
 mx:AddChild relativeTo ={v1}
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of rama satoskar
 Sent: Friday, May 26, 2006 9:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] View states problem in beta3
 
 
 
 hi all,
 
 is there a problem in the following code
 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
 
 !-- The Application class states property defines the view
 states. --
 mx:states
 !-- Flex enters the newButton state when you click button
b1 --
 mx:State name=newButton
 !-- Add a Button child control to the v1 VBox control. --
 mx:AddChild target={v1}
 mx:Button label=New Button /
 /mx:AddChild
 !-- Disable the Add a Button button to prevent adding
 more than
 one button. --
 mx:SetProperty target={b1} name=enabled
value=false /
 /mx:State
 /mx:states
 !-- The application's child controls define the base state. --
 mx:VBox id=v1
 mx:Button id=b1 label=Add a Button
 click=currentState='newButton'/
 !-- clicking the following button returns Flex to the bas
 state. --
 mx:Button label=Remove Added Button click=currentState=''/
 /mx:VBox
 /mx:Application
 
 i seem to get a error each time saying:
 Error: Cannot add a child that is already parented.
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 
 Web

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site

+design+developmentw2=Computer+software+developmentw3=Software+design+and+

developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development 
 
 Computer

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si

te+design+developmentw2=Computer+software+developmentw3=Software+design+an

d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
 =166.sig=lvQjSRfQDfWudJSe1lLjHw software development 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+design+

and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and development 
 
 
 Macromedia

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve

lopmentw2=Computer+software+developmentw3=Software+design+and+development

w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n
 PIrz7_EpZI36cYzBjw flex 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W

eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi

gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
 c=5s=166.sig=f89quyyulIDsnABLD6IXIw development best practice 
 
 
 
 
 
 _ 
 
 YAHOO! GROUPS LINKS 
 
 
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
 
 *  To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 *  Your use of Yahoo! Groups is subject to the Yahoo!
 http://docs.yahoo.com/info/terms/ Terms of Service. 
 
 
 
 _











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread rama satoskar



Well there are samples for each and evry concept in the help
documentation with some tutorials too. Try ur hand at it.
Best of luck.
-- In flexcoders@yahoogroups.com, p b [EMAIL PROTECTED] wrote:

 Alistair,
 Yes I have also tried this. I can't get one document to save, not
one. It's very odd. I'm at my wits end.
 
 Another gentlemen suggested that there is documentation w the
download. While I have the download, I haven't looked there yet to see
what's available. That's a good idea! Does anyone know, are the
tutorials and the like there?
 
 I really want to get up to speed on this but I'm currently hamstrung.
 
 Thanks to both of you,
 PB
 
 Alistair McLeod [EMAIL PROTECTED] wrote:
 Hi PB,
 
 Have you tried to save the pdf to your local file system, rather
than downloading and reading it over the internet every time?
 
 Regards,
 
 Alistair
 
 
 -
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of p b
 Sent: 26 May 2006 14:25
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex2 Beta3 - slow to non existent document
delivery
 
 
 
 I'm trying to get up to speed and participate in the Flex2 Beta3
programme, but 'm having a difficult time doing so. Please forgive me
if I'm bothering the group, but this is incredibly frustrating. I'm
wondering if the folks at Adobe/Macromedia are up to speed on this
document delivery issue?
 
 Whenever I try to access any of the Flex2 beta documentation I run
into problems. Say for example I'd like to peruse the
flex2_gettingstarted_pdf docs. I click on the appropriate link from
within the release notes section at the labs site and it takes
forever to load. When the document finally does come back I get a few
pages, that's it. When I try to scroll to a new page it takes
literally 3 minutes to perform a page down if it occurs at all. Often
the document just hangs. If I try to print the document, the
process also hangs, w/o fail. I've tried printing perhaps 10 times
over the last week at various times to no avail. The LiveDocs are no
better. Thus the whole learning exercise becomes moot.
 
 While I have a 3mb broadband connection, I'm in the East near
Toronto, and I fear, I'm doomed since I'm not at all proximal to
your pops on the West coast. I'm about ready to bail on the beta,
it's just too time consuming to tough it out.
 
 Any insight would be appreciated. 
 
 (As an aside I can access literally thousands of pages of
documentation at the Oracle site in a flash, (pardon aside). Their
document delivery system works. If you Adobe folks wanna get the word
out about your flex software, this has certainly got to improve
quickly, IMHO.
 
 Thanks for your time.
 PB
 
 
 -
 New Yahoo! Messenger with Voice. Call regular phones from your PC
and save big. 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 SPONSORED LINKS 
 Web site design development Computer software development
 Software design and development Macromedia flex Software
development best practice 
 
 -
 YAHOO! GROUPS LINKS 
 
 
 Visit your group flexcoders on the web.
 
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 
 Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service. 
 
 
 -
 
 
 
 
   
 -
 Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger
with Voice.












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: View states problem in beta3

2006-05-26 Thread Jim Robson










Check the wiki:

http://labs.adobe.com/wiki/index.php/Flex:Beta_2_to_Beta_3_Changes#Flex_2_changes_between_Beta_2_and_Beta_3













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rama satoskar
Sent: Friday, May 26, 2006 10:10
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: View
states problem in beta3





can u explain me the
difference between the two target and
relativeto.i have installed beta3 but in the flex builder it shows
both the options.
--- In flexcoders@yahoogroups.com,
Jim Robson [EMAIL PROTECTED] wrote:

 In Beta 3, target is changed to relativeTo:
 
 
 

mx:AddChild relativeTo ={v1}
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of rama satoskar
 Sent: Friday, May 26, 2006 9:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] View states problem in beta3
 
 
 
 hi all,
 
 is there a problem in the following code
 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml

 
 !-- The Application class states property
defines the view
 states. --
 mx:states
 !-- Flex enters the
newButton state when you click button
b1 --
 mx:State
name=newButton

!-- Add a Button child control to the v1 VBox control. --

mx:AddChild target={v1}

mx:Button label=New Button /

/mx:AddChild

!-- Disable the Add a Button button to prevent adding
 more than

one button. --

mx:SetProperty target={b1} name=enabled
value=false /
 /mx:State
 /mx:states
 !-- The application's child controls define
the base state. --
 mx:VBox id=v1
 mx:Button
id=b1 label=Add a Button
 click=currentState='newButton'/
 !-- clicking the
following button returns Flex to the bas
 state. --
 mx:Button
label=Remove Added Button click=currentState=''/
 /mx:VBox
 /mx:Application
 
 i seem to get a error each time saying:
 Error: Cannot add a child that is already parented.
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 
 SPONSORED LINKS 
 
 
 Web

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site

+design+developmentw2=Computer+software+developmentw3=Software+design+and+

developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development 
 
 Computer

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si

te+design+developmentw2=Computer+software+developmentw3=Software+design+an

d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
 =166.sig=lvQjSRfQDfWudJSe1lLjHw software development 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+design+

and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and
development 
 
 
 Macromedia

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve

lopmentw2=Computer+software+developmentw3=Software+design+and+development

w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n
 PIrz7_EpZI36cYzBjw flex 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W

eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi

gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
 c=5s=166.sig=f89quyyulIDsnABLD6IXIw development best
practice 
 
 
 
 
 
 _ 
 
 YAHOO! GROUPS LINKS 
 
 
 
 * Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders
 on the web.
 
 * To unsubscribe from this group, send an
email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to
the Yahoo!
 http://docs.yahoo.com/info/terms/
Terms of Service. 
 
 
 
 _













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: View states problem in beta3

2006-05-26 Thread Jim Robson










Cool!











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of rama satoskar
Sent: Friday, May 26, 2006 10:12
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: View
states problem in beta3





Thanks JIMit
worked!!
--- In flexcoders@yahoogroups.com,
Jim Robson [EMAIL PROTECTED] wrote:

 In Beta 3, target is changed to relativeTo:
 
 
 

mx:AddChild relativeTo ={v1}
 
 
 
 _ 
 
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of rama satoskar
 Sent: Friday, May 26, 2006 9:44 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] View states problem in beta3
 
 
 
 hi all,
 
 is there a problem in the following code
 ?xml version=1.0?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml

 
 !-- The Application class states property
defines the view
 states. --
 mx:states
 !-- Flex enters the
newButton state when you click button
b1 --
 mx:State
name=newButton

!-- Add a Button child control to the v1 VBox control. --

mx:AddChild target={v1}

mx:Button label=New Button /

/mx:AddChild

!-- Disable the Add a Button button to prevent adding
 more than

one button. --

mx:SetProperty target={b1} name=enabled
value=false /
 /mx:State
 /mx:states
 !-- The application's child controls define
the base state. --
 mx:VBox id=v1
 mx:Button
id=b1 label=Add a Button
 click=currentState='newButton'/
 !-- clicking the
following button returns Flex to the bas
 state. --
 mx:Button
label=Remove Added Button click=currentState=''/
 /mx:VBox
 /mx:Application
 
 i seem to get a error each time saying:
 Error: Cannot add a child that is already parented.
 
 
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 
 SPONSORED LINKS 
 
 
 Web

http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site

+design+developmentw2=Computer+software+developmentw3=Software+design+and+

developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development 
 
 Computer

http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si

te+design+developmentw2=Computer+software+developmentw3=Software+design+an

d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
 =166.sig=lvQjSRfQDfWudJSe1lLjHw software development 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+design+

and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
 s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and
development 
 
 
 Macromedia

http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve

lopmentw2=Computer+software+developmentw3=Software+design+and+development

w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n
 PIrz7_EpZI36cYzBjw flex 
 
 Software

http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W

eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi

gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
 c=5s=166.sig=f89quyyulIDsnABLD6IXIw development best
practice 
 
 
 
 
 
 _ 
 
 YAHOO! GROUPS LINKS 
 
 
 
 * Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders
 on the web.
 
 * To unsubscribe from this group, send an
email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
 
 * Your use of Yahoo! Groups is subject to
the Yahoo!
 http://docs.yahoo.com/info/terms/
Terms of Service. 
 
 
 
 _













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b



Rama,  There is virtually no documentaion as part of the flex2 Beta download. There are samples, sure, but not documentation. None. There are "documentation" links embedded within the readme.htmlthat point back to various macromedia sites but they don't work.  PBrama satoskar [EMAIL PROTECTED] wrote:  Well there are samples for each and evry concept in the helpdocumentation with some tutorials too. Try ur hand at it.Best of luck.-- In flexcoders@yahoogroups.com, p b [EMAIL PROTECTED] wrote: Alistair, Yes I have also tried this. I can't get one document to save, notone. It's very odd. I'm at my wits end.  Another gentlemen suggested that there is documentation w thedownload. While I have the
 download, I haven't looked there yet to seewhat's available. That's a good idea! Does anyone know, are thetutorials and the like there?  I really want to get up to speed on this but I'm currently hamstrung.  Thanks to both of you, PB  Alistair McLeod [EMAIL PROTECTED] wrote: Hi PB,  Have you tried to save the pdf to your local file system, ratherthan downloading and reading it over the internet every time?  Regards,  Alistair   - From: flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED] On Behalf Of p b
 Sent: 26 May 2006 14:25 To: flexcoders@yahoogroups.com Subject: [flexcoders] flex2 Beta3 - slow to non existent documentdeliveryI'm trying to get up to speed and participate in the Flex2 Beta3programme, but 'm having a difficult time doing so. Please forgive meif I'm bothering the group, but this is incredibly frustrating. I'mwondering if the folks at Adobe/Macromedia are up to speed on thisdocument delivery issue?  Whenever I try to access any of the Flex2 beta documentation I runinto problems. Say for example I'd like to peruse the"flex2_gettingstarted_pdf" docs. I click on the appropriate link fromwithin the release notes section at the "labs" site and it takesforever to load. When the document finally does come back I get a fewpages, that's it. When I try to scroll to a new page it takesliterally 3 minutes
 to perform a page down if it occurs at all. Oftenthe "document" just hangs. If I try to print the document, theprocess also hangs, w/o fail. I've tried printing perhaps 10 timesover the last week at various times to no avail. The LiveDocs are nobetter. Thus the whole learning exercise becomes moot.  While I have a 3mb broadband connection, I'm in the East nearToronto, and I fear, I'm doomed since I'm not at all proximal to"your" pops on the West coast. I'm about ready to bail on the beta,it's just too time consuming to tough it out.  Any insight would be appreciated.   (As an aside I can access literally thousands of pages ofdocumentation at the Oracle site in a flash, (pardon aside). Theirdocument delivery system works. If you Adobe folks wanna get the wordout about your flex software, this
 has certainly got to improvequickly, IMHO.  Thanks for your time. PB   - New Yahoo! Messenger with Voice. Call regular phones from your PCand save big.   -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS  Web site design development Computer software development Software design and development Macromedia
 flex Softwaredevelopment best practice   - YAHOO! GROUPS LINKSVisit your group "flexcoders" on the web.  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]  Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService.-- Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messengerwith Voice.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1/min.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] TreeItemRenderer question

2006-05-26 Thread Michael










Hi all, I need a tree renderer that creates a checkbox at
certain nodes in my tree. I found a sample online that helped a lot, but
not 100%. Currently I have it working with a checkbox at every node, but I
get some crazy behavior. When the tree is rendered the checkboxes are all
selected which is good, but when I uncheck one and scroll down other checkboxes
are being unchecked randomly as well. Does anyone have any suggestions on
how to fix this issue? Here is my itemRenderer.



myTreeItemRenderer.as



package components

{

 import mx.core.Container;

 import mx.core.IDataRenderer;

 import mx.controls.CheckBox;

 import mx.controls.treeClasses.*;

 import mx.collections.*;

 import flash.xml.*;

 import flash.events.Event;

 import flash.events.MouseEvent;

 import mx.controls.Alert;

 import mx.controls.listClasses.*;





 public class myTreeItemRenderer extends
TreeItemRenderer

 {

 private var
i:uint=0;

 // myCheckBox:
holds the CheckBox we are adding to the tree nodes

 protected var
myCheckBox:CheckBox;

 

 // set the margin
between the image we are adding, and the label

 private var
cbToLabelMargin:Number = 2;

 

 

 // show default
branch icon?

 private var
showDefaultBranchIcon:Boolean = false;

 // show default
leaf icon?

 private var
showDefaultLeafIcon:Boolean = false;

 

 

 

 public function
myTreeItemRenderer() 

 {


super();


// InteractiveObject variables.


mouseEnabled = false;

 }

 

 public function
openBranch(evt:Event):void

 {


// get the TreeListData


var myListData:TreeListData = TreeListData(this.listData);





// get the selected node

//var selectedNode:Object =
myListData.node;


var selectedNode:Object = myListData.item;





var selectedNodeXML:XMLList = new XMLList(selectedNode);





// get the tree that owns us


var theTree:Tree = Tree(myListData.owner);





// find out if the selected branch is already open


//var isBranchOpen:Boolean = theTree.getIsOpen( selectedNode );





//mx.controls.Alert.show(selectedNode.toString());


// if the selected branch is open, let's close it


// and if it's closed, let's open it


//var isBranchOpen:Boolean = isBranchOpen ? false : true;


//theTree.setIsOpen( selectedNode, isBranchOpen, true, false );


if(theTree.id==soTree)


{

  this.parentApplication.soCheckBoxChanged(evt,selectedNodeXML);

  //mx.controls.Alert.show(selectedNodeXML.attribute('id')+
+selectedNodeXML.attribute('type')+ False); 


}


else if(theTree.id==ntaTree)


{


 


}

 }

 

 override
protected function createChildren():void

 {


 // create a new CheckBox() to hold the CheckBox we'll add to the tree item


 myCheckBox = new CheckBox();


 


 myCheckBox.setStyle( verticalAlign, middle );


 myCheckBox.selected=true

 


 // and apply it to the tree item


 addChild(myCheckBox);


 


 // add the event listener to the whole tree item


 // this will let us click anywhere on the branch item to expose the children
of this branch


 myCheckBox.addEventListener( MouseEvent.CLICK, openBranch );


 super.createChildren();

 }


 

 override public
function set data(value:Object):void

 {

 if(value==null)


{


 return;


}


else


{


super.data = "">

 
var currentNodeXMLList:XMLList = new
XMLList(TreeListData(super.listData).item);


//var nodeType:String =
currentNodeXMLList.attribute('type');
 


// get the tree that owns us


var _tree:Tree = Tree(this.parent.parent);


 


// if the current node is a branch node


if(TreeListData(super.listData).hasChildren)


{


// set styles...


setStyle(color, 0x00);


setStyle(fontWeight, 'bold');

 
// if we don't want to show the default branch icons, let's empty them

 
if( !showDefaultBranchIcon )

 
{

 
_tree.setStyle(folderClosedIcon, null);

 
_tree.setStyle(folderOpenIcon, null);

 
}

 
}

 
else

 
{

 
// if we are in here, then the current node is a
leaf node

 


 
// set styles...

 
setStyle(color, 0x00);

 
setStyle(fontWeight, 'normal');

 
// if we don't want to show the default leaf icons, let's empty them

 
if( !showDefaultLeafIcon )

 
{

 
_tree.setStyle(defaultLeafIcon, null);

 
}

 
}

 }


 }

 override protected
function updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void


{ 


super.updateDisplayList(unscaledWidth, unscaledHeight);


if(super.data)


{

 //
if the current node is a branch


graphics.clear();


if(TreeListData(super.listData).hasChildren)


{


// get the current node and it's children as XMLList

 
var currentNodeXMLList:XMLList = new
XMLList(TreeListData(super.listData).item);




// get the number of children under the current node


var numOfImmediateChildren:int = currentNodeXMLList[0].children().length();

 


// set the image to be displayed in the branches


//myImage.source = branchImage;





// set the label text


super.label.text = TreeListData(super.listData).text + ( +
numOfImmediateChildren + );





}


else


{


// if we are in here, then the current node is a leaf node



RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b



Alistair,  Might there be a place (perhaps an ftp site or something)where all the current zipped flex2 beta3 docs might exist that can simply be downloaded.  Cheers,  PBAlistair McLeod [EMAIL PROTECTED] wrote:  Hi PB,Have you tried to save the pdf to your local file system, rather than downloading and reading it over the internet every time?Regards,Alistair  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 May 2006 14:25To: flexcoders@yahoogroups.comSubject: [flexcoders] flex2 Beta3 - slow to non existent document deliveryI'm trying to get up to speed and participate in the Flex2 Beta3
 programme, but 'm having a difficult time doing so. Please forgive me if I'm bothering the group, but this is incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to speed on this document delivery issue?Whenever I try to access any of the Flex2 beta documentation I run into problems. Say for example I'd like to peruse the "flex2_gettingstarted_pdf" docs. I click on the appropriate link from within the release notes section at the "labs" site and it takes forever to load. When the document finally doescome back I get a few pages, that's it. When I try to scroll to a new page it takes literally 3 minutes to perform a page down if it occurs at all. Often the “document” just hangs. If I try to print the document, the process also hangs, w/o fail. I've tried printing perhaps 10 times over the last week at various times to no avail. The LiveDocs are no better. Thus the whole learning exercise becomes moot.While I have a 3mb broadband connection, I'm in the East near Toronto, and I fear, I'm doomed since I'm not at all proximal to "your" pops on the West coast. I’m about ready to bail on the beta, it’s just too time consuming to tough it out.Any insight would be appreciated. (As an aside I can access literally thousands of pages of documentation at the Oracle site in a flash, (pardon aside). Their document delivery system works. If you Adobe folks wanna get the word out about your flex software, this has certainly got to improve quickly, IMHO.Thanks for your time.  PBNew Yahoo! Messenger with
 Voice. Call regular phones from your PC and save big. 
		Blab-away for as little as 1¢/min. Make  PC-to-Phone Calls using Yahoo! Messenger with Voice.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] NumericStepper with floats

2006-05-26 Thread mcantrell138



Is it possible to use the NumericStepper with floats? It's rounding my
numbers to integers.










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Tobias Patton










PB;



Maybe youre not looking in the
right place. From the Flex Builder IDE, choose Help Contents from
the Help menu. I think that all the documentation and tutorials
available online can be found here.



Tobias.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p b
Sent: Friday, May 26, 2006 7:53 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: flex2
Beta3 - slow to non existent document delivery







Rama,





There is virtually no documentaion as part of the flex2 Beta download.
There are samples, sure, but not documentation. None. There are
documentation links embedded within the readme.htmlthat point
back to various macromedia sites but they don't work.





PB

rama satoskar
[EMAIL PROTECTED] wrote:





Well there are samples for each and evry concept in the help
documentation with some tutorials too. Try ur hand at it.
Best of luck.
-- In flexcoders@yahoogroups.com, p b [EMAIL PROTECTED] wrote:

 Alistair,
 Yes I have also tried this. I can't get one document to save,
not
one. It's very odd. I'm at my wits end.
 
 Another gentlemen suggested that there is documentation w the
download. While I have the download, I haven't looked there yet to see
what's available. That's a good idea! Does anyone know, are the
tutorials and the like there?
 
 I really want to get up to speed on this but I'm currently
hamstrung.
 
 Thanks to both of you,
 PB
 
 Alistair McLeod [EMAIL PROTECTED] wrote:
 Hi PB,
 
 Have you tried to save the pdf to your local file system,
rather
than downloading and reading it over the internet every time?
 
 Regards,
 
 Alistair
 
 
 -
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of p b
 Sent: 26 May 2006 14:25
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex2 Beta3 - slow to non existent document
delivery
 
 
 
 I'm trying to get up to speed and participate in the Flex2
Beta3
programme, but 'm having a difficult time doing so. Please forgive me
if I'm bothering the group, but this is incredibly frustrating. I'm
wondering if the folks at Adobe/Macromedia are up to speed on this
document delivery issue?
 
 Whenever I try to access any of the Flex2 beta documentation I
run
into problems. Say for example I'd like to peruse the
flex2_gettingstarted_pdf docs. I click on the appropriate link from
within the release notes section at the labs site and it takes
forever to load. When the document finally does come back I get a few
pages, that's it. When I try to scroll to a new page it takes
literally 3 minutes to perform a page down if it occurs at all. Often
the document just hangs. If I try to print the document, the
process also hangs, w/o fail. I've tried printing perhaps 10 times
over the last week at various times to no avail. The LiveDocs are no
better. Thus the whole learning exercise becomes moot.
 
 While I have a 3mb broadband connection, I'm in the East near
Toronto, and I
fear, I'm doomed since I'm not at all proximal to
your pops on the West coast. I'm about ready to bail on the beta,
it's just too time consuming to tough it out.
 
 Any insight would be appreciated. 
 
 (As an aside I can access literally thousands of pages of
documentation at the Oracle site in a flash, (pardon aside). Their
document delivery system works. If you Adobe folks wanna get the word
out about your flex software, this has certainly got to improve
quickly, IMHO.
 
 Thanks for your time.
 PB
 
 
 -
 New Yahoo! Messenger with Voice. Call regular phones from your
PC
and save big. 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 SPONSORED LINKS 
 Web site design
development Computer software development
 Software design and development Macromedia
flex Software
development best practice 
 
 -
 YAHOO! GROUPS LINKS 
 
 
 Visit your group flexcoders on the
web.
 
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 
 Your use of Yahoo! Groups is subject to the Yahoo!
Terms of
Service. 
 
 
 -
 
 
 
 
   
 -
 Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger
with Voice.








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

















Talk is cheap. Use Yahoo!
Messenger to make PC-to-Phone calls. Great
rates starting at 1¢/min. 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Alistair McLeod





Hi,

The whole doc package (language refs, api docs, all pdfs) 
can be downloaded from the ZIP file link in the first paragraph 
here:

http://labs.adobe.com/wiki/index.php/Flex_Framework#Documentation

You'll might have to log into labs 
first.

Cheers,

Ali


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 
May 2006 15:02To: flexcoders@yahoogroups.comSubject: RE: 
[flexcoders] flex2 Beta3 - slow to non existent document 
delivery

Alistair,
Yes I have also tried this. I can't get one document to save, not one. It's 
very odd. I'm at my wits end.

Another gentlemen suggested that there is documentation w the download. 
While I have the download, I haven't looked there yet to see what's available. 
That's a good idea! Does anyone know, are the tutorials and the like 
there?

I really want to get up to speed on this but I'm currently hamstrung.

Thanks to both of you,
PB

Alistair McLeod [EMAIL PROTECTED] wrote:

  
  Hi PB,
  
  Have you tried to save the pdf to your local file system, 
  rather than downloading and reading it over the internet every 
  time?
  
  Regards,
  
  Alistair
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 
  May 2006 14:25To: flexcoders@yahoogroups.comSubject: 
  [flexcoders] flex2 Beta3 - slow to non existent document 
  delivery
  
  I'm trying to get up to 
  speed and participate in the Flex2 Beta3 programme, but 'm having a difficult 
  time doing so. Please forgive me if I'm bothering the group, but this is 
  incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up 
  to speed on this document delivery issue?
  
  Whenever I try to 
  access any of the Flex2 beta documentation I run into problems. Say for 
  example I'd like to peruse the "flex2_gettingstarted_pdf" docs. I click on the 
  appropriate link from within the release notes section at the "labs" site and 
  it takes forever to load. When the document finally doescome back I get 
  a few pages, that's it. When I try to scroll to a new page it takes literally 
  3 minutes to perform a page down if it occurs at all. Often the document 
  just hangs. If I try to print the 
  document, the process also hangs, w/o fail. I've tried printing perhaps 10 
  times over the last week at various times to no avail. The LiveDocs are no 
  better. Thus the whole learning exercise becomes moot.
  
  While I have a 3mb 
  broadband connection, I'm in the East near Toronto, and I fear, I'm 
  doomed since I'm not at all proximal to "your" pops on the West coast. Im 
  about ready to bail on the beta, its just too time consuming to tough it 
  out.
  
  Any insight would be 
  appreciated. 
  
  (As an aside I can 
  access literally thousands of pages of documentation at the Oracle site in a 
  flash, (pardon aside). Their document delivery system works. If you Adobe 
  folks wanna get the word out about your flex software, this has certainly got 
  to improve quickly, IMHO.
  
  Thanks for your 
  time.
  PB
  
  
  
  New Yahoo! Messenger with Voice. Call 
  regular phones from your PC and save big. 


Be a chatter box. Enjoy free 
PC-to-PC calls with Yahoo! Messenger with Voice. 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b



Tobias,  Though counterintuitive, yes, this is most helpful and it's local. Thank you for pointing this out. Great!  Cheers,  PBTobias Patton [EMAIL PROTECTED] wrote:PB;Maybe you’re not looking in the right place. From the Flex Builder IDE, choose “Help Contents” from the “Help” menu. I think that all the documentation and tutorials available online can be found here.Tobias.From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: Friday, May 26, 2006 7:53 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: flex2 Beta3 - slow to non existent
 document delivery  Rama,There is virtually no documentaion as part of the flex2 Beta download. There are samples, sure, but not documentation. None. There are "documentation" links embedded within the readme.htmlthat point back to various macromedia sites but they don't work.PBrama satoskar [EMAIL PROTECTED] wrote: 
   Well there are samples for each and evry concept in the helpdocumentation with some tutorials too. Try ur hand at it.Best of luck.-- In flexcoders@yahoogroups.com, p b [EMAIL PROTECTED] wrote: Alistair, Yes I have also tried this. I can't get one document to save, notone. It's very odd. I'm at my wits end.  Another gentlemen suggested that there is documentation w
 thedownload. While I have the download, I haven't looked there yet to seewhat's available. That's a good idea! Does anyone know, are thetutorials and the like there?  I really want to get up to speed on this but I'm currently hamstrung.  Thanks to both of you, PB  Alistair McLeod [EMAIL PROTECTED] wrote: Hi PB,  Have you tried to save the pdf to your local file system, ratherthan downloading and reading it over the internet every time?  Regards,  Alistair   - From:
 flexcoders@yahoogroups.com[mailto:[EMAIL PROTECTED] On Behalf Of p b Sent: 26 May 2006 14:25 To: flexcoders@yahoogroups.com Subject: [flexcoders] flex2 Beta3 - slow to non existent documentdeliveryI'm trying to get up to speed and participate in the Flex2 Beta3programme, but 'm having a difficult time doing so. Please forgive meif I'm bothering the group, but this is incredibly frustrating. I'mwondering if the folks at Adobe/Macromedia are up to speed on thisdocument delivery issue?  Whenever I try to access any of the Flex2 beta documentation I runinto problems. Say for example I'd like to peruse the"flex2_gettingstarted_pdf" docs. I click on the appropriate link fromwithin the release notes section at the "labs" site and it takesforever to load. When the document finally does come back I get a
 fewpages, that's it. When I try to scroll to a new page it takesliterally 3 minutes to perform a page down if it occurs at all. Oftenthe "document" just hangs. If I try to print the document, theprocess also hangs, w/o fail. I've tried printing perhaps 10 timesover the last week at various times to no avail. The LiveDocs are nobetter. Thus the whole learning exercise becomes moot.  While I have a 3mb broadband connection, I'm in the East nearToronto, and I fear, I'm doomed since I'm not at all proximal to"your" pops on the West coast. I'm about ready to bail on the beta,it's just too time consuming to tough it out.  Any insight would be appreciated.   (As an aside I can access literally thousands of pages ofdocumentation at the
 Oracle site in a flash, (pardon aside). Theirdocument delivery system works. If you Adobe folks wanna get the wordout about your flex software, this has certainly got to improvequickly, IMHO.  Thanks for your time. PB   - New Yahoo! Messenger with Voice. Call regular phones from your PCand save big.   -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS 
 Web site design development Computer software development Software design and development Macromedia flex Softwaredevelopment best practice   - YAHOO! GROUPS LINKSVisit your group "flexcoders" on the web.  To unsubscribe from this group, send an email to: [EMAIL PROTECTED]  Your use of Yahoo! Groups is subject to the Yahoo! Terms ofService.-   
 - Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messengerwith Voice.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com   Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 

RE: [flexcoders] Re: flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Jim Robson










PB,



That is not correct. If you download FB2
Beta3 and install FlexBuilder, then click Help-Help Contents
you get a full set of docs. I should know: I use them all day, every day. J



Good luck,



Jim











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of p b
Sent: Friday, May 26, 2006 10:53
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: flex2
Beta3 - slow to non existent document delivery







Rama,





There is virtually no documentaion as part of the flex2 Beta download.
There are samples, sure, but not documentation. None. There are
documentation links embedded within the readme.htmlthat point
back to various macromedia sites but they don't work.





PB

rama satoskar
[EMAIL PROTECTED] wrote:





Well there are samples for each and evry concept in the help
documentation with some tutorials too. Try ur hand at it.
Best of luck.
-- In flexcoders@yahoogroups.com, p
b [EMAIL PROTECTED] wrote:

 Alistair,
 Yes I have also tried this. I can't get one document to save,
not
one. It's very odd. I'm at my wits end.
 
 Another gentlemen suggested that there is documentation w the
download. While I have the download, I haven't looked there yet to see
what's available. That's a good idea! Does anyone know, are the
tutorials and the like there?
 
 I really want to get up to speed on this but I'm currently
hamstrung.
 
 Thanks to both of you,
 PB
 
 Alistair McLeod [EMAIL PROTECTED] wrote:
 Hi PB,
 
 Have you tried to save the pdf to your local file system,
rather
than downloading and reading it over the internet every time?
 
 Regards,
 
 Alistair
 
 
 -
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of p b
 Sent: 26 May 2006 14:25
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex2 Beta3 - slow to non existent document
delivery
 
 
 
 I'm trying to get up to speed and participate in the Flex2
Beta3
programme, but 'm having a difficult time doing so. Please forgive me
if I'm bothering the group, but this is incredibly frustrating. I'm
wondering if the folks at Adobe/Macromedia are up to speed on this
document delivery issue?
 
 Whenever I try to access any of the Flex2 beta documentation I
run
into problems. Say for example I'd like to peruse the
flex2_gettingstarted_pdf docs. I click on the appropriate link from
within the release notes section at the labs site and it takes
forever to load. When the document finally does come back I get a few
pages, that's it. When I try to scroll to a new page it takes
literally 3 minutes to perform a page down if it occurs at all. Often
the document just hangs. If I try to print the document, the
process also hangs, w/o fail. I've tried printing perhaps 10 times
over the last week at various times to no avail. The LiveDocs are no
better. Thus the whole learning exercise becomes moot.
 
 While I have a 3mb broadband connection, I'm in the East near
Toronto, and I
fear, I'm doomed since I'm not at all proximal to
your pops on the West coast. I'm about ready to bail on the beta,
it's just too time consuming to tough it out.
 
 Any insight would be appreciated. 
 
 (As an aside I can access literally thousands of pages of
documentation at the Oracle site in a flash, (pardon aside). Their
document delivery system works. If you Adobe folks wanna get the word
out about your flex software, this has certainly got to improve
quickly, IMHO.
 
 Thanks for your time.
 PB
 
 
 -
 New Yahoo! Messenger with Voice. Call regular phones from your
PC
and save big. 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 SPONSORED LINKS 
 Web site design
development Computer software development
 Software design and development Macromedia
flex Software
development best practice 
 
 -
 YAHOO! GROUPS LINKS 
 
 
 Visit your group flexcoders on the
web.
 
 To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 
 Your use of Yahoo! Groups is subject to the Yahoo!
Terms of
Service. 
 
 
 -
 
 
 
 
   
 -
 Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger
with Voice.








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

















Talk is cheap. Use Yahoo!
Messenger to make PC-to-Phone calls. Great
rates starting at 1¢/min. 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  

[flexcoders] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread klumikaze



Just wondering what everybody out there is using for
production/development with their Flex 2.0 RIAs?

For an upcoming project, my team has decided to go the J2EE route, but
we are unsure about which technologies and frameworks to make use of.

We've come up with some basic decisions:

- Our presentation layer will be 100% Flex 2.0
- We want to adopt an MVC model for the presentation layer, will
likely use Cairngorm
- Tomcat for our Java application server
- Hibernate for our persistance framework
- MySQL for our RDMS
- Web Services will provide all data to the presentation layer


Some questions we have:

- Ant or Maven? I've heard Maven is starting to become more adopted
and capable than Ant... thoughts?

- What Web Services platform would work best with our configuration? 

- Should localization be done using the ResourceBundle functionality
in Flex 2.0? If so, should Ant/Maven be used to automate the creation
of localized versions of the RIA?

Open ended questions, obviously there is no best solution for every
project. Still, we would like to hear some general opinions on
technologies/frameworks for Flex 2.0 based RIAs.

Thanks for any input you can provide,

Brian
 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread Tom Chiverton



On Friday 26 May 2006 16:36, klumikaze wrote:
 - Ant or Maven? I've heard Maven is starting to become more adopted
 and capable than Ant... thoughts?

I used to use Maven to drive Ant scripts, so it's not really either/or.

 - What Web Services platform would work best with our configuration?

ColdFusion :-)
Easier than Java, made by the same people who make Flex, so integration very 
good.

 - Should localization be done using the ResourceBundle functionality
 in Flex 2.0? If so, should Ant/Maven be used to automate the creation
 of localized versions of the RIA?

Possibly. Cairngorm 2 is going to have support for this, I think.


-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b



This is exactly what I was looking for but could not find. Thank you very much for this and for your patience!   Cheers,  PBAlistair McLeod [EMAIL PROTECTED] wrote:  Hi,The whole doc package (language refs, api docs, all pdfs) can be downloaded from the
 ZIP file link in the first paragraph here:http://labs.adobe.com/wiki/index.php/Flex_Framework#DocumentationYou'll might have to log into labs first.Cheers,Ali  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 May 2006 15:02To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] flex2 Beta3 - slow to non existent document deliveryAlistair,  Yes I have also tried this. I can't get one document to save, not one. It's very odd. I'm at my wits end.Another gentlemen suggested that there is documentation w the download. While I have the download, I haven't looked there yet to see what's available. That's a good idea! Does anyone
 know, are the tutorials and the like there?I really want to get up to speed on this but I'm currently hamstrung.Thanks to both of you,  PBAlistair McLeod [EMAIL PROTECTED] wrote:  Hi PB,Have you tried to save the pdf to your local file system, rather than downloading and reading it over the internet every time?Regards,Alistair  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 May 2006 14:25To: flexcoders@yahoogroups.comSubject: [flexcoders] flex2 Beta3 - slow to non existent document deliveryI'm trying to get up to speed and participate in the Flex2 Beta3
 programme, but 'm having a difficult time doing so. Please forgive me if I'm bothering the group, but this is incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to speed on this document delivery issue?Whenever I try to access any of the Flex2 beta documentation I run into problems. Say for example I'd like to peruse the "flex2_gettingstarted_pdf" docs. I click on the appropriate link from within the release notes section at the "labs" site and it takes forever to load. When the document finally doescome back I get a few pages, that's it. When I try to scroll to a new page it takes literally 3 minutes to perform a page down if it occurs at all. Often the “document” just hangs. If I try to print the document, the process also hangs, w/o fail. I've tried printing perhaps 10 times over the last week at various times to no avail. The LiveDocs are no better. Thus the whole learning exercise becomes moot.While I have a 3mb broadband connection, I'm in the East near Toronto, and I fear, I'm doomed since I'm not at all proximal to "your" pops on the West coast. I’m about ready to bail on the beta, it’s just too time consuming to tough it out.Any insight would be appreciated. (As an aside I can access literally thousands of pages of documentation at the Oracle site in a flash, (pardon aside). Their document delivery system works. If you Adobe folks wanna get the word out about your flex software, this has certainly got to improve quickly, IMHO.Thanks for your time.  PBNew Yahoo! Messenger with
 Voice. Call regular phones from your PC and save big.   Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice. 
		Ring'em or ping'em. Make  PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Michael Schmalle



That is not correct. If you download FB2
Beta3 and install FlexBuilder, then click "Help-Help Contents"
you get a full set of docs. I should know: I use them all day, every day. J

Yeah, it's on my 2nd monitor 24/7 ;-)

Peace, Mike
On 5/26/06, p b [EMAIL PROTECTED] wrote:



This is exactly what I was looking for but could not find. Thank you very much for this and for your patience!   Cheers,
  PBAlistair McLeod [EMAIL PROTECTED] wrote:  
Hi,  
  The whole doc package (language refs, api docs, all pdfs) can be downloaded from the
 ZIP file link in the first paragraph here:
http://labs.adobe.com/wiki/index.php/Flex_Framework#Documentation
You'll might have to log into labs first.
Cheers,
Ali  
From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of p b
Sent: 26 May 2006 15:02To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] flex2 Beta3 - slow to non existent document deliveryAlistair,  Yes I have also tried this. I can't get one document to save, not one. It's very odd. I'm at my wits end.
Another
gentlemen suggested that there is documentation w the download. While I
have the download, I haven't looked there yet to see what's available.
That's a good idea! Does anyone know, are the tutorials and the like
there?I really want to get up to speed on this but I'm currently hamstrung.Thanks to both of you,  PB  
  Alistair McLeod [EMAIL PROTECTED] wrote:  
Hi PB,
Have you tried to save the pdf to your local file system, rather than downloading and reading it over the internet every time?  
  Regards,  
  Alistair  From:
 flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of p bSent: 26 May 2006 14:25To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2 Beta3 - slow to non existent document deliveryI'm
trying to get up to speed and participate in the Flex2 Beta3 programme,
but 'm having a difficult time doing so. Please forgive me if I'm
bothering the group, but this is incredibly frustrating. I'm wondering
if the folks at Adobe/Macromedia are up to speed on this document
delivery issue?Whenever
I try to access any of the Flex2 beta documentation I run into
problems. Say for example I'd like to peruse the
flex2_gettingstarted_pdf docs. I click on the appropriate link from
within the release notes section at the labs site and it takes
forever to load. When the document finally doescome back I get a
few pages, that's it. When I try to scroll to a new page it takes
literally 3 minutes to perform a page down if it occurs at all. Often
the "document" just hangs. If I try to print the
document, the process also hangs, w/o fail. I've tried printing perhaps
10 times over the last week at various times to no avail. The LiveDocs
are no better. Thus the whole learning exercise becomes moot.While
I have a 3mb broadband connection, I'm in the East near Toronto, and I
fear, I'm doomed since I'm not at all proximal to your pops on the
West coast. I'm about ready to bail on the beta, it's just too time
consuming to tough it out.Any insight would be appreciated.   
  (As
an aside I can access literally thousands of pages of documentation at
the Oracle site in a flash, (pardon aside). Their document delivery
system works. If you Adobe folks wanna get the word out about your flex
software, this has certainly got to improve quickly, IMHO.Thanks for your time.
  PBNew Yahoo! Messenger with
 Voice. Call regular phones from your PC
 and save big.   Be a chatter box. Enjoy 
free PC-to-PC calls with Yahoo! Messenger with Voice. 
		Ring'em or ping'em. Make 
 PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




  








-- What goes up, does come down.






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  

RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-26 Thread Ely Greenfield









Well, this is a common question. And I wrote the original 
code, so I have an unfair advantage ;)

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ben 
LucykSent: Thursday, May 25, 2006 2:29 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2B3 - Looking 
for Column Chart styles example similar to old "Brocade" sample 
app.


What a great help Ely. 
Thanks for all the detail! It sounds like youve spent a fair amount 
of time with this one already! :)

Ill be playing with 
your suggestions tonight and will post my results. 

Thanks 
again,


  
  

  Ben 
  Lucyk[EMAIL PROTECTED]p 1.877.TRY.ESRIA ext 
  718c 1.408.489.3913f 1.877.828.4436

  











From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: Thursday, May 25, 2006 1:23 
PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2B3 - Looking 
for Column Chart styles example similar to old "Brocade" sample 
app.




Hi Ben. When a 
set of column series is clustered, the chart (or columnSet) is setting the 
columnWidthRatio and offset properties to do it. So if you wanted to cluster 
differently, you could put the columnSeries inside a CartesianChart and set 
those properties yourself.

To figure out how wide 
each column should be, you first need to decide how wide you want the total 
cluster to be, and how much each column should overlap. Then your formula would 
be:

columnWidth = 
clusterWidth / (overlap + (series 
count)*(1-overlap));

the offset is the 
offset of the middle of the column from the middle of the category. given the 
clusterWidth and columnWidthRatio, the offset for each series 
is:

seriesOffset(N)= 
-clusterWidth/2 + (1-overlap)*columnWidthRatio*(N) + 
columnWidthRatio/2;

So if you have three 
series, and your total width is 75%, and the overlap should be 50%, then 


columnWdithRatio = .75 
/(.5 + 3*(1-.5)) 
columnWdithRatio = .75 
/ 2;
columnWdithRatio = 
.375

given 
that,

seriesOffset(0) = 
-.75/2 + (.5)*.375*0 + .375/2;
seriesOffset(0) = 
-.1875;

seriesOffset(1) = 
-.75/2 + (.5)*.375*1 + .375/2;
seriesOffset(1) = 
0;

seriesOffset(2) = 
-.75/2 + (.5)*.375*2 + .375/2;
seriesOffset(2) = 
-.75/2 + .375 + .375/2;;
seriesOffset(2) = 
.1875;

Putting that into 
practice, the markup would be
CartesianChart
 
series
 
ColumnSeries columnWidthRatio=".375" offset="-.1875" 
/
 
ColumnSeries columnWidthRatio=".375" offset="0" 
/
 
ColumnSeries columnWidthRatio=".375" offset=".1875" 
/
/CartesianChart

(You may need to 
reverse the order of those, I don't remember)

Ely.





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben LucykSent: Thursday, May 25, 2006 12:50 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] F2B3 - Looking for 
Column Chart styles example similar to old "Brocade" sample 
app.
Does anyone have some examples or 
info for styling the mx:ColumnChart type=clustered component? I have a client that is interested in 
seeing the same displaced, overlapping styles for the column series as seen 
in the online Brocade sample app (Click Measure 
Viewer).

http://flexapps.macromedia.com/flex/brocade/app.mxml?versionChecked=true 


I reloaded Flash Player 8.5 and 
looked at the F2B1 chart explorer

http://weblogs.macromedia.com/flex_samples/charts_explorer/explorer.html 


 but there arent a whole lot of 
style examples.

Any help would be 
appreciated,

  
  

  Ben 
  Lucyk[EMAIL PROTECTED]p 1.877.TRY.ESRIA ext 
  718c 1.408.489.3913f 1.877.828.4436

  













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] [FLEX2:B3] I think that a variable of the Function type is passed by value, right?

2006-05-26 Thread Bryan Choi



Hi Till,



I got it now.



I didn't know that I was wrong.



Thank you for your help.



Regards,

Bryan Choi.



- Original Message - 

From: Till Schneidereit [EMAIL PROTECTED]

To: flexcoders@yahoogroups.com

Sent: Friday, May 26, 2006 7:32 PM

Subject: Re: [flexcoders] [FLEX2:B3] I think that a variable of the Function type is passed by value, right?





 Not exactly.

 What's happening here is that each time foo is called, a new activation object, containing the local variables i and rectArea, is created and returned. Since these activation objects are completely independent of each other, they seem to exhibit some of the behaviour of types that are passed by value.

 But try this ( in the context of your sample code, of course ;) ) :

 var increaseCount4:Function = increaseCount3;

 increaseCount3(); //output 1

 increaseCount4(); //output 2

 

 cheers,

 till

 

 Bryan Choi wrote:

 

 Hi, all.

 

 I'll show you some test code about the closure.

 You can see that 3 variables that is type of Function were assigned with 

 foo() method .

 Genually, as you know, the primitive types is passed by value that is 

 copied.

 So I think that this is also.

 

 How about you think?

 

 

 private function foo () : Function

 {

 var i:int = 0;

 function rectArea() : int { // function closure defined

 return ++i;

 }

 return rectArea;

 }

 private function bar () : void

 {

 var increaseCount1:Function = foo();

 var increaseCount2:Function = foo();

 trace(increaseCount1 :  + increaseCount1() );

 trace(increaseCount1 :  + increaseCount1() );

 var increaseCount3:Function = foo();

 trace(increaseCount2 :  + increaseCount2() );

 trace(increaseCount3 :  + increaseCount3() );

 trace(increaseCount1 :  + increaseCount1() );

 trace(increaseCount1 :  + increaseCount1() );

 trace(increaseCount2 :  + increaseCount2() );

 trace(increaseCount3 :  + increaseCount3() );

 }

 bar();

 // Output

 increaseCount1 : 1

 increaseCount1 : 2

 increaseCount2 : 1

 increaseCount3 : 1

 increaseCount1 : 3

 increaseCount1 : 4

 increaseCount2 : 2

 increaseCount3 : 2

 

 

 --

 Flexcoders Mailing List

 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

 

 

 

 SPONSORED LINKS

 Web site design development 

 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 

 Computer software development 

 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 

 Software design and development 

 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 

 

 Macromedia flex 

 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZI36cYzBjw 

 Software development best practice 

 http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 

 

 

 

 YAHOO! GROUPS LINKS

 

 * Visit your group flexcoders

 http://groups.yahoo.com/group/flexcoders on the web.

 

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

 [EMAIL PROTECTED]

 mailto:[EMAIL PROTECTED]

 

 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of

 Service http://docs.yahoo.com/info/terms/. 

 

 

 

 

 -- 

 __

 Till Schneidereit Max-Brauer-Allee 259

 

 phone ++49 40 98238528 20354 Hamburg

 fax ++49 40 98238530 germany

 __

 

 

  Yahoo! Groups Sponsor ~-- 

 Get to your groups with one click. Know instantly when new email arrives

 http://us.click.yahoo.com/.7bhrC/MGxNAA/yQLSAA/nhFolB/TM

 ~- 

 

 --

 Flexcoders Mailing List

 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 

 Yahoo! Groups Links

 

 

 

 

 

 

 







--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 

RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-26 Thread Ely Greenfield








In Beta 3, the drop shadow in the columns has been 
optimized by attaching it to the ColumnChart directly. To get it back, you've 
got two options:

1) set the seriesFilters property of the CartesianChart to 
a drop shadow. This will give you a single drop shadow for the entire set 
of columns (i.e., the front most column won't create a drop shadow on the 
columns behind it, giving the appearance that all the columns are flattened into 
one layer).

CartesianChart
 
seriesFilters
 
f:DropShadowFilter xmlns:f="flash.filters.*" /
 
/seriesFIlters

2) set a drop shadow filter on each series directly. 
This will make the front most series cast a shadow on the series behind 
it.

CartesianChart
 series
 
ColumnSeries
 
filters
 
f:DropShadowFilter xmlns:f="flash.filters.*" /
 
/filters
 
...

3) set a drop shadow filter on each individual column. This 
has the biggest hit on performance, but will make each individual column pop 
out. To do this, set the itemRenderer or each column to the 
ShadowBoxitemRenderer (this one probably won't add anything to your use 
case).

...
 series
 
ColumnSeries itemRenderer="mx.charts.renderers.ShadowBoxItemRenderer" ... 
/
 ...


Ely.




From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ben 
LucykSent: Thursday, May 25, 2006 8:31 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2B3 - Looking 
for Column Chart styles example similar to old "Brocade" sample 
app.


Works like a charm Ely. 
I added an alpha=.8 to help give 
it that same look in Brocade. One 
question though, where did my nice column drop shadow go to now that Im using 
the CartesianChart and how do I get it back?

Thanks,


  
  

  Ben 
  Lucyk[EMAIL PROTECTED]p 1.877.TRY.ESRIA ext 
  718c 1.408.489.3913f 1.877.828.4436

  











From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben LucykSent: Thursday, May 25, 2006 5:29 
PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2B3 - Looking 
for Column Chart styles example similar to old "Brocade" sample 
app.

What a great help 
Ely. Thanks for all the 
detail! It sounds like youve spent 
a fair amount of time with this one already! :)

Ill be playing with 
your suggestions tonight and will post my results. 

Thanks 
again,


  
  

  Ben 
  Lucyk[EMAIL PROTECTED]p 1.877.TRY.ESRIA ext 
  718c 1.408.489.3913f 1.877.828.4436

  











From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely GreenfieldSent: Thursday, May 25, 2006 1:23 
PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] F2B3 - Looking 
for Column Chart styles example similar to old "Brocade" sample 
app.




Hi Ben. When a 
set of column series is clustered, the chart (or columnSet) is setting the 
columnWidthRatio and offset properties to do it. So if you wanted to cluster 
differently, you could put the columnSeries inside a CartesianChart and set 
those properties yourself.

To figure out how wide 
each column should be, you first need to decide how wide you want the total 
cluster to be, and how much each column should overlap. Then your formula would 
be:

columnWidth = 
clusterWidth / (overlap + (series 
count)*(1-overlap));

the offset is the 
offset of the middle of the column from the middle of the category. given the 
clusterWidth and columnWidthRatio, the offset for each series 
is:

seriesOffset(N)= 
-clusterWidth/2 + (1-overlap)*columnWidthRatio*(N) + 
columnWidthRatio/2;

So if you have three 
series, and your total width is 75%, and the overlap should be 50%, then 


columnWdithRatio = .75 
/(.5 + 3*(1-.5)) 
columnWdithRatio = .75 
/ 2;
columnWdithRatio = 
.375

given 
that,

seriesOffset(0) = 
-.75/2 + (.5)*.375*0 + .375/2;
seriesOffset(0) = 
-.1875;

seriesOffset(1) = 
-.75/2 + (.5)*.375*1 + .375/2;
seriesOffset(1) = 
0;

seriesOffset(2) = 
-.75/2 + (.5)*.375*2 + .375/2;
seriesOffset(2) = 
-.75/2 + .375 + .375/2;;
seriesOffset(2) = 
.1875;

Putting that into 
practice, the markup would be
CartesianChart
 
series
 
ColumnSeries columnWidthRatio=".375" offset="-.1875" 
/
 
ColumnSeries columnWidthRatio=".375" offset="0" 
/
 
ColumnSeries columnWidthRatio=".375" offset=".1875" 
/
/CartesianChart

(You may need to 
reverse the order of those, I don't remember)

Ely.





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben LucykSent: Thursday, May 25, 2006 12:50 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] F2B3 - Looking for 
Column Chart styles example similar to old "Brocade" sample 
app.
Does anyone have some examples or 
info for styling the mx:ColumnChart type=clustered component? I have a client that is interested in 
seeing the same displaced, overlapping styles for the column series as seen 
in the online Brocade sample app (Click Measure 
Viewer).

http://flexapps.macromedia.com/flex/brocade/app.mxml?versionChecked=true 


I reloaded Flash Player 8.5 and 
looked at the F2B1 chart explorer

RE: [flexcoders] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread Steven Webster



 
 Possibly. Cairngorm 2 is going to have support for this, I think.
 

Whoa, don't set any expectations here ! :-)

I don't foresee us having localisation/il8n support in Cairgnorm, other
than guidance on how the Flex 2 features for this can fit within a
Cairngorm application.

Perhaps - with some breathing space - one of our team in Scotland will
post about this, as we're engaged on a number of projects built on
Cairngorm that are doing internationalisation right now.

We're on holiday (!) Monday, so don't hold your breath,

Steven

--
Steven Webster
Practice Director (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED] 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] maps for flex

2006-05-26 Thread ptrisnadi


Hi Nitin,I have not created any map application with Flex. So, I am trying to respond to your issue rather a little blindly. I'm still unclear with what you meant by "distorted." If I interpret correctly you are saying that if you zoom in, then the image becomes pixelated/rougher; is that correct? If you are not bound to using your own map, I encourage you to check out Yahoo! Maps API, as it is easy to use and is well-documented. http://developer.yahoo.com/maps/flash/flexGettingStarted.htmlAerial view usually refers to the view taken by satellite. In the latest maps that Yahoo! and
 Google have made, there are 3 views: Map, Hybrid, and Satellite. Map view displays map in outline form, without the detail of the real landscape (different shades of vegetation and bodies of water, real estate, etc.) Hybrid view combines the 2 other views, "Map" and "Satellite." So, you will see a Satellite view, with an overlay of streets map on top.I hope that answers your question.- ptrisnadi- Original Message From: nitin mehta [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, May 25, 2006 10:17:01 PMSubject: Re: [flexcoders] maps for flex


Hi ptrisnadi ,

Thanks a lot for replying my mail. . . I am explain my task and then I tell you wht I have done in it.

See I want to create a search in which user can locate the city or state on world map just by click and with 4 levels of zoom in. my problem is if we zoom in to map its getting distorted. what type of map do we use to mentain the resolution/clarity of the map.I just want to display the same clarity what we are getting on yahoo maps or google maps..


can anybody tell me what are arial maps  hybird maps... 

Regards
Nitin Mehta

On 5/25/06, ptrisnadi [EMAIL PROTECTED] wrote:





Hi Nitin,I'm not sure why your map gets distorted. But my initial reaction is to think that the container you have for the map is resized by scale, not by size, which then distorts the content as well. Perhaps we can understand it better if you give us more detail to what you have done.
Yahoo! Maps Beta uses Navteq, TeleAtlas. As for the API, you can grab it from:http://developer.yahoo.com/maps/
http://developer.yahoo.com/maps/flash/flexGettingStarted.html
To see samples of such implementations:http://developer.yahoo.com/maps/applications.html
I've used the API and being a novice I find it really easy to implement, thanks to the thorough documentation. Good luck.
- ptrisnadi
- Original Message From: mehta_nm 
[EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Thursday, May 25, 2006 12:47:12 AM
Subject: [flexcoders] maps for flexHi All, My name is nitin  I am a new member of your group I just want to know that is any one know about the working with map on flex. I am working with maps on flex but when ever iam resizing the map its 
getting distorted. please guide me how to mentain the resolution while zoom in /zoom out of the map and it will be great if some one tell me what maps these Yahoo people are using in yahoo maps while working on flex.. 
regardsnitin--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

Visit your group "flexcoders" on the web. 

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 Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

Visit your group "flexcoders" on the web. 
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to 

RE: [flexcoders] Re: How to populate an attribute value in DataGrid control?

2006-05-26 Thread Tracy Spratt



It is very strange to do that, and that @ character in the attribute
name prevents us from using the direct XML literal syntax. At least in
Flex Builder, it errors with an invalid xml name exception. Luckily,
the string concatenation + new XML() works to get it into an XML object.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Thursday, May 25, 2006 9:37 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: How to populate an attribute value in
DataGrid control?

Isn't it kind of strange to give your attributes names starting with an
@ sign? I don't think that's common in XML, unless its use is dictated
by somebody else.

Also, there's no point in building up an XML string with the + operator.
You can use XML literal syntax in AS3:

 private var gXMLDoc:XML =
 records
 record
 ...
 /records;

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Thursday, May 25, 2006 4:30 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: How to populate an attribute value in
DataGrid control?

First, the sample xml in your post is not valid: the data nodes have no
closing taqs (or /). If we fix that then the example below works for
your xml.

The key is to use the attribute method instead of the @ symbol to
reference the attributes.

Tracy

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=absolute 
  creationComplete=initApp()

mx:Script![CDATA[
 import mx.controls.dataGridClasses.DataGridColumn;
 private var gXMLDoc:XML;
 private function initApp():void
 {

   var sXMLDoc:String = 
 'records' +
 'record' +
 'data @name=firstname @value=My_FirstName1 /' +
 'data @name=lastname @value=My_LastName1 /' +
 '/record' +
 'record' +
 'data @name=firstname @value=My_FirstName2 /' + 
 'data @name=lastname @value=My_LastName2 /' + 
 '/record' + 
 '/records'
 gXMLDoc = XML(sXMLDoc);
 dg1.dataProvider = gXMLDoc.record; 
 }//initApp
 
 private function lfnGeneral(xmlItem:XML,
column:DataGridColumn):String
 {
  var sLabel:String = ;
  var sHeaderText:String = column.headerText;
  switch (sHeaderText) {
  case First Name:
  sLabel = xmlItem.data[0].attribute(@value);
  break;
  case Last Name:
  sLabel = xmlItem.data[1].attribute(@value);
  break;
  }

  return sLabel;
 }//lfGeneral

]]/mx:Script

 mx:DataGrid id=dg1 labelFunction=lfnGeneral
 mx:columns
 mx:Array
 mx:DataGridColumn headerText=First Name /
 mx:DataGridColumn headerText=Last Name /
 /mx:Array
 /mx:columns
 /mx:DataGrid
/mx:Application



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexnewbie
Sent: Thursday, May 25, 2006 5:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: How to populate an attribute value in DataGrid
control?

Tracy,

Thanks for the feedback.

Unfortunately I cannot change the XML, the data is from third party 
provider. I tried it with labelFunction and @@, it does not work :-(

var sFirstName:String = xmlRecord.data[0].(@@name ==
lastname).@@value;


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

 First, the @ in fornt of all the xml attributes might cause a 
problem.
 
 Second, The name/value pair structure of your xml is going to be
 difficult to work with. Are you stuck with that structure?
 
 If so you will need to use a labelFunction(). In that you will do
 something like:
 
 var sFirstName:String = xmlRecord.data[0].(@@name ==
 lastname).@@value; //that is where those @ signe might cause a
 problem.
 
 If you can change the xml format this can be much easier.
 
 Below is a sample app that uses labelFunction on fairly complex xml.
 
 Tracy
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute 
   creationComplete=initApp()
 
 mx:Script![CDATA[
 import mx.controls.dataGridClasses.DataGridColumn;
  private var gXMLDoc:XML;
  private function initApp():void
  {
   gXMLDoc = 
 users
 user
 username gender=maleJoe/username
 useremail[EMAIL PROTECTED]/useremail
 location id=001
 cityBedford/city
 stateMA/state
 /location
 /user
 user
 username gender=femaleMaggie/username
 useremail[EMAIL PROTECTED]/useremail
 location id=002
 cityLexington/city
 stateMA/state
 /location
 /user
 /users
 dg1.dataProvider = gXMLDoc.user; 
  }//initApp
  
  private function lfnGeneral(item:Object,
 column:DataGridColumn):String
  {
   var sLabel:String = 
   var sHeaderText:String = column.headerText
   switch (sHeaderText) {
   case Name:
   sLabel = item.username;
   break;
   case Email:
   sLabel = item.useremail;
   break;
   case City:
   sLabel = item.location.city;
   break;
   case State:
   sLabel = item.location.city;
   break;
   case Gender:
   sLabel = [EMAIL PROTECTED];
   break;
   }
 
   return sLabel;
  }//lfGeneral
 
 ]]/mx:Script
 
  mx:DataGrid id=dg1 

RE: [flexcoders] TreeItemRenderer question

2006-05-26 Thread Tracy Spratt










Trees and other list controls re-use
controls when new lines are scrolled into view. I didnt see where you
are setting the selected state of the checkbox in the renderer. You must do
this or you will get the behavior you describe.



Of course, that means you need a property
in your item object to hold the selected state, and you need to set that value
when the check box is clicked.



Tracy











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Michael
Sent: Friday, May 26, 2006 10:23
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
TreeItemRenderer question





Hi all, I need a tree renderer that creates a checkbox at
certain nodes in my tree. I found a sample online that helped a lot, but
not 100%. Currently I have it working with a checkbox at every node, but
I get some crazy behavior. When the tree is rendered the checkboxes are
all selected which is good, but when I uncheck one and scroll down other
checkboxes are being unchecked randomly as well. Does anyone have any
suggestions on how to fix this issue? Here is my itemRenderer.



myTreeItemRenderer.as



package components

{

 import mx.core.Container;

 import mx.core.IDataRenderer;

 import mx.controls.CheckBox;

 import mx.controls.treeClasses.*;

 import mx.collections.*;

 import flash.xml.*;

 import flash.events.Event;

 import flash.events.MouseEvent;

 import mx.controls.Alert;

 import mx.controls.listClasses.*;





 public class myTreeItemRenderer extends
TreeItemRenderer

 {

 private var
i:uint=0;

 // myCheckBox: holds
the CheckBox we are adding to the tree nodes

 protected var
myCheckBox:CheckBox;

 

 // set the margin
between the image we are adding, and the label

 private var
cbToLabelMargin:Number = 2;

 

 

 // show default
branch icon?

 private var
showDefaultBranchIcon:Boolean = false;

 // show default
leaf icon?

 private var
showDefaultLeafIcon:Boolean = false;

 

 

 

 public function
myTreeItemRenderer() 

 {


super();


// InteractiveObject variables.


mouseEnabled = false;

 }

 

 public function
openBranch(evt:Event):void

 {


// get the TreeListData


var myListData:TreeListData = TreeListData(this.listData);





// get the selected node

//var selectedNode:Object =
myListData.node;


var selectedNode:Object = myListData.item;





var selectedNodeXML:XMLList = new XMLList(selectedNode);





// get the tree that owns us


var theTree:Tree = Tree(myListData.owner);





// find out if the selected branch is already open


//var isBranchOpen:Boolean = theTree.getIsOpen( selectedNode );





//mx.controls.Alert.show(selectedNode.toString());


// if the selected branch is open, let's close it


// and if it's closed, let's open it


//var isBranchOpen:Boolean = isBranchOpen ? false : true;


//theTree.setIsOpen( selectedNode, isBranchOpen, true, false );


if(theTree.id==soTree)


{



this.parentApplication.soCheckBoxChanged(evt,selectedNodeXML);

 
//mx.controls.Alert.show(selectedNodeXML.attribute('id')+
+selectedNodeXML.attribute('type')+ False); 


}


else if(theTree.id==ntaTree)


{


 


}

 }

 

 override
protected function createChildren():void

 {


// create a new CheckBox() to hold the CheckBox we'll add to the tree item


myCheckBox = new CheckBox();





myCheckBox.setStyle( verticalAlign, middle );


myCheckBox.selected=true





// and apply it to the tree item


addChild(myCheckBox);





// add the event listener to the whole tree item


// this will let us click anywhere on the branch item to expose the children of
this branch


myCheckBox.addEventListener( MouseEvent.CLICK, openBranch );


super.createChildren();


} 

 

 override public
function set data(value:Object):void

 {


if(value==null)


{


 return;


}


else


{


super.data = "">


 var currentNodeXMLList:XMLList = new
XMLList(TreeListData(super.listData).item);


//var nodeType:String =
currentNodeXMLList.attribute('type');
 


// get the tree that owns us


var _tree:Tree = Tree(this.parent.parent);


 


// if the current node is a branch node


if(TreeListData(super.listData).hasChildren)


{


// set styles...


setStyle(color, 0x00);


setStyle(fontWeight, 'bold');


 // if we don't want to show
the default branch icons, let's empty them


 if( !showDefaultBranchIcon )


 {



_tree.setStyle(folderClosedIcon, null);



_tree.setStyle(folderOpenIcon, null);


 }


 }


 else


 {


 // if we are in here,
then the current node is a leaf node


 


 // set styles...


 setStyle(color,
0x00);


 setStyle(fontWeight,
'normal');


 // if we don't want to show the
default leaf icons, let's empty them


 if( !showDefaultLeafIcon )


 {



_tree.setStyle(defaultLeafIcon, null);


 }


 }


} 

 }

 override protected function
updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void


{ 


super.updateDisplayList(unscaledWidth, unscaledHeight);


if(super.data)


{


// if the current node is a branch


graphics.clear();



[flexcoders] Re: Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread klumikaze



Tom,

Thanks for your input!

In regards to ColdFusion - is it still a commercial product licensed
on a per-server basis? I think we're looking for a way to do it with
Java (possibly through a framework). Any past experiences with such
frameworks, or any recommendations?

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

 On Friday 26 May 2006 16:36, klumikaze wrote:
  - Ant or Maven? I've heard Maven is starting to become more adopted
  and capable than Ant... thoughts?
 
 I used to use Maven to drive Ant scripts, so it's not really either/or.
 
  - What Web Services platform would work best with our configuration?
 
 ColdFusion :-)
 Easier than Java, made by the same people who make Flex, so
integration very 
 good.
 
  - Should localization be done using the ResourceBundle functionality
  in Flex 2.0? If so, should Ant/Maven be used to automate the creation
  of localized versions of the RIA?
 
 Possibly. Cairngorm 2 is going to have support for this, I think.
 
 
 -- 
 Tom Chiverton
 
 
 
 This email is sent for and on behalf of Halliwells LLP.
 
 Halliwells LLP is a limited liability partnership registered in
England and Wales under registered number OC307980 whose registered
office address is at St James's Court Brown Street Manchester M2 2JF.
 A list of members is available for inspection at the registered
office. Any reference to a partner in relation to Halliwells LLP means
a member of Halliwells LLP. Regulated by the Law Society.
 
 CONFIDENTIALITY
 
 This email is intended only for the use of the addressee named above
and may be confidential or legally privileged. If you are not the
addressee you must not read it and must not use any information
contained in nor copy it nor inform any person other than Halliwells
LLP or the addressee of its existence or contents. If you have
received this email in error please delete it and notify Halliwells
LLP IT Department on 0870 365 8008.
 
 For more information about Halliwells LLP visit www.halliwells.com.
 
 We are pleased to announce that Halliwells LLP has been voted AIM
Lawyer of the Year at the 2005 Growth Company Awards











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: Question on CF components created by the Flex Wizard

2006-05-26 Thread g8torjoe



Bill, thank you very much for your time and response. I apologize
that I am still a little confused. I am using beta 3 and the code
below was generated by the wizard automatically (at the end of the
create function):

   !--- If your server has a better way to get the ID that is more
reliable, use that instead ---
   cfquery name=qGetID datasource=myDB_sql
select ID
from dbo.partsShipAddr
where Name = cfqueryparam value=#local1#
cfsqltype=CF_SQL_VARCHAR /
 and Addr1 = cfqueryparam value=#local2#
cfsqltype=CF_SQL_VARCHAR /
 and Addr2 = cfqueryparam value=#local3#
cfsqltype=CF_SQL_VARCHAR /
 and City = cfqueryparam value=#local4#
cfsqltype=CF_SQL_VARCHAR /
 and State = cfqueryparam value=#local5#
cfsqltype=CF_SQL_VARCHAR /
 and Zip = cfqueryparam value=#local6#
cfsqltype=CF_SQL_VARCHAR /
 and Phone = cfqueryparam value=#local7#
cfsqltype=CF_SQL_VARCHAR /
 and Email = cfqueryparam value=#local8#
cfsqltype=CF_SQL_VARCHAR /
 and Comments = cfqueryparam value=#local9#
cfsqltype=CF_SQL_VARCHAR /
 and PurchaseLoc = cfqueryparam value=#local10#
cfsqltype=CF_SQL_VARCHAR /
order by ID desc
   /cfquery
  /cftransaction

  cfset variables.ID = qGetID.ID

This seems to be what you were referring to with creating a SELECT
statement with the exact conditions of my update. I guess my
confusion is that I don't see where variables.ID is getting passed
back to the automatically created gateway component and then back to
Flex. Does that make any sense?

Thanks again!!!



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

 We thought about exposing the returned ID (ID that gets created for
 AUTOINCREMENT keys) in the CFQUERY RESULT, a new attribute available as
 part of CFMX 7.x. But, the process to get this is not always supported
 by the backend DBs so we backed off this feature for now. You'll need
 to code this yourself in the release that you currently have by using a
 SELECT statement with a WHERE clause whose criteria is identical to the
 values that you used in the INSERT statement. For the final release
 this code is already gen'd by the wizard.
 
 
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of g8torjoe
 Sent: Thursday, May 25, 2006 3:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Question on CF components created by the Flex
 Wizard
 
 
 
 I am having a little trouble following the flow of the CF components
 created by the wizard in Flex. I am using the save function of the
 gateway component and writing to the database successfully. When I
 create a new record I am wondering if the ID (or key - mine is ID)
 should be returned. I see in the component that is searches for the ID
 after I add it but when I debug my Flex app in the result event
 handler I am not finding that data. Am I making an assumption here?
 Thanks!
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw 
 
 Software development best practice
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
   
 *  To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] 
   
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 
 
 








RE: [flexcoders] F2B3 - Looking for Column Chart styles example similar to old Brocade sample app.

2006-05-26 Thread Ben Lucyk










Perfect. I went with the ShadowBoxitemRenderer
approach  no noticeable hit on performance at this stage  and it
looks just the same as before in the ColumnChart. 



Thanks again for your time.






 
  
  Ben Lucyk
  [EMAIL PROTECTED]
  p 1.877.TRY.ESRIA ext 718
  c 1.408.489.3913
  f 1.877.828.4436
  
  
  
  
 


























From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield
Sent: Friday, May 26, 2006 12:44
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] F2B3 -
Looking for Column Chart styles example similar to old Brocade
sample app.











In Beta 3, the drop shadow in the columns
has been optimized by attaching it to the ColumnChart directly. To get it back,
you've got two options:



1) set the seriesFilters property of the
CartesianChart to a drop shadow. This will give you a single drop shadow
for the entire set of columns (i.e., the front most column won't create a drop
shadow on the columns behind it, giving the appearance that all the columns are
flattened into one layer).



CartesianChart

 seriesFilters


f:DropShadowFilter xmlns:f=flash.filters.* /

 /seriesFIlters



2) set a drop shadow filter on each series
directly. This will make the front most series cast a shadow on the
series behind it.



CartesianChart

 series


ColumnSeries


filters


f:DropShadowFilter xmlns:f=flash.filters.* /


/filters


...



3) set a drop shadow filter on each
individual column. This has the biggest hit on performance, but will make each
individual column pop out. To do this, set the itemRenderer or each column to
the ShadowBoxitemRenderer (this one probably won't add anything to your use
case).



...

 series


ColumnSeries
itemRenderer=mx.charts.renderers.ShadowBoxItemRenderer ... /

 ...





Ely.













From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Lucyk
Sent: Thursday, May 25, 2006 8:31
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] F2B3 -
Looking for Column Chart styles example similar to old Brocade
sample app.

Works like a charm Ely. I added an alpha=.8 to
help give it that same look in Brocade.
One question though, where did my nice column drop shadow go to now that
Im using the CartesianChart and how do I get it back?



Thanks,




 
  
  Ben Lucyk
  [EMAIL PROTECTED]
  p 1.877.TRY.ESRIA ext 718
  c 1.408.489.3913
  f 1.877.828.4436
  
  
  
  
 


























From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ben Lucyk
Sent: Thursday, May 25, 2006 5:29
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] F2B3 -
Looking for Column Chart styles example similar to old Brocade
sample app.





What a great help Ely. Thanks for all the detail! It sounds like youve spent a fair
amount of time with this one already!
:)



Ill be playing with your
suggestions tonight and will post my results. 



Thanks again,




 
  
  Ben Lucyk
  [EMAIL PROTECTED]
  p 1.877.TRY.ESRIA ext 718
  c 1.408.489.3913
  f 1.877.828.4436
  
  
  
  
 


























From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ely Greenfield
Sent: Thursday, May 25, 2006 1:23
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] F2B3 -
Looking for Column Chart styles example similar to old Brocade
sample app.











Hi Ben. When a set of column series
is clustered, the chart (or columnSet) is setting the columnWidthRatio and offset
properties to do it. So if you wanted to cluster differently, you could put the
columnSeries inside a CartesianChart and set those properties yourself.



To figure out how wide each column should
be, you first need to decide how wide you want the total cluster to be, and how
much each column should overlap. Then your formula would be:



columnWidth = clusterWidth / (overlap +
(series count)*(1-overlap));



the offset is the offset of the middle of
the column from the middle of the category. given the clusterWidth and
columnWidthRatio, the offset for each series is:



seriesOffset(N)= -clusterWidth/2 +
(1-overlap)*columnWidthRatio*(N) + columnWidthRatio/2;



So if you have three series, and your
total width is 75%, and the overlap should be 50%, then 



columnWdithRatio = .75 /(.5 +
3*(1-.5)) 

columnWdithRatio = .75 / 2;

columnWdithRatio = .375



given that,



seriesOffset(0) = -.75/2 + (.5)*.375*0 +
.375/2;

seriesOffset(0) = -.1875;



seriesOffset(1) = -.75/2 + (.5)*.375*1 +
.375/2;

seriesOffset(1) = 0;



seriesOffset(2) = -.75/2 + (.5)*.375*2 +
.375/2;

seriesOffset(2) = -.75/2 + .375 + .375/2;;

seriesOffset(2) = .1875;



Putting that into practice, the markup
would be

CartesianChart

 series

 ColumnSeries
columnWidthRatio=.375 offset=-.1875 /

 ColumnSeries
columnWidthRatio=.375 offset=0 /

 ColumnSeries
columnWidthRatio=.375 offset=.1875 /

/CartesianChart



(You may need to reverse the order of
those, I don't remember)



Ely.











From: flexcoders@yahoogroups.com

RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread p b



Alistair,I've tried this "docs" link numerous times today. The zip file will simply not download and it acts much like the general documentation links, I've discussed today.My zip download rate eventually fades to 300 bytes a second. Is there any way of placing this document bundle on a faster more broadly accessible server so thatwe can get at them, rather than on download.macromedia.com? (I tried pinging this DN, it timesout, that's how slow it is?)I did find some of the documentation embedded within Flex Builder help as suggested
 by one poster. Other documentation on Adobe's SDK and FDS doesn't appear there. The subsequent "Online Flex Resource" header within Flex Builder has a number of Macromedia "org.eclispe.ui.intro" links that are unfortunatelybroken.Thanks,  PBp b [EMAIL PROTECTED] wrote:This is exactly what I was looking for but could not find. Thank you very much for this and for your patience!   Cheers,  PBAlistair McLeod [EMAIL PROTECTED] wrote:  Hi,The whole doc package (language refs, api docs, all pdfs) can be downloaded from the ZIP file link in the first paragraph here:http://labs.adobe.com/wiki/index.php/Flex_Framework#DocumentationYou'll might have to log into labs first.Cheers,Ali  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 May 2006 15:02To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] flex2 Beta3 - slow to non existent document deliveryAlistair,  Yes I have also tried this. I can't get one document to save, not one. It's very odd. I'm at my wits end.Another gentlemen suggested that there is documentation w the download. While I have the download, I haven't looked there yet to see what's available. That's a good idea! Does anyone know, are the tutorials and the like there?I really want to get up to speed on this but I'm currently hamstrung.Thanks to both of you,  PBAlistair McLeod
 [EMAIL PROTECTED] wrote:  Hi PB,Have you tried to save the pdf to your local file system, rather than downloading and reading it over the internet every time?Regards,Alistair  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of p bSent: 26 May 2006 14:25To: flexcoders@yahoogroups.comSubject: [flexcoders] flex2 Beta3 - slow to non existent document deliveryI'm trying to get up to speed and participate in the Flex2 Beta3 programme, but 'm having a difficult time doing so. Please forgive me if I'm bothering the group, but this is incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to speed on this document delivery
 issue?Whenever I try to access any of the Flex2 beta documentation I run into problems. Say for example I'd like to peruse the "flex2_gettingstarted_pdf" docs. I click on the appropriate link from within the release notes section at the "labs" site and it takes forever to load. When the document finally doescome back I get a few pages, that's it. When I try to scroll to a new page it takes literally 3 minutes to perform a page down if it occurs at all. Often the “document” just hangs. If I try to print the document, the process also hangs, w/o fail. I've tried printing perhaps 10 times over the last week at various times to no avail. The LiveDocs are no better. Thus the whole learning exercise becomes moot.While I have a 3mb broadband connection, I'm in the East near Toronto, and I fear, I'm doomed since I'm not at all proximal to "your" pops on the West coast. I’m about ready to bail on the beta, it’s just too time consuming to tough it out.Any insight would be appreciated. (As an
 aside I can access literally thousands of pages of documentation at the Oracle site in a flash, (pardon aside). Their document delivery system works. If you Adobe folks wanna get the word out about your flex software, this has certainly got to improve quickly, IMHO.Thanks for your time.  PBNew Yahoo! Messenger with Voice. Call regular phones from your PC and save big.   Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice.   Ring'em or ping'em. Make PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   

[flexcoders] Access of undefined property in XMLDocument

2006-05-26 Thread Charles



Hi everyone,
I am having a lot of trouble with this seemingly simple problem. I have declared a variable 'xml_result' of type XMLDocument. I would like to set 'ignoreWhite' to true, but I always get an error. Here is a snippet of my code...
 mx:Script ![CDATA[ import flash.xml.XMLDocument;
 public var xml_result:XMLDocument = new XMLDocument();
 xml_result.ignoreWhite = true; // ALWAYS ERROR ON THIS LINE ]] /mx:Script

That's it! But I constantly get an error with the message "Access of undefined property xml_result", and I can't figure it out!
Thanks in advance
Charles






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] flex2 Beta3 - slow to non existent document delivery

2006-05-26 Thread Tim Scollick



bc,The docs are with Builder. If you have Builder, you have the docs. If you don't have Builder, get Builder from the labs site.Open Flex Builder. Go to Help in the top menu.Select 'Help Contents', 'Search' (which allows you to search the docs) or 'Flex Start Page'. All of them bring up documentation.
There is a tonne of very high quality documentation in this product (thanks again Adobe).Good luck,TimOn 5/26/06, p b
 [EMAIL PROTECTED] wrote:



Alistair,I've tried this docs link numerous times today. The zip file will simply not download and it acts much like the general documentation links, I've discussed today.My zip download rate eventually fades to 300 bytes a second. Is there any way of placing this document bundle on a faster more broadly accessible server so thatwe can get at them, rather than on 
download.macromedia.com? (I tried pinging this DN, it timesout, that's how slow it is?)  
  I did find some of the documentation embedded within Flex Builder help as suggested
 by one poster. Other documentation on Adobe's SDK and FDS doesn't appear there. The subsequent Online Flex Resource header within Flex Builder has a number of Macromedia org.eclispe.ui.intro links that are unfortunatelybroken.
Thanks,  
PBp b [EMAIL PROTECTED]
 wrote:This is exactly what I was looking for but could not find. Thank you very much for this and for your p
atience!   Cheers,  PBAlistair McLeod 
[EMAIL PROTECTED] wrote:  
Hi,The whole doc package (language refs, api docs, all pdfs) can be downloaded from the ZIP file link in the first paragraph here:

http://labs.adobe.com/wiki/index.php/Flex_Framework#Documentation
You'll might have to log into labs first.
Cheers,
Ali  From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of p bSent:
 26 May 2006 15:02To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] flex2 Beta3 - slow to non existent document delivery
Alistair,  Yes I have also tried this. I can't get one document to save, not one. It's very odd. I'm at my wits end.Another gentlemen suggested that there is documentation w the download. While I have the download, I haven't looked there yet to see what's available. That's a good idea! Does anyone know, are the tutorials and the like there?
I really want to get up to speed on this but I'm currently hamstrung.Thanks to both of you,  PBAlistair McLeod
 [EMAIL PROTECTED] wrote:  
Hi PB,
Have you tried to save the pdf to your local file system, rather than downloading and reading it over the internet every time?  
  Regards,  
  Alistair  From:
 flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of p bSent: 26 May 2006 14:25To: flexcoders@yahoogroups.com
Subject: [flexcoders] flex2 Beta3 - slow to non existent document deliveryI'm trying to get up to speed and participate in the Flex2 Beta3 programme, but 'm having a difficult time doing so. Please forgive me if I'm bothering the group, but this is incredibly frustrating. I'm wondering if the folks at Adobe/Macromedia are up to speed on this document delivery
 issue?Whenever I try to access any of the Flex2 beta documentation I run into problems. Say for example I'd like to peruse the flex2_gettingstarted_pdf docs. I click on the appropriate link from within the release notes section at the labs site and it takes forever to load. When the document finally doescome back I get a few pages, that's it. When I try to scroll to a new page it takes literally 3 minutes to perform a page down if it occurs at all. Often the "document" just hangs.
 If I try to print the document, the process also hangs, w/o fail. I've tried printing perhaps 10 times over the last week at various times to no avail. The LiveDocs are no better. Thus the whole learning exercise becomes moot.
While I have a 3mb broadband connection, I'm in the East near Toronto, and I fear, I'm doomed since I'm not at all proximal to your pops on the West coast. I'm about ready to bail on the beta, it's just too time consuming to tough it out.
Any insight would be appreciated.   
  (As an
 aside I can access literally thousands of pages of documentation at the Oracle site in a flash, (pardon aside). Their document delivery system works. If you Adobe folks wanna get the word out about your flex software, this has certainly got to improve quickly, IMHO.
Thanks for your time.  
PBNew Yahoo! Messenger with Voice. 
Call regular phones from your PC and save big.   Be a chatter box. Enjoy 
free PC-to-PC calls with Yahoo! Messenger with Voice.   Ring'em or ping'em. Make 
PC-to-phone calls as low as 1¢/min with Yahoo! Messenger with Voice. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: 

[flexcoders] Re: How do I add additional header information with an HTTPRequest call?

2006-05-26 Thread Charles



Nevermind, I figured it out. I can build a request header object of 
type URLRequestHeader. Then I can use requestHeaders.push
(header_variable) to add the header to the request.

i.e.

var request:URLRequest = new URLRequest(http://somewhere.com);
var header_variable:URLRequestHeader = new URLRequestHeader(content-
type, text/xml);

request.requestHeaders.push(header_variable);


Done!



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

 I am working with a web-service api, and in order for me to properly
 make the api call, I need to add additional header information to the
 http get request. There are examples in PHP and Perl and they have
 functions that add additional strings to the header (curl_setopt()
 with CURLOPT_HTTPHEADER argument in PHP, and $objHeader-push_header
()
 in Perl). There are other examples, but you get the idea. 
 
 Does anyone know how to do this, either in actionscript or in mxml?












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] F2B3 - Change in parsing of WebService results?

2006-05-26 Thread ben.clinkinbeard



Hello, I am having some strange issues moving from B2 to B3 that I
can't seem to find dosumented anywhere. It seems that the objects
created from my WS results are being parsed differently. For instance,
here is some return xml.

Client
 EnterpriseId9/EnterpriseId
 ClientNameFilm Ltd./ClientName
 Plans
 Plan
 PlanNumber5/PlanNumber
 PlanNameRETIREMENT SAVINGS PLAN/PlanName
 /Plan
 /Plans
/Client

Depending on the data, there can sometimes be multiple Plan nodes. My
code in B2 to check and deal with this was:

if(obj_data.Plans.Plan.PlanNumber != null)
{
 str = obj_data.Plans.Plan.PlanNumber;
}
else
{
 var i:Number = 0;
 while(obj_data.Plans.Plan[i] != null)
 {
  str += (str.length  0) ? \n : ;
  str += obj_data.Plans.Plan[i].PlanNumber;
  i++;
 }
}

but in B3 that throws an error. Something about obj_data.Plans.Plan
being undefined. In B3 I have to change the code to:


if(obj_data.Plans.length == 1)
{
 str = obj_data.Plans[0].PlanNumber;
}
else
{
 var i:Number = 0;
 while(obj_data.Plans[i] != null)
 {
  str += (str.length  0) ? \n : ;
  str += obj_data.Plans[i].PlanNumber;
  i++;
 }
}


I am also having problems displaying WS results in other places in my
app. Did something change in B3 concerning how XML and/or WS responses
are parsed into objects?

Thanks,
Ben










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Access of undefined property in XMLDocument

2006-05-26 Thread Peter Farland





Have you tried doing this inside a function instead? 
Perhaps you could call this function on initialization, perhapson the 
Application creationComplete event?


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of CharlesSent: 
Friday, May 26, 2006 3:49 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Access of undefined 
property in XMLDocument

Hi everyone,
I am having a lot of trouble with this seemingly simple problem. I have 
declared a variable 'xml_result' of type XMLDocument. I would like to set 'ignoreWhite' to true, but I always get an 
error. Here is a snippet of my code...
 mx:Script 
![CDATA[ import 
flash.xml.XMLDocument;
 public var 
xml_result:XMLDocument = new XMLDocument();
 
xml_result.ignoreWhite = true; // ALWAYS ERROR ON THIS 
LINE ]] /mx:Script

That's it! But I constantly get an error with the message "Access of 
undefined property xml_result", and I can't figure it out!
Thanks in advance
Charles





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Max 2006

2006-05-26 Thread Darren Houle



Slightly off [Flex] topic, but since Adobe people monitor this list I 
thought I'd ask...

Does anyone have any new details on MAX '06? The Call for Topic deadline 
for MAX '05 was May 13th and we're already past that date for this year, 
so... is Adobe having a really hard time deciding what shape the MAX 
conference should take this year?

Darren








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Access of undefined property in XMLDocument

2006-05-26 Thread Gordon Smith










That's right. A statement like



 xml_result.ignoreWhite = true;



that isn't inside a method is actually
executed at class initialization time, not instance initialization time. Since
xml_result is an instance variable, it doesn't exist at class initialization
time.



- Gordon











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter
 Farland
Sent: Friday, May 26, 2006 1:38 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Access
of undefined property in XMLDocument





Have you tried doing this inside a
function instead? Perhaps you could call this function on initialization,
perhapson the Application creationComplete event?









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Charles
Sent: Friday, May 26, 2006 3:49 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Access of
undefined property in XMLDocument

Hi
everyone,

I am
having a lot of trouble with this seemingly simple problem. I have
declared a variable 'xml_result' of type XMLDocument.
I would like to set 'ignoreWhite'
to true, but I always get an error. Here is a snippet of my code...



mx:Script
 ![CDATA[
 import flash.xml.XMLDocument;

 public var xml_result:XMLDocument
= new XMLDocument();

 xml_result.ignoreWhite =
true; // ALWAYS ERROR ON THIS LINE
 ]]
 /mx:Script



That's
it! But I constantly get an error with the message Access of
undefined property xml_result, and I can't figure it out!

Thanks in
advance


Charles









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Max 2006

2006-05-26 Thread Joan Tan










MAX will be the week of Oct 24th
in Vegas. Other than that, I dont think they have announced dates for
submitting topics yet. Ive sent an inquiry about this and will pass on
any information that I hear.



Joan











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Darren Houle
Sent: Friday, May 26, 2006 2:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Max 2006





Slightly off [Flex]
topic, but since Adobe people monitor this list I 
thought I'd ask...

Does anyone have any new details on MAX '06? The Call for Topic deadline 
for MAX '05 was May 13th and we're already past that date for this year, 
so... is Adobe having a really hard time deciding what shape the MAX 
conference should take this year?

Darren










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: AJAX versus Flex

2006-05-26 Thread pk_wasp



MXML is more of an application framework XML language

e.g. you can't define low level graphics such as shapes, gradients etc 
via markup like you can with XAML.



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

 Also I think for the Flash Platform to be a true platform, it really 
 needs a platform XML dialect for UIs -
 
 
 
 Isn't that what MXML is?











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Bet3 Tree with Lines -- 3rd cut.

2006-05-26 Thread sufibaba



Hello All,

A new update to the MyTreeItemRenderer.as 
Changes: moved drawing logic out of updateDisplayList() and into the
set data() block. This stop the lines from being drawn again and
again which means that the tree is much more repsonsive.


-- MyTreeItemRenderer.as 

package {

 import mx.controls.treeClasses.*;
 import mx.collections.*
 import flash.display.Sprite;
 

 public class MyTreeItemRenderer extends TreeItemRenderer {

 private var isLast:Boolean;
 private var lineColor:uint = 0x66;
 private var lineWidth:Number = .5;
 
 
 private var lineArr:Array =new Array();
 // Define the constructor.
 public function MyTreeItemRenderer() {
 super();
 }
 
 // Override the set method for the data property
 // to set the font color and style of each node.
 override public function set data(value:Object):void {
  
 super.data = "">
 
 if (TreeListData(super.listData)){
  if(TreeListData(super.listData).hasChildren) {
  setStyle(color, 0xff);
  setStyle(fontWeight, 'bold');
  }
  else {
  setStyle(color, 0x00);
  setStyle(fontWeight, 'normal');
  } 

   
   // graphics.clear(), needed to clean up previously drawn
lines, otherwise it extra lines will be drawn
   graphics.clear(); 
   
   ///
   // Line drawing Logic
   
  var node:Object = TreeListData(super.listData).item;
 var depth:Number = TreeListData(super.listData).depth;
 var indent:Number = TreeListData(super.listData).indent ;
 
  lineArr =new Array();
  
  // FolderNode
  if(TreeListData(super.listData).hasChildren) {
  var tmp:XMLList = new
XMLList(TreeListData(super.listData).item);
  var myStr:int = tmp[0].children().length();
  super.label.text = 
TreeListData(super.listData).text + ( + myStr + );
  graphics.lineStyle(.7, lineColor,.3,false,NONE);
 
  trace(depth =  + TreeListData(super.listData).depth + , open
=  + TreeListData(super.listData).open + , rowIndex =  +
TreeListData(super.listData).rowIndex);
  
  //trace(icon =  + TreeListData(super.listData).icon );
   
  // makeLastChildArr calls grandparentnode in order to determine
whether the parent's
  // node is the last child.
  // if no grandparent node exist, then it will give an error.
  if ( depth  2){
   makeLastChildArr(node,depth,depth);
   if (depth 3){
makeLastChildArr(node,3,depth);
   }
   
   //trace(isLastChild =  + isLast +  i= + i);
   trace(lineArrLen =  + lineArr.length );
   
   lineArr = lineArr.reverse(); 
   for (var i:Number=0;i lineArr.length;i++){
trace(lineArr =  + lineArr[i] +  i= + i);

   }
  
   for(var i:Number=1;i=depth;i++){

var parentDropLine:Boolean = false;

TreeListData(super.listData);
  
if(i == depth ){
 drawChildFolderLines(indent);
}
else { // Preceding lines
 if (i != 1 ){ // don't draw first line
 // pull out from correct index of lineArray
  isLast = lineArr[i-2]; 
  // draw line if corresponding parent is not lastchild 
  if (!isLast){ 
   drawParentLines(i);
  }//if
 }//if
}//else
   }//for
  }//  2
  
  else if ( depth == 2){
   var offset:Number = 23;
   graphics.moveTo(offset,-8);
   graphics.lineTo(offset,2);
   
  }
  }
  // LeafNode
  else{
 
  makeLastChildArr(node,3,depth);
  //trace(isLastChild =  + isLast +  i= + i);
  trace(lineArrLen =  + lineArr.length );
  
  lineArr = lineArr.reverse(); 
  for (var i:Number=0;i lineArr.length;i++){
   trace(lineArr =  + lineArr[i] +  i= + i);
   
  }
 
  for(var i:Number=1;i=depth;i++){
   
   var parentDropLine:Boolean = false;
  
   if(i == depth ){

drawChildLeafLines(indent);
   }
   else { // Preceding lines
if (i != 1 ){ // don't draw first line
// pull out from correct index of lineArray
 isLast = lineArr[i-2]; 
  // draw line if corresponding parent is not lastchild 
 if (!isLast){
  drawParentLines(i);
 }//if
 
 
  
}//if
   }//else
  }//for
  
  }
  
 } // super.data
 
 }

  
 public function makeLastChildArr(node:Object,
requestedLevel:Number, startLevel:Number):Boolean {
   
   trace(isLastChild =  + node.toXMLString() + 
requestedLevel =  + requestedLevel +  startLevel =  + startLevel);
var isLastFlag:Boolean = false;

var parentNode:XML = node.parent();
var grandParNode:XML = parentNode.parent();

if (grandParNode){
 var children:XMLList = grandParNode.children();
 var noOfChildren:Number = children.length();
 
 //trace(parentNode =  + parentNode.toXMLString() + 
grandParNode =  + grandParNode.toXMLString() +  noOfChildren =  +
noOfChildren);
 //trace(foundNode =  + children[noOfChildren -1] + , Node = 
+ node.toXMLString() );
 if ( 

[flexcoders] Loggin API and MiniDebugTarget [F2B3]

2006-05-26 Thread Peter Blazejewicz



Hi everyone,

maybe someone has experience with mx.logging.* usage in F2,
I was trying to implement mx.logging with custom debug application 
that uses LocalConnection. I tried to use MiniDebugTarget which uses 
LocalConnection as medium, 
Maybe I don't understand logging correctly but I though that 
MiniDebugTarget should simply logs data into listening connection (so 
my custom debug target can trace incoming logs),

But what is not quite clear for me is:
- my custom Log application (standalone) need to be connected to 
local connection change with well known name (say _mdbtrace)
- I thought that MiniDebugTarget simply sends data to _mdbtrace 
specified in constructor but in constructor it actually tries to 
connect to local connection with the same name, so if my custom 
loggin application is already started and listening for data, 
MiniDebugTarget throws error from constructor because connection 
fails,
I've ended with custom subclass of LineFormattedTarget providing 
different implementation of MiniDebugTarget and that works quite well,
Now I can start my debug application at any time and my custom 
MiniDebugTarget class can send data into connection at any time,

Question: 
is that correct what Iv'e done (custom Debug application 
window and custom MiniDebugTarget implementation) or maybe I took 
wrong way with that?

LiveDocs have example of custom logging implementation:
http://livedocs.macromedia.com/labs/1/flex20beta3/1881.html

thanks for input,
kind regards,
Peter Blazejewicz

as side-note: I want to thank to Adobe team for releasing source 
files - I was be able to find what's wrong after looking into sources,











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Max 2006

2006-05-26 Thread Ben Forta





It'll 
be another week or so before much is posted publicly. It's taken a little longer 
to work things out this year with so many products and audiences, but we're 
getting there. Stay tuned.

--- 
Ben


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Joan TanSent: 
Friday, May 26, 2006 5:48 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Max 
2006


MAX will be the week of 
Oct 24th in Vegas. Other than that, I dont think they have 
announced dates for submitting topics yet. Ive sent an inquiry about this and 
will pass on any information that I hear.

Joan





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Darren HouleSent: Friday, May 26, 2006 2:00 
PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Max 
2006

Slightly off [Flex] topic, but since Adobe 
people monitor this list I thought I'd ask...Does anyone have any 
new details on MAX '06? The Call for Topic deadline for MAX '05 was 
May 13th and we're already past that date for this year, so... is Adobe 
having a really hard time deciding what shape the MAX conference should take 
this 
year?Darren





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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Bet3 Tree with Lines -- 3rd cut.

2006-05-26 Thread Gordon Smith



Drawing code doesn't belong in property setters; it belongs in
updateDisplayList(). For example, if something causes the row height to
change, the data setter won't get called and the lines won't redraw.

Are you saying that updateDisplayList() is getting called more
frequently than it should be?

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sufibaba
Sent: Friday, May 26, 2006 2:58 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Bet3 Tree with Lines -- 3rd cut.

Hello All,

A new update to the MyTreeItemRenderer.as 
Changes: moved drawing logic out of updateDisplayList() and into the
set data() block. This stop the lines from being drawn again and
again which means that the tree is much more repsonsive.


-- MyTreeItemRenderer.as 

package {

 import mx.controls.treeClasses.*;
 import mx.collections.*
 import flash.display.Sprite;
 

 public class MyTreeItemRenderer extends TreeItemRenderer {

 private var isLast:Boolean;
 private var lineColor:uint = 0x66;
 private var lineWidth:Number = .5;
 
 
 private var lineArr:Array =new Array();
 // Define the constructor.
 public function MyTreeItemRenderer() {
 super();
 }
 
 // Override the set method for the data property
 // to set the font color and style of each node.
 override public function set data(value:Object):void {
  
 super.data = "">
 
 if (TreeListData(super.listData)){
  if(TreeListData(super.listData).hasChildren) {
  setStyle(color, 0xff);
  setStyle(fontWeight, 'bold');
  }
  else {
  setStyle(color, 0x00);
  setStyle(fontWeight, 'normal');
  } 

   
   // graphics.clear(), needed to clean up
previously drawn
lines, otherwise it extra lines will be drawn
   graphics.clear(); 
   
   ///
   // Line drawing Logic
   
  var node:Object =
TreeListData(super.listData).item;
 var depth:Number =
TreeListData(super.listData).depth;
 var indent:Number =
TreeListData(super.listData).indent ;
 
  lineArr =new Array();
  
  // FolderNode
  if(TreeListData(super.listData).hasChildren) {
  var tmp:XMLList = new
XMLList(TreeListData(super.listData).item);
  var myStr:int = tmp[0].children().length();
  super.label.text = 
TreeListData(super.listData).text + ( + myStr + );
  graphics.lineStyle(.7,
lineColor,.3,false,NONE);
 
  trace(depth =  +
TreeListData(super.listData).depth + , open
=  + TreeListData(super.listData).open + , rowIndex =  +
TreeListData(super.listData).rowIndex);
  
  //trace(icon =  +
TreeListData(super.listData).icon );
   
  // makeLastChildArr
calls grandparentnode in order to determine
whether the parent's
  // node is the last
child.
  // if no grandparent
node exist, then it will give an error.
  if ( depth  2){
 
makeLastChildArr(node,depth,depth);
   if (depth 3){
 
makeLastChildArr(node,3,depth);
   }
   
 
//trace(isLastChild =  + isLast +  i= + i);
 
trace(lineArrLen =  + lineArr.length );
   
   lineArr =
lineArr.reverse(); 
   for (var
i:Number=0;i lineArr.length;i++){
 
trace(lineArr =  + lineArr[i] +  i= + i);

   }
  
   for(var
i:Number=1;i=depth;i++){

var
parentDropLine:Boolean = false;

 
TreeListData(super.listData);
  
if(i ==
depth ){
 
drawChildFolderLines(indent);
}
else {
// Preceding lines
 
if (i != 1 ){ // don't draw first line
 
// pull out from correct index of lineArray
 
isLast = lineArr[i-2]; 
 
// draw line if corresponding parent is not lastchild 
 
if (!isLast){ 
 
drawParentLines(i);
 
}//if
 
}//if
}//else
   }//for
  }//  2
  
  else if ( depth == 2){
   var
offset:Number = 23;
 
graphics.moveTo(offset,-8);
 
graphics.lineTo(offset,2);
   
  }
  }
  // LeafNode
  else{
 
 
makeLastChildArr(node,3,depth);
  //trace(isLastChild = 
+ isLast +  i= + i);
  trace(lineArrLen =  +
lineArr.length );
  
  lineArr =
lineArr.reverse(); 
  for (var i:Number=0;i
lineArr.length;i++){
   trace(lineArr =
 + lineArr[i] +  i= + i);
   
  }
 
  for(var
i:Number=1;i=depth;i++){
   
   var
parentDropLine:Boolean = false;
  
   if(i == depth ){

 
drawChildLeafLines(indent);
   }
   else { //
Preceding lines
if (i !=
1 ){ // don't draw first line
// pull
out from correct index of lineArray
 
isLast = lineArr[i-2]; 
 
// draw line if corresponding parent is not lastchild 
 
if (!isLast){
 
drawParentLines(i);
 
}//if
 
 
 

}//if
   }//else
  }//for
  
  }
  
 } // super.data
 
 }

  
 public function makeLastChildArr(node:Object,
requestedLevel:Number, startLevel:Number):Boolean {
   
   trace(isLastChild =  + node.toXMLString() + 
requestedLevel =  + requestedLevel +  startLevel =  + startLevel);
var isLastFlag:Boolean = false;

var parentNode:XML = node.parent();
var grandParNode:XML =

Re: [flexcoders] Recommended technologies/frameworks for powering Flex 2.0 RIAs?

2006-05-26 Thread Carlos Rovira



You could adapt the following script for ARP by Christophe Herreman to provide localization in Cairngorm. I use it in an huge app and works quite well.I prefer that bind to a SO than use the resourcebundle in flex 2.
http://www.herrodius.com/blog/?p=292006/5/26, klumikaze [EMAIL PROTECTED]
:


Just wondering what everybody out there is using for
production/development with their Flex 2.0 RIAs?

For an upcoming project, my team has decided to go the J2EE route, but
we are unsure about which technologies and frameworks to make use of.

We've come up with some basic decisions:

- Our presentation layer will be 100% Flex 2.0
- We want to adopt an MVC model for the presentation layer, will
likely use Cairngorm
- Tomcat for our Java application server
- Hibernate for our persistance framework
- MySQL for our RDMS
- Web Services will provide all data to the presentation layer


Some questions we have:

- Ant or Maven? I've heard Maven is starting to become more adopted
and capable than Ant... thoughts?

- What Web Services platform would work best with our configuration? 

- Should localization be done using the ResourceBundle functionality
in Flex 2.0? If so, should Ant/Maven be used to automate the creation
of localized versions of the RIA?

Open ended questions, obviously there is no best solution for every
project. Still, we would like to hear some general opinions on
technologies/frameworks for Flex 2.0 based RIAs.

Thanks for any input you can provide,

Brian
 











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.



  









-- ::| Carlos Rovira::| http://www.carlosrovira.com






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] databinding back to source?

2006-05-26 Thread Rick Schmitty



Is there a way to bind back to where the original databind came from?
Not sure if thats the correct terminology for what I'm trying to
say...so here is my simple example.

In the example below it kinda happens, but only if you expand/close
a node after. The list editor should also update the tree, and vice
versa. I'm sure I'm missing a simple step here...

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.adobe.com/2006/mxml layout=horizontal

mx:Script
 ![CDATA[
 
 [Bindable] public var fileSystemStructure:Object =
  {label:mx, children: [
  {label:Containers, children: [
  {label:Accordian, children:[]},
  {label:DividedBox, children: [
  {label:BoxDivider.as, data:BoxDivider.as},
  {label:BoxUniter.as, data:BoxUniter.as}]},
  {label: Grid, children:[]}]},
  {label: Controls, children: [
  {label: Alert, data: Alert.as},
  {label: Styles, children: [
  {label: AlertForm.as, data:AlertForm.as}]},
  {label: Tree, data: Tree.as},
  {label: Button, data: Button.as}]},
  {label: Core, children:[]}
  ]};
 

 ]]
/mx:Script

mx:Panel
 mx:Tree id=tree width=300 height=200
dataProvider={fileSystemStructure}/
 mx:Form
  mx:FormItem label=label
   mx:TextInput id=lbl text={tree.selectedItem.label}/
   mx:Button label=update click={tree.selectedItem.label=lbl.text}/
  /mx:FormItem
 /mx:Form
 mx:Text text=tree: {tree.selectedItem.label} form: {lbl.text}
width=300/
/mx:Panel

mx:Panel
 mx:List id=list dataProvider={fileSystemStructure.children}
width=300 height=200/
 mx:Form
  mx:FormItem label=label
   mx:TextInput id=lbl2 text={list.selectedItem.label}/
   mx:Button label=update click={list.selectedItem.label=lbl2.text}/
  /mx:FormItem
 /mx:Form
 mx:Text text=list: {list.selectedItem.label} form: {lbl2.text}
width=300/
/mx:Panel 

/mx:Application






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: Question on CF components created by the Flex Wizard

2006-05-26 Thread Bill Sahlas










Which wizard option did you
use to create this? The Active Record, the Bean and DAO, or the Flex Data
Service Assembler?









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of g8torjoe
Sent: Friday, May 26, 2006 1:47 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Question
on CF components created by the Flex Wizard





Bill, thank you very much
for your time and response. I apologize
that I am still a little confused. I am using beta 3 and the code
below was generated by the wizard automatically (at the end of the
create function):

 
 !--- If your server has a better way to get
the ID that is more
reliable, use that instead ---
 
 cfquery name=qGetID
datasource=myDB_sql
 
  select ID
 
  from
dbo.partsShipAddr
 
  where Name =
cfqueryparam value=#local1#
cfsqltype=CF_SQL_VARCHAR /
 
   and Addr1
= cfqueryparam value=#local2#
cfsqltype=CF_SQL_VARCHAR /
 
   and Addr2
= cfqueryparam value=#local3#
cfsqltype=CF_SQL_VARCHAR /
 
   and City =
cfqueryparam value=#local4#
cfsqltype=CF_SQL_VARCHAR /
 
   and State
= cfqueryparam value=#local5#
cfsqltype=CF_SQL_VARCHAR /
 
   and Zip =
cfqueryparam value=#local6#
cfsqltype=CF_SQL_VARCHAR /
 
   and Phone
= cfqueryparam value=#local7#
cfsqltype=CF_SQL_VARCHAR /
 
   and Email
= cfqueryparam value=#local8#
cfsqltype=CF_SQL_VARCHAR /
 
   and
Comments = cfqueryparam value=#local9#
cfsqltype=CF_SQL_VARCHAR /
 
   and
PurchaseLoc = cfqueryparam value=#local10#
cfsqltype=CF_SQL_VARCHAR /
 
  order by ID desc
 
 /cfquery
 
/cftransaction

  cfset
variables.ID = qGetID.ID

This seems to be what you were referring to with creating a SELECT
statement with the exact conditions of my update. I guess my
confusion is that I don't see where variables.ID is getting passed
back to the automatically created gateway component and then back to
Flex. Does that make any sense?

Thanks again!!!



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

 We thought about exposing the returned ID (ID that gets created for
 AUTOINCREMENT keys) in the CFQUERY RESULT, a new attribute available as
 part of CFMX 7.x. But, the process to get this is not always
supported
 by the backend DBs so we backed off this feature for now. You'll
need
 to code this yourself in the release that you currently have by using a
 SELECT statement with a WHERE clause whose criteria is identical to the
 values that you used in the INSERT statement. For the final release
 this code is already gen'd by the wizard.
 
 
 
 
 
 From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On
 Behalf Of g8torjoe
 Sent: Thursday, May 25, 2006 3:17 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Question on CF components created by the Flex
 Wizard
 
 
 
 I am having a little trouble following the flow of the CF components
 created by the wizard in Flex. I am using the save function of the
 gateway component and writing to the database successfully. When I
 create a new record I am wondering if the ID (or key - mine is ID)
 should be returned. I see in the component that is searches for the ID
 after I add it but when I debug my Flex app in the result event
 handler I am not finding that data. Am I making an assumption here?
 Thanks!
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com

 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+

site+design+developmentw2=Computer+software+developmentw3=Software+des

ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 
 Computer software development
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We

b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 
 Software design and development
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=

Web+site+design+developmentw2=Computer+software+developmentw3=Software

+design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+

developmentw2=Computer+software+developmentw3=Software+design+and+deve

lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw 
 
 Software development best practice
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice

w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw

are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
 
 
 

[flexcoders] Re: databinding back to source?

2006-05-26 Thread Michael Montagna



I'm not exactly sure what the question is, but it seems you're asking
if changes to data pulled from the Tree will be seen in the
original data structure? 

If that's what you mean, then you don't need binding, the Tree control
already uses (and returns) your data by reference. If you get a data
point from the Tree control (like selectedItem), then changes to that
reference will be reflected in your original data structure. 

This doesn't mean that the changes will be seen by the Tree however.
Some data types, like Object, require a change notification structure
like binding or Collections. 

Is that what you're looking for? 

-Michael


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

 Is there a way to bind back to where the original databind came from?
 Not sure if thats the correct terminology for what I'm trying to
 say...so here is my simple example.
 
 In the example below it kinda happens, but only if you expand/close
 a node after. The list editor should also update the tree, and vice
 versa. I'm sure I'm missing a simple step here...
 
 ?xml version=1.0 encoding=utf-8?
 
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
layout=horizontal
 
 mx:Script
  ![CDATA[
  
  [Bindable] public var fileSystemStructure:Object =
  {label:mx, children: [
   {label:Containers, children: [
   {label:Accordian, children:[]},
   {label:DividedBox, children: [
   {label:BoxDivider.as, data:BoxDivider.as},
   {label:BoxUniter.as, data:BoxUniter.as}]},
   {label: Grid, children:[]}]},
   {label: Controls, children: [
   {label: Alert, data: Alert.as},
   {label: Styles, children: [
   {label: AlertForm.as, data:AlertForm.as}]},
   {label: Tree, data: Tree.as},
   {label: Button, data: Button.as}]},
   {label: Core, children:[]}
   ]};
  
 
  ]]
 /mx:Script
 
 mx:Panel
  mx:Tree id=tree width=300 height=200
 dataProvider={fileSystemStructure}/
  mx:Form
   mx:FormItem label=label
mx:TextInput id=lbl text={tree.selectedItem.label}/
mx:Button label=update
click={tree.selectedItem.label=lbl.text}/
   /mx:FormItem
  /mx:Form
  mx:Text text=tree: {tree.selectedItem.label} form: {lbl.text}
 width=300/
 /mx:Panel
 
 mx:Panel
  mx:List id=list dataProvider={fileSystemStructure.children}
 width=300 height=200/
  mx:Form
   mx:FormItem label=label
mx:TextInput id=lbl2 text={list.selectedItem.label}/
mx:Button label=update
click={list.selectedItem.label=lbl2.text}/
   /mx:FormItem
  /mx:Form
  mx:Text text=list: {list.selectedItem.label} form: {lbl2.text}
 width=300/
 /mx:Panel 
 
 /mx:Application











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: databinding back to source?

2006-05-26 Thread Rick Schmitty



Thank you for the reply!

Sorry, I wasnt sure of the exact question because I wasnt sure what I
was looking for. So yes the data does update, but the visual
component itself does not.

For example, if you expand the tree, and edit controls, when you
click on controls in the list view, the textinput and selectedItem
reference contain my changes, but the listview itself doesn't. Also
when editing the selected item, the debug text fields update as you
type.

I'm unsure of what you meant by a change notification structure like
binding. The datasources for both components are a plain object, and
I thought I was binding via the curly brackets on the click event? Do
I need to create a function that after updating the data, it refreshes
the tree/list manually?

function update(){
tree.selectedItem.label=lbl.text;
tree.whtaever the cmd to refresh is;
}





On 5/26/06, Michael Montagna [EMAIL PROTECTED] wrote:
 I'm not exactly sure what the question is, but it seems you're asking
 if changes to data pulled from the Tree will be seen in the
 original data structure?

 If that's what you mean, then you don't need binding, the Tree control
 already uses (and returns) your data by reference. If you get a data
 point from the Tree control (like selectedItem), then changes to that
 reference will be reflected in your original data structure.

 This doesn't mean that the changes will be seen by the Tree however.
 Some data types, like Object, require a change notification structure
 like binding or Collections.

 Is that what you're looking for?

 -Michael


 --- In flexcoders@yahoogroups.com, Rick Schmitty [EMAIL PROTECTED] wrote:
 
  Is there a way to bind back to where the original databind came from?
  Not sure if thats the correct terminology for what I'm trying to
  say...so here is my simple example.
 
  In the example below it kinda happens, but only if you expand/close
  a node after. The list editor should also update the tree, and vice
  versa. I'm sure I'm missing a simple step here...
 
  ?xml version=1.0 encoding=utf-8?
 
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=horizontal
 
  mx:Script
  ![CDATA[
 
  [Bindable] public var fileSystemStructure:Object =
  {label:mx, children: [
  {label:Containers, children: [
  {label:Accordian, children:[]},
  {label:DividedBox, children: [
  {label:BoxDivider.as, data:BoxDivider.as},
  {label:BoxUniter.as, data:BoxUniter.as}]},
  {label: Grid, children:[]}]},
  {label: Controls, children: [
  {label: Alert, data: Alert.as},
  {label: Styles, children: [
  {label: AlertForm.as, data:AlertForm.as}]},
  {label: Tree, data: Tree.as},
  {label: Button, data: Button.as}]},
  {label: Core, children:[]}
  ]};
 
 
  ]]
  /mx:Script
 
  mx:Panel
  mx:Tree id=tree width=300 height=200
  dataProvider={fileSystemStructure}/
  mx:Form
  mx:FormItem label=label
  mx:TextInput id=lbl text={tree.selectedItem.label}/
  mx:Button label=update
 click={tree.selectedItem.label=lbl.text}/
  /mx:FormItem
  /mx:Form
  mx:Text text=tree: {tree.selectedItem.label} form: {lbl.text}
  width=300/
  /mx:Panel
 
  mx:Panel
  mx:List id=list dataProvider={fileSystemStructure.children}
  width=300 height=200/
  mx:Form
  mx:FormItem label=label
  mx:TextInput id=lbl2 text={list.selectedItem.label}/
  mx:Button label=update
 click={list.selectedItem.label=lbl2.text}/
  /mx:FormItem
  /mx:Form
  mx:Text text=list: {list.selectedItem.label} form: {lbl2.text}
  width=300/
  /mx:Panel
 
  /mx:Application
 







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













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Loading one cairngorm into another cairngorm

2006-05-26 Thread sufibaba



Hello everyone,

I have one cairngorm application that I would like to Dynamically Load
into another cairngorm application.

What would be the strategy and code to do this.

Thanks.

Tim










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: Bet3 Tree with Lines -- 3rd cut.

2006-05-26 Thread sufibaba



Gordon,

I agree with you completely that the drawing code should be in the
updateDisplayList() and this is exactly what I had done in the
previous iterations. While testing the tree today, I noticed from the
debugger that the drawing code was being repeatedly fired and the tree
slowed down to a crawl. So after a few tests, I decided to put the
drawing code in the property and it seeemed to have solved the
problem. The tree became much more responsive and the lines were
still being redrawn correctly. You can try it. Perhaps I stumbled
into a bug. 

Thanks,

Tim


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

 Drawing code doesn't belong in property setters; it belongs in
 updateDisplayList(). For example, if something causes the row height to
 change, the data setter won't get called and the lines won't redraw.
 
 Are you saying that updateDisplayList() is getting called more
 frequently than it should be?
 
 - Gordon
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sufibaba
 Sent: Friday, May 26, 2006 2:58 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Bet3 Tree with Lines -- 3rd cut.
 
 Hello All,
 
 A new update to the MyTreeItemRenderer.as 
 Changes: moved drawing logic out of updateDisplayList() and into the
 set data() block. This stop the lines from being drawn again and
 again which means that the tree is much more repsonsive.
 
 
 -- MyTreeItemRenderer.as 
 
 package {
 
 import mx.controls.treeClasses.*;
 import mx.collections.*
 import flash.display.Sprite;
 
 
 public class MyTreeItemRenderer extends TreeItemRenderer {
 
  private var isLast:Boolean;
  private var lineColor:uint = 0x66;
  private var lineWidth:Number = .5;
  
  
  private var lineArr:Array =new Array();
 // Define the constructor.
 public function MyTreeItemRenderer() {
 super();
 }
 
 // Override the set method for the data property
 // to set the font color and style of each node.
 override public function set data(value:Object):void {
  
 super.data = "">
 
 if (TreeListData(super.listData)){
   if(TreeListData(super.listData).hasChildren) {
   setStyle(color, 0xff);
   setStyle(fontWeight, 'bold');
   }
   else {
   setStyle(color, 0x00);
   setStyle(fontWeight, 'normal');
   } 
 
   
// graphics.clear(), needed to clean up
 previously drawn
 lines, otherwise it extra lines will be drawn
graphics.clear(); 

///
// Line drawing Logic

   var node:Object =
 TreeListData(super.listData).item;
  var depth:Number =
 TreeListData(super.listData).depth;
  var indent:Number =
 TreeListData(super.listData).indent ;
  
   lineArr =new Array();
   
   // FolderNode
   if(TreeListData(super.listData).hasChildren) {
   var tmp:XMLList = new
 XMLList(TreeListData(super.listData).item);
   var myStr:int = tmp[0].children().length();
   super.label.text = 
 TreeListData(super.listData).text + ( + myStr + );
   graphics.lineStyle(.7,
 lineColor,.3,false,NONE);
  
   trace(depth =  +
 TreeListData(super.listData).depth + , open
 =  + TreeListData(super.listData).open + , rowIndex =  +
 TreeListData(super.listData).rowIndex);
   
   //trace(icon =  +
 TreeListData(super.listData).icon );

   // makeLastChildArr
 calls grandparentnode in order to determine
 whether the parent's
   // node is the last
 child.
   // if no grandparent
 node exist, then it will give an error.
   if ( depth  2){
  
 makeLastChildArr(node,depth,depth);
if (depth 3){
  
 makeLastChildArr(node,3,depth);
}

  
 //trace(isLastChild =  + isLast +  i= + i);
  
 trace(lineArrLen =  + lineArr.length );

lineArr =
 lineArr.reverse(); 
for (var
 i:Number=0;i lineArr.length;i++){
  
 trace(lineArr =  + lineArr[i] +  i= + i);
 
}
   
for(var
 i:Number=1;i=depth;i++){
 
 var
 parentDropLine:Boolean = false;
 
  
 TreeListData(super.listData);
   
 if(i ==
 depth ){
  
 drawChildFolderLines(indent);
 }
 else {
 // Preceding lines
  
 if (i != 1 ){ // don't draw first line
  
 // pull out from correct index of lineArray
  
 isLast = lineArr[i-2]; 
  
 // draw line if corresponding parent is not lastchild 
  
 if (!isLast){ 
  
 drawParentLines(i);
  
 }//if
  
 }//if
 }//else
}//for
   }//  2
   
   else if ( depth == 2){
var
 offset:Number = 23;
  
 graphics.moveTo(offset,-8);
  
 graphics.lineTo(offset,2);

   }
   }
   // LeafNode
   else{
  
  
 makeLastChildArr(node,3,depth);
   //trace(isLastChild = 
 + isLast +  i= + i);
   trace(lineArrLen =  +
 lineArr.length );
   
   lineArr =
 lineArr.reverse(); 
   for (var i:Number=0;i
 lineArr.length;i++){
trace(lineArr =
  + lineArr[i] +  i= + i);

   }
  
   for(var
 

Re: [flexcoders] Re: AJAX versus Flex

2006-05-26 Thread Michael Schmalle



I am sure that is on the list.

MikeOn 5/26/06, pk_wasp [EMAIL PROTECTED] wrote:



MXML is more of an application framework XML language

e.g. you can't define low level graphics such as shapes, gradients etc 
via markup like you can with XAML.



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

 Also I think for the Flash Platform to be a true platform, it really 
 needs a platform XML dialect for UIs -
 
 
 
 Isn't that what MXML is?











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.




  










-- What goes up, does come down.






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Issue with Sorting DataGrid with itemRenderer

2006-05-26 Thread Nikmd23



I'm having an issue when I sort a DataGrid which has a column that is 
a custom itemRenderer. My renderer colors the text it outputs as red 
if a certain value is passed in. That works great, however, when I 
sort the datagrid, the red element changes it's position, and leaves 
the red color behind.

I have also produced the same problem with a boolean value that shows 
an image if true. The blank rows (false records) get filled with the 
image when sorted.

Is there some sort of clearing/sorting method I'm supposted to 
override along with the data setter?









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Issue with Sorting DataGrid with itemRenderer

2006-05-26 Thread Joan Tan










The rows in a DataGrid are recycled, so if
you set a color to red, you must reset it to black (or whatever default you
want). In your set data function, if you are doing something like:



if (data.myval  50)

{ 

 setStyle(color,
0xFF);

}



Then, you should add



else

{

 setStyle(color,
0x00);

}



I hope this helps.

Joan











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nikmd23
Sent: Friday, May 26, 2006 5:33 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Issue with
Sorting DataGrid with itemRenderer





I'm having an issue when
I sort a DataGrid which has a column that is 
a custom itemRenderer. My renderer colors the text it outputs as red 
if a certain value is passed in. That works great, however, when I 
sort the datagrid, the red element changes it's position, and leaves 
the red color behind.

I have also produced the same problem with a boolean value that shows 
an image if true. The blank rows (false records) get filled with the 
image when sorted.

Is there some sort of clearing/sorting method I'm supposted to 
override along with the data setter?











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: AJAX versus Flex

2006-05-26 Thread Kevin Newman



Can you do that with SVG (I'm assuming you can with SWF)? If so, would 
that fill the gap to make MXML+SVG into a platform XML dialect for UIs?

Kevin N.


pk_wasp wrote:
 MXML is more of an application framework XML language

 e.g. you can't define low level graphics such as shapes, gradients etc 
 via markup like you can with XAML.



 --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote:
 
 Also I think for the Flash Platform to be a true platform, it really 
 needs a platform XML dialect for UIs -
 
 

 Isn't that what MXML is?

 


 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: Can't get inline headerRenderer to work for DataGridColumn in Flex 2 Beta 3

2006-05-26 Thread Steven Toth



Has anyone gotten this to work??? I took most of the code right out 
of the sample for doing inline renders.

Thanks.

-Steven

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

 I'm trying to load an image into a DataGridColumn header. 
 
 I've tried this...
 
 mx:DataGridColumn dataField=status width=5
  mx:headerRenderer
   mx:Component
mx:Image source=/assets/CheckBox.png/
   /mx:Component 
  /mx:headerRenderer
 /mx:DataGridColumn 
 
 As well as this...
 
 mx:DataGridColumn dataField=status width=5
  mx:headerRenderer
   mx:Component
mx:Image source=@Embed
 (source='/assets/CheckBox.png')/
   /mx:Component 
  /mx:headerRenderer
 /mx:DataGridColumn 
 
 I've also tried setting the autoLoad to True, specifying a height 
 and a width for the image, and not specifying a width for the 
column.
 
 The image loads fine from the specified path when I use it as the 
 icon for a button. 
 
 Any thoughts? 
 
 Thanks.
 
 -Steven











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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: Access of undefined property in XMLDocument

2006-05-26 Thread Charles



Yes! Putting it in a function worked...stupid me. Thanks everyone!



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

 That's right. A statement like
 
 
 
 xml_result.ignoreWhite = true;
 
 
 
 that isn't inside a method is actually executed at class 
initialization
 time, not instance initialization time. Since xml_result is an 
instance
 variable, it doesn't exist at class initialization time.
 
 
 
 - Gordon
 
 
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Peter Farland
 Sent: Friday, May 26, 2006 1:38 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Access of undefined property in 
XMLDocument
 
 
 
 Have you tried doing this inside a function instead? Perhaps you 
could
 call this function on initialization, perhaps on the Application
 creationComplete event?
 
 
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Charles
 Sent: Friday, May 26, 2006 3:49 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Access of undefined property in XMLDocument
 
 Hi everyone,
 
 I am having a lot of trouble with this seemingly simple problem. 
I have
 declared a variable 'xml_result' of type XMLDocument. I would 
like to
 set 'ignoreWhite' to true, but I always get an error. Here is a 
snippet
 of my code...
 
 ---
-
 
 mx:Script
 ![CDATA[
 import flash.xml.XMLDocument;
 
 public var xml_result:XMLDocument = new XMLDocument();
 
 xml_result.ignoreWhite = true; // ALWAYS ERROR ON THIS LINE
 ]]
 /mx:Script
 
 ---
-
 
 
 That's it! But I constantly get an error with the message Access 
of
 undefined property xml_result, and I can't figure it out!
 
 Thanks in advance
 
 
 Charles
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?
t=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+
des
 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+p
rac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 
 Computer software development
 http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Softwar
e+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best
+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 
 Software design and development
 http://groups.yahoo.com/gads?
t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Softw
are
 
+design+and+developmentw4=Macromedia+flexw5=Software+development+be
st+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex
 http://groups.yahoo.com/gads?
t=msk=Macromedia+flexw1=Web+site+design+
 
developmentw2=Computer+software+developmentw3=Software+design+and+d
eve
 
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5
s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw 
 
 Software development best practice
 http://groups.yahoo.com/gads?
t=msk=Software+development+best+practice
 
w1=Web+site+design+developmentw2=Computer+software+developmentw3=So
ftw
 
are+design+and+developmentw4=Macromedia+flexw5=Software+development
+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
   
 *  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! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 
 
 












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] datagrid

2006-05-26 Thread Misael



Hi, I want to change a datagrid row background color based on a
column in its dataprovider, but all I´ve got searching flexcoders
archive are outdated Flex 1.5 solutions or not-very-well-explained
cellRenderer tips. How can I achieve this using Flex 2 beta 3? Please,
on your example, set the property using a dataprovider column, not a
0xFF value. Thanks in advance.






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] When is Flex better suited than AJAX (was AJAX versus Flex)

2006-05-26 Thread Jim Phelan










Im actually giving a presentation
on this topic in a couple of weeks at the SOA WebServices Edge Conference in New York. My talk is
titled When AJAX Isnt Enough: Cases for Rich Clients with the
Flash Platform



My contention in this talk is that there
are some cases when you simply cant get the kind of application out of AJAX, either in terms of
functionality in cost., and I think this is a good way to pitch
Flex development to CTOs and the like who otherwise might think that if
they cant do it with AJAX they cant do it. In some ways Flex is getting
a lot of attention because of AJAX.
How many people were truly pursuing rich UI for the web before the term AJAX was coined?



Does anyone have any applications theyve
seen or developed that just couldnt be done in AJAX or would be prohibitively expensive or
of poor performance? Id love to hear more opinions / examples on the
subject so I can assimilate them into my presentation J



Jack, in your original post, you say Let
me first say I believe 100% that the Flex platform is a better mousetrap.
What is it about it that makes it better? Development style? Time to market?
Delivery target? Functionality? Performance?







Jim











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pk_wasp
Sent: Friday, May 26, 2006 5:28 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: AJAX versus Flex





I don't think its
particularly hard to convince internal management 
to consider Flex as a viable RIA/Enterprise solution.

The main problem/resistance we are finding is from our 
clients/customers opposing I.T architects who either get upset if we 
suggest Flex as a solution, or say they never heard of Flex and want 
an Ajax
solution instead.

I think its partly Flash's animation legacy + ignorance/lack of 
awareness of Flex and the Flash Platform.

So I wonder if maybe the Flash Platform needs a reboot/rebranding 
e.g. a new runtime without legacy code (but obviously Flash Player 9 
will still be around for legacy stuff) and a new name :). I mean 
Microsoft are essentially doing this through WPF/E.

Also I think for the Flash Platform to be a true platform, it really 
needs a platform XML dialect for UIs - which is what XAML is for WPF 
and WPF/E. Would be great to able to export content created in Flash 
Authoring in some form of XML UI dialect and use it in the Flex 
Framework, Apollo, Flashlite etc.

Just my 2c, have really enjoyed learning Flex 2, guys (Java and .NET 
developers) at work were impressed, but definitely agree that Ajax is 
getting alot of hype and it seems to be working e.g. our customers 
are talking about Ajax but not about Flex or Flash.

I hope when Flex 2 goes live, there's a big marketing campaign + lots 
of real world stories of Flex being used in RIAs, Web 2.0 Apps and 
Internal Enterprise Applications so that our customers can see its a 
viable option.

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

 To all:
 
 Got this email today, http://ajax.sys-con.com/
and it got me to
 thinking.
 
 I may get blasted for this, but here goes . . . just my .0199 cents.
 
 Let me first say I believe 100% that the Flex platform is a 
 better mousetrap. I am currently developing applications
with 
 Flex. I prefer Flex.
 
 However, you can not open a software magazine, newsletter, journal, 
 article, etc. that doesn't reference something about AJAX. It's 
 everywhere. Adobe's Flex gets an honorable mention.
 
 I have been in the software business for over 27 years. I have 
seen 
 many companies come and go that had a better mousetrap.
I also 
 realize that most end users do not care if a desktop app is 
 developed with Visual C++ or Visual Basic. So why would they care 
 what a RIA app is developed with. Probably not.
 
 In the end it is the application not the engine.
 
 There seems to be a parallel between PCs with Windows and 
 Apple/Macs. Many believe that the Mac is better, but Apple/Mac has 
 less the 5% of the market.
 
 Can Adobe accept 5% market share?
 
 You also can not under estimate the impact when Microsoft releases 
 Atlas. And no Robert I don't want to hear about how you hate MS or 
 the evil empire. Fact is, tens of thousands of developers will and 
 I say will use their product.
 
 What this also does is make it more difficult for developers to 
 convince management that the Flex product is better. Especially 
 when all they hear is AJAX this and AJAX that.
 
 AJAX is
getting all the hype. Right or wrong these are the facts. 
 They have essentially taken over the RIA landscape and claimed it 
as 
 their own.
 
 My point . . . . Adobe you need to step up to the plate. If you 
 think you can wait, then by the time you start you will be too far 
 behind. You will be left behind always playing catch-up. If 
 you want to reach that 1 million developer goal, it needs to start 
 now.
 
 To be better and say you are better is not enough. If the industry 
 has already declared 

RE: [flexcoders] datagrid

2006-05-26 Thread Joan Tan










See if this itemRenderer helps. This
itemRenderer will turn the background of a row to red if the value of the column
 myColumnName in that row is over 50.



package {



    import
mx.controls.Label;

    import
mx.controls.dataGridClasses.*;

    import
mx.controls.DataGrid;

    import
flash.display.Graphics;

    import
mx.styles.StyleManager;



   
[Style(name=backgroundColor, type=uint,
format=Color, inherit=no)]

    

  public class
BackgroundComp extends Label {



   override protected
function updateDisplayList(unscaledWidth:Number,

       
unscaledHeight:Number):void

   {

      super.updateDisplayList(unscaledWidth,
unscaledHeight);

      

      var g:Graphics
= graphics;

  g.clear();

  var
grid1:DataGrid = DataGrid(DataGridListData(listData).owner);

  if
(grid1.isItemSelected(data) || grid1.isItemHighlighted(data))

    return;

  if (data.myColumnName
 50)

  {

    g.beginFill(0xFF);

    g.drawRect(0,
0, unscaledWidth, unscaledHeight);

    g.endFill();

        }

  }

  }



}



Joan









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Misael
Sent: Friday, May 26, 2006 4:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] datagrid





Hi, 
I want to change a datagrid row background color based on a column in its
dataprovider, but all I´ve got searching flexcoders archive are outdated Flex
1.5 solutions or not-very-well-explained cellRenderer tips. How can I achieve
this using Flex 2 beta 3? Please, on your example, set the property using a
dataprovider column, not a 0xFF value. 
Thanks in advance. 







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Max 2006

2006-05-26 Thread Darren Houle



Thanks Joan and Ben, I appreciate the update!

Darren



From: Ben Forta [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Max 2006
Date: Fri, 26 May 2006 18:11:17 -0400

It'll be another week or so before much is posted publicly. It's taken a
little longer to work things out this year with so many products and
audiences, but we're getting there. Stay tuned.

--- Ben

 _

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Joan Tan
Sent: Friday, May 26, 2006 5:48 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Max 2006



MAX will be the week of Oct 24th in Vegas. Other than that, I don't think
they have announced dates for submitting topics yet. I've sent an inquiry
about this and will pass on any information that I hear.



Joan



 _

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Darren Houle
Sent: Friday, May 26, 2006 2:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Max 2006



Slightly off [Flex] topic, but since Adobe people monitor this list I
thought I'd ask...

Does anyone have any new details on MAX '06? The Call for Topic deadline
for MAX '05 was May 13th and we're already past that date for this year,
so... is Adobe having a really hard time deciding what shape the MAX
conference should take this year?

Darren





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





SPONSORED LINKS
Web
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site
+design+developmentw2=Computer+software+developmentw3=Software+design+and+
developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
66.sig=L-4QTvxB_quFDtMyhrQaHQ site design development  Computer
http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=Web+si
te+design+developmentw2=Computer+software+developmentw3=Software+design+an
d+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s
=166.sig=lvQjSRfQDfWudJSe1lLjHw software development  Software
http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=Web+
site+design+developmentw2=Computer+software+developmentw3=Software+design+
and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5
s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ design and development
Macromedia
http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+deve
lopmentw2=Computer+software+developmentw3=Software+design+and+development
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=OO6n
PIrz7_EpZI36cYzBjw flex  Software
http://groups.yahoo.com/gads?t=msk=Software+development+best+practicew1=W
eb+site+design+developmentw2=Computer+software+developmentw3=Software+desi
gn+and+developmentw4=Macromedia+flexw5=Software+development+best+practice
c=5s=166.sig=f89quyyulIDsnABLD6IXIw development best practice

 _

YAHOO! GROUPS LINKS



*  Visit your group flexcoders
http://groups.yahoo.com/group/flexcoders  on the web.


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


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


 _










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] Loading one cairngorm into another cairngorm

2006-05-26 Thread Darren Houle



If I'm understanding you right I'm not sure whether they're Cairngorm or not 
has anything to do with it... once they're compiled into SWFs it doesn't 
matter how you architected your original code.

Not sure if this is what you mean, but... you could write Flex app A and 
make it similar to, say, a movie viewer that used SWFLoader to display other 
sub SWFs. Those sub SWFs could be compiled Flex apps B, C, and D. You 
could potentially build a portal that way.

Only challenge I see is how much communication could happen between the 
master Flex app and the SWFLoaded Flex sub apps. I suppose you could use 
RPC services to pass data from the master to an intermediary to the sub 
apps, or possibly there are internal AS functions that would provide 
communication channels directly between master SWF and SWFLoaded SWF?

Darren


From: sufibaba [EMAIL PROTECTED]
Reply-To: flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Loading one cairngorm into another cairngorm
Date: Fri, 26 May 2006 23:51:30 -

Hello everyone,

I have one cairngorm application that I would like to Dynamically Load
into another cairngorm application.

What would be the strategy and code to do this.

Thanks.

Tim







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














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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  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] When is Flex better suited than AJAX (was AJAX versus Flex)

2006-05-26 Thread Jack W. Caldwell





Jim:

If you have had the time to read the whole thread you will 
get a lot of reasons
from more technical and seasoned Flex developers than 
myself.

If you have not had time, I suggest to you go back and read 
them.

With that being said, for me, every ??? you stated below 
the answer is YES
regarding Flex.

One thing for me, I really look at is from a user's 
perspective or as many in
the industry have said the "user 
experience".

And besides with Flex you can create a much cleaner and 
more "desktop"
like application. That's one of the 
things I am interested in.

In my post I was never questioning the technical merits of 
Flex but rather
the industry's/media's overall perception which 
eventually will affect the
decision maker.

Good luck on your presentation.

Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jim 
PhelanSent: Friday, May 26, 2006 5:15 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] When is Flex better 
suited than AJAX (was AJAX versus Flex)


Im actually giving a 
presentation on this topic in a couple of weeks at the SOA WebServices Edge 
Conference in New 
York. My talk is titled When AJAX Isnt Enough: Cases 
for Rich Clients with the Flash Platform

My contention in this 
talk is that there are some cases when you simply cant get the kind of 
application out of AJAX, either in terms of functionality in 
cost., and I think this is a good way to pitch Flex development to CTOs and 
the like who otherwise might think that if they cant do it with AJAX they cant 
do it. In some ways Flex is getting a lot of attention because of AJAX. How many people were 
truly pursuing rich UI for the web before the term AJAX was 
coined?

Does anyone have any 
applications theyve seen or developed that just couldnt be done in AJAX or would be 
prohibitively expensive or of poor performance? Id love to hear more opinions / 
examples on the subject so I can assimilate them into my presentation 
J

Jack, in your original 
post, you say Let me first say I believe 100% that the Flex platform is a 
better mousetrap. What is it about it that makes it better? Development 
style? Time to market? Delivery target? Functionality? 
Performance?



Jim





From: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of pk_waspSent: Friday, May 26, 2006 5:28 
AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: AJAX versus 
Flex

I don't think its particularly hard to 
convince internal management to consider Flex as a viable RIA/Enterprise 
solution.The main problem/resistance we are finding is from our 
clients/customers opposing I.T architects who either get upset if we 
suggest Flex as a solution, or say they never heard of Flex and want an 
"Ajax" solution 
instead.I think its partly Flash's "animation" legacy + ignorance/lack 
of awareness of Flex and the Flash Platform.So I wonder if maybe the 
"Flash Platform" needs a reboot/rebranding e.g. a new runtime without legacy 
code (but obviously Flash Player 9 will still be around for legacy stuff) 
and a new name :). I mean Microsoft are essentially doing this through 
WPF/E.Also I think for the Flash Platform to be a true platform, it 
really needs a platform XML dialect for UIs - which is what XAML is for WPF 
and WPF/E. Would be great to able to export content created in Flash 
Authoring in some form of XML UI dialect and use it in the Flex 
Framework, Apollo, Flashlite etc.Just my 2c, have really enjoyed 
learning Flex 2, guys (Java and .NET developers) at work were impressed, but 
definitely agree that Ajax is getting alot of hype and it seems to be 
working e.g. our customers are talking about Ajax but not about Flex or 
Flash.I hope when Flex 2 goes live, there's a big marketing campaign + 
lots of real world stories of Flex being used in RIAs, Web 2.0 Apps and 
Internal Enterprise Applications so that our customers can see its a 
viable option.--- In flexcoders@yahoogroups.com, "jwc_wensan" 
[EMAIL PROTECTED] wrote: To all:  Got 
this email today, http://ajax.sys-con.com/ and it got me 
to thinking.  I may get blasted for this, but here goes 
. . . just my .0199 cents.  Let me first say I believe 100% that 
the Flex platform is a  better "mousetrap". I am currently 
developing applications with  Flex. I prefer Flex. 
 However, you can not open a software magazine, newsletter, journal, 
 article, etc. that doesn't reference something about AJAX. It's  
everywhere. Adobe's Flex gets an "honorable mention".  I 
have been in the software business for over 27 years. I have seen 
 many companies come and go that had a better "mousetrap". I also 
 realize that most end users do not care if a desktop app is  
developed with Visual C++ or Visual Basic. So why would they care  
what a RIA app is developed with. Probably not.  In the 
end it is the application not the engine.  There seems to be a 
parallel between PCs with Windows and  Apple/Macs. Many believe 
that the Mac is better, but Apple/Mac has  

[flexcoders] Re: Loading one cairngorm into another cairngorm

2006-05-26 Thread sufibaba



Thanks Darren,

There are a few issues which you have pointed out that would be a
challenge. Communication between the apps, and in the case of
Cairngorm, I think that I might run into problems with the fact that
in Cairngorm, some things are singletons (AppController, Service,
AppModel). If Both apps have the same names for these singletons,
would these not conflict? These are some questions that I was
wondering about. I was hoping that Cairgngorm experts might be able
to help out with. I think that Iteration2 might have had to deal with
these issues and can provide a recommendation. 

Tim

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

 If I'm understanding you right I'm not sure whether they're
Cairngorm or not 
 has anything to do with it... once they're compiled into SWFs it
doesn't 
 matter how you architected your original code.
 
 Not sure if this is what you mean, but... you could write Flex app A
and 
 make it similar to, say, a movie viewer that used SWFLoader to
display other 
 sub SWFs. Those sub SWFs could be compiled Flex apps B, C, and D.
 You 
 could potentially build a portal that way.
 
 Only challenge I see is how much communication could happen between the 
 master Flex app and the SWFLoaded Flex sub apps. I suppose you
could use 
 RPC services to pass data from the master to an intermediary to the sub 
 apps, or possibly there are internal AS functions that would provide 
 communication channels directly between master SWF and SWFLoaded SWF?
 
 Darren
 
 
 From: sufibaba [EMAIL PROTECTED]
 Reply-To: flexcoders@yahoogroups.com
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Loading one cairngorm into another cairngorm
 Date: Fri, 26 May 2006 23:51:30 -
 
 Hello everyone,
 
 I have one cairngorm application that I would like to Dynamically Load
 into another cairngorm application.
 
 What would be the strategy and code to do this.
 
 Thanks.
 
 Tim
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 
 
 
 












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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.