Re: [flexcoders] Cairngorm Responder interface changes

2006-07-03 Thread Clint Modien



http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for.cfmOn 7/2/06, 
der_kotty [EMAIL PROTECTED] wrote:













  



Hi,

I was just wondering why the com.adobe.cairngorm.business.Responder
interface has been changed since it has been released on Adobe Labs.
In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
parameters of the onFault and onResult handlers were typed events
(ResultEvent and FaultEvent). 

Why have the parameters been changed to '*'? Where is the sense in
that?  To my opinion this is not really best practice but maybe
there's a really good reason for that? Does anyone know?

Cheers
David


  















__._,_.___





--
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: FocusManager problem

2006-07-03 Thread n51red
Hello,

Sorry to bump, but there seems to be a something lack of information 
around on the usage of the FocusManger. Does anyone have any advice 
on this issue?

Thank you,
N51

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

 Hello,
 
 After migrating an application from f2b3 to the final release of 
Flex 
 2 a new problem has emerged involving the FocusManager.
 
 I use a FocusManager to focus on a TextInput when its parent 
becomes 
 visible. The text input does indeed take the focus and the 
component 
 responds to the keyboard without any problems. After this, 
however,  
 all mouse clicks in the application give the following error:
 
 ArgumentError: Error #2025: The supplied DisplayObject must be a 
 child of the caller.
   at flash.display::DisplayObjectContainer/getChildIndex()
   at mx.managers::SystemManager/getChildIndex()
   at mx.managers::SystemManager/::mouseDownHandler()
 
 If I click continue in the error dialogue the same thing happens 
 when I next click the mouse.
 However, if I click dismiss all the problem goes away altogether 
 and the application responds to clicks as it should.
 
 After experimenting it appears to be the instantiation of the 
 FocusManager instance rather than calling its setFocus method that 
 causes the problem.
 
 His is the function I call in response to show events on my 
component:
 
 private function focusOnInput():void
 {
   var focusManager:FocusManager=new FocusManager(this);
   focusManager.setFocus(searchTextInput);
 }
 
 Does any one know what's going on here or what I might be able to 
do 
 about it?
 
 Thanks, 
 N51







 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 





Re: [flexcoders] FDS Upgrade from 1.5

2006-07-03 Thread Tom Chiverton
On Friday 30 June 2006 18:42, Kelly @ Dekayd Media Inc. wrote:
 What if we didn't renew our subscriptions because Flex 2 still hadn't

*Ahh* :-/
Find a sales rep :-)

-- 
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 ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




Re: [flexcoders] asdoc generator for AS3?

2006-07-03 Thread Tom Chiverton
On Friday 30 June 2006 13:37, Andrew Trice wrote:
 Where'd you find that it will be released soon?  I want to keep an eye
 on it.

A post here, I think, from someone @adobe.
ISTR it will be a labs project.

-- 
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 ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





Re: [flexcoders] any disadvantages to using FDS + CF vs. FDS + Java?

2006-07-03 Thread Tom Chiverton
On Friday 30 June 2006 18:19, Kelly @ Dekayd Media Inc. wrote:
 Java may take a little longer but its free and massively scalable.

OTOH, if the company is full of CF programs, is it worth the retraining time 
and expense ?

-- 
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 ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 





Re: [flexcoders] What technology does my web hosting company need to run my Flex 2 project?

2006-07-03 Thread Tom Chiverton
On Friday 30 June 2006 15:03, porsche_911_1978 wrote:
 Do their servers need to support FLEX or as long as they support
 Coldfusion, my project will run?

They will need to have applied the CF 7.0.2 update, and be prepaired to modify 
the Flex services xml file.
It may be this last bit they are not willing to do, or they may have meant 
they don't support full-blown FDS data-sync stuff.

-- 
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 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] What is the difference between versions of Flex Data Services

2006-07-03 Thread Tom Chiverton
On Friday 30 June 2006 18:25, Kelly @ Dekayd Media Inc. wrote:
 It seems like that might be able to handle more then 100 connections.

So ? If your license restricts you to 100, that's all you can use.

-- 
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 ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




Re: [flexcoders] QTP 9 to test Flex 2.0

2006-07-03 Thread Jeremy Lu




There's indeed a Flex2 plugin for QTP9 (but currently in beta) and
someone from Adobe replied your message saying: they will contact you
:-)

On 7/3/06, Deepika [EMAIL PROTECTED] wrote:













  



I am trying to use QTP 9 to test flex 2.0.
Does anyone have idea whether QTP 9 can support objects in aflex 2.0
application or not? Do I have to buy some spl. support files from
macromedia for that?

I had given this msg earlier also but not been able to get the proper 
response.


  















__._,_.___





--
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] NumberFormatter Bug???

2006-07-03 Thread Dan
Hi, 

I just want to ask is this a known issue? I use a numberformatter with 
the following attribute

mx:NumberFormatter id=Formatter1 
precision=2
rounding=nearest /

And the value return by 

Formatter1.format(0.9959);

is 0.10 !! rather than 1.00 !!!??
Very Strange, right? Is that a bug of FLEX or I set anything wrong?

Daniel






 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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] Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Tim Hoff
I've recently been toying with the concepts of ViewHelper vs. 
ViewLocator.  Alex Ulmann posted, the ViewHelper adds and removes 
itself from the ViewLocator, in his Cairngorm 2 (for Flex 2) – 
Overview and Migration Path.  I haven't seen any examples yet that 
illustrate this method.  Understandably, the example pool and 
documentation for this kind of thing is small but growing.  So, I was 
wondering if the authors of Cairngorm had any advise/guidance for this 
topic.  Of course it's a matter of scale, but in an enterprise 
application, what is recommended as best practice for the use of
ViewLocator and/or ViewHelpers?  I'm sure that there are forthcoming 
books that cover this area, but feedback here might promote better 
understanding.

Best regards,
Tim Hoff  






--
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] Flex 2 Final : Error #1009, in RadioButton/get labelPlacement()

2006-07-03 Thread Benoit Hediard





Error #1009: Il est 
impossible d'accéder à la propriété ou la méthode d'une référence d'objet 
nul.
(in english, 
something like "it is not possible to access the property or the method of the 
null object reference")
at 
mx.controls::RadioButton/get labelPlacement()
at 
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents()
at 
mx.controls::Button/mx.controls:Button::updateDisplayList()
...

In Flex2 final, I'm 
getting this error regularly...
Not tried yet to 
reproduce it on a simpleregular case, but it looks like pretty 
random.
I don't use the 
labelPlacement property in our app.

I've never 
encountered this error in previous beta, only since the FP9 / Flex2 
Final.
Looks like a very 
annoyinglow level framework error, related to the layout of 
RadioButtons.


Anyone else facing 
this issue?
And found a 
workaround?

Benoit 
Hediard
__._,_.___





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



  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] Flex 2 Final : Error #1034, in ChartBase dataTip functions

2006-07-03 Thread Benoit Hediard





Error #1034: Echec 
de la contrainte de type: conversion de mx.charts::[EMAIL PROTECTED] 
mx.charts.events.ChartItemEvent est impossible
at 
mx.charts.chartClasses::ChartBase/::invokeDTFunction()
at 
mx.charts::HitData/get displayText()
at 
mx.charts.chartClasses::DataType/set data()
at 
mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
...

Here is another 
error I've never encountered since FP9+ Flex 2 Final.
It is generated when 
doing a rolloveronbarof a BarChart on our 
app.

I'm going to try to 
isolate and reproduce the bug on a simple case.


Anyone else facing 
this issue?
And found a 
workaround?

Benoit 
Hediard
__._,_.___





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



  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] Cairngorm Responder interface changes

2006-07-03 Thread JesterXL
The justifications listed here are pretty weak.
http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for.cfm

RemoteObject, WebService, and HTTPRequest all return ResultEvent  
FaultEvent events.  It's also cake to have stubs return ResultEvent  
FaultEvents for testing services before they are written.  Finally, who the 
heck is using Cairngorm 2 without the the Flex framework?

To me, the last argument is the only thing that is even remotely 
justifiable.



- Original Message - 
From: der_kotty [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Sunday, July 02, 2006 8:30 PM
Subject: [flexcoders] Cairngorm Responder interface changes


Hi,

I was just wondering why the com.adobe.cairngorm.business.Responder
interface has been changed since it has been released on Adobe Labs.
In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
parameters of the onFault and onResult handlers were typed events
(ResultEvent and FaultEvent).

Why have the parameters been changed to '*'? Where is the sense in
that?  To my opinion this is not really best practice but maybe
there's a really good reason for that? Does anyone know?

Cheers
David






--
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 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] Cairngorm Responder interface changes

2006-07-03 Thread milan kosir



I've seen explanations in the Alex Uhlmann article on http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for.cfm#more
MilanOn 7/3/06, der_kotty [EMAIL PROTECTED] wrote:













  



Hi,

I was just wondering why the com.adobe.cairngorm.business.Responder
interface has been changed since it has been released on Adobe Labs.
In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
parameters of the onFault and onResult handlers were typed events
(ResultEvent and FaultEvent). 

Why have the parameters been changed to '*'? Where is the sense in
that?  To my opinion this is not really best practice but maybe
there's a really good reason for that? Does anyone know?

Cheers
David


  















__._,_.___





--
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 (XML vs Model) ?

2006-07-03 Thread nwebb



Hi, I'm loading XML in to Flex2 at compile-time and would like to bind label properties of certain modes to a Tree list display.The docs say that you cannot (currently) bind to properties of an XML instance (the XML class is not of type IEventDispatcher) so I thought I would try loading the XML in to Model instance instead, using:
mx:Model id=menuItems source=xml/menuOptions.xml /My test XML looks like this:?xml version='1.0' ?menu folder label=Flex 2
  item label=Tutorial 1 Hello/item  item label=Tutorial 2 /  item label=Tutorial 3 / /folder/menu
I don't think model instances support attributes though, so while trace(menuItems.item[0]) works, I can't seem to access the label attribute. Could someone confirm that this is right, and if so, are there any better suggested methods to use, or do i just need to load the xml in to an XML instance, and then use E4X to pull out the label attributes and assign them to bindable vars of my own creation?
Cheers,Neil

__._,_.___





--
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 (XML vs Model) ?

2006-07-03 Thread bjorn.schultheiss
Hi Neil,

Indeed, ideally you create an XML instance on your model.
It would make sense to have this loaded XML a single point of
reference throughout the application.

Bjorn,

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

 Hi, I'm loading XML in to Flex2 at compile-time and would like to
bind label
 properties of certain modes to a Tree list display.
 
 The docs say that you cannot (currently) bind to properties of an XML
 instance (the XML class is not of type IEventDispatcher) so I thought I
 would try loading the XML in to Model instance instead, using:
 
 mx:Model id=menuItems source=xml/menuOptions.xml /
 
 My test XML looks like this:
 ?xml version='1.0' ?
 menu
 folder label=Flex 2
 item label=Tutorial 1 Hello/item
 item label=Tutorial 2 /
 item label=Tutorial 3 /
 /folder
 /menu
 
 I don't think model instances support attributes though, so while trace(
 menuItems.item[0]) works, I can't seem to access the label
attribute. Could
 someone confirm that this is right, and if so, are there any better
 suggested methods to use, or do i just need to load the xml in to an XML
 instance, and then use E4X to pull out the label attributes and
assign them
 to bindable vars of my own creation?
 
 Cheers,
 Neil







 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




RE: [flexcoders] app startup / load times

2006-07-03 Thread Richard Kroll
Hank,
One thing you have to keep in mind is that Flex 2.0 is tailored to web
*applications* instead of to web sites.  When a user starts up a typical
application, a 8-10 second delay prior to the application to start up is
not an unusually long delay for startup.  Most Flex apps that I've seen
to date are starting up in the 3-5 second range, which I believe is
completely acceptable.  I'm not saying that people will not use flex to
create websites, but I think that a lot of the power that is offered by
the platform will not be used, and will potentially bloat the file size
of the site (I'm not positive if the flex platform will dynamically
remove unused classes, someone have input?).

HTH,
Rich Kroll
Application Developer


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Sunday, July 02, 2006 10:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] app startup / load times

For the first time since I started playing with flex (a couple of
weeks) I checked out the size of my app, which is currently 477k.

My app isnt that big, so I presume most of that is just the size of
the framework. I am just wondering what do people think about that in
terms of user start up time. For a user with a 500kbps connection that
is about 8 seconds before the app is loaded. Are people doing loaders
to get things started? is there an accepted strategy for how to deal
with this?

There was another thread recently about how people shouldnt use flex
for websites and one person provided aesthetic reasons. In my mind, if
there is a reason (and I am not arguing that there is) but if there is
a reason not to use it for websites it would be the file size. 10
seconds seems like a long time to make someone wait before they see
something. On the other hand perhaps I am underestimating the average
connection speed.

Anyway, like I said I would just like to get peoples thoughts on this
issue.

Hank 


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

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

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

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





[flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread bjorn.schultheiss
Hi Tim,

I am also considering the benefits of using viewHelpers. 
Here's what i got out of it.
encapsulating all the logic necessary for interrogating and updating
a particular View into a single helper class

Why would the Command need to interrogate the View.
A Command is always essentially created by the View and dispatched
event data updates the Command. On Command remote handlers, the
Command updates the model. I have been using explict setters on the
view to initiate data-binding between model and view in mxml.

Then it is View that is responsible for dispatching events throughout
an application and that it is the View which will always drive the app. 

Regards
Bjorn Schultheiss




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

 I've recently been toying with the concepts of ViewHelper vs. 
 ViewLocator.  Alex Ulmann posted, the ViewHelper adds and removes 
 itself from the ViewLocator, in his Cairngorm 2 (for Flex 2) – 
 Overview and Migration Path.  I haven't seen any examples yet that 
 illustrate this method.  Understandably, the example pool and 
 documentation for this kind of thing is small but growing.  So, I was 
 wondering if the authors of Cairngorm had any advise/guidance for this 
 topic.  Of course it's a matter of scale, but in an enterprise 
 application, what is recommended as best practice for the use of
 ViewLocator and/or ViewHelpers?  I'm sure that there are forthcoming 
 books that cover this area, but feedback here might promote better 
 understanding.
 
 Best regards,
 Tim Hoff







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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] Reusable Component / Object Oriented Program

2006-07-03 Thread Dong Lee






I'd like tofind outif it can be done 
with Flex,the component's skeletonis 
like below code snippet:


To make this component reusable for different 
search cases likeCustomerSearch,OrderSearch, 
followingcontrols, functionshave to be worked out at runtime using 
an actionscript class that can evaluate the case and assign appropriate form, 
datagrid.

1. Form : formSearch
2. Datagrid : dgSearchResult
3. addRow(), modRow(), delRow()


I want to have only one generic search component 
inthe application rather than creating multiple of them with specific 
casesusing viewstack. I

How do I instantiate the formSearch 
withspecific forms defined inmxlm filese.g.. 
formCustomerSearch.mxlm, formOrderSearch.mxlm?
What about dgSearchResult?



Code Snippet
===

?xml version="1.0" 
encoding="utf-8"?

mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" 
xmlns="*" layout="vertical"height="662" width="664"

mx:Script![CDATA[function 
addRow():void{}function 
modRow():void{}function 
delRow():void{}

 
]]/mx:Script

 mx:VDividedBox width="100%" 
height="100%"mx:HBox width="100%" 
height="100%"  mx:Form 
id="formSearch" width="90%" height="100%" / 
 mx:VBox width="10%" 
height="100%" borderStyle="solid" 
verticalGap="15" 
paddingTop="10" paddingBottom="10" paddingLeft="10" 
paddingRight="10"  
mx:Button id="btnSearch" 
label="Search"/  
mx:Button id="btnReset" 
label="Reset"/  
mx:CheckBox id="cbAddResults" label="Add Results?" 
/  
mx:Button id="btnClose" label="Close" 
/ 
/mx:VBox 
/mx:HBox 
 mx:DataGrid 
id="dgSearchResult" dataProvider="{dgResults}" width="100%" height="100%" 
/ /mx:VDividedBox 
 mx:ControlBar width="100%" 
height="10%" !-- Use 
Spacer to push Button control to the right. 
-- mx:Spacer 
width="100%"/ 
 mx:Button label="Add" 
click="addRow();"/ 
mx:Button label="Mod" 
click="modRow();"/ 
mx:Button label="Del" click="delRow();"/ 
/mx:ControlBar

/mx:TitleWindow
__._,_.___





--
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: How to integrate Flash and Flex well done ?

2006-07-03 Thread Bjorn Schultheiss










Heres a nice article on Flash Swfs
within Flex2/AS3

http://www.asserttrue.com/articles/2006/05/23/autocompleted-autocomplete-embed-legacy-swf-as3-0-project-example-updated-for-beta-3







Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes
Sent: Tuesday, 20 June 2006 7:31
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How
to integrate Flash and Flex well done ?











I'm very new at this, so I gave you all the info I
really have. As Tim said, in the *future*, SWFs created for Flash 9 and
up will likely be very friendly with Flex. But the help is pretty clearly
stating that right now anything made for 8 and below can only talk using
LocalConnection. But who knows, maybe the docs are incomplete/wrong on
that part. Like I said, I'm very new at this... 



On 6/19/06, roberto.rosenthal

[EMAIL PROTECTED] wrote:











Jason, thanks for the
prompt reply... But that doesn't really help,
does it ? How strange.. I just spoke today with James Ward, a Flex
Evangelist, and he assure me that the future for Flash developers was
to build customs components (SWC) to interact with Flex... and also
sugest me to ask the flexcoders group about this issue (what I'm doing).

Anyhow, do you know where I can learn how to do that ? Meaning: build
a custom SWC component with Flash and use it as a Flex component tag.

I really appreciate it,
Roberto Rosenthal 
















-- 
Jason 






__._,_.___





--
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] Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Dimitrios Gianninas





Hi Tim,

I used to use ViewHelpers and ViewLocators a lot in the 
beginning before the advent of the ModelLocator. I found that using ViewHelpers 
and ViewLocators did not allow things to be as decoupled as much as they should 
be. Ever since the inclusion of the ModelLocator I have not used a ViewLocator 
or ViewHelper and found this to be the best way to go. Command does something, 
updates the model once everything is done, and via data-binding, the view gets 
updated.

If you search the forumI think you will find some 
posts from Alistair and Steven in this regard. So 
perhaps you might at look at going in this direction as 
well.

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Monday, July 03, 2006 6:05 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Cairngorm2: 
ViewLocator - ViewHelper


I've recently been toying with the concepts of ViewHelper vs. 
ViewLocator. Alex Ulmann posted, "the ViewHelper adds and removes itself 
from the ViewLocator", in his Cairngorm 2 (for Flex 2) - Overview and 
Migration Path. I haven't seen any examples yet that illustrate this method. 
Understandably, the example pool and documentation for this kind of thing is 
small but growing. So, I was wondering if the authors of Cairngorm had any 
advise/guidance for this topic. Of course it's a matter of scale, but in an 
enterprise application, what is recommended as best practice for the use 
ofViewLocator and/or ViewHelpers? I'm sure that there are forthcoming 
books that cover this area, but feedback here might promote better 
understanding.Best regards,Tim Hoff 
 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l'expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





--
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] Please Adobe. Unanswered questions, and building the community

2006-07-03 Thread Jack W. Caldwell





Judah:

I only found one Flex book(Nov. 2006) and the three AS3 
book(Aug. 2006, Sept. 2006,  Oct. 2006)

What are the other Flex 2 book's and which one is coming 
out next week?

Thanks,

Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of judahSent: 
Thursday, June 22, 2006 3:24 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Please Adobe. 
Unanswered questions, and building the community


I'd give it a bit more time. Having a beta schedule makes it difficult 
with the full release coming up. On the betas I've been on the support 
and questiong answering has always been spotty. This is because the 
state the program is in. Bugs need to be queued, tested and then 
confirmed before an answer can be given. Features are still floating 
around. Once they get out of beta I think things will settle 
down.Personally, I think they are doing a great job, but I know you've 
had questions unanswered. The solution may be to wait and see until after 
Flex 2 is released, reword the question over and over breaking it down, 
or on the Adobe side have additional community TSR's (technical support 
reps) on this list (which if they do add more I hope they'll announce 
it). I've been to Barnes  Nobles every week checking and I know of at 
least 3 new Flex 2 books coming out and two ActionScript 3 books in the 
next few months. One is coming out next week. These will hopefully 
answer a lot of questions.Best 
Regards,Judahsourcecoderia wrote: IMHO a community is not at 
all built this way, any answer is better  then no answer. For developers 
we ask a question if it goes without  response we think either they are 
ignoring the question, can't be  bothered, or it's a bug. Since the 
first thought is that they can't  be bothered we continue to try and 
find a solution to the problem,  until completely frustrated. 
 Theses things are very important (to me at least) when choosing 
to  switch from a dot net development environment to something such as 
 flex. I've been working with flex for a year now, and of course I'm 
 very happy with it, however I feel that the community involvement 
 from adobe is rather lacking.  You can't hope to build 
a solid community that supports it self, we  are not the experts, you 
are. We need your help, and you need our  help. But; the communication, 
and participation in the building of  the community has to work both 
way's. I've answered far more  questions then I have had answered, I 
participated in the alpha  testing, I've reported bug's in this forum. 
All this I'm very willing  to do, and continue doing. However your 
community support people  could at least take the time and read the 
question, and either  confirm it as a bug, not possible, or give an idea 
of where to look.  I'm not unhappy with Flex, I'm rather 
impressed and energized.  Learning a new language, and platform is 
difficult, and time  consuming.  Why are there no 
tutorials except the few you have done to get people  up to speed, where 
is all the learn by example stuff, tips, general  community building. 
Surly you can invest in some full time community  support 
personnel. Flex is moving Adobe into a developer realm, as 
apposed to the  designer realm. I think if you hope to convince the 
developer realm  (a more demanding task) community involvement from 
Abode needs to be  greatly increased. A couple blog entries a week will 
not do it. A  couple of questions answered here, and there will not do 
it. We need  to see that your behind us, that you want to help us 
succeed with  your product, that you continue to listen, and that you're 
doing  everything humanly possible to help get us up to speed. 
 Flex has the potential to be more then just some other 
platform. In  order to go head to head with MS, and unlock the dedicated 
developer  community they've built, you need to greatly increase your 
community  involvement. Hopefully in posting this I've 
not managed to get on the spam/ignore  list of all Adobe support 
:) Here are some example things with no response, I'm 
sure if asked,  every person in this forum could repost at least 1 or 2 
unanswered  questions. Any answer is better then none. 
Garbage collection and removeChild [Flex 2 beta 3]? http://groups.yahoo.com/group/flexcoders/message/40262 
E4X Interpreter: http://groups.yahoo.com/group/flexcoders/message/40342? 
threaded=1var=1p=1 I can't get a xml chain to 
bind here. [Bindable] public var boundtarget:XML = 
new XML 
(itemnamexJason/namex/item); 
private var owatch:ChangeWatcher;  private function 
Init_TargetBinding():void{ //build the array for the property 
chain owatch = BindingUtils.bindProperty(text1, 
"text",this, [ "boundtarget","namex"]); 
trace(owatch.isWatching()); } mx:TextInput 
id="text1" width="100%"/ as well as being able to do 
the below BindingUtils.bindProperty( txtField, "text", 
this,  
["xdata","item","(@id=='3456')","description"] 
); Bug confirmation please ? Felx 2.0 
b3 

RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-03 Thread Daniel Tuppeny





So if we swap the 500 status code for a 200, the fault 
handler won't be triggered?

This is sounding more and more useless each day! I guess 
the only way to do it is with try/catch and return our own object, and 
interrogate it after every call :-(


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 21 June 2006 13:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

The way it should work is for the fault handler to be 
triggered due to the fact that a SOAP fault was returned. At this point, the 500 
status code is what's triggering the fault.


Carson

  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:05 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


I wasn't thinking to use the fault handler, I was just planning on 
everyresponse being an object with an error property that will usually 
benull, and checking for it myself. Your idea would be much nicer, but 
Idoubt it's possible, since we're pretending everything worked 
fine.Maybe changing the status code in a HttpHandler would be a 
nicersolution after all! -Original Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of z lSent: 21 June 2006 08:24To: [EMAIL PROTECTED]ups.comSubject: 
[flexcoders] Re: ACcess SOAP fault codeHi,Can someone explain to 
me that since you've caught the exception in yourcode, then how does the 
fault event handler in flex gets called?Generally speaking, what is the 
mechanism that triggers the fault eventin 
flex?Thanks,__Do 
You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection 
aroundhttp://mail.yahoo.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] Arrangement, front back?

2006-07-03 Thread Jason Hawryluk





swapChildren and swapChildrenAt on the container...

Jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Phil MarstonEnvoyé: mercredi 28 juin 2006 
  15:04À: flexcoders@yahoogroups.comObjet: Re: 
  [flexcoders] Arrangement, front back?
  
  put the button tags inside the box tags?mthielman11 wrote: 
  OK this may be a really dumb question. But, if I have two items say a box and 
  then a button  and I want the box to be layered behind the button how 
  do i do that? I do not see arrange  front/back commands 
  anywhere. -- 
  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 
   -- 
  __ 
  Phil Marston Learning TechnologistLearning Technology Unit 
  Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK[EMAIL PROTECTED]ac.uk Tel: 
  +44(0)1224 273329 / +44(0)7798 723660 http://www.abdn.ac.uk/diss/ltu/pmarston/http://www.abdn.ac.uk/diss/ltu/__The 
  University of Aberdeen Open Day 29th August 2006Booking is 
  essentialwww.abdn.ac.uk/opendayemail [EMAIL PROTECTED]ac.ukor call 0800 
  027 1495
__._,_.___





--
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: No date displaying revisited.

2006-07-03 Thread Ian Skinner










Well actually “Day” is a custom object defined in a Day.as file.  It is
a date property of type Date.  (I guess I should probably come up with more
unique names for all these pieces.)  It seems to work fine in other places. 
When I was calling this formatter in a tilelist with this code, it worked.



!--mx:Binding source=days destination=list.dataProvider/--



…



!--mx:TileList id=list itemRenderer=dayFormat
width=100% maxColumns=7/--



Then I could access the properties of the Day object such with data.date,
data.formatedDate and data.inMonth.

But in my current code this does not seem to be working as I expected,
but is also not throwing any errors.



Your code would work if dayData was a Date, instead of Day. If it's 
just a number, perhaps you should use a number formatter instead.

-TH





--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 | |
- Binary Soduko
| | |
-

C code. C code run. Run code run. Please!
- Cynthia Dunning






Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 


__._,_.___





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



  






__,_._,___



---BeginMessage---









Your code would work if dayData was a Date, instead of Day.  If it's 
just a number, perhaps you should use a number formatter instead.

-TH

--- In [EMAIL PROTECTED]ups.com, Ian Skinner ian.skinner@... 
wrote:

 I have modified my code calling a custom component to pass in the 
entire object rather then just the date property of the object.  
This seems to be working as I get a display of the proper number of 
objects without any error thrown.  But the display of the date of 
the object is a blank space.  
 
 Can somebody explain why passing the entire object, rather then 
one property of the object, is causing me a problem?
 
 ?xml version=1.0 encoding=utf-8?
 mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml width=100%
 	mx:Script
 		![CDATA[
 			import Day;
 
 			//Define public variables
 			[Bindable]
 			public var dayData:Day;
 		]]
 	/mx:Script
 	
 	mx:DateFormatter id=dayNum formatString=DD /
 
 	mx:HBox backgroundColor=0x002649 width=100% 
horizontalAlign=right
 		mx:Label text={dayData.toString()} 
color=white /
 		mx:HBox backgroundColor=0xAF1E2D 
horizontalAlign=center
 			mx:Label text={dayNum.format
(dayData.date)} color=white  /	
 		/mx:HBox
 	/mx:HBox
 /mx:VBox
 
 I call this custom component with the following code.
 
 mx:Repeater id=dayCells dataProvider={days} 
startingIndex={weekRows.currentItem} count=7
 	mx:GridItem width=14%
 		ian:dayFormat2 dayData={dayCells.currentItem as 
Day} /
 	/mx:GridItem
 /mx:Repeater
 
 
 --
 Ian Skinner
 Web Programmer
 BloodSource
 www.BloodSource.org
 Sacramento, CA
 
 -
 | 1 |   |
 -  Binary Soduko
 |   |   |
 -
  
 C code. C code run. Run code run. Please!
 - Cynthia Dunning
 
 Confidentiality Notice:  This message including any
 attachments is for the sole use of the intended
 recipient(s) and may contain confidential and privileged
 information. Any unauthorized review, use, disclosure or
 distribution is prohibited. If you are not the
 intended recipient, please contact the sender and
 delete any copies of this message.



  






---End Message---


Re: [flexcoders] Flex 2.0 final: Flash player version check?

2006-07-03 Thread Luís Gustavo Sanabio



Works fine here.
The old flash 8.0 downloads the new Flash Player 9.0.
Maybe you forgot to copy playerProductInstall.swf to the same folder of your application.

Gustavo
2006/6/28, Tolulope Olonade [EMAIL PROTECTED]:



Cool.
Now I will be able to convince myCIO and show them a piece of what Adobe is made of :-)
Many Thanks Matt.



From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Wednesday, June 28, 2006 10:58 AM
To: flexcoders@yahoogroups.comSubject:
 RE: [flexcoders] Flex 2.0 final: Flash player version check?






Ah, sorry. Forgot that IE doesn't have a downloader. You need to go here to get a license for deploying to your intranet: 
http://www.adobe.com/licensing/distribution/

Matt





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tolulope OlonadeSent: Wednesday, June 28, 2006 2:37 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0 final: Flash player version check?




Hi Matt,

There is no downloadble version available there.

I will really like to depoy this enterprise wide for use on my intranet here :(

Thanks..




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matt ChotinSent: Wednesday, June 28, 2006 10:24 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0 final: Flash player version check?



www.adobe.com/go/getflash
Matt




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tolulope OlonadeSent: Wednesday, June 28, 2006 2:13 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0 final: Flash player version check?



Oh
Where is the downloadeble version in case we want to depoy it enterprise wide???

Thanks..





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matt ChotinSent: Wednesday, June 28, 2006 10:07 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex 2.0 final: Flash player version check?


If you have the beta player installed it won't detect a difference by default. 





From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jonas WindeySent: Wednesday, June 28, 2006 1:55 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex 2.0 final: Flash player version check?




Hi,
I have just built a first test project in flex 2.0 final, hoping that the included check for Flash Player 9.0 presence would work, but no success.

Since 2.0 is final now, I was hoping that users would get an automatic plugin upgrade, since that was the only thing that kept us from using Flex 
2.0 in a live application.
Any tips?
Jonas


 

__._,_.___





--
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.0 final - Possbile bug with PopUpButton and PopUpMenuButton

2006-07-03 Thread Benoit Hediard





I've also encountered thisbug(event dispatched 
twice).

Here is a workaround :
private function itemClickHandler(event:MenuEvent):void 
{
 if (event.index != -1) { // Workaround 
to ignore the second event
 
...
 }
}

Benoit Hediard


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de 
sinatoskEnvoyé: dimanche 2 juillet 2006 
21:41À: flexcoders@yahoogroups.comObjet: 
[flexcoders] F2.0 final - Possbile bug with PopUpButton and 
PopUpMenuButton
4 days after the release I come to update my Flex Application from 
Beta 3 to Final and the 2 main components I used seem to be bugged. not very 
good at explaining things to bare with me please :pPopUpButton 
 - Every time I select an item... 
the "itemClick" event gets dispatched twice. it just pops with with 2 Alert 
dialogs every time I select an 
itemPopUpMenButton - When I put my mouse over 
an item for the first time works fine... but soon as I hover over another 
menu item in the main level... the menu closes automatically and also if I Hover 
over an item that is a sub menu I can keep going in and in until there are 
no more children... or I could just go in once... and then soon as I hover over 
another item... again the menu just closes. Both times this is without click on 
any items in the menu I've posted the code belowFlex code 
being:?xml version="1.0" encoding="utf-8"?mx:Application 
xmlns:mx="http://www.adobe.com/2006/mxml " 
layout="absolute" 
mx:Script 
![CDATA[ 
import 
mx.controls.*; 
import 
mx.events.*; 
private var 
myMenu:Menu; 
 private 
var i:uint = 
0; // 
Initialize the Menu control, and specify it as the pop up 
object // 
of the PopUpButton control. 
 private 
function initMenu():void { 
 
myMenu = new 
Menu(); 
var dp:Object = [{label: "New Folder"}, {label: "Sent Items"}, {label: 
"Inbox"}]; 
 
myMenu.dataProvider = dp; 
 
myMenu.selectedIndex = 0; 
 
myMenu.addEventListener("itemClick", 
itemClickHandler); 
popB.popUp = 
myMenu; 
popB.label = "Put in: " + 
myMenu.dataProvider[myMenu.selectedIndex].label; 
} // 
Define the event listener for the Menu control's itemClick event. 
 private 
function itemClickHandler(event:MenuEvent):void { 
 
var label:String = event.item.label; 
 
popTypeB.text=String("Moved to " + 
label); 
popB.label = "Put in: " + 
label; 
popB.close 
(); 
myMenu.selectedIndex = 
event.index; 
 
Alert.show('menu popup number ' + 
++i); 
} ]] 
/mx:Script mx:Panel title="PopUpButton 
Control Example"  paddingTop="10" 
paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" 
width="411" mx:Label 
width="100%" color="blue" 
 
text="Button label contains the name of the last selected menu item." 
/ mx:PopUpButton id="popB" 
label="Edit" creationComplete="initMenu();" width="135" / 
 
 mx:Spacer height="50" 
/ mx:TextInput 
id="popTypeB" / 
 /mx:Panel 
 
mx:Script 
![CDATA[ 
import 
mx.events.*; 
import 
mx.controls.*; 
 //Event 
handler, invoked when you select from the 
menu. 
public function itemClickHandler2(event:MenuEvent):void { 
 
Alert.show("Menu label: " + 
event.label 
+ " \n menu item index within parent menu: " + 
event.index); 
} ]] 
/mx:Script   !-- A an 
data provider in E4X format. -- mx:XMLList 
id="treeDP2" node 
label="Inbox" 
node 
label="Personal" 
node label="Family"/ 
 
node label="Friends"/ 
 
/node 
node 
label="Marketing"/ 
node label="To Do"/ 
/node  node 
label="Calendar" 
node label="Appointments" 
data=""/ 
node label="Meetings"/  
/node node 
label="Deleted Items"/  
/mx:XMLList mx:Panel 
title="PopUpMenuButton Control Example" 
 paddingTop="10" paddingLeft="10" 
paddingRight="10" x="10" y="205" height="143" width="271" 
 mx:Label width="100%" 
color="blue" 
text="Click the down arrow to open the 
menu."/ 
mx:PopUpMenuButton id="p2" 
 
dataProvider="{treeDP2}" 
 
labelField="@label" 
itemClick="itemClickHandler2(event);"/ 
/mx:Panel/mx:ApplicationFlex code end;Is it 
possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 9.0.16.0 ( without debug ) 
__._,_.___





--
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: app startup / load times

2006-07-03 Thread bjorn.schultheiss
Hi Hank

I think people will wait.
Once it's loaded it can be cached.
Ted once wrote a blog about RSL that achieved this.

While people are thinking about do i wait for it to load or not, by
the time it does you got em.

That's my opinion.

regards,
Bjorn Schultheiss

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

 For the first time since I started playing with flex (a couple of
 weeks) I checked out the size of my app, which is currently 477k.
 
 My app isnt that big, so I presume most of that is just the size of
 the framework. I am just wondering what do people think about that in
 terms of user start up time. For a user with a 500kbps connection that
 is about 8 seconds before the app is loaded. Are people doing loaders
 to get things started? is there an accepted strategy for how to deal
 with this?
 
 There was another thread recently about how people shouldnt use flex
 for websites and one person provided aesthetic reasons. In my mind, if
 there is a reason (and I am not arguing that there is) but if there is
 a reason not to use it for websites it would be the file size. 10
 seconds seems like a long time to make someone wait before they see
 something. On the other hand perhaps I am underestimating the average
 connection speed.
 
 Anyway, like I said I would just like to get peoples thoughts on
this issue.
 
 Hank







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

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

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

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





RE: [flexcoders] Please Adobe. Unanswered questions, and building the community

2006-07-03 Thread Jason Hawryluk






Thanks for responding, 
My initial worry was not that all my questions are not getting answered. It was 
more like if Adobe wants to get into the dev realm and be active in convincing 
existing MS dev people to make a switch to Flex from the upcoming WPF/e and WPF 
platforms, their community support and involvement needs to be greater then that 
of MS on a per dev basis. The product is only 20% of the work effort to see a 
real success, the other 80% is execution, and actions required to get a user 
base that makes future development worth while.

Convincing developers 
to change platforms will be much harder then convincing designers. MS has to 
convince the designers, and Adobe need to convince the developers. Adobes task 
is much greater.

I’m afraid that the 
post came off as someone whining cause his questions don’t get answered which 
was not at all the intent.

I frequent the MS 
channle9 and MS forums often as I use their products, there is no talk about 
Flex/Apollo only WPF/Ajax/WPFE. I’m an avid tech blog reader, tech magazine 
reader, all around anything tech, and see no mention or little thereof of Flex. 
I heard the first time of Flex 1.5 last June? How long has it been out? I’m a 
dev that’s always looking for new technology to solve problems, so how is this 
possible.

This worries me too the 
core about the future of Flex. It’s a viable platform, and very powerful, 
however Macromedia has/had a reputation in the Dev world (animations etc..) 
Adobe has a rep in the Dev world (it’s just for designers). So how can Adobe 
hope to unclench the Dev world that MS fights so much to protect? It takes much 
more then a superior product to make it happen. MS is a PR machine. Unless Adobe 
gets very involved (very being an understatement) how does Adobe hope to 
accomplish this? The only way is better execution combined with superior 
involvement/support, and then hope that the word of mouth becomes viral. 


To become viral you 
need the story which Flex has, and the people to spread that. The story of Flex 
is not getting out there enough. 

I believe that Flex has 
the potential to stop MS WPF/e in it’s tracks, but the buck starts here, not in 
6 months, and not in 2.

Anyway enough rambling, 
I’ll just continue to do my part where I can to ensure my investment pay’s 
off.

Again my apologies if 
it came off the wrong way.

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Gordon SmithEnvoyé: vendredi 23 juin 2006 
  08:10À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Please Adobe. Unanswered questions, and building the 
  community
  
  My understanding is that Adobe support engineers don't generally start 
  supporting products until they are released (and therefore the product is 
  stable). It's up to the development team to support alpha, beta, and GMC 
  releases and we do that to the best of our abilities as we have spare time. 
  We're currently helping to train the Flex support engineers to take over this 
  work since we are about to release.Also, some of us are paying a bit 
  more attention to the "official" adobe.com forums and a bit less to 
  flexcoders, but we try to monitor multiple places if possible.Finally, 
  we're also missing Matt Chotins's contribution... he got promoted to 
  Product Manager.- Gordon-Original Message-From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of Jason HawrylukSent: Thursday, June 22, 2006 7:58 AMTo: [EMAIL PROTECTED]ups.comSubject: 
  RE: [flexcoders] Please Adobe. Unanswered questions, and building the 
  communityIf they would confirm it's a bug then yes I agree, If they 
  read them all howhard is it to respond with a simple it's a bug, should be 
  able to do that,try looking into here or this. The questions asked are not 
  consideredtrivial in my mind, it's not like I've ever asked how to build a 
  cellrenderer or anything (not that that's bad). It's rare I do not have 
  the helpup at the same time as flex, I refer to it very often.I 
  feel the post has been taken in a critical sense. I want to see 
  Flexsucceed as much as the next person, however to think that a strong 
  communitycan be built without considerable contributions from the maker, 
  is kind ofhard to imagine. Where would Java be today if Sun did spend a 
  considerableeffort, and expense in its community building?"A 
  couple of questions answered here, and there will not do it. " May 
  havebeen out of line :)Anyway thanks for the 
  input.Jason-Message d'origine-De : [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]De 
  lapart de Tom ChivertonEnvoyé : jeudi 22 juin 2006 10:56À : [EMAIL PROTECTED]ups.comObjet 
  : Re: [flexcoders] Please Adobe. Unanswered questions, andbuilding the 
  communityOn Thursday 22 June 2006 09:16, sourcecoderia wrote: 
  bothered, or it's a bug. Since the first thought is that they can't be 
  bothered we 

RE: [flexcoders] Connection Debugging

2006-07-03 Thread Bjorn Schultheiss










Hi Abdul,



I think I may have asked a similar
question before that you also answered.

I just upgraded from 1.2.11 to latest
1.2.13

In my app successfully pulling data from
coldfusion but Im not seeing any traffic in ServiceCapture

Im running coldfusion on
localhost:8500



My remoteObject looks like this

mx:RemoteObject
id=menuService


destination=ColdFusion


result=event.call.resultHandler(event)


fault=event.call.faultHandler(event)


showBusyCursor=true


source=com.upmarket.store.dao.CategoriesDAO
/ 



Do I need to set any extra settings?



Within my flex-enterprise-services.xml
logging section I have

 logging


target class=flex.messaging.log.ConsoleTarget
level=Debug


properties


prefix[Flex] /prefix


includeDatefalse/includeDate


includeTimefalse/includeTime


includeLevelfalse/includeLevel


includeCategoryfalse/includeCategory


/properties


filters


patternEndpoint.*/pattern


patternService.*/pattern


patternConfiguration/pattern


patternMessage.*/pattern


/filters


/target

 /logging



Any help would be much appreciated



Regards,



Bjorn Schultheiss

Senior Flash Developer

QDC Technologies









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz
Sent: Monday, 19 June 2006 11:05
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Connection Debugging











it works.

-abdul



On 6/19/06, Bjorn
Schultheiss [EMAIL PROTECTED]
wrote: 













In Flash Development I
was using ServiceCapture for my NetConnection Debugging.



What's the preferred
NetConnection debugger for Flex2?

In particular I'm using
a Coldfusion backend.



Has anyone managed to
use ServiceCapture with flex2?





Regards,



Bjorn Schultheiss

Senior Flash Developer



QDC Technologies

























__._,_.___





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



  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] What is the difference between versions of Flex Data Services

2006-07-03 Thread Matt Chotin












1











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jack W. Caldwell
Sent: Thursday, June 29, 2006 1:06
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What is
the difference between versions of Flex Data Services











Matt:



Is Dual-Core considered 1 or 2 CPUs?



Thanks,



Jack









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, June 29, 2006 1:41
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What is
the difference between versions of Flex Data Services





A departmental server often needs a server for testing and perhaps
one other server for failover. We want you to be able to support this
configuration so we have an option of $6k/cpu but no matter how many CPUs you
have you cannot have more than 100 concurrent users.

For enterprise you pay per CPU and your configuration can be
whatever you please with as many users as you can handle.

HTH,

Matt











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: Wednesday, June 28, 2006
1:05 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What is
the difference between versions of Flex Data Services











So you
think you *can* cluster the 6k version of the product but they
only allow you 100 users?

Does that mean that for 20k the enterprise version gives you unlimited
users over an unlimited number of CPU's? I bet this isnt so. So I am
still confused as to what the difference between the 6k and the free
product is.

Hank

On 6/28/06, Dirk Eismann [EMAIL PROTECTED]ramuschkat.de
wrote:
 The free one has no concurrent user limit - it's all up to your 1 CPU
 and how much it can handle.

 If you run a beefy app (not just using proxying but Data Management
 Services and Messaging etc.) then I bet it will die before you reach the
 100 :)

 Dirk.

  -Original Message-
  From: [EMAIL PROTECTED]ups.com
  [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of hank williams
  Sent: Wednesday, June 28, 2006 8:54 PM
  To: [EMAIL PROTECTED]ups.com
  Subject: [flexcoders] What is the difference between versions
  of Flex Data Services
 
  I understand there is a free version of fds, and 6k version,
  and a 20k version of fds.
 
  But I cant find any detailed info about this on the website.
 
  One of the key questions I have is what is the difference
  between the free version and the 6k version. Supposedly the
  free version will only allow for one app on one CPU. but as I
  understand it, the 6k version only allow for 100 users. So
  does the free one have the same restrictions or not. It
  sounds like the free one is better than the 6k one, though I
  am sure thats not the case.
 
  Anyway, a detailed description of the value proposition for
  each version would be very helpful.
 
  Thanks
  Hank
 
 
   Yahoo! Groups Sponsor
  ~-- Yahoo! Groups gets a make over.
See
  the new email design.
  http://us.click.yahoo.com/XISQkA/lOaOAA/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: 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








   



  




  
  
  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.0 final - Possbile bug with PopUpButton and PopUpMenuButton

2006-07-03 Thread Benoit Hediard





I've also encountered this issue (event dispatched 
twice).

Here is a workaround :
private function itemClickHandler(event:MenuEvent):void 
{
 if (event.index != -1) { // Workaround 
to ignore the second event
 
...
 }
}

Benoit Hediard


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de 
sinatoskEnvoyé: dimanche 2 juillet 2006 
21:41À: flexcoders@yahoogroups.comObjet: 
[flexcoders] F2.0 final - Possbile bug with PopUpButton and 
PopUpMenuButton
4 days after the release I come to update my Flex Application from 
Beta 3 to Final and the 2 main components I used seem to be bugged. not very 
good at explaining things to bare with me please :pPopUpButton 
 - Every time I select an item... 
the "itemClick" event gets dispatched twice. it just pops with with 2 Alert 
dialogs every time I select an 
itemPopUpMenButton - When I put my mouse over 
an item for the first time works fine... but soon as I hover over another 
menu item in the main level... the menu closes automatically and also if I Hover 
over an item that is a sub menu I can keep going in and in until there are 
no more children... or I could just go in once... and then soon as I hover over 
another item... again the menu just closes. Both times this is without click on 
any items in the menu I've posted the code belowFlex code 
being:?xml version="1.0" encoding="utf-8"?mx:Application 
xmlns:mx="http://www.adobe.com/2006/mxml " 
layout="absolute" 
mx:Script 
![CDATA[ 
import 
mx.controls.*; 
import 
mx.events.*; 
private var 
myMenu:Menu; 
 private 
var i:uint = 
0; // 
Initialize the Menu control, and specify it as the pop up 
object // 
of the PopUpButton control. 
 private 
function initMenu():void { 
 
myMenu = new 
Menu(); 
var dp:Object = [{label: "New Folder"}, {label: "Sent Items"}, {label: 
"Inbox"}]; 
 
myMenu.dataProvider = dp; 
 
myMenu.selectedIndex = 0; 
 
myMenu.addEventListener("itemClick", 
itemClickHandler); 
popB.popUp = 
myMenu; 
popB.label = "Put in: " + 
myMenu.dataProvider[myMenu.selectedIndex].label; 
} // 
Define the event listener for the Menu control's itemClick event. 
 private 
function itemClickHandler(event:MenuEvent):void { 
 
var label:String = event.item.label; 
 
popTypeB.text=String("Moved to " + 
label); 
popB.label = "Put in: " + 
label; 
popB.close 
(); 
myMenu.selectedIndex = 
event.index; 
 
Alert.show('menu popup number ' + 
++i); 
} ]] 
/mx:Script mx:Panel title="PopUpButton 
Control Example"  paddingTop="10" 
paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" 
width="411" mx:Label 
width="100%" color="blue" 
 
text="Button label contains the name of the last selected menu item." 
/ mx:PopUpButton id="popB" 
label="Edit" creationComplete="initMenu();" width="135" / 
 
 mx:Spacer height="50" 
/ mx:TextInput 
id="popTypeB" / 
 /mx:Panel 
 
mx:Script 
![CDATA[ 
import 
mx.events.*; 
import 
mx.controls.*; 
 //Event 
handler, invoked when you select from the 
menu. 
public function itemClickHandler2(event:MenuEvent):void { 
 
Alert.show("Menu label: " + 
event.label 
+ " \n menu item index within parent menu: " + 
event.index); 
} ]] 
/mx:Script   !-- A an 
data provider in E4X format. -- mx:XMLList 
id="treeDP2" node 
label="Inbox" 
node 
label="Personal" 
node label="Family"/ 
 
node label="Friends"/ 
 
/node 
node 
label="Marketing"/ 
node label="To Do"/ 
/node  node 
label="Calendar" 
node label="Appointments" 
data=""/ 
node label="Meetings"/  
/node node 
label="Deleted Items"/  
/mx:XMLList mx:Panel 
title="PopUpMenuButton Control Example" 
 paddingTop="10" paddingLeft="10" 
paddingRight="10" x="10" y="205" height="143" width="271" 
 mx:Label width="100%" 
color="blue" 
text="Click the down arrow to open the 
menu."/ 
mx:PopUpMenuButton id="p2" 
 
dataProvider="{treeDP2}" 
 
labelField="@label" 
itemClick="itemClickHandler2(event);"/ 
/mx:Panel/mx:ApplicationFlex code end;Is it 
possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 9.0.16.0 ( without debug ) 
__._,_.___





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



  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: Flash player is not a debugger?

2006-07-03 Thread Matt Chotin












We have a security fix that doesnt
allow you to downgrade your player to a minor version.  Since the web player
was r16 and debug player r15 that security fix was kicking in to prevent the
debug player from being installed.  Cant really share how that fix works
J



Matt











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Hawryluk
Sent: Friday, June 30, 2006 12:33
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Flash player is not a debugger?











Thank you! That worked. I would like to know however what the exact
problem was,I did clean out the registry,and any reference to the
flash player. Among the million other things i tried :)



Was it just a version incompatibility ?





In any case as long as it works. I was
really dreading having to reformat my post today. :)











Happy person here :)











Jason























-Message d'origine-
De: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]De la part de Matt Chotin
Envoyé: vendredi 30 juin
2006 01:16
À: flexcoders@yahoogroups.com
Objet: RE: [flexcoders] Re:
Flash player is not a debugger?







Howdy all, go here: http://www.adobe.com/support/flashplayer/downloads.html
and take a look at the tech note and resolution. New debugger players are
available for download.

Thanks for your patience and sorry for the inconvenience,
this one fell through the cracks

Matt











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, June 29, 2006
11:08 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Flash player is not a debugger?











Hey
folks, 

I have some people on the Player team thinking about this and we have a
theory that I'm not quite ready to share. Give us a few hours to work
on this more internally, we think you're running into a security
restriction.

Thanks for your patience,

Matt

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Tom Chiverton
Sent: Thursday, June 29, 2006 8:44 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Re: Flash player is not a debugger?

On Thursday 29 June 2006 16:26, Daniel Tuppeny wrote:
 you meant the clever stuff you see if you edit things like
explorer.exe
 - they get copied back from a secret copy! (I even wiped that at the

I thought that was that.

Oh well. 

Stupid O/S.

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

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








   



  




  
  
  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: Connection Debugging

2006-07-03 Thread bjorn.schultheiss
I dont know how this appeared.
This post was 2 months old.
Please disregard.

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

 Hi Abdul,
 
  
 
 I think I may have asked a similar question before that you also
answered.
 
 I just upgraded from 1.2.11 to latest 1.2.13
 
 In my app successfully pulling data from coldfusion but I'm not
seeing any
 traffic in ServiceCapture
 
 I'm running coldfusion on localhost:8500
 
  
 
 My remoteObject looks like this
 
 mx:RemoteObject id=menuService
 
 destination=ColdFusion
 
 result=event.call.resultHandler(event)
 
 fault=event.call.faultHandler(event)
 
 showBusyCursor=true
 
 source=com.upmarket.store.dao.CategoriesDAO /   
 
  
 
 Do I need to set any extra settings?
 
  
 
 Within my flex-enterprise-services.xml logging section I have
 
 logging
 
 target class=flex.messaging.log.ConsoleTarget level=Debug
 
 properties
 
 prefix[Flex] /prefix
 
 includeDatefalse/includeDate
 
 includeTimefalse/includeTime
 
 includeLevelfalse/includeLevel
 
 includeCategoryfalse/includeCategory
 
 /properties
 
 filters
 
 patternEndpoint.*/pattern
 
 patternService.*/pattern
 
 patternConfiguration/pattern
 
 patternMessage.*/pattern
 
 /filters
 
 /target
 
 /logging
 
  
 
 Any help would be much appreciated
 
  
 
 Regards,
 
  
 
 Bjorn Schultheiss
 
 Senior Flash Developer
 
 QDC Technologies
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Abdul Qabiz
 Sent: Monday, 19 June 2006 11:05 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Connection Debugging
 
  
 
 it works.
 
 -abdul
 
 On 6/19/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote: 
 
 In Flash Development I was using ServiceCapture for my NetConnection
 Debugging.
 
  
 
 What's the preferred NetConnection debugger for Flex2?
 
 In particular I'm using a Coldfusion backend.
 
  
 
 Has anyone managed to use ServiceCapture with flex2?
 
  
 
 Regards,
 
  
 
 Bjorn Schultheiss
 
 Senior Flash Developer
 
 QDC Technologies








 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




Re: [flexcoders] app startup / load times

2006-07-03 Thread hank williams
On 7/3/06, Richard Kroll [EMAIL PROTECTED] wrote:
 Hank,
 One thing you have to keep in mind is that Flex 2.0 is tailored to web
 *applications* instead of to web sites.

This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that the
website part of my stuff can open more quickly. Most applications
still need the website-ish stuff to tell the user why they should care
and what the app is.

Basically I am wondering whether I really need to go through that
extra effort of making a separate thing in order to improve startup
performance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is really
annoying to people I dont want to loose potential users because the
startup was too slow.

Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoples
thoughts. I'm really hoping people will convince me not to worry about
it, but I am open to being convinced that I need to do a two stage
site.


 When a user starts up a typical
 application, a 8-10 second delay prior to the application to start up is
 not an unusually long delay for startup.  Most Flex apps that I've seen
 to date are starting up in the 3-5 second range, which I believe is
 completely acceptable.

I agree that 3-5 seconds is totally ok. I have no idea what the real
world experience will be for most people and 8-10 seconds was just a
guess based on file size and guesses about the low end of average
connection speeds.

Regards
Hank

I'm not saying that people will not use flex to
 create websites, but I think that a lot of the power that is offered by
 the platform will not be used, and will potentially bloat the file size
 of the site (I'm not positive if the flex platform will dynamically
 remove unused classes, someone have input?).



 HTH,
 Rich Kroll
 Application Developer

 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of hank williams
 Sent: Sunday, July 02, 2006 10:37 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] app startup / load times

 For the first time since I started playing with flex (a couple of
 weeks) I checked out the size of my app, which is currently 477k.

 My app isnt that big, so I presume most of that is just the size of
 the framework. I am just wondering what do people think about that in
 terms of user start up time. For a user with a 500kbps connection that
 is about 8 seconds before the app is loaded. Are people doing loaders
 to get things started? is there an accepted strategy for how to deal
 with this?

 There was another thread recently about how people shouldnt use flex
 for websites and one person provided aesthetic reasons. In my mind, if
 there is a reason (and I am not arguing that there is) but if there is
 a reason not to use it for websites it would be the file size. 10
 seconds seems like a long time to make someone wait before they see
 something. On the other hand perhaps I am underestimating the average
 connection speed.

 Anyway, like I said I would just like to get peoples thoughts on this
 issue.

 Hank


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










 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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] Can Flash 8 use FDS messages (JMS)?

2006-07-03 Thread Luís Gustavo Sanabio



Hi,

 I want to build a chat (one a one) application but I would like to comunicate with FLASH 8 too.
 Can I use the Flash Remoting to comunicate with FDS 2 JMS?

thanks,
Gustavo


__._,_.___





--
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] app startup / load times

2006-07-03 Thread Tom Chiverton
On Monday 03 July 2006 14:01, hank williams wrote:
 world experience will be for most people and 8-10 seconds was just a
 guess based on file size and guesses about the low end of average

It's not like it's sat there appearing to be locked up or something for 10 
seconds - there's a progress bar to let people know it is actually doing 
something.

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



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

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

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

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





Re[2]: [flexcoders] Re: Flash player is not a debugger?

2006-07-03 Thread Andriy Panas
Hello Matt,


 We have a security fix that doesn’t allow you to downgrade your
 player to a minor version.  

  Sorry for ongoing continuation of this story, may be I am not in sync,
but I wonder then how Plugin Switcher tool does its job 
(http://www.pluginswitcher.de/).

  By the help of Plugin Switcher, I can easlily downgrade my Flash
player versions in all major browsers, Flash IDE and standalone
projector players too.


-- 
Best regards,
 Andriymailto:[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 
Yahoo! Groups Links

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

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

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




Re: [flexcoders] change to mm.cfg setup in FP9?

2006-07-03 Thread Paul BH



yep - tried using the standalone player:C:\Program Files\Adobe\Flex Builder 2 Plug-in\Player\debug\saflashplayer.exeand both IE and FF plugins (debug)also tried removing the outputfilename parameter (at your suggestion) so that any trace output would go to the default location /me/flashlog.txt
still no dicethe only way I can see my trace is when I do debug asflex app and then I see the trace in the console.if anyone can offer any other clues I'd be really grateful (or even just confirm that it works for them!)
taPBHOn 7/2/06, Johannes Nel [EMAIL PROTECTED] wrote:













  



make certain its the debug player you have installed otherwise it does not trace.On 6/30/06, 
Paul BH [EMAIL PROTECTED]
 wrote:hi all - having some trouble setting up log file tracing using FP9

standalone debug player...Ive done this a load of times befre, but this time round I just cantget it to workmy mm.cfg file is in the root of my user filder and loks like this:TraceOutputFileName=c:/logs/flashlog.txt
ErrorReportingEnable=1TraceOutputFileEnable=1MaxWarnings=0pretty simple, but it just doesnt want to work for me...anyone have any pointers on any gotchas I might have overlooked?ta

PBH Yahoo! Groups Sponsor ~--Yahoo! Groups gets a make over. See the new email design.

http://us.click.yahoo.com/XISQkA/lOaOAA/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/
-- j:pn http://www.lennel.org

  















__._,_.___





--
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] QTP 9 to test Flex 2.0

2006-07-03 Thread Shannon Hicks





From the QTP product page:

New Environment 
Support: Supports Web services, .NET 2.0, Firefox 1.5, Netscape 8, 
Macromedia Flex 2, Win XP 64 bit, Internet Explorer 7, and the latest ERP/CRM 
applications.

I attended a Load/Functionality testing session at CF 
United, and the speaker did say that QTP worked great with Flex. You do have to 
include a QTP-provided actionscript in your main app file, and take it out when 
you're done testing.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of DeepikaSent: 
Sunday, July 02, 2006 9:54 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] QTP 9 to test Flex 
2.0


I am trying to use QTP 9 to test flex 2.0.Does anyone have idea whether 
QTP 9 can support objects in aflex 2.0application or not? Do I have to buy 
some spl. support files frommacromedia for that?I had given this msg 
earlier also but not been able to get the proper response.
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


[flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip functions

2006-07-03 Thread pasflex
The method signature for a datatip function changed in from beta3 to 
release, it used to take ChartItemEvent as an argument now it takes 
HitData.

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

 Error #1034: Echec de la contrainte de type: conversion de
 mx.charts::[EMAIL PROTECTED] mx.charts.events.ChartItemEvent est 
impossible
 at mx.charts.chartClasses::ChartBase/::invokeDTFunction()
 at mx.charts::HitData/get displayText()
 at mx.charts.chartClasses::DataType/set data()
 at mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
 ...
  
 Here is another error I've never encountered since FP9 + Flex 2 
Final.
 It is generated when doing a rollover on bar of a BarChart on our 
app.
  
 I'm going to try to isolate and reproduce the bug on a simple case.
  
 Anyone else facing this issue?
 And found a workaround?
  
 Benoit Hediard








 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 




RE: [flexcoders] Flex 2 Final : Error #1009, in RadioButton/get labelPlacement()

2006-07-03 Thread Benoit Hediard





I've investigated this issue a little bit 
more.
It looks like there some problems with RadioButton when 
they are usedin groups.
First display is generally correct, but when the display 
list is refreshed, it generates some bugs.


Inour case, the RadioButton group isused in a 
popup, and even after the popup is deleted, some popup 
displayroutinesare still 
executed.

When debuggingis on, the erroris generated in 
RadioButton.as, at line 172, because the property groupis 
null :
if (_labelPlacement != "") {
 value = 
_labelPlacement;
} else if (_group  
group.labelPlacement != "") { // L.172
 value = 
group.labelPlacement;
}

Workaround : always define labelPlacement 
in all your RadioButton (so that the group labelPlacement is never 
read).

I've also encountered a similar error in another case : 
RadioButton groups used inside a Repeater, with the groupName defined during the 
repeater execution (groupName="{theRepeater.currentIndex}").
First executionis correct, but the next ones generate 
anerror.

When debuggingis on, the error is generated 
in the RadioButton.as, at line 454, for the same reason (property 
groupis null) :
var g:RadioButtonGroup = group:
g.addInstance(this); // 
L.454

I haven't found a workaround for this 
one.

It's too bad because all of this was working in previous 
beta but not on the final release ;).

Benoit Hediard


De: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de Benoit 
HediardEnvoyé: lundi 3 juillet 2006 12:36À: 
flexcoders@yahoogroups.comObjet: [flexcoders] Flex 2 Final : 
Error #1009, in RadioButton/get labelPlacement()

Error #1009: Il est 
impossible d'accéder à la propriété ou la méthode d'une référence d'objet 
nul.
(in english, 
something like "it is not possible to access the property or the method of the 
null object reference")
at 
mx.controls::RadioButton/get labelPlacement()
at 
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents()
at 
mx.controls::Button/mx.controls:Button::updateDisplayList()
...

In Flex2 final, I'm 
getting this error regularly...
Not tried yet to 
reproduce it on a simpleregular case, but it looks like pretty 
random.
I don't use the 
labelPlacement property in our app.

I've never 
encountered this error in previous beta, only since the FP9 / Flex2 
Final.
Looks like a very 
annoyinglow level framework error, related to the layout of 
RadioButtons.


Anyone else facing 
this issue?
And found a 
workaround?

Benoit 
Hediard 
__._,_.___





--
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] Error that is killing me.

2006-07-03 Thread Jeremy Rottman
I am working on my transaction app, and I have run into an error that I
cant figure out. In my cfc I am returning a struct that holds all my
data that I am trying to populate my flex form inputs with. The cfc is
working correctly, I know this because I can get a proper out put when I
test the function I am working with, however when I test it with my flex
code I get this error.

Any help with this would be greatly appreciated.

ReferenceError: Error #1069: Property firstName not found on String and
there is no default value.
 at
components.views.contacts::viewSearchVendor/::VendorManager_Vendor_Displ\
ay_Result()
 at
components.views.contacts::viewSearchVendor/__vendorDG_doubleClick()


Here is my as code I am using to call my cfc function. This function is
called when a user dbl clicks a record in my data grid.

//*VENDOR POPULATE
START***

// CALL POPULATE EDIT VENDOR
 private function VendorManager_Vendor_Display(UUID){
 VendorManager.Vendor_Display(UUID)
 }

// HANDLE POPULATE EDIT VENDOR RESULTS
 private function
VendorManager_Vendor_Display_Result(result):void{
 parentApplication.mainDisplay.vven.firstName.text =
result.firstName;
 parentApplication.mainDisplay.vven.lastName.text =
result.lastName;
 parentApplication.mainDisplay.vven.compName.text =
result.compName;
 parentApplication.mainDisplay.vven.address.text =
result.addrss;
 parentApplication.mainDisplay.vven.city.text = result.city;
 parentApplication.mainDisplay.vven.state.text =
result.state;
 parentApplication.mainDisplay.vven.zip.text = result.zip;
 parentApplication.mainDisplay.vven.hPhone.text =
result.hPhone;
 parentApplication.mainDisplay.vven.wPhone.text =
result.wPhone;
 parentApplication.mainDisplay.vven.mPhone.text =
result.mPhone;
 parentApplication.mainDisplay.vven.fax.text = result.fax;
 parentApplication.mainDisplay.vven.email.text =
result.email;
 parentApplication.mainDisplay.vven.url.text = result.url;
 parentApplication.mainDisplay.vven.uuid.text = result.uuid;

 for (var i = 0;i  vendorTypeDP.length; i++)
 {
   if (vendorTypeDP[i].data == result.type)
  {
 parentApplication.mainDisplay.vven.type.selectedIndex =
i;
   }
 }
 }

// HANDLE POPULTAE EDIT VENDOR ERRORS
 private function
VendorManager_Vendor_Display_Fault(event:FaultEvent):void{
 Alert.show(Test Error,Program Error);
 }


//*VENDOR POPULATE
END*


Here is my datagrid.

 mx:DataGrid x=240 y=40 id=vendorDG
doubleClickEnabled=true
 
doubleClick=VendorManager_Vendor_Display_Result(vendorDG.selectedItem.F\
LD_VENDOR_UID) width=80% height=100%
 mx:columns
 mx:DataGridColumn headerText=Name
dataField=FLD_VENDOR_FULLNAME/
 mx:DataGridColumn headerText=Company
dataField=FLD_VENDOR_COMPANYNAME/
 mx:DataGridColumn headerText=Phone
dataField=FLD_VENDOR_WORKPHONE/
 mx:DataGridColumn headerText=Fax
dataField=FLD_VENDOR_FAX/
 mx:DataGridColumn dataField=FLD_VENDOR_UID/
 /mx:columns
 /mx:DataGrid



Here is my CFC function code.

 cffunction name=Vendor_Display access=remote output=false
returntype=struct 
 cfargument name=UUID required=no type=string /

 cfquery name=VendorDisplayQry
datasource=#application.dsn#
 select * from tbl_smartPanel_vendors

 where fld_vendor_uid = cfqueryparam
cfsqltype=cf_sql_varchar value=#arguments.UUID# /
 /cfquery

 cfset VendorInfo = structNew()
 cfscript
 VendorInfo['firstName'] =
#VendorDisplayQry.fld_vendor_firstname#;
 VendorInfo['lastName'] =
#VendorDisplayQry.fld_vendor_lastname#;
 VendorInfo['compName'] =
#VendorDisplayQry.fld_vendor_companyname#;
 VendorInfo['address'] =
#VendorDisplayQry.fld_vendor_address#;
 VendorInfo['city'] =
#VendorDisplayQry.fld_vendor_city#;
 VendorInfo['state'] =
#VendorDisplayQry.fld_vendor_state#;
 VendorInfo['zip'] =
#VendorDisplayQry.fld_vendor_zip#;
 VendorInfo['hPhone'] =
#VendorDisplayQry.fld_vendor_homephone#;
 VendorInfo['wPhone'] =
#VendorDisplayQry.fld_vendor_workphone#;
 VendorInfo['mPhone'] =
#VendorDisplayQry.fld_vendor_mobilephone#;
 VendorInfo['fax'] =
#VendorDisplayQry.fld_vendor_fax#;
 VendorInfo['email'] =
#VendorDisplayQry.fld_vendor_email#;
 VendorInfo['url'] =

[flexcoders] DestinationLocator (Cairngorm 2)

2006-07-03 Thread João Fernandes










After downloading this 2 files from Peter
Martins blog (http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngorm_2_sec.cfm)

I converted my service to
DestinationLocator. I got a lot of getInstance() not found.



Shouldnt the DestinationLocator
provided in the zip file have a constructor and a getInstance() like the
serviceLocator?



Regards,



João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[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.



  






__,_._,___





[flexcoders] DataChange event in DataGrid

2006-07-03 Thread polestar11
Hi there

I am trying to capture the dataChange event in a datagrid, but my
associated method is not being called when I change data in the grid.

Here is the code:

mx:Script
 ![CDATA[
public function updateData() {
 trace(*** UPDATE DATA)
 tempArray =  [{col1:Jack, col2:Col2 A}, {col1:Col2 A,
col2:Col2 B},{col1:Col3 A, col2:Col3 B}];
}
public function  doDataChange() {
 trace(*** DATA CHANGEED)
}
 [Bindable]
 public var tempArray:Array = [{col1:Col1 A, col2:Col2 A},
{col1:Col2 A, col2:Col2 B},{col1:Col3 A, col2:Col3 B}]  
 ]]
/mx:Script
mx:Button click=updateData() x=656 y=426 /
mx:DataGrid id=dg dataChange=doDataChange() 
dataProvider={tempArray} x=656 y=447
 mx:columns   
  mx:DataGridColumn headerText=Col1 dataField=col1 /
  mx:DataGridColumn headerText=Col2 dataField=col2 /  
 /mx:columns
/mx:DataGrid

Any help much appreciated
Cheers
Tracy






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 





RE: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread Shannon Hicks





Exactly how are you changing the data? Perhaps I'm blind. I 
don't see the grid as editable, nor do I see any function changing the 
data.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
polestar11Sent: Monday, July 03, 2006 9:23 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
DataChange event in DataGrid


Hi thereI am trying to capture the dataChange event in a datagrid, 
but myassociated method is not being called when I change data in the 
grid.Here is the 
code:mx:Script![CDATA[public function updateData() 
{trace("*** UPDATE DATA")tempArray = [{col1:"Jack", col2:"Col2 A"}, 
{col1:"Col2 A",col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 
B"}];}public function doDataChange() {trace("*** DATA 
CHANGEED")}[Bindable]public var tempArray:Array = [{col1:"Col1 A", 
col2:"Col2 A"},{col1:"Col2 A", col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 
B"}] ]]/mx:Scriptmx:Button click="updateData()" 
x="656" y="426" /mx:DataGrid id="dg" 
dataChange="doDataChange()" dataProvider="{tempArray}" 
x="656" y="447"mx:columns mx:DataGridColumn 
headerText="Col1" dataField="col1" /mx:DataGridColumn 
headerText="Col2" dataField="col2" / 
/mx:columns/mx:DataGridAny help much 
appreciatedCheersTracy
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


RE: [flexcoders] Error that is killing me.

2006-07-03 Thread Benoit Hediard
Try to put a breakpoint on VendorManager_Vendor_Display_Result() and launch
a debugging session :
- check that result returned by the cfc is correct on the client side,
- check that parentApplication.mainDisplay.vven.firstName exists.

Benoit Hediard

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Jeremy Rottman
Envoyé : lundi 3 juillet 2006 16:16
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Error that is killing me.

I am working on my transaction app, and I have run into an error that I cant
figure out. In my cfc I am returning a struct that holds all my data that I
am trying to populate my flex form inputs with. The cfc is working
correctly, I know this because I can get a proper out put when I test the
function I am working with, however when I test it with my flex code I get
this error.

Any help with this would be greatly appreciated.

ReferenceError: Error #1069: Property firstName not found on String and
there is no default value.
 at
components.views.contacts::viewSearchVendor/::VendorManager_Vendor_Displ\
ay_Result()
 at
components.views.contacts::viewSearchVendor/__vendorDG_doubleClick()


Here is my as code I am using to call my cfc function. This function is
called when a user dbl clicks a record in my data grid.

//*VENDOR POPULATE
START***

// CALL POPULATE EDIT VENDOR
 private function VendorManager_Vendor_Display(UUID){
 VendorManager.Vendor_Display(UUID)
 }

// HANDLE POPULATE EDIT VENDOR RESULTS
 private function
VendorManager_Vendor_Display_Result(result):void{
 parentApplication.mainDisplay.vven.firstName.text =
result.firstName;
 parentApplication.mainDisplay.vven.lastName.text =
result.lastName;
 parentApplication.mainDisplay.vven.compName.text =
result.compName;
 parentApplication.mainDisplay.vven.address.text =
result.addrss;
 parentApplication.mainDisplay.vven.city.text = result.city;
 parentApplication.mainDisplay.vven.state.text = result.state;
 parentApplication.mainDisplay.vven.zip.text = result.zip;
 parentApplication.mainDisplay.vven.hPhone.text = result.hPhone;
 parentApplication.mainDisplay.vven.wPhone.text = result.wPhone;
 parentApplication.mainDisplay.vven.mPhone.text = result.mPhone;
 parentApplication.mainDisplay.vven.fax.text = result.fax;
 parentApplication.mainDisplay.vven.email.text = result.email;
 parentApplication.mainDisplay.vven.url.text = result.url;
 parentApplication.mainDisplay.vven.uuid.text = result.uuid;

 for (var i = 0;i  vendorTypeDP.length; i++)
 {
   if (vendorTypeDP[i].data == result.type)
  {
 parentApplication.mainDisplay.vven.type.selectedIndex = i;
   }
 }
 }

// HANDLE POPULTAE EDIT VENDOR ERRORS
 private function
VendorManager_Vendor_Display_Fault(event:FaultEvent):void{
 Alert.show(Test Error,Program Error);
 }


//*VENDOR POPULATE
END*


Here is my datagrid.

 mx:DataGrid x=240 y=40 id=vendorDG
doubleClickEnabled=true
 
doubleClick=VendorManager_Vendor_Display_Result(vendorDG.selectedItem.F\
LD_VENDOR_UID) width=80% height=100%
 mx:columns
 mx:DataGridColumn headerText=Name
dataField=FLD_VENDOR_FULLNAME/
 mx:DataGridColumn headerText=Company
dataField=FLD_VENDOR_COMPANYNAME/
 mx:DataGridColumn headerText=Phone
dataField=FLD_VENDOR_WORKPHONE/
 mx:DataGridColumn headerText=Fax
dataField=FLD_VENDOR_FAX/
 mx:DataGridColumn dataField=FLD_VENDOR_UID/
 /mx:columns
 /mx:DataGrid



Here is my CFC function code.

 cffunction name=Vendor_Display access=remote output=false
returntype=struct 
 cfargument name=UUID required=no type=string /

 cfquery name=VendorDisplayQry
datasource=#application.dsn#
 select * from tbl_smartPanel_vendors

 where fld_vendor_uid = cfqueryparam
cfsqltype=cf_sql_varchar value=#arguments.UUID# /
 /cfquery

 cfset VendorInfo = structNew()
 cfscript
 VendorInfo['firstName'] =
#VendorDisplayQry.fld_vendor_firstname#;
 VendorInfo['lastName'] =
#VendorDisplayQry.fld_vendor_lastname#;
 VendorInfo['compName'] =
#VendorDisplayQry.fld_vendor_companyname#;
 VendorInfo['address'] =
#VendorDisplayQry.fld_vendor_address#;
 VendorInfo['city'] =
#VendorDisplayQry.fld_vendor_city#;
 VendorInfo['state'] =
#VendorDisplayQry.fld_vendor_state#;
 VendorInfo['zip'] =

[flexcoders] Re: DestinationLocator (Cairngorm 2)

2006-07-03 Thread Peter Martin
You are correct it should have a constructor and a getInstance()
method. At the time of writing it I only wrote it to work with
SecureDestinationLocator so there was no need - or that's my excuse
and I am sticking with it ;).

I will update the code on my blog so DestinationLocator can be used on
it's own.

--- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED]
wrote:

 After downloading this 2 files from Peter Martin's blog
(http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngorm_2_sec.cfm)
 
 I converted my service to DestinationLocator. I got a lot of
getInstance() not found.
 
  
 
 Shouldn't the DestinationLocator provided in the zip file have a
constructor and a getInstance() like the serviceLocator?
 
  
 
 Regards,
 
  
 
 João Fernandes
 Dep. Informática - Área de Desenvolvimento
 Cofina media
 
 Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
 Tel (+351) 213 185 200 . Fax (+351) 213 540 370
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]







 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 




RE: [flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip functions

2006-07-03 Thread Benoit Hediard
Indeed, I'm missed this one in the Flex 2 final changes from beta3...

Thanks!

Benoit Hediard 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de pasflex
Envoyé : lundi 3 juillet 2006 16:03
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip
functions

The method signature for a datatip function changed in from beta3 to
release, it used to take ChartItemEvent as an argument now it takes HitData.

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

 Error #1034: Echec de la contrainte de type: conversion de 
 mx.charts::[EMAIL PROTECTED] mx.charts.events.ChartItemEvent est
impossible
 at mx.charts.chartClasses::ChartBase/::invokeDTFunction()
 at mx.charts::HitData/get displayText() at 
 mx.charts.chartClasses::DataType/set data() at 
 mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
 ...
  
 Here is another error I've never encountered since FP9 + Flex 2
Final.
 It is generated when doing a rollover on bar of a BarChart on our
app.
  
 I'm going to try to isolate and reproduce the bug on a simple case.
  
 Anyone else facing this issue?
 And found a workaround?
  
 Benoit Hediard








 Yahoo! Groups Sponsor ~--
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

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

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





Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread polestar11
--- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote:

 Exactly how are you changing the data?

Hi Shannon

The datagrid references a bindable variable, tempArray, as its
dataProvider. There is a button that updates the tempArray value when
clicked, which updates the data in the datagrid.

Regards
Tracy





 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 




RE: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread Shannon Hicks





My bad... I was blind.

You need to cast your dataprovider as an arrayCollection, 
not an array.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
polestar11Sent: Monday, July 03, 2006 9:23 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
DataChange event in DataGrid


Hi thereI am trying to capture the dataChange event in a datagrid, 
but myassociated method is not being called when I change data in the 
grid.Here is the 
code:mx:Script![CDATA[public function updateData() 
{trace("*** UPDATE DATA")tempArray = [{col1:"Jack", col2:"Col2 A"}, 
{col1:"Col2 A",col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 
B"}];}public function doDataChange() {trace("*** DATA 
CHANGEED")}[Bindable]public var tempArray:Array = [{col1:"Col1 A", 
col2:"Col2 A"},{col1:"Col2 A", col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 
B"}] ]]/mx:Scriptmx:Button click="updateData()" 
x="656" y="426" /mx:DataGrid id="dg" 
dataChange="doDataChange()" dataProvider="{tempArray}" 
x="656" y="447"mx:columns mx:DataGridColumn 
headerText="Col1" dataField="col1" /mx:DataGridColumn 
headerText="Col2" dataField="col2" / 
/mx:columns/mx:DataGridAny help much 
appreciatedCheersTracy
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-03 Thread Carson Hager





If you swap the status code, the fault handler will still 
be triggered and this time you will get the full fault. That being said, I 
haven't tried this in the GA version of Flex 2. I'll be trying it this 
week.


Carson

Carson 
HagerCynergy Systems, Inc.http://www.cynergysystems.comEmail: 
[EMAIL PROTECTED]Office: 
866-CYNERGYMobile: 1.703.489.6466



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 22, 2006 12:52 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code



So if we swap the 500 status code for a 200, the fault 
handler won't be triggered?

This is sounding more and more useless each day! I guess 
the only way to do it is with try/catch and return our own object, and 
interrogate it after every call :-(


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 21 June 2006 13:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

The way it should work is for the fault handler to be 
triggered due to the fact that a SOAP fault was returned. At this point, the 500 
status code is what's triggering the fault.


Carson

  Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
 Email: 
[EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:05 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


I wasn't thinking to use the fault handler, I was just planning on 
everyresponse being an object with an error property that will usually 
benull, and checking for it myself. Your idea would be much nicer, but 
Idoubt it's possible, since we're pretending everything worked 
fine.Maybe changing the status code in a HttpHandler would be a 
nicersolution after all! -Original Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of z lSent: 21 June 2006 08:24To: [EMAIL PROTECTED]ups.comSubject: 
[flexcoders] Re: ACcess SOAP fault codeHi,Can someone explain to 
me that since you've caught the exception in yourcode, then how does the 
fault event handler in flex gets called?Generally speaking, what is the 
mechanism that triggers the fault eventin 
flex?Thanks,__Do 
You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection 
aroundhttp://mail.yahoo.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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: DestinationLocator (Cairngorm 2)

2006-07-03 Thread João Fernandes










Thanks,



I look forward to see SecureRemoteDestinationLocator then.



Btw, what is the Delegate approach youre using with
messaging and DataServices ?  

Are you setting result  fault handlers for each method
(fill,getItem,createItem,deleteItem)?

 

Thanks,





João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Martin
Sent: segunda-feira, 3 de Julho de 2006 15:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DestinationLocator (Cairngorm 2)













You are correct it should have a constructor
and a getInstance()
method. At the time of writing it I only wrote it to work with
SecureDestinationLocator so there was no need - or that's my excuse
and I am sticking with it ;).

I will update the code on my blog so DestinationLocator can be used on
it's own.

--- In flexcoders@yahoogroups.com,
João Fernandes [EMAIL PROTECTED]
wrote:

 After downloading this 2 files from Peter Martin's blog
(http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngorm_2_sec.cfm)
 
 I converted my service to DestinationLocator. I got a lot of
getInstance() not found.
 
 
 
 Shouldn't the DestinationLocator provided in the zip file have a
constructor and a getInstance() like the serviceLocator?
 
 
 
 Regards,
 
 
 
 João Fernandes
 Dep. Informática - Área de Desenvolvimento
 Cofina media
 
 Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
 Tel (+351) 213 185 200 . Fax (+351) 213 540 370
 [EMAIL PROTECTED] mailto:[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.



  






__,_._,___





[flexcoders] Flex2 release version - PopUp mangager ..sizing popups

2006-07-03 Thread bhaq1972
Hi 
can someone confirm this. i'm now having to set the widths and heights 
of the popups i create using PopUpManager.
i never had to do this before. flex/flashplayer would do it for me.


is this correct?






 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 





Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread polestar11
--- In flexcoders@yahoogroups.com, Shannon Hicks [EMAIL PROTECTED] wrote:
 You need to cast your dataprovider as an arrayCollection, not an array.

I updated the my array to an ArrayCollection type, but still no luck.
The function doDataChange() is still not being called.

public function updateData() {
 trace(*** UPDATE DATA)
 tempArray.source = [{col1:Jack, col2:Col2 A}, {col1:Col2 A,
col2:Col2 B},{col1:Col3 A, col2:Col3 B}];
 tempArray.addItem({col1:New 1, col2:New 2})
}

[Bindable]
public var tempArray:ArrayCollection = new
ArrayCollection([{col1:Col1 A, col2:Col2 A}, {col1:Col2 A,
col2:Col2 B},{col1:Col3 A, col2:Col3 B}])






 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
 





RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread Shannon Hicks





Looks like now you want to use the 
arrayCollection.collectionChange event to trap it.

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
polestar11Sent: Monday, July 03, 2006 9:54 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [Junk 
E-Mail - LOW] [flexcoders] DataChange event in DataGrid


--- In [EMAIL PROTECTED]ups.com, 
"Shannon Hicks" [EMAIL PROTECTED] wrote: You need to cast your 
dataprovider as an arrayCollection, not an array.I updated the my array 
to an ArrayCollection type, but still no luck.The function 
doDataChange() is still not being called.public function 
updateData() {trace("*** UPDATE DATA")tempArray.source = 
[{col1:"Jack", col2:"Col2 A"}, {col1:"Col2 A",col2:"Col2 
B"},{col1:"Col3 A", col2:"Col3 B"}];tempArray.addItem({col1:"New 1", 
col2:"New 2"})}[Bindable]public var 
tempArray:ArrayCollection = newArrayCollection([{col1:"Col1 A", 
col2:"Col2 A"}, {col1:"Col2 A",col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 
B"}])
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


[flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Timothy L. Colson
There was an offline / occassionally connected example for Flex 1.0...
but not in the 2.0 eval. My searches for offline and OCC are only
pulling up marketing hype saying that Flex 2.0 enables offline/occ!.

So is there a current Flex 2.0 example of an offline/OCC client?

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

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

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

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




Re: [flexcoders] Re: Flash player is not a debugger?

2006-07-03 Thread Tom Chiverton
On Sunday 02 July 2006 18:25, Matt Chotin wrote:
 security fix was kicking in to prevent the debug player from being
 installed.  Can't really share how that fix works :-)

Lets hope you've also closed whatever security hole allowed you to do it :-)

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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] Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
That is the warning I get when trying to bind a label's text to a
static var on my ModelLocator. Isn't this the most basic concept of
ModelLocator? What am I doing wrong here?

My MXML:

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=absolute creationComplete=onCreationComplete()
mx:Script
![CDATA[
private function onCreationComplete():void
{
TestModel.initialize();
}
]]
/mx:Script
mx:TabNavigator horizontalAlign=right bottom=10 top=10
left=10 right=10
mx:Canvas label=Search width=100% height=100% 
id=search
mx:Label x=130 y=136 text={TestModel.name} 
id=testLabel/
/mx:Canvas
/mx:TabNavigator
/mx:Application

TestModel.as:

package
{
import com.adobe.cairngorm.model.ModelLocator;

public class TestModel implements ModelLocator
{
public static var name:String;

public static function initialize():void
{
name = Some text;
}
}
}





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

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

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

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





Re: [flexcoders] Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread JesterXL
ViewHelpers == spawn of satan.  Nothing here but bloated code.  Seperation 
of concerns doesn't count here; it's just something they say to make 
themselves feel better by using them.

ViewLocators, to me are only justified in extreme use cases.  Having other 
View's, or even Commands specifically telling other views to do certain 
things are bad practice, but I have seen times where there is just no other 
way.  The rest of the time, databinding and combinations of getter / setters 
should accomplish what you want.  While their use should be discouraged, 
I'll be the first to admit they are useful and lifesavers when you need 
them.


- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 03, 2006 6:05 AM
Subject: [flexcoders] Cairngorm2: ViewLocator - ViewHelper


I've recently been toying with the concepts of ViewHelper vs.
ViewLocator.  Alex Ulmann posted, the ViewHelper adds and removes
itself from the ViewLocator, in his Cairngorm 2 (for Flex 2) -
Overview and Migration Path.  I haven't seen any examples yet that
illustrate this method.  Understandably, the example pool and
documentation for this kind of thing is small but growing.  So, I was
wondering if the authors of Cairngorm had any advise/guidance for this
topic.  Of course it's a matter of scale, but in an enterprise
application, what is recommended as best practice for the use of
ViewLocator and/or ViewHelpers?  I'm sure that there are forthcoming
books that cover this area, but feedback here might promote better
understanding.

Best regards,
Tim Hoff






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








 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





Re: [flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Jeremy Lu




With all the new Collections (ie: ArrayCollection) and carefully designed structure, 
you can always start building offline/OCC application without any help from 3rd party.On 7/3/06, Timothy L. Colson 
[EMAIL PROTECTED] wrote:












  



There was an offline / occassionally connected example for Flex 1.0...
but not in the 2.0 eval. My searches for offline and OCC are only
pulling up marketing hype saying that Flex 2.0 enables offline/occ!.

So is there a current Flex 2.0 example of an offline/OCC client?

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: coloring an entire cell in a DataGrid?

2006-07-03 Thread djbrown_rotonews
doing so causes my datagrid to be empty. any ideas why?

   override public function set data(value:Object):void {
if (!value) return;
super.data=value;   
//this.setStyle(backgroundColor,red);
// that line causes my grid to be empty if I leave it 
// uncommented  

}

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

 in that data() block, I would just use:
 
 this.setStyle(backgroundColor, red);
 
 to change the item renderer's background color.
 
 see if this works.
 
 Jeremy.
 
 On 7/1/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
any help? is there a more elegant way to do it inside of set 
data(),
  or is the beginFill/drawRect/endFill method shown as good as it 
gets?
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  djbrown_rotonews
 
  djbrown_rotonews@ wrote:
  
   Is the beginFill/drawRect/endFill the only way to do it inside 
of
   set data() as well, or is there an alternate way?
  
   --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:
   
Got it, thanks :-)
   
   
   
On 6/27/06, Joan Tan tan@ wrote:

 I believe that this was suggested to me by Alex. I think
  your
   way
 should work too though.


 --

 *From:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com] *On
 Behalf Of *Jeremy Lu
 *Sent:* Monday, June 26, 2006 4:22 PM
 *To:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: coloring an entire cell in 
a
   DataGrid?




 hi Joan,

 Just wondering is there any particular reason that you 
don't
   change the
 background color in the data() setter like this:

 public function set data(value:Object
  
  
http://../../../Object.html):voidhttp://../../../specialTypes.html
   #void
 {

 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

 }


 Jeremy.

 On 6/27/06, *Joan Tan* tan@ wrote:

 The color style of Text only affects the text and the 
not the
 background. Text doesn't actually have a background color 
so
  you
   must create
 an itemRenderer with a backgroundColor and then set it. 
This
   example was
 posted on another flexcoders thread entitled datagrid. 
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();

 }

 }

 }



 }




 --

 *From:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com] *On
 Behalf Of *djbrown_rotonews
 *Sent:* Monday, June 26, 2006 10:13 AM
 *To:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
 *Subject:* [flexcoders] Re: coloring an entire cell in a
   DataGrid?




 I'm using an itemRenderer to set the text color via the
  setStyle
 (color,color) construct, but it doesn't appear to be 
that
   simple
 for backgroundColor. Is the data() method part of the 
renderer
   API?

 --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.comflexcoders%
   40yahoogroups.com, Jeremy
 Lu wade.lu@ wrote:
 
  Using item renderer, yes.
 
  Check it in the manual and pay attention to data() 
method.
 
 
 
  On 6/26/06, djbrown_rotonews djbrown_rotonews@ wrote:
  
   Is there a way to color the entire cell, and not sure 
the
   cell
 text
   itself, inside a DataGrid?
  
  
  
 





   
  
 
   
 








--

RE: [flexcoders] app startup / load times

2006-07-03 Thread Ted Patrick
Hank,

First off the size of your app seems rather large. Here are a few things to 
check...

1. @Embed with Images - Embedding images directly adds to file size. Optimize 
images before embedding them.
2. Font usage - Fonts embed all glyths into the SWF resulting in a larger files 
in jumps of 30K.

Use of Runtime Shared Libraries:

Typically you do not have one Flex app, you have several, and then they start 
to multiply. RSL's allow you to package a set of components and assets into a 
dll of sorts and reuse it across applications. The result is a single RSL 
reused by many smaller Flex applications. The RSL is loaded via URL and cached 
in the browser (make sure it gets cached!!) and much smaller flex apps load 
this RSL at runtime.

No RSL:
   App1.swf = 300K
App2.swf = 300K
App3.swf = 300K

RSL Usage:

   App1.swf = 20K
App2.swf = 20K
App3.swf = 20K
   Rsl.swf = 280K

http://www.powersdk.com/ted/2005/07/flex-shared-libraries-tips-and-tricks.php

http://www.adobe.com/devnet/flex/articles/rsl.html

Hope this helps...

Ted Patrick
Flex Evangelist
Adobe Systems Incorporated







From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank 
williams
Sent: Sunday, July 02, 2006 7:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] app startup / load times

For the first time since I started playing with flex (a couple of
weeks) I checked out the size of my app, which is currently 477k.

My app isnt that big, so I presume most of that is just the size of
the framework. I am just wondering what do people think about that in
terms of user start up time. For a user with a 500kbps connection that
is about 8 seconds before the app is loaded. Are people doing loaders
to get things started? is there an accepted strategy for how to deal
with this?

There was another thread recently about how people shouldnt use flex
for websites and one person provided aesthetic reasons. In my mind, if
there is a reason (and I am not arguing that there is) but if there is
a reason not to use it for websites it would be the file size. 10
seconds seems like a long time to make someone wait before they see
something. On the other hand perhaps I am underestimating the average
connection speed.

Anyway, like I said I would just like to get peoples thoughts on this issue.

Hank
 


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

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

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

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





[flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
Whoops. Updated code, which now produces an error concerning Access
of a possibly undefined property 'name' through a reference with
static type TestModel. My label tag now looks like this:

mx:Label x=130 y=136 text={TestModel.getInstance().name}
id=testLabel/

And the TestModel class is updated to look like the sample in the
documentation:

package
{
import com.adobe.cairngorm.model.ModelLocator;

[Bindable]
public class TestModel implements ModelLocator
{
public static var name:String;
private static var modelLocator : TestModel;

public static function getInstance() : TestModel 
{
if ( modelLocator == null )
modelLocator = new TestModel();

return modelLocator;
}

public static function initialize():void
{
name = Some text;
}
}
}





 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
 





RE: [flexcoders] app startup / load times

2006-07-03 Thread Richard Kroll


Hank,
Think of what you are trying to accomplish, and how each fits into your
overall business.  It seems to me as though you are trying to merge your
application with the more marketing related website that sells it.  If
you look at these two things as distinct entities, it makes much more
sense to separate these into separate files with their own source code,
progress bars, (potentially) domains, etc.  This would reduce the load
time for users just coming to check out your software, and have the
additional benefit of keeping your source for the app completely
separate from the code you use to sell it.

HTH,
Rich


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Monday, July 03, 2006 9:01 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] app startup / load times

On 7/3/06, Richard Kroll [EMAIL PROTECTED] wrote:
 Hank,
 One thing you have to keep in mind is that Flex 2.0 is tailored to web
 *applications* instead of to web sites.

This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that the
website part of my stuff can open more quickly. Most applications
still need the website-ish stuff to tell the user why they should care
and what the app is.

Basically I am wondering whether I really need to go through that
extra effort of making a separate thing in order to improve startup
performance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is really
annoying to people I dont want to loose potential users because the
startup was too slow.

Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoples
thoughts. I'm really hoping people will convince me not to worry about
it, but I am open to being convinced that I need to do a two stage
site.

When a user starts up a typical
 application, a 8-10 second delay prior to the application to start up
is
 not an unusually long delay for startup. Most Flex apps that I've seen
 to date are starting up in the 3-5 second range, which I believe is
 completely acceptable.

I agree that 3-5 seconds is totally ok. I have no idea what the real
world experience will be for most people and 8-10 seconds was just a
guess based on file size and guesses about the low end of average
connection speeds.

Regards
Hank 


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 




RE: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread João Fernandes











Ben,



Your variables inside your TestModel souldnt be static except
for your modelLocator holder. 

When you do myModelLocator.getInstance() this function returns
an unique instance  of your modelLocator.





João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
Sent: segunda-feira, 3 de Julho de 2006 17:00
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to
detect assignments...













Whoops. Updated code, which now produces an
error concerning Access
of a possibly undefined property 'name' through a reference with
static type TestModel. My label tag now looks like this:

mx:Label x=130 y=136 text={TestModel.getInstance().name}
id=testLabel/

And the TestModel class is updated to look like the sample in the
documentation:

package
{
import com.adobe.cairngorm.model.ModelLocator;

[Bindable]
public class TestModel implements ModelLocator
{
public static var name:String;
private static var modelLocator : TestModel;

public static function getInstance() : TestModel 
{
if ( modelLocator == null )
modelLocator = new TestModel();

return modelLocator;
}

public static function initialize():void
{
name = Some text;
}
}
}



 




__._,_.___





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



  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] Cairngorm: Calling webservice operation with parameters

2006-07-03 Thread Uwe Raddatz
Hi,

may someone tell me what's the right way to pass some parameters to a SOAP 
webservice call in Cairngorm (version 0.99)?

What I need is similar to switching the login method call in the Login sample 
application from RemoteObject to SOAP webservice.

Thanks.

ur

-- 
Uwe Raddatz
[EMAIL PROTECTED]


 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan












Im not sure what the issue is for
your specific case. What does the rest of your itemRenderer look like? To use
the backgroundColor style, the component that you are extending needs to have
this style. The default DataGrid itemRenderer doesnt, nor does Label or
Text. This is why we were using the beginFill/drawRect/endFill
method of drawing in the background. Please ensure that your itemRenderer
actually has a backgroundColor style. 



Thanks,

Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?











doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle(backgroundColor,red);
// that line causes my grid to be empty if I leave it 
// uncommented 

}

--- In [EMAIL PROTECTED]ups.com,
Jeremy Lu [EMAIL PROTECTED] wrote:

 in that data() block, I would just use:
 
 this.setStyle(backgroundColor, red);
 
 to change the item renderer's background color.
 
 see if this works.
 
 Jeremy.
 
 On 7/1/06, djbrown_rotonews djbrown_rotonews@... wrote:
 
  any help? is there a more elegant way to do it inside of set 
data(),
  or is the beginFill/drawRect/endFill method shown as good as it 
gets?
 
  --- In [EMAIL PROTECTED]ups.com
flexcoders%40yahoogroups.com,
  djbrown_rotonews
 
  djbrown_rotonews@ wrote:
  
   Is the beginFill/drawRect/endFill the only way to do it
inside 
of
   set data() as well, or is there an alternate way?
  
   --- In [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:
   
Got it, thanks :-)
   
   
   
On 6/27/06, Joan Tan tan@ wrote:

 I believe that this was suggested to me by Alex. I
think
  your
   way
 should work too though.


 --

 *From:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
   [mailto:[EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *Jeremy Lu
 *Sent:* Monday, June 26, 2006 4:22 PM
 *To:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
   DataGrid?




 hi Joan,

 Just wondering is there any particular reason that you

don't
   change the
 background color in the data() setter like this:

 public function set data(value:Object
  
  
http://../../../Object.html):voidhttp://../../../specialTypes.html
   #void
 {

 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

 }


 Jeremy.

 On 6/27/06, *Joan Tan* tan@ wrote:

 The color style of Text only affects the
text and the 
not the
 background. Text doesn't actually have a background
color 
so
  you
   must create
 an itemRenderer with a backgroundColor and then set
it. 
This
   example was
 posted on another flexcoders thread entitled
datagrid. 
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();

 }

 }

 }



 }




 --

 *From:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
   [mailto:[EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *djbrown_rotonews
 *Sent:* Monday, June 26, 2006 10:13 AM
 *To:* [EMAIL PROTECTED]ups.com
flexcoders%
40yahoogroups.com
 *Subject:* [flexcoders] Re: coloring an entire cell in
a
   DataGrid?




 I'm using an itemRenderer to set the text color via
the
  setStyle
 (color,color) construct, but
it doesn't appear to be 
that
   simple
 for backgroundColor. 

[flexcoders] FTP client in AS3?

2006-07-03 Thread Weyert de Boer
Does anyone know if it's possible ot make FTP client using the binary 
sockets of Flash 9? I would suppose this is possible, because you only 
to send bytes in binary mode for the FTP protocol, if I recall correctly.


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
Duh, its right there in the example code. Thanks, my brain seems to be
running a bit slowly today :)

Much appreciated,
Ben

--- In flexcoders@yahoogroups.com, João Fernandes [EMAIL PROTECTED]
wrote:

 Ben,
 
  
 
 Your variables inside your TestModel souldn't be static except for
your modelLocator holder. 
 
 When you do myModelLocator.getInstance() this function returns an
unique instance  of your modelLocator.
 
  
 
 João Fernandes
 Dep. Informática - Área de Desenvolvimento
 Cofina media
 
 Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
 Tel (+351) 213 185 200 . Fax (+351) 213 540 370
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of ben.clinkinbeard
 Sent: segunda-feira, 3 de Julho de 2006 17:00
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm 2 - Data binding will not be
able to detect assignments...
 
  
 
 Whoops. Updated code, which now produces an error concerning Access
 of a possibly undefined property 'name' through a reference with
 static type TestModel. My label tag now looks like this:
 
 mx:Label x=130 y=136 text={TestModel.getInstance().name}
 id=testLabel/
 
 And the TestModel class is updated to look like the sample in the
 documentation:
 
 package
 {
 import com.adobe.cairngorm.model.ModelLocator;
 
 [Bindable]
 public class TestModel implements ModelLocator
 {
 public static var name:String;
 private static var modelLocator : TestModel;
 
 public static function getInstance() : TestModel 
 {
 if ( modelLocator == null )
 modelLocator = new TestModel();
 
 return modelLocator;
 }
 
 public static function initialize():void
 {
 name = Some text;
 }
 }
 }








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

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

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

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





Re: [flexcoders] FTP client in AS3?

2006-07-03 Thread David Clark



The only proviso that I can think of is the security sandbox. You can only connect to network resources in the same domain or with a crossdomain policy file allowing the originating domain access.Getting the crossdomain file from an FTP server could be tricky. I am not certain, but I imagine that would entail running an HTTP or XMLSocket  server from the same domain as the FTP server and loading the crossdomain file that way (with 
Security.loadPolicyFile).-- davidMany people die at twenty five and aren't buried until they are seventy five. - Benjamin Franklin

__._,_.___





--
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] Cairngorm: Calling webservice operation with parameters

2006-07-03 Thread slangeberg



Make sure you have the operation defined in your Service (here, updateStatus):

mx:WebService wsdl=http://path/to/service?wsdl id=attendanceDelegate   result=event.token.resultHandler(event) 
 useProxy=false mx:operation name=updateStatus / /mx:WebService 

In your Delegate, call your WS such as (where updateStatus is the operation on my WS):

public function updateStatus( student:StudentVO ):void {trace( \n *** AttendanceDelegate.updateStatus( +student );var call:Object = service.updateStatus( student.id
, student.AT_ID, student.ATS_SID );call.resultHandler = responder.onResult;call.faultHandler = responder.onFault;}

Scott
On 7/3/06, Uwe Raddatz [EMAIL PROTECTED] wrote:






Hi,may someone tell me what's the right way to pass some parameters to a SOAP webservice call in Cairngorm (version 0.99)?What I need is similar to switching the login method call in the Login sample application from RemoteObject to SOAP webservice.
Thanks.ur-- Uwe Raddatz[EMAIL PROTECTED]
 -- : : ) Scott 

__._,_.___





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



  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] FTP client in AS3?

2006-07-03 Thread Michael Hansen



I know you can allow XMLSocket access to ports below 1024 using a policy file.Is the same true for binary sockets? cheers-mOn 7/3/06, 
David Clark [EMAIL PROTECTED] wrote:













  



The only proviso that I can think of is the security sandbox. You can only connect to network resources in the same domain or with a crossdomain policy file allowing the originating domain access.Getting the crossdomain file from an FTP server could be tricky. I am not certain, but I imagine that would entail running an HTTP or XMLSocket  server from the same domain as the FTP server and loading the crossdomain file that way (with 
Security.loadPolicyFile).-- davidMany people die at twenty five and aren't buried until they are seventy five. - Benjamin Franklin

  















__._,_.___





--
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] FTP client in AS3?

2006-07-03 Thread Weyert de Boer
Hi David,

You need to place this policy file in the root of the domain you want to 
access right? For example, if the ftp server on the other side is also 
running a webserver I can just ask for the crossdomain xml file through 
their webserver to access that server on a different port i.e. 21?

Yours,
Weyert

 The only proviso that I can think of is the security sandbox. You can 
 only connect to network resources in the same domain or with a 
 crossdomain policy file allowing the originating domain access.

 Getting the crossdomain file from an FTP server could be tricky. I am 
 not certain, but I imagine that would entail running an HTTP or 
 XMLSocket server from the same domain as the FTP server and loading 
 the crossdomain file that way (with Security.loadPolicyFile)



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 





Re: [flexcoders] app startup / load times

2006-07-03 Thread hank williams



Ok, so it sounds like I have one vote for keeping it together and one vote for separateOn 7/3/06, Richard Kroll 
[EMAIL PROTECTED] wrote:Hank,Think of what you are trying to accomplish, and how each fits into your
overall business.It seems to me as though you are trying to merge yourapplication with the more marketing related website that sells it.I wouldnt say I am *trying* to do anything other than ask what people think is a good idea on this front. From a work load perspective it would be easier as one app. But that *is* the question.
So it sounds like I have one vote for (bjorn) and one against - you.ThanksHank
Ifyou look at these two things as distinct entities, it makes much moresense to separate these into separate files with their own source code,progress bars, (potentially) domains, etc.This would reduce the load
time for users just coming to check out your software, and have theadditional benefit of keeping your source for the app completelyseparate from the code you use to sell it.HTH,Rich
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of hank williamsSent: Monday, July 03, 2006 9:01 AM
To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] app startup / load timesOn 7/3/06, Richard Kroll [EMAIL PROTECTED]
 wrote: Hank, One thing you have to keep in mind is that Flex 2.0 is tailored to web *applications* instead of to web sites.This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that thewebsite part of my stuff can open more quickly. Most applicationsstill need the website-ish stuff to tell the user why they should care
and what the app is.Basically I am wondering whether I really need to go through thatextra effort of making a separate thing in order to improve startupperformance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is reallyannoying to people I dont want to loose potential users because thestartup was too slow.Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoplesthoughts. I'm really hoping people will convince me not to worry aboutit, but I am open to being convinced that I need to do a two stagesite.
When a user starts up a typical application, a 8-10 second delay prior to the application to start upis not an unusually long delay for startup. Most Flex apps that I've seen to date are starting up in the 3-5 second range, which I believe is
 completely acceptable.I agree that 3-5 seconds is totally ok. I have no idea what the realworld experience will be for most people and 8-10 seconds was just aguess based on file size and guesses about the low end of average
connection speeds.RegardsHank Yahoo! Groups Sponsor ~--Something is new at Yahoo! Groups.Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/


__._,_.___





--
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] app startup / load times

2006-07-03 Thread hank williams



Thanks Ted.But one problem. I dont have *anything* embedded in my app at this point. As I said my app is 477k. Is there anything else that could explain it? Could I really have enough code (written in a week) to explain the size? What is a more normal small flex app size?
Regards,HankOn 7/3/06, Ted Patrick [EMAIL PROTECTED] wrote:
Hank,First off the size of your app seems rather large. Here are a few things to check...1. @Embed with Images - Embedding images directly adds to file size. Optimize images before embedding them.2. Font usage - Fonts embed all glyths into the SWF resulting in a larger files in jumps of 30K.
Use of Runtime Shared Libraries:Typically you do not have one Flex app, you have several, and then they start to multiply. RSL's allow you to package a set of components and assets into a dll of sorts and reuse it across applications. The result is a single RSL reused by many smaller Flex applications. The RSL is loaded via URL and cached in the browser (make sure it gets cached!!) and much smaller flex apps load this RSL at runtime.
No RSL: App1.swf = 300KApp2.swf = 300KApp3.swf = 300KRSL Usage: App1.swf = 20KApp2.swf = 20KApp3.swf = 20K Rsl.swf = 280K
http://www.powersdk.com/ted/2005/07/flex-shared-libraries-tips-and-tricks.php
http://www.adobe.com/devnet/flex/articles/rsl.htmlHope this helps...Ted PatrickFlex EvangelistAdobe Systems IncorporatedFrom: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Sunday, July 02, 2006 7:37 PM
To: flexcoders@yahoogroups.comSubject: [flexcoders] app startup / load timesFor the first time since I started playing with flex (a couple ofweeks) I checked out the size of my app, which is currently 477k.
My app isnt that big, so I presume most of that is just the size ofthe framework. I am just wondering what do people think about that interms of user start up time. For a user with a 500kbps connection that
is about 8 seconds before the app is loaded. Are people doing loadersto get things started? is there an accepted strategy for how to dealwith this?There was another thread recently about how people shouldnt use flex
for websites and one person provided aesthetic reasons. In my mind, ifthere is a reason (and I am not arguing that there is) but if there isa reason not to use it for websites it would be the file size. 10
seconds seems like a long time to make someone wait before they seesomething. On the other hand perhaps I am underestimating the averageconnection speed.Anyway, like I said I would just like to get peoples thoughts on this issue.
Hank--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/

__._,_.___





--
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] FTP client in AS3?

2006-07-03 Thread Weyert de Boer
Michael Hansen wrote:

 I know you can allow XMLSocket access to ports below 1024 using a 
 policy file.


No idea, I always take my year of birth as the port number ;-)

  



 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 




Re: [flexcoders] app startup / load times

2006-07-03 Thread hank williams



Actually, I have to take it back. This answer doesnt quite get to the issue, and I realize I probably didnt fully make the question clear.The alternatives are not two flex apps or one. The choices are1. one flex app or
2. one flex app and a flash website. The issue is that I am not very good with making super cool graphics in basic flash. If I put my mind to it I can do it, but its not my strength. So needing to do two separate apps significantly increases the amount of time I am wasting doing something I am not particularly good at. In flex I could do something cool and I could do it quickly. So there is a time value of money issue here vs. will users get frustrated by the wait time. If I had the time and/or the skills to do a good flash site (or heck even a good html site) efficiently then I would probably just do it because it would be smaller. But this involves real world tradeoffs of time and resources so I need to know how acceptable people think a flex download is for a website.
RegardsHankOn 7/3/06, hank williams [EMAIL PROTECTED] wrote:
Ok, so it sounds like I have one vote for keeping it together and one vote for separateOn 7/3/06, Richard Kroll 

[EMAIL PROTECTED] wrote:Hank,
Think of what you are trying to accomplish, and how each fits into your
overall business.It seems to me as though you are trying to merge yourapplication with the more marketing related website that sells it.I wouldnt say I am *trying* to do anything other than ask what people think is a good idea on this front. From a work load perspective it would be easier as one app. But that *is* the question.
So it sounds like I have one vote for (bjorn) and one against - you.ThanksHank

Ifyou look at these two things as distinct entities, it makes much moresense to separate these into separate files with their own source code,progress bars, (potentially) domains, etc.This would reduce the load
time for users just coming to check out your software, and have theadditional benefit of keeping your source for the app completelyseparate from the code you use to sell it.HTH,Rich
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] OnBehalf Of hank williamsSent: Monday, July 03, 2006 9:01 AM
To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] app startup / load timesOn 7/3/06, Richard Kroll 
[EMAIL PROTECTED]
 wrote: Hank, One thing you have to keep in mind is that Flex 2.0 is tailored to web *applications* instead of to web sites.This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that thewebsite part of my stuff can open more quickly. Most applicationsstill need the website-ish stuff to tell the user why they should care
and what the app is.Basically I am wondering whether I really need to go through thatextra effort of making a separate thing in order to improve startupperformance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is reallyannoying to people I dont want to loose potential users because thestartup was too slow.Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoplesthoughts. I'm really hoping people will convince me not to worry aboutit, but I am open to being convinced that I need to do a two stagesite.
When a user starts up a typical application, a 8-10 second delay prior to the application to start upis not an unusually long delay for startup. Most Flex apps that I've seen to date are starting up in the 3-5 second range, which I believe is
 completely acceptable.I agree that 3-5 seconds is totally ok. I have no idea what the realworld experience will be for most people and 8-10 seconds was just aguess based on file size and guesses about the low end of average
connection speeds.RegardsHank Yahoo! Groups Sponsor ~--Something is new at Yahoo! Groups.Check out the enhanced email design.

http://us.click.yahoo.com/SISQkA/gOaOAA/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/




__._,_.___





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

[flexcoders] Question on HTTPS proxy access issues on Websphere

2006-07-03 Thread ehogberg
Hi all:

Running into some strangeness with Flex 1.5 HTTP services.  Any help
is appreciated.

We are hosting a Flex application within a Websphere Portal Server
portlet.  The Flex application is attempting to call a series of
HTTP-based services (REST, not SOAP) on a separate Websphere server. 
These services are called via HTTPS, we've set protocol=https on the
service definitions, and have also set the https proxy url in Flex
config to the absolute URL of the Flex portlet.  Finally, note that
the portal itself is accessed using HTTPS.

At first glance, we've appeared to have configured everything 'by the
book'.  However, when the services are called we get the standard
can't access HTTPS urls when accessing proxy via HTTP' message.  Any
ideas why we would be getting this error when both the service
definitions' protocol properties and the overall HTTPS service proxy
are set properly?

-Eric-






 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Jeremy Lu




Ah, right, I always use HBox or Canvas as the base class for item renderer, 
so setting style on it is never a problemsorry for the confusion.

On 7/4/06, Joan Tan [EMAIL PROTECTED] wrote:













  













I'm not sure what the issue is for
your specific case. What does the rest of your itemRenderer look like? To use
the backgroundColor style, the component that you are extending needs to have
this style. The default DataGrid itemRenderer doesn't, nor does Label or
Text. This is why we were using the beginFill/drawRect/endFill
method of drawing in the background. Please ensure that your itemRenderer
actually has a backgroundColor style. 



Thanks,

Joan











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?











doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle(backgroundColor,red);
// that line causes my grid to be empty if I leave it 
// uncommented 

}

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

 in that data() block, I would just use:
 
 this.setStyle(backgroundColor, red);
 
 to change the item renderer's background color.
 
 see if this works.
 
 Jeremy.
 
 On 7/1/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
  any help? is there a more elegant way to do it inside of set 
data(),
  or is the beginFill/drawRect/endFill method shown as good as it 
gets?
 
  --- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.com,
  djbrown_rotonews
 
  djbrown_rotonews@ wrote:
  
   Is the beginFill/drawRect/endFill the only way to do it
inside 
of
   set data() as well, or is there an alternate way?
  
   --- In flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:
   
Got it, thanks :-)
   
   
   
On 6/27/06, Joan Tan tan@ wrote:

 I believe that this was suggested to me by Alex. I
think
  your
   way
 should work too though.


 --

 *From:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *Jeremy Lu
 *Sent:* Monday, June 26, 2006 4:22 PM
 *To:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
   DataGrid?




 hi Joan,

 Just wondering is there any particular reason that you

don't
   change the
 background color in the data() setter like this:

 public function set data(value:Object
  
  
http://../../../Object.html):void
http://../../../specialTypes.html
   #void
 {

 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

 }


 Jeremy.

 On 6/27/06, *Joan Tan* tan@ wrote:

 The color style of Text only affects the
text and the 
not the
 background. Text doesn't actually have a background
color 
so
  you
   must create
 an itemRenderer with a backgroundColor and then set
it. 
This
   example was
 posted on another flexcoders thread entitled
datagrid. 
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();

 }

 }

 }



 }




 --

 *From:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com] *On
 Behalf Of *djbrown_rotonews
 *Sent:* Monday, June 26, 2006 10:13 AM
 *To:* flexcoders@yahoogroups.com
flexcoders%
40yahoogroups.com
 *Subject:* 

[flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread ben.clinkinbeard
Can someone explain why it is telling me I've implemented the
Responder methods with an incompatible signature?

public function onResult(event:ResultEvent):void
public function onFault(event:FaultEvent):void

The signatures shown in the docs are

public function onResult(event:* = null):void
public function onFault(event:* = null):void

What am I missing here?

Thanks,
Ben


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

 Hi,
 
 I was just wondering why the com.adobe.cairngorm.business.Responder
 interface has been changed since it has been released on Adobe Labs.
 In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
 parameters of the onFault and onResult handlers were typed events
 (ResultEvent and FaultEvent). 
 
 Why have the parameters been changed to '*'? Where is the sense in
 that?  To my opinion this is not really best practice but maybe
 there's a really good reason for that? Does anyone know?
 
 Cheers
 David







 Yahoo! Groups Sponsor ~-- 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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/
 





Re: [flexcoders] Flex2 release version - PopUp mangager ..sizing popups

2006-07-03 Thread Rich Tretola
I have always set the width and height properties of the TitleWindows,
I don;t believe this has changed.



On 7/3/06, bhaq1972 [EMAIL PROTECTED] wrote:
 Hi
 can someone confirm this. i'm now having to set the widths and heights
 of the popups i create using PopUpManager.
 i never had to do this before. flex/flashplayer would do it for me.


 is this correct?







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










-- 
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com


 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 





Re: [flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Paul Ihrig



i would be very interested in this as well.trying to come up with an outline to collect data in the field for our social workers.so they can update the db when they get internet access, after they have collected the data


__._,_.___





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



  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: Cairngorm Responder interface changes

2006-07-03 Thread Clint Modien



you need to change these lines
public function onResult(event:ResultEvent):void
public function onFault(event:FaultEvent):voidto this...
public function onResult(event:*):void
public function onFault(event:*)voidOn 7/3/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:













  



Can someone explain why it is telling me I've implemented the
Responder methods with an incompatible signature?

public function onResult(event:ResultEvent):void
public function onFault(event:FaultEvent):void

The signatures shown in the docs are

public function onResult(event:* = null):void
public function onFault(event:* = null):void

What am I missing here?

Thanks,
Ben

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

 Hi,
 
 I was just wondering why the com.adobe.cairngorm.business.Responder
 interface has been changed since it has been released on Adobe Labs.
 In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
 parameters of the onFault and onResult handlers were typed events
 (ResultEvent and FaultEvent). 
 
 Why have the parameters been changed to '*'? Where is the sense in
 that?  To my opinion this is not really best practice but maybe
 there's a really good reason for that? Does anyone know?
 
 Cheers
 David



  















__._,_.___





--
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] app startup / load times

2006-07-03 Thread Ted Patrick












Hank,



Can you email or post source? [EMAIL PROTECTED]



I want to see what is going on first hand and post specific
optimizations. With source code the issue should be crystal clear. 



Happy to help



Ted Patrick

Flex Evangelist

Adobe Systems Incorporated















From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Monday, July 03, 2006 10:48
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] app
startup / load times











Thanks Ted.

But one problem. I dont have *anything* embedded in my app at this point. As I
said my app is 477k. Is there anything else that could explain it? Could I
really have enough code (written in a week) to explain the size? What is a more
normal small flex app size? 

Regards,
Hank






On 7/3/06, Ted
Patrick [EMAIL PROTECTED]
wrote:

Hank,

First off the size of your app seems rather large. Here are a few things to
check...

1. @Embed with Images - Embedding images directly adds to file size. Optimize
images before embedding them.
2. Font usage - Fonts embed all glyths into the SWF resulting in a larger files
in jumps of 30K. 

Use of Runtime Shared Libraries:

Typically you do not have one Flex app, you have several, and then they start
to multiply. RSL's allow you to package a set of components and assets into a
dll of sorts and reuse it across applications. The result is a single RSL
reused by many smaller Flex applications. The RSL is loaded via URL and cached
in the browser (make sure it gets cached!!) and much smaller flex apps load
this RSL at runtime. 

No RSL:
 App1.swf = 300K
App2.swf = 300K
App3.swf = 300K

RSL Usage:

 App1.swf = 20K
App2.swf = 20K
App3.swf = 20K
 Rsl.swf = 280K

http://www.powersdk.com/ted/2005/07/flex-shared-libraries-tips-and-tricks.php

http://www.adobe.com/devnet/flex/articles/rsl.html

Hope this helps...

Ted Patrick
Flex Evangelist
Adobe Systems Incorporated







From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: Sunday, July 02, 2006 7:37 PM 
To: flexcoders@yahoogroups.com
Subject: [flexcoders] app startup / load times

For the first time since I started playing with flex (a couple of
weeks) I checked out the size of my app, which is currently 477k. 

My app isnt that big, so I presume most of that is just the size of
the framework. I am just wondering what do people think about that in
terms of user start up time. For a user with a 500kbps connection that 
is about 8 seconds before the app is loaded. Are people doing loaders
to get things started? is there an accepted strategy for how to deal
with this?

There was another thread recently about how people shouldnt use flex 
for websites and one person provided aesthetic reasons. In my mind, if
there is a reason (and I am not arguing that there is) but if there is
a reason not to use it for websites it would be the file size. 10
seconds seems like a long time to make someone wait before they see
something. On the other hand perhaps I am underestimating the average
connection speed.

Anyway, like I said I would just like to get peoples thoughts on this issue. 

Hank



--
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 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] ServiceLocator - does it have to be MXML?

2006-07-03 Thread ben.clinkinbeard
Is it possible to implement your app's ServiceLocator in ActionScript?
I strongly prefer making WebService calls in AS so I would rather do
it this way. If this is not possible, I am hoping someone can explain
how a complex call would be made. I am not currently using a Delegate
(isn't Delegate.create not necessary in AS3?), so here is the code in
my Command class.

var service:AbstractService =
ServiceLocator.getInstance().getService(industryService);
service.GetDataByGrouping();

The problem is that neither the onResult nor onFault handlers are firing.

Here is the service as defined in my Services.mxml file:

mx:WebService id=industryService 
wsdl=myWSDL 
showBusyCursor=true
useProxy=false
result=event.token.resultHandler(event) 
fault=event.token.faultHandler(event)

mx:operation name=GetDataByGrouping resultFormat=object
mx:request
GroupingRequests
GroupName
RPRToolStaticData
/GroupName
/GroupingRequests
/mx:request
/mx:operation
/mx:WebService

The equivalent in AS, if you're interested is:

var ws:WebService = new WebService();
ws.loadWSDL([EMAIL PROTECTED] + ?WSDL); 
ws.useProxy = false;
ws.addEventListener(result, onIndustryAndSizeIdsLoaded);
ws.addEventListener(fault, onIndustryAndSizeIdsFault);

var op:AbstractOperation;
op = ws['GetDataByGrouping'];

var args:Object = new Object;
args.groupingRequests = new Array();
args.groupingRequests.push({GroupName: RPRToolStaticData});

op.arguments = args;
op.send();

Thanks in advance,
Ben






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

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

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

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




RE: [flexcoders] Question on HTTPS proxy access issues on Websphere

2006-07-03 Thread Peter Farland












How was the SWF loaded? Did you configure
the http-url and https-url in flex-config.xml?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ehogberg
Sent: Monday, July 03, 2006 2:08
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question on
HTTPS proxy access issues on Websphere











Hi all:

Running into some strangeness with Flex 1.5 HTTP services. Any help
is appreciated.

We are hosting a Flex application within a Websphere Portal Server
portlet. The Flex application is attempting to call a series of
HTTP-based services (REST, not SOAP) on a separate Websphere server. 
These services are called via HTTPS, we've set protocol=https on the
service definitions, and have also set the https proxy url in Flex
config to the absolute URL of the Flex portlet. Finally, note that
the portal itself is accessed using HTTPS.

At first glance, we've appeared to have configured everything 'by the
book'. However, when the services are called we get the standard
can't access HTTPS urls when accessing proxy via HTTP' message. Any
ideas why we would be getting this error when both the service
definitions' protocol properties and the overall HTTPS service proxy
are set properly?

-Eric-






__._,_.___





--
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: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan












Yes, we found that the containers like
HBox and Canvas are too heavyweight for just changing a backgroundColor, so
when you have hundreds of cells in a dataGrid, youll start to see a
serious performance issue. Subclassing Label is a lot more lightweight, but I
believe the lightest weight option is subclassing the DataGridItemRenderer.



Joan











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Monday, July 03, 2006 11:06
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
coloring an entire cell in a DataGrid?












Ah, right, I always use HBox or Canvas as the base class for item renderer, 
so setting style on it is never a problemsorry for the confusion.






On 7/4/06, Joan Tan
[EMAIL PROTECTED] wrote:













I'm not sure what the
issue is for your specific case. What does the rest of your itemRenderer look
like? To use the backgroundColor style, the component that you are extending
needs to have this style. The default DataGrid itemRenderer doesn't, nor does Label
or Text. This is why we were using the beginFill/drawRect/endFill method of drawing in the
background. Please ensure that your itemRenderer actually has a
backgroundColor style. 



Thanks,

Joan











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com






Subject:
[flexcoders] Re: coloring an entire cell in a DataGrid?















doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle(backgroundColor,red);
// that line causes my grid to be empty if I leave it 
// uncommented 

}

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

 in that data() block, I would just use:
 
 this.setStyle(backgroundColor, red);
 
 to change the item renderer's background color.
 
 see if this works.
 
 Jeremy.
 
 On 7/1/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
 
  any help? is there a more elegant way to do it inside of set 
data(),
  or is the beginFill/drawRect/endFill method shown as good as it 
gets?
 
  --- In flexcoders@yahoogroups.com
flexcoders%40yahoogroups.com,
  djbrown_rotonews
 
  djbrown_rotonews@ wrote:
  
   Is the beginFill/drawRect/endFill the only way to do it inside 
of
   set data() as well, or is there an alternate way?
  
   --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com,
  Jeremy Lu wade.lu@ wrote:
   
Got it, thanks :-)
   
   
   
On 6/27/06, Joan Tan tan@ wrote:

 I believe that this was suggested to me by Alex. I
think
  your
   way
 should work too though.


 --

 *From:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
   [mailto:flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com] *On
 Behalf Of *Jeremy Lu
 *Sent:* Monday, June 26, 2006 4:22 PM
 *To:* flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com
 *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
   DataGrid?




 hi Joan,

 Just wondering is there any particular reason that you

don't
   change the
 background color in the data() setter like this:

 public function set data(value:Object
  
  
http://../../../Object.html):void
http://../../../specialTypes.html
   #void
 {

 if( value.myColumnName  50){
 //change bg to red
 }else{
 //change to other color
 }

 }


 Jeremy.

 On 6/27/06, *Joan Tan* tan@ wrote:

 The color style of Text only affects the
text and the 
not the
 background. Text doesn't actually have a background
color 
so
  you
   must create
 an itemRenderer with a backgroundColor and then set
it. 
This
   example was
 posted on another flexcoders thread entitled
datagrid. 
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;

  

[flexcoders] Re: Anybody knows how SQLAdmin sample make connection with MS-SQL server?

2006-07-03 Thread stevenxiu
Hi Tim,

Thanks for showing me the direction and it is great for my starting.


Steve
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:

 
 Sorry Steve,
 
 Part 2 of the .Net WebService article is a better example, related 
to
 your question.
 
 http://weblogs.asp.net/astopford/articles/106476.aspx
 http://weblogs.asp.net/astopford/articles/106476.aspx
 
 -TH
 
 
 --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote:
 
 
  Hi Steve,
 
  Here are a couple of links to get you moving in the right 
direction. A
  SQL Server database can be accessed directly with an HTTP 
parameter
  string and FOR XML output. But this method isn't recommended due 
to
 the
  possibility of SQL injection. Most SQL Server based applications
  implement a middle tier (like ASP.NET) to seperate the database 
from
  business and security logic. On the Flex side, you can use 
WebService,
  HTTPService, or RemoteObject. WebService is the most generic, but 
also
  the slowest. HTTPService is faster than WebService because SOAP 
isn't
  involved. RemoteObject is the method of choice for performance,
 because
  serialized data (AMF) is sent across the wire. I hope that this 
helps
  you get started.
 
  -TH
 
  WebService:
  http://weblogs.asp.net/astopford/articles/105551.aspx
  http://weblogs.asp.net/astopford/articles/105551.aspx
 
  Remoting:
  http://weblogs.asp.net/astopford/articles/111692.aspx
  http://weblogs.asp.net/astopford/articles/111692.aspx
 
  WebOrb (FDS for .NET):
  http://www.themidnightcoders.com/index.htm
  http://www.themidnightcoders.com/index.htm
 
 
  --- In flexcoders@yahoogroups.com, stevenxiu stevenxiu@ wrote:
  
   Hi All,
  
   I am new to Flex and saw a very cool sample
   http://www.kevinkaz.com/flex2/
  
   How does the application connect to MS-SQL server? I have 
searched
  many
   forums and never got luck to see a good answer about database
   connection .etc.
  
   Any expert please point me to the right way. A sample will be 
great
   appreciated.
  
  
   Steve
  
 











 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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] Get A nodes from html-xml

2006-07-03 Thread Jesús Iglesias





Hi, 

I have a htmltext wich I cast to XML. Now I need to 
read all of the A tags of the html,something like myxml.*.A, but nothing 
seems to work.

Do you know how to read all links?

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] FlexUnit, Web Service

2006-07-03 Thread bchirgwin

I have a web service I am trying to write and test a web service using 
FlexUnit.

I write the test that FlexUnit I add the a testsuite, but I can't test 
(assert) the results, because the web service doesn't immediately 
return a response. I have dispatched an event and tried asserting 
results in the dispatched event, but this causes an error in the 
console as asserts are being performed outside of a test.

Any help would be appreciated.












 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





Re: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread JesterXL
Speaking for Steven, but the reason they espoused using ModelLocator over 
ViewHelpers was a few reasons.  First off, many people felt the need to 
create ViewHelpers for every View.  This was ridicolous; no View could ever 
do anything useful but instantiate GUI components, and register for events. 
You had no clue WHAT that View could do.  Suddenly you're code base 
basically doubled for extremely little gain.

Secondly, most people utilized ViewHelpers with ViewLocator instead of the 
actual View's.  While this was nice, no one ever implemented strong typing, 
thus defeating the purpose of casting as ViewHelper describing what the View 
could do.

Third, you wrote more code for no gain.  Some people would even put code in 
both the MXML View and ViewHelper, further compounding the issue of what's 
really being seperated here.

In all fairness, I come from a Flash background where you wrote classes. 
These classes were your View.  You can do the same thing in Flex; write your 
class to extend Canvas instead of using a root Canvas tag; same thing.  To 
me, organizing code is 2nd nature.  MXML + embedded Script tags were just a 
wonderful next step.  My code changes never broke my GUI changes and vice 
versa.  For some reason, it seems people can't fathom the thought of 
ActionScript in MXML files.  That's just absurd; you can see what the GUI is 
AND does in the same.  Go look at the source code; all kinds of controls 
draw themselves and perform actions.  This isn't rocket science, it's a 
fuggin' form for crying out loud.

The other option of using an external script file for the script tag is just 
as bad.  You have to define controls and other buttons again, defeating the 
use of the ID control concept which helps shield your code from being broken 
when you change your GUI.  :: que Carlos Mencia duh dah d ::

Bottom line, MXML components are extremely portable and encapsulated with 
ActionScript inside them.  Granted, there are still people who will write 
components with ModelLocator's littered amongst them vs. expousing public 
properties and methods to set the data instead... but that's the developers 
fault, not MXML's.

MXML is just a class... it's ok to write properties and methods in a 
class...  seriously, it's ok.  :: whips out a bag of teddy bears to hand out 
just in case ::

- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 03, 2006 5:01 PM
Subject: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper


Thanks for the responses guys,

Dimitrios:
Yes, the majority of my views are updated through binding to the
ModelLocator.  However, there are certain functions that are soley
view-related (like setFocus(), filtering a DataGrid, updating a
search parameter VO with view component values prior to executing a
search command), that imo don't merit creating a command to
perform.  These kind of functions could just be located in a script
tag inside the view.  But, if the functions are numerous, the code
becomes more readable if a seperate class is used.

Bjorn:
I agree that a command shouldn't interrogate a view.  That would
defeat the encapsulation.  For the most part though, the command
should update the ModelLocator and the ModelLocator should update
the view.

Jesse:
As always, you crack me up.  In the situations that I mentioned
above, I assume that you are using a ViewLocator - uid approach.
This is probably more efficient and centralized than using
ViewHelpers.  Besides, I really don't want to deal with Satan
spawn.  Care to share a small sample of your approach?

All in all, this isn't a huge issue.  Out of my current 300 views,
I've only found the need to use three ViewHelpers.  My questions are
more theoretical and best practice oriented.  Good stuff to know
when scalability is an issue.  Also, I'm still not sure what Alex
Uhlmann meant by the ViewHelper adds and removes itself from the
ViewLocator.  Guess I need to take a trip back to the Cairngorm
source.

Thanks again for your answers.  I was hoping that Steven or
Alistaire had time to chime in here, but I realize that they are
very busy these days.

Cheers,
Tim Hoff


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

 ViewHelpers == spawn of satan.  Nothing here but bloated
code.  Seperation
 of concerns doesn't count here; it's just something they say to
make
 themselves feel better by using them.

 ViewLocators, to me are only justified in extreme use cases.
Having other
 View's, or even Commands specifically telling other views to do
certain
 things are bad practice, but I have seen times where there is just
no other
 way.  The rest of the time, databinding and combinations of
getter / setters
 should accomplish what you want.  While their use should be
discouraged,
 I'll be the first to admit they are useful and lifesavers when you
need
 them.


 - Original Message - 
 From: Tim Hoff [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 

Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread JesterXL
Don't have Flex 2 open in front of me ( client hearts 1.5 ), but you can I 
think do:

public function onResult(event:* = null):void
{
ResultEvent(event).result
// or...
var yourEvent:ResultEvent = event as ResultEvent;
}

I can't remember if you can cast in the function signature as:

public function onResult ( event:* as ResultEvent = null )

...but, either way, you can also do what I do; keep your own build of 
Cairngorm locally!  I've yet to work on a project where the team didn't 
modify their build of Cairngorm to suit their needs.


- Original Message - 
From: ben.clinkinbeard [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 03, 2006 3:00 PM
Subject: [flexcoders] Re: Cairngorm Responder interface changes


Ah ha. Actually, I had to change them to

public function onResult(event:* = null):void
public function onFault(event:* = null):void

so that they matched the signature exactly. I guess my confusion was
in that I was viewing the :* as meaning the developer could specify
whatever type they wanted. I was seeing * as a kind of superclass when
that is in fact not the case. I have to agree with Jester; I don't
really see the point of this change.

Thanks for your help,
Ben

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

 you need to change these lines

 public function onResult(event:ResultEvent):void
 public function onFault(event:FaultEvent):void

 to this...

 public function onResult(event:*):void
 public function onFault(event:*)void

 On 7/3/06, ben.clinkinbeard [EMAIL PROTECTED] wrote:
 
Can someone explain why it is telling me I've implemented the
  Responder methods with an incompatible signature?
 
  public function onResult(event:ResultEvent):void
  public function onFault(event:FaultEvent):void
 
  The signatures shown in the docs are
 
  public function onResult(event:* = null):void
  public function onFault(event:* = null):void
 
  What am I missing here?
 
  Thanks,
  Ben
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  der_kotty kotty.tm@ wrote:
  
   Hi,
  
   I was just wondering why the com.adobe.cairngorm.business.Responder
   interface has been changed since it has been released on Adobe Labs.
   In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
   parameters of the onFault and onResult handlers were typed events
   (ResultEvent and FaultEvent).
  
   Why have the parameters been changed to '*'? Where is the sense in
   that? To my opinion this is not really best practice but maybe
   there's a really good reason for that? Does anyone know?
  
   Cheers
   David
  
 
 
 









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











 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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] AS3 :: SoundChannel for NetStream?

2006-07-03 Thread Hasan Otuome






In AS2 we had...

someMovieClip.attachAudio(someNetStream);

var sound:Sound = new Sound(someMovieClip);

but that's not an option anymore because attachAudio() was removed. The
docs mention using DisplayList via addChild() but weren't explicit
about it.

Searching has turned up similiar questions but no answers. Thanks in
advance for any 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.



  






__,_._,___




[flexcoders] Re: FLV can't load in to videoDisplay component from remote machine

2006-07-03 Thread Jason
I am having this same problem, but I am just playing videos off my
local computer.  I have a listBox with several items in it.  When you
selct on of the items it loads a new video into my VideoDisplay
component.  Some times it has an error, other times it does not.  I
think it is a sync issue, but I am not sure how to solve it.  Anyone
make any progress on this issue?

Error: 1000: No bitrate match
at mx.controls.videoClasses::VideoPlayer/seek()
at mx.controls::VideoDisplay/::autoPlaying()
at mx.controls::VideoDisplay/set source()
at VideoSelection/videoSelectListFunc()
at VideoSelection/__videoSelectList_change()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::mouseUpHandler()
at mx.controls::List/mx.controls:List::mouseUpHandler()

--jason

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

 hi abdul,
   Actually problem is that videodisplay is not accepting  source
value when I host application to remote server.

   Even I set crossdomain policy on server.

   Is there any security problem or what ??
   
   
   
 Abdul Qabiz [EMAIL PROTECTED] wrote:   
Have you set hardcoded value for the bitrate? 
 
 -abdul
 
 
 On 6/21/06, Bhavin Padhiyar [EMAIL PROTECTED]   wrote:   
hi Tom 
   It is givinging me error of no bitrate match
   
   Error: 1000: No bitrate match
   at   mx.controls.videoClasses::VideoPlayer/play()
   at mx.controls::VideoDisplay/play()
 at Support/::toggle()
   at Support/___Button1_click()
   
   
   
   
   
 
   
 
 Tom Chiverton [EMAIL PROTECTED] wrote:On Tuesday 20 June 2006
15:16, Bhavin Padhiyar wrote:
I try   out with some other examples that also give same kind of
error even
  in flexstore example of adobe having same error.
 
 What error is that then ?
 
 -- 
 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 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 
  
 
 -
 Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail Beta.  
   
 
 
   
 
 
 
 
   
   
 
 
   
 -
 Do you Yahoo!?
  Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.










 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/
 





RE: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Steven Webster





Tim,

I've been in Ireland all of last week, and will be in 
France until the end of this coming week ... so my apologies that I've not been 
responding to your posts as you might otherwise hope; picked a great time to be 
out of office so much ! However, looks like the community as well as my 
fellow Adobe Consultants are keeping you somewhat on the straight and narrow ... 
normal service (for me at least) shall be resumed end of the 
week.

Best of luck,

Steven



  
  

  


  
  

Steven WebsterPractice Director (Rich 
Internet Applications)Adobe ConsultingWestpoint, 4 Redheughs 
Rigg, South Gyle, Edinburgh, EH12 9DQ, UKp: +44 (0) 131 338 
6108
m: +44 (0)7917 428 947[EMAIL PROTECTED] 
  


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tim 
  HoffSent: 03 July 2006 22:02To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm2: 
  ViewLocator - ViewHelper
  
  
  Thanks for the responses guys,Dimitrios: Yes, the majority of 
  my views are updated through binding to the ModelLocator. However, there 
  are certain functions that are soley view-related (like setFocus(), 
  filtering a DataGrid, updating a search parameter VO with view component 
  values prior to executing a search command), that imo don't merit creating 
  a command to perform. These kind of functions could just be located in a 
  script tag inside the view. But, if the functions are numerous, the code 
  becomes more readable if a seperate class is used.Bjorn:I 
  agree that a command shouldn't interrogate a view. That would defeat the 
  encapsulation. For the most part though, the command should update the 
  ModelLocator and the ModelLocator should update the 
  view.Jesse:As always, you crack me up. In the situations that I 
  mentioned above, I assume that you are using a ViewLocator - uid approach. 
  This is probably more efficient and centralized than using 
  ViewHelpers. Besides, I really don't want to deal with Satan spawn. 
  Care to share a small sample of your approach?All in all, this isn't a 
  huge issue. Out of my current 300 views, I've only found the need to use 
  three ViewHelpers. My questions are more theoretical and best practice 
  oriented. Good stuff to know when scalability is an issue. Also, I'm still 
  not sure what Alex Uhlmann meant by "the ViewHelper adds and removes 
  itself from the ViewLocator". Guess I need to take a trip back to the 
  Cairngorm source.Thanks again for your answers. I was hoping that 
  Steven or Alistaire had time to chime in here, but I realize that they are 
  very busy these days.Cheers,Tim Hoff--- In [EMAIL PROTECTED]ups.com, 
  "JesterXL" [EMAIL PROTECTED]. wrote: ViewHelpers == 
  spawn of satan. Nothing here but bloated code. "Seperation  of 
  concerns" doesn't count here; it's just something they say to make 
   themselves feel better by using them.  ViewLocators, 
  to me are only justified in extreme use cases. Having other  
  View's, or even Commands specifically telling other views to do certain 
   things are bad practice, but I have seen times where there is just 
  no other  way. The rest of the time, databinding and combinations 
  of getter / setters  should accomplish what you want. While their 
  use should be discouraged,  I'll be the first to admit they are 
  useful and lifesavers when you need  them.  
   - Original Message -  From: "Tim Hoff" 
  [EMAIL PROTECTED] To: [EMAIL PROTECTED]ups.com 
  Sent: Monday, July 03, 2006 6:05 AM Subject: [flexcoders] Cairngorm2: 
  ViewLocator - ViewHelper   I've recently been toying 
  with the concepts of ViewHelper vs. ViewLocator. Alex Ulmann posted, 
  "the ViewHelper adds and removes itself from the ViewLocator", in 
  his Cairngorm 2 (for Flex 2) - Overview and Migration Path. I haven't 
  seen any examples yet that illustrate this method. Understandably, the 
  example pool and documentation for this kind of thing is small but 
  growing. So, I was wondering if the authors of Cairngorm had any 
  advise/guidance for this topic. Of course it's a matter of scale, 
  but in an enterprise application, what is recommended as best practice 
  for the use of ViewLocator and/or ViewHelpers? I'm sure that there are 
  forthcoming books that cover this area, but feedback here might 
  promote better understanding.  Best regards, 
  Tim Hoff   
  -- 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 

Re: [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton

2006-07-03 Thread sinatosk



thanks that worked ;)ok thats the PopUpButton partially fixed... now for PopUpMenuButtonI'm gonna rephrase the PopUpMenuButton problem I mentioned above...When I first open the menu... I'm accessing the root menu... When I hover over one of those items for the time then move my mouse over another item in root menu ( not sub menus ). The menu closes on it's own. If I redo all of this again but this time I go into sub menus and then hover over the parent or root menu of the sub menu I just entered into... the menu also closes on it's own.
There hope that is explained better :pOn 03/07/06, Benoit Hediard [EMAIL PROTECTED] wrote:













  






I've also encountered this issue (event dispatched 
twice).

Here is a workaround :
private function itemClickHandler(event:MenuEvent):void 
{
 if (event.index != -1) { // Workaround 
to ignore the second event
 
...
 }
}

Benoit Hediard


De: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] De la part de 
sinatoskEnvoyé: dimanche 2 juillet 2006 
21:41À: flexcoders@yahoogroups.comObjet: 
[flexcoders] F2.0 final - Possbile bug with PopUpButton and 
PopUpMenuButton
4 days after the release I come to update my Flex Application from 
Beta 3 to Final and the 2 main components I used seem to be bugged. not very 
good at explaining things to bare with me please :pPopUpButton 
 - Every time I select an item... 
the itemClick event gets dispatched twice. it just pops with with 2 Alert 
dialogs every time I select an 
itemPopUpMenButton - When I put my mouse over 
an item for the first time works fine... but soon as I hover over another 
menu item in the main level... the menu closes automatically and also if I Hover 
over an item that is a sub menu I can keep going in and in until there are 
no more children... or I could just go in once... and then soon as I hover over 
another item... again the menu just closes. Both times this is without click on 
any items in the menu I've posted the code belowFlex code 
being:?xml version=1.0 encoding=utf-8?mx:Application 
xmlns:mx=http://www.adobe.com/2006/mxml  
layout=absolute 
mx:Script 
![CDATA[ 
import 
mx.controls.*; 
import 
mx.events.*; 
private var 
myMenu:Menu; 
 private 
var i:uint = 
0; // 
Initialize the Menu control, and specify it as the pop up 
object // 
of the PopUpButton control. 
 private 
function initMenu():void { 
 
myMenu = new 
Menu(); 
var dp:Object = [{label: New Folder}, {label: Sent Items}, {label: 
Inbox}]; 
 
myMenu.dataProvider = dp; 
 
myMenu.selectedIndex = 0; 
 
myMenu.addEventListener(itemClick, 
itemClickHandler); 
popB.popUp = 
myMenu; 
popB.label = Put in:  + 
myMenu.dataProvider[myMenu.selectedIndex].label; 
} // 
Define the event listener for the Menu control's itemClick event. 
 private 
function itemClickHandler(event:MenuEvent):void { 
 
var label:String = event.item.label; 
 
popTypeB.text=String(Moved to  + 
label); 
popB.label = Put in:  + 
label; 
popB.close 
(); 
myMenu.selectedIndex = 
event.index; 
 
Alert.show('menu popup number ' + 
++i); 
} ]] 
/mx:Script mx:Panel title=PopUpButton 
Control Example  paddingTop=10 
paddingBottom=10 paddingRight=10 paddingLeft=10 x=10 y=10 height=187 
width=411 mx:Label 
width=100% color=blue 
 
text=Button label contains the name of the last selected menu item. 
/ mx:PopUpButton id=popB 
label=Edit creationComplete=initMenu(); width=135 / 
 
 mx:Spacer height=50 
/ mx:TextInput 
id=popTypeB / 
 /mx:Panel 
 
mx:Script 
![CDATA[ 
import 
mx.events.*; 
import 
mx.controls.*; 
 //Event 
handler, invoked when you select from the 
menu. 
public function itemClickHandler2(event:MenuEvent):void { 
 
Alert.show(Menu label:  + 
event.label 
+  \n menu item index within parent menu:  + 
event.index); 
} ]] 
/mx:Script   !-- A an 
data provider in E4X format. -- mx:XMLList 
id=treeDP2 node 
label=Inbox 
node 
label=Personal 
node label=Family/ 
 
node label=Friends/ 
 
/node 
node 
label=Marketing/ 
node label=To Do/ 
/node  node 
label=Calendar 
node label=Appointments 
data=""> 
node label=Meetings/  
/node node 
label=Deleted Items/  
/mx:XMLList mx:Panel 
title=PopUpMenuButton Control Example 
 paddingTop=10 paddingLeft=10 
paddingRight=10 x=10 y=205 height=143 width=271 
 mx:Label width=100% 
color=blue 
text=Click the down arrow to open the 
menu./ 
mx:PopUpMenuButton id=p2 
 
dataProvider={treeDP2} 
 
labelField=@label 
itemClick=itemClickHandler2(event);/ 
/mx:Panel/mx:ApplicationFlex code end;Is it 
possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 
9.0.16.0 ( without debug ) 

  















__._,_.___





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

Re: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread JesterXL
You don't use static's in Cairngorm 2's ModelLocator.  Use instance level 
vars.  So:

public static var name:String;

should be:

public var name:String;


- Original Message - 
From: ben.clinkinbeard [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Monday, July 03, 2006 12:00 PM
Subject: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to 
detect assignments...


Whoops. Updated code, which now produces an error concerning Access
of a possibly undefined property 'name' through a reference with
static type TestModel. My label tag now looks like this:

mx:Label x=130 y=136 text={TestModel.getInstance().name}
id=testLabel/

And the TestModel class is updated to look like the sample in the
documentation:

package
{
import com.adobe.cairngorm.model.ModelLocator;

[Bindable]
public class TestModel implements ModelLocator
{
public static var name:String;
private static var modelLocator : TestModel;

public static function getInstance() : TestModel
{
if ( modelLocator == null )
modelLocator = new TestModel();

return modelLocator;
}

public static function initialize():void
{
name = Some text;
}
}
}






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










 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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] (without Cairngorm) Data binding will not be able to detect assignments...

2006-07-03 Thread Derek Stottlemyer
Hello all,
I have the same problem without Cairngorm. I'm trying to bind a Class
property to a Label as well...

extending the Class as an ObjectProxy or not doesn't make a difference. I've
also tried moving [Binding] above public var fullname to no avail.

Can anyone offer a suggestion?

Thanks,
Derek


MY MXML

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute
creationComplete=init()
mx:Script
![CDATA[
import com.landlorder.data.Client
var currClient:Client;

public function init():void{
currClient=new Client(new
XML(rootfnameJoe/fnamelnameSmith/lname/root));
var name:String = currClient.Showname();
tester.text=show +name
}
]]
/mx:Script
//This is the line that gives me trouble. I get an alert that Data Binding
will not be able to detect assignments to 'currClient'  When compiled, this
label is blank.
mx:Label id=userName text={currClient.fullname} x=10 y=10/
//This label shows show Joe Smith as expected.
mx:Label id=tester text=foo x=10 y=36/
/mx:Application

MY CLASS(Client);

package
import mx.utils.ObjectProxy;
[Bindable]
public class Client extends ObjectProxy
{
public var fullname:String;

function Client(x:XML):void{
fullname=x.fname+ +x.lname;
}
public function Showname():String{
return fullname;
}
}
}







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/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/
 





Re: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Ralf Bokelberg
Also, whenever you are able to isolate a cohesive set of properties
and methods from your view, you can extract it into a separate class
which represents something real (what a pity that flexbuilder isn't
capable to do this automatically).

Tim, can you provide a code example, which necessarily needs a
ViewHelper (or can benefit from it substantially)?


Cheers,
Ralf.

On 7/3/06, JesterXL [EMAIL PROTECTED] wrote:
 Speaking for Steven, but the reason they espoused using ModelLocator over
 ViewHelpers was a few reasons.  First off, many people felt the need to
 create ViewHelpers for every View.  This was ridicolous; no View could ever
 do anything useful but instantiate GUI components, and register for events.
 You had no clue WHAT that View could do.  Suddenly you're code base
 basically doubled for extremely little gain.


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




  1   2   >