[flexcoders] Re: treegrid / treetable control

2006-07-11 Thread coder_flex
Here is what I am planning to do. 

Use the datagrid itself as the main component and use treeitemrenderer
along with tree as the datasource for datagrid will try to manipulate
the data on datagrid. 

Is this the right approach or is there a better way of doing this.

thanks in advance.
--- In flexcoders@yahoogroups.com, coder_flex [EMAIL PROTECTED] wrote:

 Hi,
 
 I need the treegrid /treetable control ie., to show one of the columns
 of datagrid as tree structure and the rows in other columns to follow
 this column. Are there any samples/examples out there to do this? 
 
 I looked at one of the samples 
 http://www.cayambe.com/wordpress/?p=36
 
 It didnt seem complete though. If anybody knows better examples please
 let me know.
 
 thanks in advance.








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

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

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

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




RE: [flexcoders] Problem with the Flex CRM example when ran on AMF

2006-07-11 Thread Matt Chotin












Not a known issue, Ill forward it
in. What happens when you use the HTTP channel?











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of flashorbman
Sent: Tuesday, July 11, 2006 12:39
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with
the Flex CRM example when ran on AMF











I tried to change the channel used for the Flex CRM
example from RTMP
to AMF and now I experience a problem on the initial application load.
The problem happens only when polling is disabled. The problem can be
easily reproduced with the following steps:

1. change the default channel to my-amf in
data-management-config.xml to look as the following:
default-channels
channel ref=my-amf/
/default-channels

2. Make sure polling is disabled in services-config.xml:
channel-definition id=my-amf class=mx.messaging.channels.AMFChannel
endpoint uri=amf endpoint is here
class=flex.messaging.endpoints.AMFEndpoint/
properties
polling-enabledfalse/polling-enabled
/properties
/channel-definition

Re-run the example and you will get this (i slightly modified mxml to
get more data about the error): 
http://tinyurl.com/hqdyx

Is this a known problem? Is there a workaround *without* enabling polling?

cheers,
Joe






__._,_.___





--
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: ACcess SOAP fault code

2006-07-11 Thread Kelly Birr





It works!

To make real fault codes available in Flex 2.0(RTM)from .NET 
web services put the following code (C#)in your 
Global.asax

voidApplication_PreSendRequestHeaders(object sender, EventArgs 
e){ if 
(Response.StatusCode != 200){ // fix response code for flex 
string sReferrer = 
Request.UrlReferrer.AbsolutePath.ToLower(); 
if (sReferrer.EndsWith(".swf")) 
Response.StatusCode = 200; 
}}
- 
Kelly


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Monday, July 10, 2006 1:17 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


Cool, let us know how you get on. Might save me some time 
when I need to "fix" it :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 03 July 2006 15:41To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

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

Re: [flexcoders] Re: ACcess SOAP fault code

2006-07-11 Thread Carson Hager
Title: Re: [flexcoders] Re: ACcess SOAP fault code








Glad to hear it still works in 2.0.
.

Carson




Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY ext. 89
Mobile: 1.703.489.6466



-Original Message-
From: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wed Jul 12 01:15:55 2006
Subject: RE: [flexcoders] Re: ACcess SOAP fault code

It works!

To make real fault codes available in Flex 2.0 (RTM) from .NET web services put the following code (C#) in your Global.asax
void Application_PreSendRequestHeaders(object sender, EventArgs e)
{
 if (Response.StatusCode != 200)
 { // fix response code for flex
 string sReferrer = Request.UrlReferrer.AbsolutePath.ToLower();
 if (sReferrer.EndsWith(.swf)) Response.StatusCode = 200;
 }
}

- Kelly




From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Tuppeny
Sent: Monday, July 10, 2006 1:17 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: ACcess SOAP fault code



Cool, let us know how you get on. Might save me some time when I need to fix it :-)



From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Carson Hager
Sent: 03 July 2006 15:41
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: ACcess SOAP fault code


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 Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com http://www.cynergysystems.com/

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.703.489.6466





From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Tuppeny
Sent: Thursday, June 22, 2006 12:52 AM
To: flexcoders@yahoogroups.com
Subject: 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:flexcoders@yahoogroups.com] On Behalf Of Carson Hager
Sent: 21 June 2006 13:13
To: flexcoders@yahoogroups.com
Subject: 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 http://www.cynergysystems.com/

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY
Mobile: 1.703.489.6466






From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Tuppeny
Sent: Wednesday, June 21, 2006 4:05 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: ACcess SOAP fault code




I wasn't thinking to use the fault handler, I was just planning on every
response being an object with an error property that will usually be
null, and checking for it myself. Your idea would be much nicer, but I
doubt it's possible, since we're pretending everything worked fine.
Maybe changing the status code in a HttpHandler would be a nicer
solution after all!

-Original Message-
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
Behalf Of z l
Sent: 21 June 2006 08:24
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
Subject: [flexcoders] Re: ACcess SOAP fault code

Hi,

Can someone explain to me that since you've caught the exception in your
code, then how does the fault event handler in flex gets called?

Generally speaking, what is the mechanism that triggers the fault event
in flex?

Thanks,

__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com http://mail.yahoo.com

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

[flexcoders] Re: Cairngorm Responder interface changes

2006-07-11 Thread Tim Hoff



Thanks Dimitrios,
I like the more direct approach, but I don't think that this would be the most effective way to handle asynchronous events. What I'm considering is extending the Responder all the way back to the View, through the FrontController. They are, after all, where the CairngormEvent originated and was sent first. The FrontController has a reference to the Command, so it could accept a responder. The Responder to the view would have to be created.

Pros:
The permanent stop at the Command from a Delegate wouldn't be removed, but rather used to condition the response back to the view. Everything else works the same in the Command. All re-usable data is dropped-off at the ModelLocator. The command then conditions a response that includes the state of the call result. Things like size, number of Objects, format, or anything that the developer wanted to know, would be added to the Responder and sent on its way. Rather, the event would be modified. Back at the View, local state would be adjusted accordingly when the CairngormEvent is completed.

Cons:
A race condition may occur with the ModelLocator binding to the view's state and the local update of state from the View itself. Also, a reference to the original CairngormEvent would need to be maintained by the View and the FrontController. This would possibly add weight. Less than the Command, Delegate, and Service, but weight just the same. Would also add script to all views that care about a response.
I think that this approachhas a more standardized feel. Does this sound like a viable idea, that doesn't stray significantly from Cairngorm?
-TH--- In flexcoders@yahoogroups.com, "JesterXL" [EMAIL PROTECTED] wrote: Dude... do you know how many "results" we have in our app?  I agree, this'll work for small Flash projects, but not for Enterprise Flex  apps. You can't just start willy nilly throwing small state vars on  ModelLocator for things like this; it'd get out of control, pretty quick.  Granted, you can easily sanction it off in a new StateVars specific class,  but then you have to keep track of updating those variables in your  commands... no thanks, I'd rather have it baked in.  - Original Message -  From: "Dimitrios Gianninas" [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 10, 2006 11:53 PM Subject: RE: [flexcoders] Re: Cairngorm Responder interface changesGood points, but I think that it can be handled in the following fashion.  The SearchView is an MXML component and it has a property called results, so  its declaration would look something like this:  dg:SearchView id="theSearch" results="{ModelLocator.results}" /  So once your results return, they will trigger the call to the setter method  of the results property, so in that setter, you can do those little things:  ... public function set results( values:ArrayCollection ):void { dg.dataProvider = values; // do other little things here } ...  That pretty much aught to solve your problem and you don't have to write any  extra code. I think the important thing to remember is to create small  components that will receive data via binding and set themselves in a proper  state (meaning changing values on certain controls, etc...). That way its  clean and reusable in some cases.  Dimitrios "Jimmy" Gianninas Optimal Payments Inc.  -Original Message- From: flexcoders@yahoogroups.com on behalf of JesterXL Sent: Mon 7/10/2006 9:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Cairngorm Responder interface changes  ...Tim gave better examples than I did. A lot of those small, GUI operations are what I'm talking about.  - Original Message -  From: "Tim Hoff" [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, July 10, 2006 8:00 PM Subject: [flexcoders] Re: Cairngorm Responder interface changes   Hi Steven,  Sorry to offer my .02, but here is a use-case:  A search view component includes a TextInput for the search string, a RadioButtonGroup that is used for the search type selection, and two DateFields used for a search date range. There is also a search button and a reset dates button.  When a search is performed, a responder returns a service call result to the command. The command updates the ModelLocator which automatically updates the view through binding. This works great for the heavy lifting (data, view states..). But, what about the light lifting; If results found: (clear and setFocus to the TextInput control, reset search options RadioButtons, reset the DateFields for a new search), If no results found: (do not reset fields, display a message saying "no results found for the search," prompt the user for additional information, launch the sound of laughing.mpg). :)  Sure, in one way or another, all of this can be accomplished with binding to variables in the ModelLocator, Alerts and PopUps. But, inho, binding state for the small things, that are soley related to a local view and conditional on the result of the 

Re: [flexcoders] Pivot Tables

2006-07-11 Thread Ralf Bokelberg



Nice task you have. Imho pivot tables are the best thing since sliced bread.

I'd start with creating the layout. Maybe you can use a Flex Grid component for that.
Then you create the dataProvider. A pivot table seems to have a tree structure. 
Maybe you can reuse  some of the tree stuff in the flex framework. 
Last but not least you have to think about how to create the model from some table data. 
I can see a strategy pattern for the aggregation function
and a little api to access table rows/columns by their headings.

All this are just shots in the dark. If you really start to work on it, you probably find different problems/solutions. 
Cheers,
Ralf. 

On 7/6/06, 
digitalnovanet
 [EMAIL PROTECTED] wrote:














  



Anyone ever seen a flex or flash based Pivot Table?  If not, anyone
have an idea how it can be made?


  













-- : : ) Scott






__._,_.___





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



  






__,_._,___



AW: [flexcoders] ASDoc for AS3?

2006-07-11 Thread Harald Dehn





Hi Gordon,

are there any new informations about a releasing 
date?

- Harald


Von: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] Im Auftrag von Gordon 
SmithGesendet: Freitag, 19. Mai 2006 22:32An: 
flexcoders@yahoogroups.comBetreff: RE: [flexcoders] ASDoc for 
AS3?


We have an internal tool 
that we use to create the class documentation, but we're not ready to release it 
with Flex 2 because it isn't ready for prime time. It involves a bunch of steps, 
is tempermental, isn't documented, etc.. It also works only on AS, and not MXML, 
files. But we know the community needs documentation tools so we're looking into 
cleaning it up and releasing it somewhat later. 

- Gordon


-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Suzy 
LawsonSent: Friday, May 19, 2006 7:18 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
ASDoc for AS3?

Does anyone know of any libraries yet that can generate 
the Asdoc
(javadoc) for Actionscript 3 classes? Probably too early 
for this kind
of question.

The Adobe team obviously has a nice tool. Any chance 
they can share at
least a watered down version of it on one of their 
blogs!?! :-)





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


--
Flexcoders Mailing 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] Problem with the Flex CRM example when ran on AMF

2006-07-11 Thread flashorbman
I tried to change the channel used for the Flex CRM example from RTMP
to AMF and now I experience a problem on the initial application load.
The problem happens only when polling is disabled. The problem can be
easily reproduced with the following steps:

1. change the default channel to my-amf in
data-management-config.xml to look as the following:
default-channels
channel ref=my-amf/
/default-channels

2. Make sure polling is disabled in services-config.xml:
channel-definition id=my-amf  class=mx.messaging.channels.AMFChannel
endpoint uri=amf endpoint is here
class=flex.messaging.endpoints.AMFEndpoint/
properties
 polling-enabledfalse/polling-enabled
/properties
/channel-definition

Re-run the example and you will get this (i slightly modified mxml to
get more data about the error): 
http://tinyurl.com/hqdyx

Is this a known problem? Is there a workaround *without* enabling polling?

cheers,
Joe







 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] which event to use on component display?

2006-07-11 Thread shemeshkale
hi,
using flex1.5
i need an event to fire everytime a component is displayed on screen.
creationComplete/initialize happens only once so they are not good for me.

for example i have this code:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 

mx:TabNavigator styleName=MyTabNavigator width=300
mx:HBox label=Tab title 1
mx:Label text=TAB# 1 fontSize=20 color=#FF /
/mx:HBox
mx:HBox label=Tab title 2 horizontalAlign=center
verticalAlign=middle
mx:Label text=TAB# 2 fontSize=20 color=#00FF00 /
/mx:HBox
mx:HBox label=Tab title 3 horizontalAlign=center
verticalAlign=middle
mx:Label text=TAB# 3 fontSize=20 color=#FF /
/mx:HBox
/mx:TabNavigator
/mx:Application

and i want that every time the label on tab 2 is displayed on screen
an alert message will pop.
which event do i need? (using flex1.5)





 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] About Integrating flex DS 2 with Flex builder 2 beta 3

2006-07-11 Thread Tom Chiverton
On Monday 10 July 2006 18:38, Mr.Unlimited wrote:
   all i need is to get data from oracle database trhru java objects

Then you don't need FDS, just Java remoting. There are several examples on the 
Adobe DevNet.

Any reason you are not using the release versions ?

-- 
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 ~-- 
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: Is anyone having trouble contacting Adobe and/or purchasing Flex?

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 00:51, wayne_badu_johnson wrote:
 Having trouble here in Australia. Can't access FLEX through Adobe
 website store. 

You mean your localised web store ? Use one if a different country ?

-- 
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 ~-- 
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] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-11 Thread Tom Chiverton
On Monday 10 July 2006 16:52, Carson Hager wrote:
 The good news is that this was only an issue of semantics.

\o/

:-)

-- 
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 ~-- 
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] which event to use on component display?

2006-07-11 Thread Ralf Bokelberg
If there is no show event like in flex 2, you can use the change event
of the TabNavigator and a small function which checks the selected
tab.
Cheers,
Ralf.

On 7/11/06, shemeshkale [EMAIL PROTECTED] wrote:
 hi,
 using flex1.5
 i need an event to fire everytime a component is displayed on screen.
 creationComplete/initialize happens only once so they are not good for me.

 for example i have this code:
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; 

 mx:TabNavigator styleName=MyTabNavigator width=300
 mx:HBox label=Tab title 1
 mx:Label text=TAB# 1 fontSize=20 color=#FF /
 /mx:HBox
 mx:HBox label=Tab title 2 horizontalAlign=center
 verticalAlign=middle
 mx:Label text=TAB# 2 fontSize=20 color=#00FF00 /
 /mx:HBox
 mx:HBox label=Tab title 3 horizontalAlign=center
 verticalAlign=middle
 mx:Label text=TAB# 3 fontSize=20 color=#FF /
 /mx:HBox
 /mx:TabNavigator
 /mx:Application

 and i want that every time the label on tab 2 is displayed on screen
 an alert message will pop.
 which event do i need? (using flex1.5)






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

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 01:00, Tim Hoff wrote:
 Sure, in one way or another, all of this can be accomplished with
 binding to variables in the ModelLocator, Alerts and PopUps.  But,
 inho, binding state for the small things, that are soley related to
 a local view and conditional on the result of the call, serves to
 clutter-up the ModelLocator.  The view could handle some of its own
 state if it was notified of the status of the service call.  

I agree, totally.

I'd really like some way, maybe as an extra optional arg on the 
CairngormEventDispatcher, to say 'this view[helper] has the onResult method 
to call'. Maybe then another for the fault handler.

If either is empty, Cairngorm looks in the same places as now.

-- 
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: [flexcoders] How to get all Data Contained in a DataGrid:: Flex 1.5

2006-07-11 Thread Tom Chiverton
On Monday 10 July 2006 21:58, augie wrote:
 for(var i:Number = 0; i  DataGridID.__dataProvider.length; i++){
  trace(DataGridID.listContent.[listRow+i].tfList.fCell1.text);
 }
 but have not had any luck getting the non-viewable data at the time I
 run the trace above.

The dataProvider property should give you all the records.

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





[flexcoders] Re: which event to use on component display?

2006-07-11 Thread shemeshkale
in flex1.5 the show event is not what i need.
and actually i want an event from the component itself (the Label in
my example) and not from his parent.
i m looking for something generic that can be applied to any component.

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

 If there is no show event like in flex 2, you can use the change event
 of the TabNavigator and a small function which checks the selected
 tab.
 Cheers,
 Ralf.
 






--
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] Possible Flex Builder internal error

2006-07-11 Thread Carlos Rovira



I read some place that Debugger was the focus of the problem. Could you try to debug something? If you report that you all goes well, I would love to upgrade to eclipse 3.2 (and WTP 1.5 of course)Thanks.
On 7/11/06, Clint Modien [EMAIL PROTECTED] wrote:













  



Worked here as well...On 7/10/06, Clint Modien 
[EMAIL PROTECTED] wrote:
I'll try the same and report back...On 7/10/06, Angus Johnson 

[EMAIL PROTECTED] wrote:













  



I went back to Eclipse 3.1.2 M20060118-1600 and still had the same errors on build and debug. I realised that this was throwing errors on projects that I had started in Beta 3. By creating fresh projects in Builder Final and copying over only source files it seem to have fixed the problem. Well at least for 3 projects so far. 
So yeah it appears that Eclipse 3.2 will play nicely with Flex Builder. Would be good to know if anyone has had any other problems though.
On 10/07/06, 
Carlos Rovira [EMAIL PROTECTED] wrote:

















  



AFAIK, Flex Builder 2 are not supported by Eclipse 3.2Hope Flexbuilder team comes with an update soon to the problems generated by Eclipse 3.2, since a lot of people would want to upgrade to 3.2




Hope some Adobe guys could bring some news on this.
On 7/7/06, Clint Modien 




[EMAIL PROTECTED] wrote:













  



Here is some debug info from eclipse on the error...eclipse.buildId=M20060628-1325java.version=1.4.2_09java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -showlocation
Command-line arguments: -os win32 -ws win32 -arch x86 -showlocationErrorThu Jul 06 18:10:36 PDT 2006An internal error occurred during: Retrieving labels.
org.eclipse.swt.SWTException
: Invalid thread accessat org.eclipse.swt.SWT.error(SWT.java:3374)at org.eclipse.swt.SWT.error(SWT.java:3297)at org.eclipse.swt.SWT.error(SWT.java:3268)at org.eclipse.swt.widgets.Display.error(Display.java






:978)at org.eclipse.swt.widgets.Display.checkDevice(Display.java:638)at org.eclipse.swt.widgets.Display.getSystemColor(Display.java:1931)at com.adobe.flexbuilder.debug.ui.FlexDebugModelPresentation.getThreadForeground






(FlexDebugModelPresentation.java:817)at com.adobe.flexbuilder.debug.ui.FlexDebugModelPresentation.getForeground(FlexDebugModelPresentation.java:793)at org.eclipse.debug.internal.ui.LazyModelPresentation.getForeground






(LazyModelPresentation.java:362)at org.eclipse.debug.internal.ui.DelegatingModelPresentation.getForeground(DelegatingModelPresentation.java:327)at org.eclipse.debug.internal.ui.views.launch.DebugElementHelper.getForeground






(DebugElementHelper.java:108)at org.eclipse.debug.internal.ui.elements.adapters.AsynchronousDebugLabelAdapter.getForegrounds(AsynchronousDebugLabelAdapter.java:103)at org.eclipse.debug.internal.ui.viewers.provisional.AsynchronousLabelAdapter.computeLabels






(AsynchronousLabelAdapter.java:105)at org.eclipse.debug.internal.ui.elements.adapters.AsynchronousDebugLabelAdapter.computeLabels(AsynchronousDebugLabelAdapter.java:66)at org.eclipse.debug.internal.ui.viewers.provisional.AsynchronousLabelAdapter$2.run






(AsynchronousLabelAdapter.java:51)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)On 7/6/06, Clint Modien
 
[EMAIL PROTECTED] wrote:ya I just started getting the same error after upgrading to flex2 final... i wasn't getting the error in flex2 beta 3 though...
has anyone contacted you about it?On 7/5/06, 
Angus Johnson [EMAIL PROTECTED] wrote:




















  



Has anyone else encountered this error in Eclipse (with the Flex Builder final). I'm using Eclipse 3.2 (M20060629-1905).Occurs during debug:An internal error occurred during: 







Retrieving labels.
Invalid thread accessI also occasionally get 'error removing compiler marker' on builds.Might be unrelated to Flex Builder itself just would like to know if someone has come across this before I start uninstalling plugins.
CheersAngus

  

















  













-- ::| Carlos Rovira::| 




http://www.carlosrovira.com

  
















  

















  













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

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS 

[flexcoders] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey










Im trying to create a folder-manager in flex that
allows a user to move, create and delete folders.

The folderstructure gets sent to the client in xml format,
like this:



root

 folder label=ftproot

 folder label=subfolder1
/

 folder label=subfolder2
/

 /folder

 folder label=ftproot2 /

/root



Etc.



This is all working well, I get a treeview, and with some
custom icons it looks exactly like the explorer in windows. 

The problem arrives when folders are seen as leafs instead
of nodes (like every deepest folder for instance, is seen as a leaf)



To enable true drag  drop, every node, also the leafs,
should act as a node. In explorer for instance, if you drag a folder on another
folder, it is automatically seen as a subfolder.

Since Flex doesnt allow items to be dragged onto a
leaf, Im having a problem here. Once every folder is on the root node
for instance, its impossible to move any folder onto another folder.



Anyone with a suggestion? I suppose Ill have to
create a custom itemrenderer and force every item so it thinks it
has childnodes, but maybe someone could give me a good direction here.



Thanks




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] image upload with flex 1.5

2006-07-11 Thread oiland_barry
Hi all, i need to get an image upload app working ASAP.  Im using Flex
1.5 but all the posts i find on the net dont seem to be getting me any
closer to starting, never mind getting the app completed!

Hope someone will have some help.

Barry






 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] image upload with flex 1.5

2006-07-11 Thread Jonas Windey












http://www.adobe.com/devnet/flex/articles/fp8_features.html
?











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oiland_barry
Sent: dinsdag 11 juli 2006 11:36
To: flexcoders@yahoogroups.com
Subject: [flexcoders] image upload
with flex 1.5











Hi all, i need to get an image upload app working
ASAP. Im using Flex
1.5 but all the posts i find on the net dont seem to be getting me any
closer to starting, never mind getting the app completed!

Hope someone will have some help.

Barry




__ NOD32 1.1652 (20060710) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Possible Flex Builder internal error

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 10:39, Carlos Rovira wrote:
 I read some place that Debugger was the focus of the problem. Could you try
 to debug something? If you report that you all goes well, I would love to
 upgrade to eclipse 3.2 (and WTP 1.5 of course)

Even if it is, you can just use the command line debugger.
Once you get to know it, it's not so bad.

-- 
Tom Chiverton, who's subscription-based update hasn't come yet. And won't run 
in SUSE when it does.



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/
 




Re: [flexcoders] Possible Flex Builder internal error

2006-07-11 Thread Angus Johnson



hmmm... small projects debug ok but larger ones throw back those pesky marker errors. It could be related to projects with linked sources and libraries from what i've seen.Anyway debug runs fine, you just have to click away the marker errors. Doesn't seem to be any other impact so far.
Dunno, i'm going to persevere with 3.2. Sucker for punishment maybe :)On 11/07/06, Tom Chiverton 
[EMAIL PROTECTED] wrote:On Tuesday 11 July 2006 10:39, Carlos Rovira wrote:
 I read some place that Debugger was the focus of the problem. Could you try to debug something? If you report that you all goes well, I would love to upgrade to eclipse 3.2 (and WTP 1.5 of course)
Even if it is, you can just use the command line debugger.Once you get to know it, it's not so bad.--Tom Chiverton, who's subscription-based update hasn't come yet. And won't runin SUSE when it does.
This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.
CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~--Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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








   



  




  
  
  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] ASDoc for AS3?

2006-07-11 Thread Jeremy Lu




ah, even a pre-pre-pre-alpha version would do, please !

On 7/11/06, Harald Dehn [EMAIL PROTECTED] wrote:













  






Hi Gordon,

are there any new informations about a releasing 
date?

- Harald


Von: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] Im Auftrag von Gordon 
SmithGesendet: Freitag, 19. Mai 2006 22:32An: 
flexcoders@yahoogroups.comBetreff: RE: [flexcoders] ASDoc for 
AS3?


We have an internal tool 
that we use to create the class documentation, but we're not ready to release it 
with Flex 2 because it isn't ready for prime time. It involves a bunch of steps, 
is tempermental, isn't documented, etc.. It also works only on AS, and not MXML, 
files. But we know the community needs documentation tools so we're looking into 
cleaning it up and releasing it somewhat later. 

- Gordon


-Original Message-From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On Behalf Of Suzy 
LawsonSent: Friday, May 19, 2006 7:18 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
ASDoc for AS3?

Does anyone know of any libraries yet that can generate 
the Asdoc
(javadoc) for Actionscript 3 classes? Probably too early 
for this kind
of question.

The Adobe team obviously has a nice tool. Any chance 
they can share at
least a watered down version of it on one of their 
blogs!?! :-)





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

~- 


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



  






__,_._,___



RE: [flexcoders] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey












Yea so I had gotten so far already. The
problem is, I cant spend another day trying and experimenting, since
time is running out.

Until then, I guess Ill play a bit
further.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Lu
Sent: dinsdag 11 juli 2006 13:04
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Explorer-like drag  drop tree












custom item renderer is the way to go.





On 7/11/06, Jonas
Windey [EMAIL PROTECTED]
wrote:













I'm trying to create a folder-manager in flex that allows
a user to move, create and delete folders.

The folderstructure gets sent to the client in xml
format, like this:



root


folder label=ftproot


folder label=subfolder1 /


folder label=subfolder2 /


/folder


folder label=ftproot2 /

/root



Etc.



This is all working well, I get a treeview, and with
some custom icons it looks exactly like the explorer in windows. 

The problem arrives when folders are seen as leafs
instead of nodes (like every deepest folder for instance, is seen as a leaf)



To enable true drag  drop, every node, also the
leafs, should act as a node. In explorer for instance, if you drag a folder on
another folder, it is automatically seen as a subfolder.

Since Flex doesn't allow items to be dragged onto a
leaf, I'm having a problem here. Once every folder is on the root node for
instance, it's impossible to move any folder onto another folder.



Anyone with a suggestion? I suppose I'll have to
create a custom itemrenderer and force every item so it 'thinks' it has
childnodes, but maybe someone could give me a good direction here.



Thanks






















__ NOD32 1.1652 (20060710) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Pagination feature in Flex 2

2006-07-11 Thread tinywhistles



Hi
Does Flex 2 provide pagination support in the UI?For eg. there is a huge amount of data coming from the server, and I need to display them in chunks often at a time on the UI. Is there any out-of-the-box component which we can use for this?
Alternatively can anyone share how to do this? I need to paginate the data and show them in the DataGrid control. 
Thanks
`Rohan



__._,_.___





--
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: FileReference and mimetypes

2006-07-11 Thread pmarstonuoa
Hi Jeff,

I'm having the same problem.  According to the Flex2 documentation the
content type defaults to application/octet-stream, but you can set
the contentType of the request:

var request:URLRequest = new URLRequest(myURL);
request.contentType = image/jpeg;
myFileReference.upload(request);

but I still get application/octet-stream in my php check.

When I do a trace before and after the assignment I get contentType =
null then contentType = image/jpeg, but it seems to get reset during
the upload, as if contentType is hardwired in no matter what you do
with the URLRequest (otherwise wouldn't contentType be the default
application/octet-stream rather than null before the assignment?)

Any Adobe guys got any comments on this?

:-(


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

 Its not that it isnt working, its just that I am unable to have my php 
 script detect the proper mimetype, which I'd like to use to prevent 
 malicious uploads.  Ideally, I'm looking to use the same server side
code 
 for uploads from both php and from flex.  with the current situation, i 
 need to disable my mimetype checks in php to allow the flex  uploads.
 
 At 08:57 AM 7/10/2006, Clint Tredway wrote:
 
 I am using PHP to upload images to the server and it works just fine :)
 
 On 7/10/06, Jeff Tapper mailto:[EMAIL PROTECTED][EMAIL PROTECTED]  wrote:
 
 I'm finding that when i use file reference to upload a gif to the
server,
 the php script which receives it thinks its an
Application/Octet-Stream,
 rather than image/gif. However, if i upload the same gif through an
html
 interface, the php script properly interprets it as an image/gif.
Is this
 a bug or a feature, or something im doing wrong?
 
 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date:
7/7/2006
 
 
 
 
 --
 diabetic? http://www.diabetesforums.comhttp://www.diabetesforums.com
 Bill Cosby - A word to the wise ain't necessary - it's the stupid ones 
 that need the advice.
 
 
 No virus found in this incoming message.
 Checked by AVG Anti-Virus.
 Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date:
7/7/2006
 
 
 
 
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006







 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] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey












Ok so apparently its nearly
impossible to achieve this, since dragging an item so it becomes a child of the
item you dragged it on requires that its new parent has an open node.

Since the directories in the deepest level
wont ever have an open node, this is impossible.



Too bad. 











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Lu
Sent: dinsdag 11 juli 2006 13:04
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Explorer-like drag  drop tree












custom item renderer is the way to go.





On 7/11/06, Jonas
Windey [EMAIL PROTECTED]
wrote:













I'm trying to create a folder-manager in flex that allows
a user to move, create and delete folders.

The folderstructure gets sent to the client in xml
format, like this:



root


folder label=ftproot


folder label=subfolder1 /


folder label=subfolder2 /


/folder


folder label=ftproot2 /

/root



Etc.



This is all working well, I get a treeview, and with
some custom icons it looks exactly like the explorer in windows. 

The problem arrives when folders are seen as leafs
instead of nodes (like every deepest folder for instance, is seen as a leaf)



To enable true drag  drop, every node, also the
leafs, should act as a node. In explorer for instance, if you drag a folder on
another folder, it is automatically seen as a subfolder.

Since Flex doesn't allow items to be dragged onto a
leaf, I'm having a problem here. Once every folder is on the root node for
instance, it's impossible to move any folder onto another folder.



Anyone with a suggestion? I suppose I'll have to
create a custom itemrenderer and force every item so it 'thinks' it has
childnodes, but maybe someone could give me a good direction here.



Thanks






















__ NOD32 1.1652 (20060710) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.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



  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] Custom Window Component - Is this possible?

2006-07-11 Thread Sascha Balkau
Thanks a lot Jester, I'm trying to follow your suggestions but I haven't
delved much yet in creating components with AS.
Is there a way to set the border metrics of a container inside the custom
component? I'd like to set a VBox to always have a 10 pixel padding. Not
sure how do to that in AS and the borderMetrics property is read-only!

Thanks,
Sascha


 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of JesterXL
 Sent: Tuesday, 11. July, 2006 04:55
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Custom Window Component - Is this possible?
 
 2 things.
 
 First, you cannot put stuff in a Container based component that already
has
 stuff in it via MXML.  You can via ActionScript.
 
 So, write your EditorWindow in ActionScript, and you'll be fine.
 
 Second, make the default width and height of it 400 width, and 300 height,
 not 100%.  Percentage widths can do unexpected things.  As a component
 developer, you should give it a reasonable size, and let the peeps using
it
 dictate the size.
 
 So...
 
 package
 {
 import mx.containers.TitleWindow;
 
 public class EditorWindow extends TitleWindow
 {
// you're goodness here
 }
 }
 
 Then, you can use the code you were doing, like:
 
 ?xml version=1.0 encoding=utf-8?
 EditorWindow xmlns=gui.parts.*
 xmlns:mx=http://www.adobe.com/2006/mxml;
 width=400 height=300 xmlns:ns1=gui.parts.*
 /EditorWindow
 
 If she doesn't work out for you, post back here and we'll help you out.
 
 
 - Original Message -
 From: Sascha Balkau [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Monday, July 10, 2006 1:40 PM
 Subject: [flexcoders] Custom Window Component - Is this possible?
 
 
 I'm trying to create a custom component in Flex2 based on TitleWindow that
 should be the base for a couple of windows that all have more or less
 different controls but also have several parts in common like an 'Ok' and
a
 'Cancel' Button that are at the bottom of every window.
 
 I've created a component named EditorWindow which is the base for all the
 other windows. Here's a simple mxml of it ...
 
 ?xml version=1.0 encoding=utf-8?
 mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
 width=100% height=100% showCloseButton=true
 mx:VBox left=10 right=10 top=10 bottom=10
 mx:HBox width=100% height=100%
 /mx:HBox
 mx:HRule width=100%/
 mx:HBox width=100%
 mx:Button label=OK width=60/
 mx:Button label=Cancel width=60/
 /mx:HBox
 /mx:VBox
 /mx:TitleWindow
 
 And a window class that is based on this component would naturally look
like
 this ...
 
 ?xml version=1.0 encoding=utf-8?
 EditorWindow xmlns=gui.parts.*
 xmlns:mx=http://www.adobe.com/2006/mxml;
 width=400 height=300 xmlns:ns1=gui.parts.*
 /EditorWindow
 
 Ideally the varying controls of every inheriting Window should go into the
 empty HBox above the HRule and the two buttons at the bottom but if I
create
 a window based on this and try to drag a component into the place it will
 not insert any component code. If I manually write the component code
 between the EditorWindow tags it will fill out the whole window and
 ignores the boundaries of the HRule and the two buttons. Does somebody
know
 if it possible to get this working differently?
 
 Thanks for any advice!
 Sascha
 
 
 
 
 
 --
 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
 
 
 
 




 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] Mac equivalent of ActiveX

2006-07-11 Thread ryanm
 Hi, I have a question for the Mac experts. On Windows, I can embed a
 component written in Flex into a host application using the Shockwave 
 Flash
 ActiveX object, and communicate with it using various method calls and
 events. Is there any equivalent mechanism(s) on the Macintosh?

Yes... ActiveX. ;-)

http://www.microsoft.com/presspass/press/1996/oct96/macpr.mspx

MS does not own ActiveX, it's actually open source, and you can get full 
specs here:

http://www.opengroup.org/pubs/catalog/ax01.htm

ryanm 



 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] Pagination feature in Flex 2

2006-07-11 Thread Jeff Tapper
That feature is built into FDS

At 07:41 AM 7/11/2006, tinywhistles wrote:

Hi

Does Flex 2 provide pagination support in the UI? For eg. there is a huge 
amount of data coming from the server, and I need to display them in 
chunks of ten at a time on the UI. Is there any out-of-the-box component 
which we can use for this?

Alternatively can anyone share how to do this? I need to paginate the data 
and show them in the DataGrid control.

Thanks

`Rohan






No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006


 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/
 
attachment: 2e6c78c.jpg
 

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006


RE: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-11 Thread Dimitrios Gianninas





Ok, obviously I haven't built big enough apps yet to run 
into the problemsyou and Jesse have. I've had to do something like that in 
one app actually where I had multiple instances of the same window created, I 
would send a refof the view to the command so it would know which window 
instance to update afterwards.

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Tuesday, July 11, 2006 2:06 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
Responder interface changes



Thanks Dimitrios,
I like the more direct approach, but I don't 
think that this would be the most effective way to handle asynchronous 
events. What I'm considering is extending the Responder 
all the way back to the View, through the FrontController. 
They are, after all, where the CairngormEvent originated and was sent 
first. The FrontController has a reference to the Command, so 
it could accept a responder. The Responder to the view would 
have to be created.

Pros:
The permanent stop at the Command from a 
Delegate wouldn't be removed, but rather used to condition the response back to 
the view. Everything else works the same in the 
Command. All re-usable data is dropped-off at the 
ModelLocator. The command then conditions a response that 
includes the state of the call result. Things like size, 
number of Objects, format, or anything that the developer wanted to know, would 
be added to the Responder and sent on its way. Rather, the 
event would be modified. Back at the View, local state would 
be adjusted accordingly when the CairngormEvent is completed.

Cons:
A race condition may occur with the 
ModelLocator binding to the view's state and the local update of state from the 
View itself. Also, a reference to the original CairngormEvent 
would need to be maintained by the View and the FrontController. 
This would possibly add weight. Less than the Command, 
Delegate, and Service, but weight just the same. Would also add script to 
all views that care about a response.
I think that this approachhas a more 
standardized feel. Does this sound like a viable idea, that doesn't stray 
significantly from Cairngorm?
-TH--- In 
flexcoders@yahoogroups.com, "JesterXL" [EMAIL PROTECTED] 
wrote: Dude... do you know how many "results" we have in our 
app?  I agree, this'll work for small Flash projects, but not 
for Enterprise Flex  apps. You can't just start willy nilly throwing 
small state vars on  ModelLocator for things like this; it'd get out of 
control, pretty quick.  Granted, you can easily sanction it off in a new 
StateVars specific class,  but then you have to keep track of updating 
those variables in your  commands... no thanks, I'd rather have it baked 
in.  - Original Message -  From: "Dimitrios 
Gianninas" [EMAIL PROTECTED] To: 
flexcoders@yahoogroups.com Sent: Monday, July 10, 2006 11:53 PM 
Subject: RE: [flexcoders] Re: Cairngorm Responder interface changes 
   Good points, but I think that it can be handled in 
the following fashion.  The SearchView is an MXML component and 
it has a property called results, so  its declaration would look 
something like this:  dg:SearchView id="theSearch" 
results="{ModelLocator.results}" /  So once your results 
return, they will trigger the call to the setter method  of the results 
property, so in that setter, you can do those little things:  
... public function set results( values:ArrayCollection ):void { 
dg.dataProvider = values; // do other little things here 
} ...  That pretty much aught to solve your problem and 
you don't have to write any  extra code. I think the important thing to 
remember is to create small  components that will receive data via 
binding and set themselves in a proper  state (meaning changing values 
on certain controls, etc...). That way its  clean and reusable in some 
cases.  Dimitrios "Jimmy" Gianninas Optimal Payments 
Inc.  -Original Message- From: 
flexcoders@yahoogroups.com on behalf of JesterXL Sent: Mon 7/10/2006 
9:41 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] 
Re: Cairngorm Responder interface changes  ...Tim gave better 
examples than I did. A lot of those small, GUI operations are what I'm 
talking about.  - Original Message -  From: "Tim 
Hoff" [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, 
July 10, 2006 8:00 PM Subject: [flexcoders] Re: Cairngorm Responder 
interface changes   Hi Steven,  Sorry to 
offer my .02, but here is a use-case:  A search view component 
includes a TextInput for the search string, a RadioButtonGroup that is 
used for the search type selection, and two DateFields used for a search 
date range. There is also a search button and a reset dates 
button.  When a search is performed, a responder returns a 
service call result to the command. The command updates the ModelLocator 
which automatically updates the view through binding. This works 

RE: [flexcoders] Re: Simple Event Listener Examples between 2 classes

2006-07-11 Thread Danny Patterson





You're not adding the TestHandler object as a listener of 
the TestDispatcherClass object. Your code is actually registering to 
itself. Also, you probably shouldn't dispatch an event from the 
constructor, since that runs before anything else you won't be able to add a 
listener before your constructor dispatches the event. Try 
this:

package com.test 
{import flash.display.Sprite;import 
flash.events.Event;public class TestDispatcherClass extends Sprite 
{public function runDispatch() {dispatchEvent(new 
Event("action"));}}}


package com.test {import 
mx.controls.Alert;import flash.display.Sprite;
import 
com.test.TestDispatcherClass;public class TestHandler extends Sprite 
{public function TestHandler(dispatcher:TestDispatcherClass) 
{dispatcher.addEventListener("action", 
actionHandler);}public function 
actionHandler(event:Event):void {Alert.show("hanlded 
event:" + event.toString());}}}

mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute" 
xmlns="*" 
creationComplete="this.initApp();"mx:Script![CDATA[import 
com.test.TestHandler;import 
com.test.TestDispatcherClass;private var test:TestHandler;private 
var dispatcher:TestDispatcherClass;private function initApp():void 
{dispatcher = new TestDispatcherClass();
test = new 
TestHandler(this.dispatcher);
dispatcher.runDispatch();}]]/mx:Script/mx:Application



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
efeminellaSent: Monday, July 10, 2006 10:12 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Simple Event 
Listener Examples between 2 classes


Yeah, I have read the documentation for the new event model but I 
amhaving a few issues. Here is a simple example of what I am 
trying.Maybe you could give me some insight as to what I am doing 
wrong:package com.test {import 
flash.display.Sprite;import flash.events.Event;import 
com.test.EventManager;import mx.controls.Alert;public 
class TestDispatcherClass extends Sprite {public function 
TestDispatcherClass() {this.dispatchEvent(new 
Event("action"));}}}the class that will handle the 
event and get data from the dispatcher:package com.test {import 
com.test.EventManager;import 
flash.events.EventDispatcher;import flash.events.Event;import 
mx.controls.Alert;import flash.display.Sprite;public class 
TestHandler extends Sprite {public function 
TestHandler(){this.addEventListener("action", 
actionHandler);}public function 
actionHandler(event:Event):void {Alert.show("hanlded 
event:" + 
event.toString());}}}.mxml:mx:Application 
xmlns:mx="http://www.adobe.com/2006/mxml"layout="absolute" 
xmlns="*" 
creationComplete="this.initApp();"mx:Script![CDATA[import 
com.test.TestHandler;import 
com.test.TestDispatcherClass;private var 
test:TestHandler;private var 
dispatcher:TestDispatcherClass;private function initApp():void 
{this.test = new TestHandler();this.dispatcher = new 
TestDispatcherClass();}]]/mx:Script/mx:ApplicationAny 
Ideas???--- In [EMAIL PROTECTED]ups.com, 
"Jeremy Lu" [EMAIL PROTECTED] wrote: All your classes can 
extends flash.events.EventDispatcher then theycan just fire 
a  this.dispatchEvent(new MyEvent(aaa, bbb, ccc)); 
 other classes can use addEventListener("XMLParsed", 
someHandler) tohandle the event.  or you can take a 
look at how Cairngorm use Cairngorm Eventdispatcher as a cetralized 
event center to dispatch event for every class.   
Jeremy.  On 7/11/06, efeminella efeminella@... 
wrote:   Does anyone have any simple examples of how to 
dispatch and handle  events between 2 classes. For example how can I 
have a class that  loads and parses xml and then dispatch an event 
which another class  handles and the event and displays the data. 
Sort of like we did in AS  2 with event.target... 
  Thanks in advance,  Eric Feminella 
   
__._,_.___





--
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: Addressing buried children in XML with default namespace- an easier way?

2006-07-11 Thread ben.clinkinbeard
It seems that the only way to use the full functionality of E4X with
namespaced XML is by using this method:

namespace foo = http://site.com/BackOffice/DoSearch;;
use namespace foo;

Unfortunately, that method must be constructed exactly like that- with
a static string. You cannot even point it to a constant like
MyAppClass.SEARCH_NAMESPACE, which is fairly disappointing. I suppose
the namespaces your app uses aren't something that will change very
often but it still seems like this is a shortcoming of the
implementation of E4X. I feel like I am being punished for using XML
that contains namespaces, as it is so crippled in comparison to
namespace-free XML.

Adobe, can you fix this in a future release?

Thanks,
Ben






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

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 13:25, Dimitrios Gianninas wrote:
 where I had multiple instances of the same window created, I would send a
 ref of the view to the command so it would know which window instance to
 update afterwards.

Were finding we have to do that quite a lot, and it seems like we're working 
around a feature rather than with the framework.

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





[flexcoders] [Flex2/FlexBuilder] How can I add commands...

2006-07-11 Thread Thomas Rühl -akitogo-

...to the little popup that comes up when i press [alt] [shift] [x]?

cheers, thomas


  
  Thomas Rühl
  Design, Programming  Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.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/
 





[flexcoders] [Flex2/FlexBuilder] ahh, alright

2006-07-11 Thread Thomas Rühl -akitogo-

just found another way... sorry
cheers, thomas


  
  Thomas Rühl
  Design, Programming  Concepts
  
  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt
  
  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com
  




 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] Pagination feature in Flex 2

2006-07-11 Thread hank williams



Hows that for detail!On 7/11/06, Jeff Tapper [EMAIL PROTECTED] wrote:
That feature is built into FDSAt 07:41 AM 7/11/2006, tinywhistles wrote:HiDoes Flex 2 provide pagination support in the UI? For eg. there is a hugeamount of data coming from the server, and I need to display them in
chunks of ten at a time on the UI. Is there any out-of-the-box componentwhich we can use for this?Alternatively can anyone share how to do this? I need to paginate the dataand show them in the DataGrid control.
Thanks`RohanNo virus found in this incoming message.Checked by AVG Anti-Virus.Version: 7.1.394 / Virus Database: 268.9.10
/383 - Release Date: 7/7/2006 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/
No virus found in this outgoing message.Checked by AVG Anti-Virus.Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006

__._,_.___





--
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: AW: [flexcoders] ASDoc for AS3?

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 08:37, Harald Dehn wrote:
 are there any new informations about a releasing date?

Indeed.
I don't mind if it 'takes a bunch of steps' (I am a programmer). I don't mind 
if it throws it's toys out of the pram (it's beta/alpha, and I can write bug 
reports). I don't care it's not documented (we'll figure it out). I don't 
care it's AS only (for the moment).

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





[flexcoders] Re: Cairngorm Responder interface changes

2006-07-11 Thread Tim Hoff
Oh, please don't get me wrong, you're solution is great.  It really 
got me thinking in a different direction.  I'm just trying to come 
up with a standardized way to solve this need, that will generically 
work for the majority of use-cases.  I don't think that the 
Cairngorm guys would consider any change unless it feels concrete 
and scales easily.  I sincerely appreciate your feedback Dimitrios.  
Please know that there is no disrespect intended.

Tim Hoff

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

 Ok, obviously I haven't built big enough apps yet to run into the 
problems you and Jesse have. I've had to do something like that in 
one app actually where I had multiple instances of the same window 
created, I would send a ref of the view to the command so it would 
know which window instance to update afterwards.
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: Tuesday, July 11, 2006 2:06 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm Responder interface changes
 
 
 
 Thanks Dimitrios,
 
 I like the more direct approach, but I don't think that this would 
be the most effective way to handle asynchronous events.   What I'm 
considering is extending the Responder all the way back to the View, 
through the FrontController.  They are, after all, where the 
CairngormEvent originated and was sent first.  The FrontController 
has a reference to the Command, so it could accept a responder.  The 
Responder to the view would have to be created.
 
 Pros:
 
 The permanent stop at the Command from a Delegate wouldn't be 
removed, but rather used to condition the response back to the 
view.  Everything else works the same in the Command.  All re-usable 
data is dropped-off at the ModelLocator.  The command then 
conditions a response that includes the state of the call result.  
Things like size, number of Objects, format, or anything that the 
developer wanted to know, would be added to the Responder and sent 
on its way.  Rather, the event would be modified.  Back at the View, 
local state would be adjusted accordingly when the CairngormEvent is 
completed.
 
 Cons:
 
 A race condition may occur with the ModelLocator binding to the 
view's state and the local update of state from the View itself.  
Also, a reference to the original CairngormEvent would need to be 
maintained by the View and the FrontController.  This would possibly 
add weight.  Less than the Command, Delegate, and Service, but 
weight just the same.  Would also add script to all views that care 
about a response.
 
 I think that this approach has a more standardized feel. Does this 
sound like a viable idea, that doesn't stray significantly from 
Cairngorm?
 
 -TH
 
 --- In flexcoders@yahoogroups.com, JesterXL jesterxl@ wrote:
 
  Dude... do you know how many results we have in our app?
  
  I agree, this'll work for small Flash projects, but not for 
Enterprise Flex 
  apps. You can't just start willy nilly throwing small state vars 
on 
  ModelLocator for things like this; it'd get out of control, 
pretty quick. 
  Granted, you can easily sanction it off in a new StateVars 
specific class, 
  but then you have to keep track of updating those variables in 
your 
  commands... no thanks, I'd rather have it baked in.
  
  - Original Message - 
  From: Dimitrios Gianninas dimitrios.gianninas@
  To: flexcoders@yahoogroups.com
  Sent: Monday, July 10, 2006 11:53 PM
  Subject: RE: [flexcoders] Re: Cairngorm Responder interface 
changes
  
  
  
  Good points, but I think that it can be handled in the following 
fashion.
  
  The SearchView is an MXML component and it has a property called 
results, so 
  its declaration would look something like this:
  
  dg:SearchView id=theSearch results={ModelLocator.results} /
  
  So once your results return, they will trigger the call to the 
setter method 
  of the results property, so in that setter, you can do those 
little things:
  
  ...
  public function set results( values:ArrayCollection ):void {
  dg.dataProvider = values;
  // do other little things here
  }
  ...
  
  That pretty much aught to solve your problem and you don't have 
to write any 
  extra code. I think the important thing to remember is to create 
small 
  components that will receive data via binding and set themselves 
in a proper 
  state (meaning changing values on certain controls, etc...). 
That way its 
  clean and reusable in some cases.
  
  Dimitrios Jimmy Gianninas
  Optimal Payments Inc.
  
  -Original Message-
  From: flexcoders@yahoogroups.com on behalf of JesterXL
  Sent: Mon 7/10/2006 9:41 PM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: Cairngorm Responder interface 
changes
  
  ...Tim gave better examples than I did. A lot of those small, GUI
  operations are what I'm 

Re: [flexcoders] Mac equivalent of ActiveX

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 09:57, ryanm wrote:
 MS does not own ActiveX, it's actually open source, and you can get
 full specs here:

Open source != open specs.

Isn't IE on the Mac dead these days anyway ?

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




[flexcoders] viewstack design pattern issue

2006-07-11 Thread hank williams



I have a viewstack (actually a tabnavigator) that has screens with data that comes from a server.I want to trigger the screen to go out and get new data only when: 1. the user enters the specific viewstack sub screen, and
 2. when the data for that screen is dirty, based on some bound data that has triggered a changeSo as I see it, the screen needs to keep track of when the bound field has changed which should cause a call to get fresh data. This means that the screen must keep track of whether it is dirty.
This seems like it must be a common scenario, and I am curious about how other people handle it. My first instinct was to create a base screen class from which all my screens could inherit. But I am curious whether cairngorm already handles this or whether this is even part of the scope of what it tries to cover. I am not using cairngorm right now, but may in the future. But understanding what is and isnt in its scope is important for me to start to understand.
So anyway, this is a 2 part question.1. how do people handle this situation2. does cairngorm have some pre-packaged solution to 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








   






  
  
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] viewstack design pattern issue

2006-07-11 Thread JesterXL





We use a dirty flag. We set it to true 
whenever some data changes. This data change is detected by registering 
for control events that change data (focusOut for TextInput, selectedDate != 
null for DateChooser, etc.). These events change the data if applicable, 
and set the dirty flag.

Other components can bind to the dirty flag and 
take appropriate actions, whether via a getter / setter or the binding 
tag.

- Original Message - 
From: hank williams 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, July 11, 2006 9:20 AM
Subject: [flexcoders] viewstack design pattern issue
I have a viewstack (actually a tabnavigator) that has screens 
with data that comes from a server.I want to trigger the screen to go 
out and get new data only when: 1. the user enters the specific 
viewstack sub screen, and  2. when the data for that screen is 
dirty, based on some bound data that has triggered a changeSo as I see 
it, the screen needs to keep track of when the bound field has changed which 
should cause a call to get fresh data. This means that the screen must keep 
track of whether it is dirty. This seems like it must be a common 
scenario, and I am curious about how other people handle it. My first instinct 
was to create a base screen class from which all my screens could inherit. But I 
am curious whether cairngorm already handles this or whether this is even part 
of the scope of what it tries to cover. I am not using cairngorm right now, but 
may in the future. But understanding what is and isnt in its scope is important 
for me to start to understand. So anyway, this is a 2 part 
question.1. how do people handle this situation2. does cairngorm 
have some pre-packaged solution to 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








   






  
  
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: FileReference and mimetypes

2006-07-11 Thread Geoffrey Williams
Changing the content type is not supported in uploads. This is 
documented in the URLRequest class.

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

 Hi Jeff,
 
 I'm having the same problem.  According to the Flex2 documentation 
the
 content type defaults to application/octet-stream, but you can 
set
 the contentType of the request:
 
 var request:URLRequest = new URLRequest(myURL);
 request.contentType = image/jpeg;
 myFileReference.upload(request);





 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[2]: [flexcoders] Flexunit Help Req, the TestRunnerBase/startTest() gives TypeError

2006-07-11 Thread Andriy Panas
Hello Beverly,


 I haven't gotten any answers yet.  I'm hoping someone has the answers.. :)

   We had recompiled locally FlexUnit SWC file out of AS source files
available at 
http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries#FlexUnit
and this particular error that you had mentioned had disappeared.


-- 
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] Explorer-like drag drop tree

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 12:36, Jonas Windey wrote:
 Since the directories in the deepest level won't ever have an open node,
 this is impossible.

If it really is the case that it needs an open node, just add a dummy child 
node.

-- 
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 ~-- 
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] ColumnChart problem

2006-07-11 Thread Ely Greenfield







If either of you can send us a simple reproducable case 
(i.e., one file, doesn't require a server running, etc) it would be really 
helpful tracking this down.

Thanks,
Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Brendan 
MeutznerSent: Monday, July 10, 2006 8:45 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] ColumnChart 
problem


I actually came across this yesterday as well... when i removed the effect, 
it ran fine...i just switched from stacked to a different type (overlaid 
i think) and the interpolate effect didn't cause issues anymore... 
Brendan
On 7/10/06, pasflex 
[EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  I have a stacked column chart with the showDataEffect set to a 
  SeriesInterpolate effect. The chart begins to render, the axes get 
  drawn, and the application freezes with this error:TypeError: 
  Error #1009: Cannot access a property or method of a null object 
  reference.at 
  mx.charts.chartClasses::NumericAxis/filterCache()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\NumericAxis.as:577]at 
  mx.charts.series::ColumnSeries/mx.charts.series:ColumnSeries::updateFilter()[C:\dev\GMC\sdk\frameworks\mx\charts\series\ColumnSeries.as:606]at 
  mx.charts.chartClasses::Series/mx.charts.chartClasses:Series::validateTransform()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\Series.as:943]at 
  mx.charts.chartClasses::Series/getRenderDataForTransition()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\Series.as:994]at 
  mx.charts.effects.effectClasses::SeriesInterpolateInstance/play()[C:\dev\GMC\sdk\frameworks\mx\charts\effects\effectClasses\SeriesInterpolateInstance.as:91]at 
  mx.effects::EffectInstance/startEffect()[C:\dev\GMC\sdk\frameworks\mx\effects\EffectInstance.as:438]at 
  mx.effects.effectClasses::ParallelInstance/play()[C:\dev\GMC\sdk\frameworks\mx\effects\effectClasses\ParallelInstance.as:196]at 
  mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::advanceEffectState()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\ChartBase.as:1562]at 
  mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::updateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\ChartBase.as:1268]at 
  mx.charts.chartClasses::CartesianChart/mx.charts.chartClasses:CartesianChart::updateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\CartesianChart.as:961]at 
  mx.core::UIComponent/validateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:5672]at 
  mx.managers::LayoutManager/mx.managers:LayoutManager::validateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:594]at 
  mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:664]at 
  Function/http://adobe.com/AS3/2006/builtin::apply()at 
  mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789]at 
  mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732]Any 
  ideas?

__._,_.___





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

2006-07-11 Thread JesterXL
I didn't effectively communicate that, but tried to in my email.  Creating a 
seperate class for those states is nice because it can still reside in your 
model package.  However, managing those variables in commands and setting 
them seems like a lot of overhead to manage.  The View's are the ones who 
care about the state, not the overall app, and thus they should be the ones 
responsible for responding.  If it's a result handler, it's built into the 
framework, and View's can choose to respond.  I'm sure there are scenarios 
where doing this way is ok too.

- Original Message - 
From: Ralf Bokelberg [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 11, 2006 1:54 AM
Subject: Re: [flexcoders] Re: Cairngorm Responder interface changes


How about creating a new class SearchResults with all the different
bindable state variables in it? This way you don't loose the advantage
of pure mvc without the clutter.

Cheers,
Ralf.


On 7/11/06, JesterXL [EMAIL PROTECTED] wrote:
 Dude... do you know how many results we have in our app?



--
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] Authentication - please help

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 05:54, Dmitry Miller wrote:
 1. Custom authentication
 2. Working with Flex sessions

I'm planing to have a 'login' service, and all other service layer calls take 
a session key as an argument, and check it logged in recently. Probably bind 
the session key to an IP to.

 3. How to throw authentication failed error from back end

Just throw the error as normal.
It's a non-recoverable error, and either a user mucking about or you getting 
it wrong :-)

-- 
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 ~-- 
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] ColumnChart problem

2006-07-11 Thread Ely Greenfield








Oops, never mind, I guess I already investigated this one 
;)

Yes, Jason's right, this is a known issue with a known 
fix.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: Tuesday, July 11, 2006 1:43 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] ColumnChart 
problem


I posted about this a while back. Ely confirmed it as a bug and says he 
has a fix if you have the source code:http://www.mail-archive.com/flexcoders@yahoogroups.com/msg32135.html 

On 7/10/06, pasflex 
[EMAIL PROTECTED] 
wrote:

  
  
  
  
  
  I have a stacked column chart with the showDataEffect set to a 
  SeriesInterpolate effect. The chart begins to render, the axes get 
  drawn, and the application freezes with this error:TypeError: 
  Error #1009: Cannot access a property or method of a null object 
  reference.at 
  mx.charts.chartClasses::NumericAxis/filterCache()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\NumericAxis.as:577]at 
  mx.charts.series::ColumnSeries/mx.charts.series:ColumnSeries::updateFilter()[C:\dev\GMC\sdk\frameworks\mx\charts\series\ColumnSeries.as:606]at 
  mx.charts.chartClasses::Series/mx.charts.chartClasses:Series::validateTransform()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\Series.as:943]at 
  mx.charts.chartClasses::Series/getRenderDataForTransition()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\Series.as:994]at 
  mx.charts.effects.effectClasses::SeriesInterpolateInstance/play()[C:\dev\GMC\sdk\frameworks\mx\charts\effects\effectClasses\SeriesInterpolateInstance.as:91]at 
  mx.effects::EffectInstance/startEffect()[C:\dev\GMC\sdk\frameworks\mx\effects\EffectInstance.as:438]at 
  mx.effects.effectClasses::ParallelInstance/play()[C:\dev\GMC\sdk\frameworks\mx\effects\effectClasses\ParallelInstance.as:196]at 
  mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::advanceEffectState()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\ChartBase.as:1562]at 
  mx.charts.chartClasses::ChartBase/mx.charts.chartClasses:ChartBase::updateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\ChartBase.as:1268]at 
  mx.charts.chartClasses::CartesianChart/mx.charts.chartClasses:CartesianChart::updateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\charts\chartClasses\CartesianChart.as:961]at 
  mx.core::UIComponent/validateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:5672]at 
  mx.managers::LayoutManager/mx.managers:LayoutManager::validateDisplayList()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:594]at 
  mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation()[C:\dev\GMC\sdk\frameworks\mx\managers\LayoutManager.as:664]at 
  Function/http://adobe.com/AS3/2006/builtin::apply()at 
  mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7789]at 
  mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:7732]Any 
  ideas?-- 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] Explorer-like drag drop tree

2006-07-11 Thread Jonas Windey
Yea, go figure that every directory contains a dummy leaf. Wouldn't really
be explorer-like wouldn't it :-)

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: dinsdag 11 juli 2006 15:33
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Explorer-like drag  drop tree

On Tuesday 11 July 2006 12:36, Jonas Windey wrote:
 Since the directories in the deepest level won't ever have an open node,
 this is impossible.

If it really is the case that it needs an open node, just add a dummy child 
node.

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



 






__ NOD32 1.1653 (20060711) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.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] Flex2/FP9 Final Bug : cannot play MP3 files encoded with iTunes

2006-07-11 Thread Benoit Hediard





Hi,

When trying to load 
an MP3 file encoded with iTunes (latest one v6.0.5.20), the MP3 starts playing 
but it stops when the loading is completed.
AnEvent.COMPLETE is generated just followed by an 
Event.SOUND_COMPLETE (whereas the sound is not completed at all and should 
continue to play).
After that, it is 
not possible to start the MP3 anymore.
It might be an ID3 
issue? (apparently, the ID3Info are not properly loaded)

Here is a template 
to reproduce the problem, a copy/paste from the LiveDocs.
It works fine with 
any MP3 files not encoded with iTunes.

?xml 
version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
layout="vertical" 
creationComplete="creationCompleteHandler()"mx:Script![CDATA[import 
flash.media.Sound; import 
flash.media.SoundChannel; import 
flash.net.URLRequest; import 
flash.utils.Timer; private var 
soundUrl:String = "http://localhost/SomeITunesEncodedFile.mp3"; 
private var 
soundFactory:Sound; private 
var channel:SoundChannel; 
private var 
positionTimer:Timer; 
public function creationCompleteHandler():void 
{ 
var request:URLRequest = new 
URLRequest(soundUrl); 
soundFactory = new 
Sound(); 
soundFactory.addEventListener(Event.COMPLETE, 
completeHandler); 
soundFactory.addEventListener(Event.ID3, 
id3Handler); 
soundFactory.addEventListener(IOErrorEvent.IO_ERROR, 
ioErrorHandler); 
soundFactory.addEventListener(ProgressEvent.PROGRESS, 
progressHandler); 
soundFactory.load(request); 
channel = 
soundFactory.play(); 
channel.addEventListener(Event.SOUND_COMPLETE, 
soundCompleteHandler); 
positionTimer = new 
Timer(50); 
positionTimer.addEventListener(TimerEvent.TIMER, 
positionTimerHandler); 
positionTimer.start(); 
} 
 private function 
positionTimerHandler(event:TimerEvent):void 
{ 
trace("positionTimerHandler: " + 
channel.position.toFixed(2)); 
} private function 
completeHandler(event:Event):void 
{ 
trace("completeHandler: " + 
event); 
} private function 
id3Handler(event:Event):void 
{ 
trace("id3Handler: " + 
event); 
} private function 
ioErrorHandler(event:Event):void 
{ 
trace("ioErrorHandler: " + 
event); 
positionTimer.stop(); 
 
} private function 
progressHandler(event:ProgressEvent):void 
{ 
trace("progressHandler: " + 
event); 
} private function 
soundCompleteHandler(event:Event):void 
{ 
trace("soundCompleteHandler: " + 
event); 
positionTimer.stop(); 
}]]/mx:Script/mx:Application

Benoit 
Hediard

PS: This problem has been raised during the beta, 
butwithout any answers. ;)
__._,_.___





--
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] Authentication - please help

2006-07-11 Thread Allen Riddle












Are you wanting authentication for your
Flex views? If you need authentication for services you are trying to access
over http, there are a couple good ones. If you have a Java back end, check out
the open source project Acegi. It is a very fast growing open source project
that has authentication, authorization, role based, etc. If you have a .NET
back end, Google forms authentication, its built in. Hope
that helps.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dmitry Miller
Sent: Monday, July 10, 2006 11:55
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
Authentication - please help











I need to implement an authentication mechanism that
would store user
metadata in some sort of session. I have read some stuff on custom
authentication but the information I found is rather vague. Can anyone
clue me in or point to a good article on

1. Custom authentication
2. Working with Flex sessions
3. How to throw authentication failed error from back end

Thanks a lot,

--- Dmitry






__._,_.___





--
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: Simple Event Listener Examples between 2 classes

2006-07-11 Thread efeminella
awesome! thanks. I am new to the ActionScript 3 Event Model but I see
the obvious benefits.

Thanks Again,
Eric

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

 You're not adding the TestHandler object as a listener of the
 TestDispatcherClass object.  Your code is actually registering to
itself.
 Also, you probably shouldn't dispatch an event from the constructor,
since
 that runs before anything else you won't be able to add a listener
before
 your constructor dispatches the event.  Try this:
  
 package com.test {
 import flash.display.Sprite;
 import flash.events.Event;
 public class TestDispatcherClass extends Sprite {
 public function runDispatch() {
 dispatchEvent(new Event(action));
 }
 }
 }
  
  
 package com.test {
 import mx.controls.Alert;
 import flash.display.Sprite;
 import com.test.TestDispatcherClass;
 public class TestHandler extends Sprite {
 public function TestHandler(dispatcher:TestDispatcherClass) {
 dispatcher.addEventListener(action, actionHandler);
 }
 public function actionHandler(event:Event):void  {
 Alert.show(hanlded event: + event.toString());
 }
 }
 }
 
  
 mx:Application xmlns:mx=http://www.adobe.
http://www.adobe.com/2006/mxml
 com/2006/mxml
 layout=absolute xmlns=* creationComplete=this.initApp();
 mx:Script
 ![CDATA[
 import com.test.TestHandler;
 import com.test.TestDispatcherClass;
 private var test:TestHandler;
 private var dispatcher:TestDispatcherClass;
 private function initApp():void {
 dispatcher = new TestDispatcherClass();
 test = new TestHandler(this.dispatcher);
 dispatcher.runDispatch();
 }
 ]]
 /mx:Script
 /mx:Application
 
 
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of efeminella
 Sent: Monday, July 10, 2006 10:12 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Simple Event Listener Examples between 2
classes
 
 
 
 Yeah, I have read the documentation for the new event model but I am
 having a few issues. Here is a simple example of what I am trying.
 Maybe you could give me some insight as to what I am doing wrong:
 
 package com.test {
 
 import flash.display.Sprite;
 import flash.events.Event;
 import com.test.EventManager;
 import mx.controls.Alert;
 
 public class TestDispatcherClass extends Sprite {
 
 public function TestDispatcherClass() 
 {
 this.dispatchEvent(new Event(action));
 }
 }
 }
 
 the class that will handle the event and get data from the dispatcher:
 
 package com.test {
 
 import com.test.EventManager;
 import flash.events.EventDispatcher;
 import flash.events.Event;
 import mx.controls.Alert;
 import flash.display.Sprite;
 
 public class TestHandler extends Sprite {
 
 public function TestHandler()
 {
 this.addEventListener(action, actionHandler);
 }
 
 public function actionHandler(event:Event):void 
 {
 Alert.show(hanlded event: + event.toString());
 }
 }
 }
 
 .mxml:
 mx:Application xmlns:mx=http://www.adobe.
http://www.adobe.com/2006/mxml
 com/2006/mxml
 layout=absolute xmlns=* creationComplete=this.initApp();
 
 mx:Script
 ![CDATA[
 
 import com.test.TestHandler;
 import com.test.TestDispatcherClass;
 
 private var test:TestHandler;
 private var dispatcher:TestDispatcherClass;
 
 private function initApp():void {
 this.test = new TestHandler();
 this.dispatcher = new TestDispatcherClass();
 }
 ]]
 /mx:Script
 /mx:Application
 
 Any Ideas???
 
 --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com,
 Jeremy Lu wade.lu@ wrote:
 
  All your classes can extends flash.events.EventDispatcher then they
 can just
  fire a
  
  this.dispatchEvent(new MyEvent(aaa, bbb, ccc));
  
  other classes can use addEventListener(XMLParsed, someHandler) to
 handle
  the event.
  
  or you can take a look at how Cairngorm use Cairngorm Event
 dispatcher as a
  cetralized event center to dispatch event for every class.
  
  
  Jeremy.
  
  On 7/11/06, efeminella efeminella@ wrote:
  
   Does anyone have any simple examples of how to dispatch and handle
   events between 2 classes. For example how can I have a class that
   loads and parses xml and then dispatch an event which another class
   handles and the event and displays the data. Sort of like we did
in AS
   2 with event.target...
  
   Thanks in advance,
   Eric Feminella
  
   
  
 








 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] Pivot Tables

2006-07-11 Thread Pan Troglodytes



If you'd used pivot tables much, you'd know why I chuckled at your comment. :DPivot tables are a really cool Excel feature that allows you to graphically fiddle with a set of data, with Excel converting your GUI actions into GROUP BY and rollups and summaries. To my boss, almost every problem looks like a pivot table waiting to happen.
If someone would implement a robust, full-featured pivot table component in Flex, they might be able to make a lot of money off it.On 7/10/06, slangeberg
 [EMAIL PROTECTED] wrote:













  



You can perform column sorts automatically on a DataGrid component. What kind of additional functionality are you looking for?Scott
On 7/6/06, digitalnovanet
 [EMAIL PROTECTED] wrote:














  



Anyone ever seen a flex or flash based Pivot Table?  If not, anyone
have an idea how it can be made?


  













-- : : ) Scott

  













-- 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] Re: FileReference and mimetypes

2006-07-11 Thread Phil Marston






OK - I've read so many class definitions now I forgot where I read that
one!  ;-) 

So why's it stuck at application/octet-stream I'd like to know what
files my users are uploading, but I don't want to do it by restricting
them with the fileFilter class . . 
:-( 

Geoffrey Williams wrote:


  
  Changing the content type is not supported in uploads. This is 
documented in the URLRequest class.
  
--- In [EMAIL PROTECTED]ups.com,
"pmarstonuoa" [EMAIL PROTECTED].. 
wrote:

 Hi Jeff,
 
 I'm having the same problem. According to the Flex2 documentation 
the
 content type defaults to "application/octet-stream", but
you can 
set
 the contentType of the request:
 
 var request:URLRequest = new URLRequest("myURL");
 request.contentType = "image/jpeg";
 myFileReference.upload(request);
  
  
  



-- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] 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 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or 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








   



  




  
  
  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] Authentication - please help

2006-07-11 Thread Allen Riddle
If you're using Java, Acegi will take care of all that for you.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, July 11, 2006 8:55 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Authentication - please help

On Tuesday 11 July 2006 05:54, Dmitry Miller wrote:
 1. Custom authentication
 2. Working with Flex sessions

I'm planing to have a 'login' service, and all other service layer calls
take 
a session key as an argument, and check it logged in recently. Probably
bind 
the session key to an IP to.

 3. How to throw authentication failed error from back end

Just throw the error as normal.
It's a non-recoverable error, and either a user mucking about or you
getting 
it wrong :-)

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



 




 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] viewstack design pattern issue

2006-07-11 Thread hank williams



hmm... not quite the question I was asking.I presume there would be a dirty flag. My question is about the screens in the viewstack. I am trying to come up with a clean repeatable model for how a screen knows it should recall the server to grab more data.
As an example, consider that all the screens have data that is dependent on a field called channel. When the user changes the channel, all the screens change, but I dont want them all to immediately run off and call the server when it might never be needed.
So I am thinking that each screen would have to have its own copy of the data or some last changed at marker so that an individual screen can know that oh the channel changed because the current channge is not what it was last time the user opened me. With this knowledge, the screen can trigger a call to update by refreshing data that the screen needs.
It just seems like this kind of thing screams for some kind or structured template/design pattern. But part of what I am seeing is that when you get into the mxml world it kinda encourages a sloppiness. You just stick a variable somewhere and throw a tag there. I am trying to figure out how to make the mxml for this clean templatable and readable, and while I can make the code work, the mxml piece is just ugly. It doesnt seem to lend itself to the kind of beautiful code I can do in AS2/3. Or perhaps I just dont really know what I am doing yet:)
Anyway, I am just trying to figure out how to do this relatively simple thing in an elegant way.RegardsHankOn 7/11/06, JesterXL 
[EMAIL PROTECTED] wrote:









We use a dirty flag. We set it to true 
whenever some data changes. This data change is detected by registering 
for control events that change data (focusOut for TextInput, selectedDate != 
null for DateChooser, etc.). These events change the data if applicable, 
and set the dirty flag.

Other components can bind to the dirty flag and 
take appropriate actions, whether via a getter / setter or the binding 
tag.

- Original Message - 
From: 
hank williams 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, July 11, 2006 9:20 AM
Subject: [flexcoders] viewstack design pattern issue
I have a viewstack (actually a tabnavigator) that has screens 
with data that comes from a server.I want to trigger the screen to go 
out and get new data only when: 1. the user enters the specific 
viewstack sub screen, and  2. when the data for that screen is 
dirty, based on some bound data that has triggered a changeSo as I see 
it, the screen needs to keep track of when the bound field has changed which 
should cause a call to get fresh data. This means that the screen must keep 
track of whether it is dirty. This seems like it must be a common 
scenario, and I am curious about how other people handle it. My first instinct 
was to create a base screen class from which all my screens could inherit. But I 
am curious whether cairngorm already handles this or whether this is even part 
of the scope of what it tries to cover. I am not using cairngorm right now, but 
may in the future. But understanding what is and isnt in its scope is important 
for me to start to understand. So anyway, this is a 2 part 
question.1. how do people handle this situation2. does cairngorm 
have some pre-packaged solution to 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








   






  
  
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: mysql amfphp flex2 login

2006-07-11 Thread Renaun Erickson
As for custom component exchange you find the Flex Exchnage on Adobe's
site.

http://www.adobe.com/cfusion/exchange/index.cfm#view=sn610
Other links:
http://flex.org
http://cflex.net

Here is example Login code using Cairngorm, CustomRemoteAMF0 class and
AMFPHP.
http://renaun.com/blog/2006/06/30/54/

Enjoy,

Renaun

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

 
 Just to save time reinventing the wheel here. Has anyone created a 
 multiuser amfphp service link to flex? I just need a portable multiuser 
 login setup that I can later connect to a backend admin to control 
 users/groups etc.
 
 Since I am sure this is not exactly new territory, I thought I would
see 
 if anyone had already knocked together something and wouldn't mind 
 sharing :)
 
 If not, when I get something going I will post. Curious, is there a 
 custom component website up yet? I know with after effects it was nice 
 to put stuff up on AEnhancers and get feedback on your stuff or see
what 
 others have done.
 
 tia
 
 Impudent1
 LeapFrog Productions







 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] Explorer-like drag drop tree

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 14:58, Jonas Windey wrote:
 Yea, go figure that every directory contains a dummy leaf. Wouldn't really
 be explorer-like wouldn't it :-)

Depends if your item renderer hides it or not.

-- 
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 ~-- 
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] Messaging config error - Flex 2 Final

2006-07-11 Thread Cleiton Luiz Coradelli





What's wrong in this code?
The 
error is attached.

TIA
Cleiton

?xml version="1.0" 
encoding="UTF-8"?service id="message-service"  
class="flex.messaging.services.MessageService"  
messageTypes="flex.messaging.messages.AsyncMessage"

 
adapters 
adapter-definition id="actionscript" 
class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" 
default="true" / 
adapter-definition id="jms" 
class="flex.messaging.services.messaging.adapters.JMSAdapter"/ 
/adaptersdefault-channels 
channel ref="my-rtmp"/ 
/default-channels destination 
id="track-jms" 
propertiesjmsdestination-typeTopic/destination-typemessage-typejavax.jms.ObjectMessage/message-typeconnection-factoryTopicConnectionFactory/connection-factorydestination-jndi-nametopic/ui.track/destination-jndi-namedestination-nameui.track/destination-namedurable-consumersfalse/durable-consumersdelivery-modeNON_PERSISTENT/delivery-modemessage-priorityDEFAULT_PRIORITY/message-priorityacknowledge-modeAUTO_ACKNOWLEDGE/acknowledge-modetransacted-sessionsfalse/transacted-sessions/jms 
/properties 
channels 
channel ref="my-rtmp"/ 
/channels 
adapter ref="jms"/ 
/destination destination 
id="message-jms" 
propertiesjmsdestination-typeTopic/destination-typemessage-typejavax.jms.ObjectMessage/message-typeconnection-factoryTopicConnectionFactory/connection-factorydestination-jndi-nametopic/ui.message/destination-jndi-namedestination-nameui.message/destination-namedurable-consumersfalse/durable-consumersdelivery-modeNON_PERSISTENT/delivery-modemessage-priorityDEFAULT_PRIORITY/message-priorityacknowledge-modeAUTO_ACKNOWLEDGE/acknowledge-modetransacted-sessionsfalse/transacted-sessions/jms 
/propertieschannels 
channel ref="my-rtmp"/ 
/channels 
adapter ref="jms"/ 
/destination

/service
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___

SEVERE: Servlet /official threw load() exception
flex.messaging.config.ConfigurationException: Unused tags in properties 
found.  Please fix them before continuing: 
  '/jms/durable-consumers' in destination with id: 'track-jms' from file: 
messaging-config.xml
  '/jms/durable-consumers' in destination with id: 'message-jms' from file: 
messaging-config.xml
at 
flex.messaging.config.MessagingConfiguration.reportUnusedProperties(MessagingConfiguration.java:432)
at 
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:110)
at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
at 

[flexcoders] Re: Explorer-like drag drop tree

2006-07-11 Thread Renaun Erickson
If you are using XML as the dataProvider, you should be able to put
isBranch=true into the XML and it will force it to be a Branch.

If you are using nested Objects and ArrayCollections as your
dataProvider, you have to set the children attribute to new
Array() to get it to work as a branch.

Renaun

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

 I'm trying to create a folder-manager in flex that allows a user to
move,
 create and delete folders.
 
 The folderstructure gets sent to the client in xml format, like this:
 
  
 
 root
 
 folder label=ftproot
 
 folder label=subfolder1 /
 
 folder label=subfolder2 /
 
 /folder
 
 folder label=ftproot2 /
 
 /root
 
  
 
 Etc.
 
  
 
 This is all working well, I get a treeview, and with some custom
icons it
 looks exactly like the explorer in windows. 
 
 The problem arrives when folders are seen as leafs instead of nodes
(like
 every deepest folder for instance, is seen as a leaf)
 
  
 
 To enable true drag  drop, every node, also the leafs, should act as a
 node. In explorer for instance, if you drag a folder on another
folder, it
 is automatically seen as a subfolder.
 
 Since Flex doesn't allow items to be dragged onto a leaf, I'm having a
 problem here. Once every folder is on the root node for instance, it's
 impossible to move any folder onto another folder.
 
  
 
 Anyone with a suggestion? I suppose I'll have to create a custom
 itemrenderer and force every item so it 'thinks' it has childnodes, but
 maybe someone could give me a good direction here.
 
  
 
 Thanks







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

2006-07-11 Thread Steven Webster





Guys,

If I'm strangely quiet on this, it's because I plan on 
blogging some thoughts rather than piece-meal response to emails here. For 
what it's worth, I think there is "no right answer", this will ultimately come 
down not to best-practice, but personal preference. There are some things 
that strike me as "bad code smells", and I'll call 'em out if I see 
them.

However, the only thought I'll throw in again - being agile 
boy again - is that I'd err on the simplest solution that works, and introduce 
complexity (and ultimately refactor the framework itself) only once I'm actually 
in there suffering the pain of the problem, not having foresight of the problem 
as he sees it. Jimmy G is being modest when he says he hasn't built big 
apps ... he's been building some pretty typical RIA with Flex for quite some 
time, if what he showed me in New Orleans at MAX2004 is anything to go 
by.

I think we have to be careful when we start making changes 
to Cairngorm, and at least ask ourselves the question "is this useful to me, or 
useful to all applications built upon Cairngorm". The former, or somewhere 
in-between is the norm, the latter is the only time I would be comfortable 
changing (rather than extending the classes of) the framework. Bear in 
mind as soon as you work from your own modified Cairngorm classes, you're going 
to find it difficult to migrate with us.

Best,

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: 11 July 2006 14:35To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
  Responder interface changes
  
  
  Oh, please don't get me wrong, you're solution is great. It really got 
  me thinking in a different direction. I'm just trying to come up with a 
  standardized way to solve this need, that will generically work for the 
  majority of use-cases. I don't think that the Cairngorm guys would 
  consider any change unless it feels concrete and scales easily. I 
  sincerely appreciate your feedback Dimitrios. Please know that there is no 
  disrespect intended.Tim Hoff--- In [EMAIL PROTECTED]ups.com, 
  "Dimitrios Gianninas" dimitrios.giannina[EMAIL PROTECTED] 
  wrote: Ok, obviously I haven't built big enough apps yet to 
  run into the problems you and Jesse have. I've had to do something like 
  that in one app actually where I had multiple instances of the same window 
  created, I would send a ref of the view to the command so it would 
  know which window instance to update afterwards.  
  Dimitrios Gianninas RIA Developer Optimal Payments 
  Inc.   
    From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of Tim Hoff Sent: Tuesday, July 11, 2006 2:06 AM To: 
  [EMAIL PROTECTED]ups.com 
  Subject: [flexcoders] Re: Cairngorm Responder interface changes 
 Thanks Dimitrios,  I like the more 
  direct approach, but I don't think that this would be the most effective 
  way to handle asynchronous events. What I'm considering is extending the 
  Responder all the way back to the View, through the FrontController. They 
  are, after all, where the CairngormEvent originated and was sent first. 
  The FrontController has a reference to the Command, so it could accept a 
  responder. The Responder to the view would have to be created. 
   Pros:  The permanent stop at the Command from a 
  Delegate wouldn't be removed, but rather used to condition the response 
  back to the view. Everything else works the same in the Command. All 
  re-usable data is dropped-off at the ModelLocator. The command then 
  conditions a response that includes the state of the call result. 
  Things like size, number of Objects, format, or anything that the 
  developer wanted to know, would be added to the Responder and sent on 
  its way. Rather, the event would be modified. Back at the View, local 
  state would be adjusted accordingly when the CairngormEvent is 
  completed.  Cons:  A race condition may 
  occur with the ModelLocator binding to the view's state and the local 
  update of state from the View itself. Also, a reference to the original 
  CairngormEvent would need to be maintained by the View and the 
  FrontController. This would possibly add weight. Less than the Command, 
  Delegate, and Service, but weight just the same. Would also add script to 
  all views that care about a response.  I think that this 
  approach has a more standardized feel. Does this sound like a viable idea, 
  that doesn't stray significantly from Cairngorm?  
  -TH  --- In [EMAIL PROTECTED]ups.com, 
  "JesterXL" jesterxl@ 

Re: [flexcoders] Re: FileReference and mimetypes

2006-07-11 Thread Tom Chiverton
On Tuesday 11 July 2006 15:21, Phil Marston wrote:
 So why's it stuck at application/octet-stream I'd like to know what
 files my users are uploading, but I don't want to do it by restricting

What business reason are you implementing ?
Because it general it doesn't matter what people upload, only how you use 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 ~-- 
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/
 





[flexcoders] Package with internal class problem

2006-07-11 Thread Bart Wttewaall



Hi list,

I'm trying to combine multiple small classes into one package, but to no avail..
Could someone help me with this?

The error I get is:
TypeError: Error #1009: Cannot access a property or method of a null object reference.

// -- CursorDepot.as :
package cursors {
 
 public class CursorDepot {
  
  public static var cross:Cross = Cross;
  
 } 
}

internal class Cross {
 [Embed(source=../cursors/cross.png)]
 public static var icon:Class;
 
 public static var offsetX:int = 0;
 public static var offsetY:int = 0;
}

// -- in the application:
public function init():void {
 setCursor(CursorDepot.cross);
}

public function setCursor(cursorClass:*):void {
 trace(cursorClass) // outputs: null !!! why?
 var cursorID:int = setCursor(cursorClass.icon, cursorClass.offsetX, cursorClass.offsetY);
}


Thank you in advance,
Bart Wttewaall

__._,_.___





--
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: Authentication - please help

2006-07-11 Thread Dmitry Miller
Tom, hi

First of all, thanks a bunch for your response. Are you planning to
implement session management yourself or are you planning to reuse
FlexSession? If you are choosing 1st route, would you be able to make
your home brewed session repository work in a clustered environment?
Or if you are going with a 2nd approach, would you be able to access
FlexSession from other non-Flex front end components like JSP page?

Thanks, 

--- Dmitry

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

 On Tuesday 11 July 2006 05:54, Dmitry Miller wrote:
  1. Custom authentication
  2. Working with Flex sessions
 
 I'm planing to have a 'login' service, and all other service layer
calls take 
 a session key as an argument, and check it logged in recently.
Probably bind 
 the session key to an IP to.
 
  3. How to throw authentication failed error from back end
 
 Just throw the error as normal.
 It's a non-recoverable error, and either a user mucking about or you
getting 
 it wrong :-)
 
 -- 
 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/
 





RE: [flexcoders] viewstack design pattern issue

2006-07-11 Thread Jason Hawryluk





JesterXL ? Focusout changes data on the textinput ? What if the user just 
get focus into the textinput, and does not change it?

I'm 
using valueCommit on all components. Is focus out better for this 
?

Hank: 
Are you opening the same data multiple times,andyou require that 
related screens are observed ? I.e. update one, the other updates kind of 
thing?

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de JesterXLEnvoyé: mardi 11 juillet 2006 
  15:46À: flexcoders@yahoogroups.comObjet: Re: 
  [flexcoders] viewstack design pattern issue
  
  
  We use a dirty flag. We set it to true 
  whenever some data changes. This data change is detected by registering 
  for control events that change data (focusOut for TextInput, selectedDate != 
  null for DateChooser, etc.). These events change the data if applicable, 
  and set the dirty flag.
  
  Other components can bind to the dirty flag and 
  take appropriate actions, whether via a getter / setter or the binding 
  tag.
  
  - Original Message - 
  From: hank williams 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, July 11, 2006 9:20 AM
  Subject: [flexcoders] viewstack design pattern issue
  I have a viewstack (actually a tabnavigator) that has screens 
  with data that comes from a server.I want to trigger the screen to go 
  out and get new data only when: 1. the user enters the 
  specific viewstack sub screen, and  2. when the data for that 
  screen is dirty, based on some bound data that has triggered a 
  changeSo as I see it, the screen needs to keep track of when the bound 
  field has changed which should cause a call to get fresh data. This means that 
  the screen must keep track of whether it is dirty. This seems like it 
  must be a common scenario, and I am curious about how other people handle it. 
  My first instinct was to create a base screen class from which all my screens 
  could inherit. But I am curious whether cairngorm already handles this or 
  whether this is even part of the scope of what it tries to cover. I am not 
  using cairngorm right now, but may in the future. But understanding what is 
  and isnt in its scope is important for me to start to understand. So 
  anyway, this is a 2 part question.1. how do people handle this 
  situation2. does cairngorm have some pre-packaged solution to 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



  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: FileReference and mimetypes

2006-07-11 Thread Phil Marston






I currently have something in (pre-file-upload) Flash with _javascript_
html form hack that that submits a file to a php script.  The php
script takes the filename, mimtype, size and bytes and enters them in
to a mySQL table.  I have another php file that I use for fetching
those files from the table as if they were flat files on the server. 
During the fetch process I reconstruct the appropriate header
information so that the browser knows what to do with the file when
it's received (e.g. if it's an office document, pdf, quicktime, swf etc
the appropriate helper application or active-x is used if it's a jpeg
it's just opened in the browser), but now I'm not getting jpegs opening
in the browser because the options the user is given is save or use
photoviewer (which is crap).

Would you suggest a different way?  This was developed in the old days 
;-)  so Flex and RIA approach probably brings a whole new perspective
to this.

Cheers,

Phil

Tom Chiverton wrote:

  On Tuesday 11 July 2006 15:21, Phil Marston wrote:
  
  
So why's it stuck at application/octet-stream I'd like to know what
files my users are uploading, but I don't want to do it by restricting

  
  
What business reason are you implementing ?
Because it general it doesn't matter what people upload, only how you use it.

  


-- 
__ 
Phil Marston 
Learning Technologist
Learning Technology Unit 
Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] 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 2006
Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or 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.



  






__,_._,___




[flexcoders] need help using an array or array collection as a dataprovider for a datagrid

2006-07-11 Thread Ben Agre
Basically i want to use an array preferably an array collection to be
a dataprovider for a grid.  I know before flex 2 you use to be able to
use dataprovider.additem, however now I cannot seem to do that.  
What i have now that currently shows just blank for it is :

var fcAll:ArrayCollection=new ArrayCollection();
var fcName_:Array = new Array();
var fcDate_:Array = new Array();
var fcCount_:Array = new Array();
fcAll = httpFC_Report.lastResult.sql_results.result_set.rows.row;

var fcNameOut_:Array = new Array(); 
var fcDateOut_:Array = new Array();
var fcCountOut_:Array = new Array();

for (var i:int=0; ifcAll.length; i++) {
var seq:int = 0;

fcDate_[i] = fcAll[i].value1.toString();// col_name
fcName_[i] = fcAll[i].value2.toString();// fld_name
fcCount_[i] = fcAll[i].value3.toString();// col_type
fcDateOut_[i] = fcDate_[i];// col_name
fcCountOut_[i]= fcCount_[i];
fcNameOut_[i]=fcAll[i].value2.toString();
}

for(i=0; n fcName_.length; n++){
grid.dataProvider ({name:fcName_[n], date:fcDate_[n], count:fcCount_[n]});
}

and my xml for the datagrid is

mx:DataGrid x=51 y=98 width=562.5 height=253 id=reportGrid
!--
dataProvider={httpFC_Report.lastResult.sql_results.result_set.rows.row}
--
mx:columns
mx:DataGridColumn 
headerText=Filecabinet Name  width=250
dataField=name/
mx:DataGridColumn headerText=Date 
width=100 dataField=date/
mx:DataGridColumn headerText=Count 
dataField=count/
/mx:columns
/mx:DataGrid

Any help you could provide would be greatly appreciated, tia 
Also something like what i want to do is here
http://groups.yahoo.com/group/flexcoders/message/42568
Sincerely,
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/
 




[flexcoders] Re: FileReference and mimetypes

2006-07-11 Thread Derek Adams



I had the same problem with mime types. My solution was to use the file suffix to figure out the content type. I was using a servlet on the backend, so I just called getServletContext().getMimeType(filename). In your case, you may want to pass the mime type in a separate variable on the URL and use that to override the content type in the backend processing logic. Something like this:
var vars:URLVariables = new URLVariables();vars.sessionId = manager.getSessionId();vars.contentType = overridingContentType;uploadRequest = new URLRequest();uploadRequest.url = ""http://my-upload-processor/upload">http://my-upload-processor/upload";uploadRequest.data = "">file.upload(uploadRequest);
Hope that helps,
Derek
--- In flexcoders@yahoogroups.com, "Geoffrey Williams" [EMAIL PROTECTED] wrote: Changing the content type is not supported in uploads. This is  documented in the URLRequest class.  --- In flexcoders@yahoogroups.com, "pmarstonuoa" p.marston@  wrote:   Hi Jeff,I'm having the same problem. According to the Flex2 documentation  the  content type defaults to "application/octet-stream", but you can  set  the contentType of the request:var request:URLRequest = new URLRequest("myURL");  request.contentType = "image/jpeg";  myFileReference.upload(request);

__._,_.___





--
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] Beta 3 to v2 upgrade and datagrid issues

2006-07-11 Thread Pottavathini, Sathish
Hi,

I just upgraded from beta 3 to flex builder 2 and i have following issue that i 
couldn't resolve. So looking for some pointers, i'm sure some of you bumped 
into this issue.

I have a datagrid, and i'm filling it with the data that is received through 
HTTPService with resultFormat e4x. In beta, i had to convert the response to 
ArrayCollection and use it as dataprovider for the datagrid. The same did not 
work with flex builder 2. The example in help system used XMLList, so i tried 
converting the response to XMLList but i still have issues. Nothing is 
displayed in the grid.
Can one of you send me an example that uses HTTPService to get the data and 
populate into datagrid ? Thanks.

Here is my example:

var http1:HTTPService = new HTTPService();
http1.resultFormat = e4x;
http1.url = myData.xml;
http1.addEventListener(result, process_Response);
http1.send();

public var XML_gridAlarms:XMLList;

public function process_Response(event:Event):void
{
XML_gridAlarms = XMLList(event.target.lastResult.alarms);
}

mx:DataGrid x=5 y=5 width=100% height=100% 
id=gridAlarms 
alternatingItemColors=[#ff, #c4d7db]
editable=true
showDataTips=true
dataProvider={XML_gridAlarms}
mx:columns
mx:Array
mx:DataGridColumn headerText=Column 1 
dataField=identifier/
mx:DataGridColumn headerText=Column 2 
dataField=date_time/
mx:DataGridColumn headerText=Column 3 
dataField=remedy_ticket_id/
mx:DataGridColumn headerText=Column 4 
dataField=priority/
mx:DataGridColumn headerText=Column 5 
dataField=status/
mx:DataGridColumn headerText=Column 6 
dataField=owner/
mx:DataGridColumn headerText=Column 7 
dataField=comment/
/mx:Array
/mx:columns
/mx:DataGrid


Sathish Pottavathini


--
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] Explorer-like drag drop tree

2006-07-11 Thread Jason Hawryluk





What I 
do is on dragover after a set time when over the folderi open it. The user 
is then free to drag into the folder.

If you 
want i can give you more details, if you think this would help solve your 
problem.

jason




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jonas WindeyEnvoy: mardi 11 juillet 2006 
  15:59: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Explorer-like drag  drop tree
  
  Yea, go figure that every directory contains a dummy leaf. Wouldn't 
  reallybe explorer-like wouldn't it :-)-Original 
  Message-From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  OnBehalf Of Tom ChivertonSent: dinsdag 11 juli 2006 15:33To: [EMAIL PROTECTED]ups.comSubject: 
  Re: [flexcoders] Explorer-like drag  drop treeOn Tuesday 11 July 
  2006 12:36, Jonas Windey wrote: Since the directories in the deepest 
  level won't ever have an open node, this is impossible.If it 
  really is the case that it needs an open node, just add a dummy child 
  node.-- Tom 
  ChivertonThis 
  email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a 
  limited liability partnership registered in England andWales under 
  registered number OC307980 whose registered office address is atSt James's 
  Court Brown Street Manchester M2 2JF. A list of members isavailable for 
  inspection at the registered office. Any reference to apartner in relation 
  to Halliwells LLP means a member of Halliwells LLP.Regulated by the Law 
  Society.CONFIDENTIALITYThis email is intended only for the use 
  of the addressee named above and maybe confidential or legally privileged. 
  If you are not the addressee youmust not read it and must not use any 
  information contained in nor copy itnor inform any person other than 
  Halliwells LLP or the addressee of itsexistence or contents. If you have 
  received this email in error pleasedelete it and notify Halliwells LLP IT 
  Department on 0870 365 8008.For more information about Halliwells LLP 
  visit www.halliwells.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__ NOD32 1.1653 (20060711) Information 
  __This message was checked by NOD32 antivirus system.http://www.eset.com
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Query regardind server side logging

2006-07-11 Thread Harshada Gavankar



Thanks Ralf,  I am trying to find it out as how to create my own set of APIs.   Will there be any guidelines about how to do this? Regards  Harshada 
		Yahoo! Music Unlimited - Access over 1 million songs.
Try it free. 
__._,_.___





--
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] mx:HTTPService - relative url's - relative to swf vs relative to html wrapper

2006-07-11 Thread JesterXL





Utilize the all-your-base-are-belong-to-flex 
attribute?http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_04157


- Original Message - 
From: Tracy Spratt 

To: flexcoders@yahoogroups.com 
Sent: Friday, July 07, 2006 2:29 PM
Subject: RE: [flexcoders] mx:HTTPService - relative url's - relative 
to swf vs relative to html wrapper


We are not helping with 
the problem yet.

I do not know of a way 
to change the way the url resolves. Since the location of the swf 
presumably does not change, you could pass the necessary url into the Flex app 
using flashvars in the wrapper. Then, in the Flex app, you could use the 
passed in url as the base address and concatenate on the http service relative 
url.

Actually, I can see 
myself facing this issue soon. If I get time, I will try to do an 
example.

Tracy





From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Carson 
HagerSent: Friday, July 07, 
2006 11:36 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] mx:HTTPService - 
relative url's - relative to swf vs relative to html 
wrapper




Always here is pretty strong. The only time I could see 
this is forsomething like a publicly available web service like a FedEx 
trackingrequest - (1) read only so no damage done in dev and (2) not under 
yourdirect control so you don't have a choice. If you have any kind of 
devvs. prod environment for your own developed web services ( 
hopefullyyou do ), you're then looking at changing your code each time you 
go toproduction. I could also see a case where you know your web 
serviceswill be on a separate box from your web server requiring a 
fullyqualified but then I would hope that the rootURL property was in use 
andset somewhere. My point here is that I don't agree with the 
"always"notion. I see too many cases where relative URLs are very 
helpful.CarsonCarson HagerCynergy 
Systems, Inc.http://www.cynergysystems.comEmail: 
carson.hager@cynergysystems.comOffice: 
866-CYNERGYMobile: 1.703.489.6466-Original 
Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of Tom ChivertonSent: Friday, July 07, 2006 2:36 AMTo: [EMAIL PROTECTED]ups.comSubject: 
Re: [flexcoders] mx:HTTPService - relative url's - relative toswf vs 
relative to html wrapperOn Thursday 06 July 2006 14:57, dehemke 
wrote: Is there a way to force relative urls to resolve based on the swf 
 location instead of the html wrapper location?Web service URLs 
should always be absolute.--Tom 
ChivertonThis 
email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a 
limited liability partnership registered in Englandand 
Wales under registered number OC307980 whose registered officeaddress is at 
St James's Court Brown 
Street Manchester M2 2JF. A listof members is 
available for inspection at the registered office. Anyreference to a partner 
in relation to Halliwells LLP means a member ofHalliwells LLP. Regulated by 
the Law Society.CONFIDENTIALITYThis email is intended only for 
the use of the addressee named above andmay be confidential or legally 
privileged. If you are not the addresseeyou must not read it and must not 
use any information contained in norcopy it nor inform any person other than 
Halliwells LLP or the addresseeof its existence or contents. If you have 
received this email in errorplease delete it and notify Halliwells LLP IT 
Department on 0870 3658008.For more information about Halliwells LLP 
visit www.halliwells.com. 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] which event to use on component display?

2006-07-11 Thread Karl Johnson





There is definitely a show event in flex 
1.5.

Are you not seeing the expected results when using the show 
event?

Karl


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ralf 
BokelbergSent: Tuesday, July 11, 2006 9:40 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] which event to 
use on component display?


If there is no show event like in flex 2, you can use the change eventof 
the TabNavigator and a small function which checks the 
selectedtab.Cheers,Ralf.On 7/11/06, shemeshkale [EMAIL PROTECTED]com 
wrote: hi, using flex1.5 i need an event to fire 
everytime a component is displayed on screen. 
creationComplete/initialize happens only once so they are not good for 
me. for example i have this code: ?xml version="1.0" 
encoding="utf-8"? mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml" 
 mx:TabNavigator styleName="MyTabNavigator" 
width="300" mx:HBox label="Tab title 1" mx:Label 
text="TAB# 1" fontSize="20" color="#FF" / 
/mx:HBox mx:HBox label="Tab title 2" 
horizontalAlign="center" verticalAlign="middle" 
mx:Label text="TAB# 2" fontSize="20" color="#00FF00" / 
/mx:HBox mx:HBox label="Tab title 3" 
horizontalAlign="center" verticalAlign="middle" 
mx:Label text="TAB# 3" fontSize="20" color="#FF" / 
/mx:HBox /mx:TabNavigator 
/mx:Application and i want that every time the label on 
tab 2 is displayed on screen an alert message will pop. which 
event do i need? (using 
flex1.5) -- 
Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups 
Links
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-11 Thread Dimitrios Gianninas





None taken :)

Throwing around ideas will eventually lead to the proper 
solution.

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: 
Tuesday, July 11, 2006 9:35 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm 
Responder interface changes


Oh, please don't get me wrong, you're solution is great. It really got me 
thinking in a different direction. I'm just trying to come up with a 
standardized way to solve this need, that will generically work for the 
majority of use-cases. I don't think that the Cairngorm guys would consider 
any change unless it feels concrete and scales easily. I sincerely 
appreciate your feedback Dimitrios. Please know that there is no disrespect 
intended.Tim Hoff--- In [EMAIL PROTECTED]ups.com, 
"Dimitrios Gianninas" dimitrios.giannina[EMAIL PROTECTED] 
wrote: Ok, obviously I haven't built big enough apps yet to run 
into the problems you and Jesse have. I've had to do something like that in 
one app actually where I had multiple instances of the same window 
created, I would send a ref of the view to the command so it would know 
which window instance to update afterwards.  Dimitrios 
Gianninas RIA Developer Optimal Payments Inc.  
   From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Tim Hoff Sent: Tuesday, July 11, 2006 2:06 AM To: 
[EMAIL PROTECTED]ups.com 
Subject: [flexcoders] Re: Cairngorm Responder interface changes  
  Thanks Dimitrios,  I like the more direct 
approach, but I don't think that this would be the most effective way to 
handle asynchronous events. What I'm considering is extending the Responder 
all the way back to the View, through the FrontController. They are, after 
all, where the CairngormEvent originated and was sent first. The 
FrontController has a reference to the Command, so it could accept a 
responder. The Responder to the view would have to be created. 
 Pros:  The permanent stop at the Command from a 
Delegate wouldn't be removed, but rather used to condition the response back 
to the view. Everything else works the same in the Command. All re-usable 
data is dropped-off at the ModelLocator. The command then conditions a 
response that includes the state of the call result. Things like size, 
number of Objects, format, or anything that the developer wanted to know, 
would be added to the Responder and sent on its way. Rather, the event would 
be modified. Back at the View, local state would be adjusted accordingly 
when the CairngormEvent is completed.  Cons: 
 A race condition may occur with the ModelLocator binding to the 
view's state and the local update of state from the View itself. Also, a 
reference to the original CairngormEvent would need to be maintained by the 
View and the FrontController. This would possibly add weight. Less than the 
Command, Delegate, and Service, but weight just the same. Would also add 
script to all views that care about a response.  I think 
that this approach has a more standardized feel. Does this sound like a 
viable idea, that doesn't stray significantly from Cairngorm? 
 -TH  --- In [EMAIL PROTECTED]ups.com, 
"JesterXL" jesterxl@ wrote:   Dude... do you 
know how many "results" we have in our app?I agree, 
this'll work for small Flash projects, but not for Enterprise Flex  
 apps. You can't just start willy nilly throwing small state vars on 
  ModelLocator for things like this; it'd get out of control, 
pretty quick.   Granted, you can easily sanction it off in a new 
StateVars specific class,   but then you have to keep track of 
updating those variables in your   commands... no thanks, I'd 
rather have it baked in.- Original Message - 
  From: "Dimitrios Gianninas" dimitrios.gianninas@  
To: [EMAIL PROTECTED]ups.com 
 Sent: Monday, July 10, 2006 11:53 PM  Subject: RE: [flexcoders] 
Re: Cairngorm Responder interface changes
Good points, but I think that it can be handled in 
the following fashion.The SearchView is an MXML 
component and it has a property called results, so   its 
declaration would look something like this:
dg:SearchView id="theSearch" results="{ModelLocator.results}" 
/So once your results return, they will trigger 
the call to the setter method   of the results property, so in 
that setter, you can do those little things:
...  public function set results( values:ArrayCollection ):void 
{  dg.dataProvider = values;  // do other little things 
here  }  ...That pretty much 
aught to solve your problem and you don't have to write any   
extra code. I think the important thing to remember is to create small 
  components that will receive data via binding and set themselves 
in a proper   state (meaning changing values on certain 
controls, etc...). That way its   clean and reusable in some 
cases.Dimitrios "Jimmy" Gianninas  
Optimal Payments Inc.

RE: [flexcoders] Re: Is anyone having trouble contacting Adobe and/or purchasing Flex?

2006-07-11 Thread Richard Turner-Jones
Have you tried Rocketboots? I just posted a blog entry regarding Flex
Builder 2 licenses being available for AUD $680.
Contact Pam at [EMAIL PROTECTED]

Cheers,
Richard

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wayne_badu_johnson
Sent: Tuesday, 11 July 2006 9:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Is anyone having trouble contacting Adobe and/or
purchasing Flex?


Having trouble here in Australia. Can't access FLEX through Adobe website
store. Adobe customer support weren't able to point me to a URL to purchase
and the two local resellers supplied by Adobe customer support I left
messages with, haven't called me back.

Cheers
Wayne 



--- In flexcoders@yahoogroups.com, Stephane De Jonckheere
[EMAIL PROTECTED] wrote:

 Here in Switzerland, we have to order Flex via a software revendor.
 For Flex 1.5, we used a french one...
  
  
 -Original Message-
 From: Jonas Windey [mailto:[EMAIL PROTECTED]
 Sent: lundi, 10. juillet 2006 10:00
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Is anyone having trouble contacting
Adobe and/or
 purchasing Flex?
 
 
 
 The only problem we have is that we're from Belgium (Europe), and
still
 can't buy Flex 2.0 yet. 
 
 Our CEO has direct contact with Adobe in The Netherlands though,
so it
 should be here any day now.
 
  
 
 Jonas
 
  
 
 
   _
 
 
 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
 Behalf Of JesterXL
 Sent: maandag 10 juli 2006 9:36
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Is anyone having trouble contacting
Adobe and/or
 purchasing Flex?
 
  
 
 Not here.
 
 1. 3:26am - go to adobe.com
 2. log in, find credit card
 3. choose Products  Flex
 4. click purchase  Flex with Charting 5. input info in store, click 
 submit 6. done!
 
 Took 3 minutes, and 36 seconds.
 
 Sounds like you read the story about someone in Oz not being so
lucky?
 http://www.mariposa
 
http://www.mariposa.com.au/arcims/2006/07/how_can_i_buy_flex_2_in_au
stra.cf
 m .com.au/arcims/2006/07/how_can_i_buy_flex_2_in_austra.cfm
 
 .however, I AM paying mad bling to Robin Hilliard for his Flex
2 API 
 posters, so that would imply that if Robin Hilliard is affiliated
with Flex,
 
 then Ozzie's CAN buy it. :: shrugs :: I haven't seen any other
mention on 
 Techmeme, techcrunch, delicious, mxna, etc.
 
 - Original Message -
 From: David Mendels  [EMAIL PROTECTED] mailto:dmendels%
40adobe.com com
 To:  [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com
 Sent: Sunday, July 09, 2006 11:50 PM
 Subject: [flexcoders] Is anyone having trouble contacting Adobe
and/or 
 purchasing Flex?
 
 Hi Flexcoders,
 
 Subject line is fairly self-explanatory. I have seen a blog post
or two
 from people having trouble connecting with us on pricing or simply
with
 purchasing Flex Builder.
 
 This is the first product from the former Macromedia to be
launched at
 Adobe and I am sure we have kinks in the system. I want to make
sure
 we troubleshoot quickly. Please let us know.
 
 Regards,
 David
 Adobe
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links
 
 
 __ NOD32 1.1651 (20060708) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com http://www.eset.com
 
  
 
 
 
*
***
 This email and any attachments transmitted with it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. If you are not the intended recipient, any
disclosure, copying, use, or distribution of the information included in
this message and any attachments is strictly prohibited. 
 If you have received this email in error, please notify the system
manager at [EMAIL PROTECTED]  or by reply e-mail and immediately and
permanently delete this message and any attachments. Thank you.
 
*
***








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

[flexcoders] Re: newbie needs best practices in looping thru XML

2006-07-11 Thread meathead
Awesome.  This works.  Thanks.  I don't know what going on here, but 
here is the code that I used to loop thru.  I'm assuming that the 
HTTPService event is pulled in as an ArrayCollection if more than 
one record is returned.  

CODE***

import mx.collections.*;
import mx.controls.Alert;

public function afterSend():void
  {
var a:Array;
if(HTTPService.lastResult.CircSec.CircuitID is 
ArrayCollection)
   {
  a = HTTPService.lastResult.CircSec.CircuitID.source;
   }else{
  a = [HTTPService.lastResult.CircSec.CircuitID];
   }
   for (var i:int = 0; i  a.length; i++) {
Alert.show (a[i].FromBusName);
   }
   }

*END OF CODE
--- In flexcoders@yahoogroups.com, Pan Troglodytes 
[EMAIL PROTECTED] wrote:

 I'm not exactly sure where you're running into the problem, as I 
don't use
 toArray.  But here's how I solved the whole one result/multiple 
results
 problems, translated to use your terms:
 
   var a:Array;
   if (httpservice.lastResult.CircSec.CircuitID is ArrayCollection)
 a = httpservice.lastResult.CircSec.CircuitID.source
   else
 a = [httpservice.lastResult.CircSec.CircuitID];
 
 Hope that helps.
 
 
 On 7/10/06, meathead [EMAIL PROTECTED] wrote:
 
Hi all and thanks in advance,
 
  I have a combo box that fires off an HTTPService based on results
  from selection. From this HTTPService, I want to make a new pane
  for each record returned in an accordion. I was returning correct
  answers for multiple records, but not for results that numbered 
in
  one. Then I saw the mx.utils.ArrayUtil.toArray() thing and now I
  can only return results that number in one and not multiple.
 
  Question #1: Is this a good route to follow if I want to
  dynamically want to fill the panes of an accordion based on 
results
  from a query via XML. Or should I scrap and do something cooler.
 
  Question #2: This only returns answers for conditions when one
  record is returned. How do I get it to work with multiple 
answers?
  I'm thinking this has something to do with it not grabbing the
  correct length in the for loop.
 
  Here is some code.
 
  mx:Script
  ![CDATA[
  import mx.collections.*;
  import mx.controls.Alert;
  import mx.utils.ArrayUtil;
  [Bindable]
  public var resultArray:ArrayCollection;
  public function afterSend():void
  {
  var arrData:Array = new Array;
  arrData = mx.utils.ArrayUtil.toArray
  (event.lastResult.CircSec.CircuitID);
 
  for (var i:int = 0; i  arrData.length; i++) {
  Alert.show (arrData[i].FromBusName);
  }
 
  }
 
  Thanks again,
  Aaron
 
   
 
 
 
 
 -- 
 Jason











--
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] viewstack design pattern issue

2006-07-11 Thread hank williams




Hank: 
Are you opening the same data multiple times,andyou require that 
related screens are observed ? I.e. update one, the other updates kind of 
thing?

JasonNo, none of that. Actually just think of it like a television, where each of the screens is a different camera angle. So when you change the channel, the view in all of the screens is different. But I dont want to go get all that data unless the user actually goes to that screen. So each screen needs to know when the channel changed so it knows if the user comes to me I gotta refresh my data.
RegardsHank

__._,_.___





--
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: [Junk E-Mail - LOW] [flexcoders] need help using an array or array collection as a dataprovider for a datagrid

2006-07-11 Thread Shannon Hicks





In flex 2, it's unbelievably easy... you just bind the 
arrayCollection right to the grid.
mx:DataGrid dataProvider="{fcAll}"x="51" y="98" 
width="562.5" height="253" id="reportGrid"

Or, if you need to do it in AS 
instead:
reportGrid.dataProvider = fcAll;

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Ben AgreSent: 
Tuesday, July 11, 2006 9:56 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
need help using an array or array collection as a dataprovider for a 
datagrid


Basically i want to use an array preferably an array collection to bea 
dataprovider for a grid. I know before flex 2 you use to be able touse 
dataprovider.additem, however now I cannot seem to do that. What i have 
now that currently shows just blank for it is :var 
fcAll:ArrayCollection=new ArrayCollection();var fcName_:Array = 
new Array(); var fcDate_:Array = new Array();var fcCount_:Array = new 
Array();fcAll = 
httpFC_Report.lastResult.sql_results.result_set.rows.row;var 
fcNameOut_:Array = new Array(); var fcDateOut_:Array = new Array();var 
fcCountOut_:Array = new Array();for (var i:int=0; 
ifcAll.length; i++) { var seq:int = 0;fcDate_[i] = 
fcAll[i].value1.toString();// col_namefcName_[i] = 
fcAll[i].value2.toString();// fld_namefcCount_[i] = 
fcAll[i].value3.toString();// col_type fcDateOut_[i] = 
fcDate_[i];// col_namefcCountOut_[i]= 
fcCount_[i];fcNameOut_[i]=fcAll[i].value2.toString();}for(i=0; 
n fcName_.length; n++){grid.dataProvider ({name:fcName_[n], 
date:fcDate_[n], count:fcCount_[n]});}and my xml for the 
datagrid ismx:DataGrid x="51" y="98" width="562.5" height="253" 
id="reportGrid"!-- 
dataProvider="{httpFC_Report.lastResult.sql_results.result_set.rows.row}"--mx:columnsmx:DataGridColumn 
headerText="Filecabinet Name" 
width="250"dataField="name"/mx:DataGridColumn 
headerText="Date" width="100" 
dataField="date"/mx:DataGridColumn headerText="Count" 
dataField="count"//mx:columns/mx:DataGridAny 
help you could provide would be greatly appreciated, tia Also something like 
what i want to do is herehttp://groups.yahoo.com/group/flexcoders/message/42568Sincerely,Ben
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/384 - Release Date: 
7/10/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.10/384 - Release Date: 7/10/2006
 


RE: AW: [flexcoders] ASDoc for AS3?

2006-07-11 Thread Matt Chotin
It will be a few more weeks, developers have been on vacation after the
launch and we're still getting it all together.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Tuesday, July 11, 2006 6:31 AM
To: flexcoders@yahoogroups.com
Subject: Re: AW: [flexcoders] ASDoc for AS3?

On Tuesday 11 July 2006 08:37, Harald Dehn wrote:
 are there any new informations about a releasing date?

Indeed.
I don't mind if it 'takes a bunch of steps' (I am a programmer). I don't
mind 
if it throws it's toys out of the pram (it's beta/alpha, and I can write
bug 
reports). I don't care it's not documented (we'll figure it out). I
don't 
care it's AS only (for the moment).

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



 





 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] viewstack design pattern issue

2006-07-11 Thread JesterXL





:: shrugs :: Never used valueCommitted. Using 
change for a TextInput for example causes problems because sometimes updating 
every key stroke causes updates to happen too fast. focusOut ensures it 
only happens when the user is "done" with the TextInput. You can use 
enter, as well.

We have a component in our apps that extends 
TextInput, and conslidates both enter  focusOut into a "valueComitted" 
event as it were. Less coding anyway.


- Original Message - 
From: Jason Hawryluk 
To: flexcoders@yahoogroups.com 
Sent: Tuesday, July 11, 2006 11:47 AM
Subject: RE: [flexcoders] viewstack design pattern issue

JesterXL ? Focusout changes data on the textinput ? What if the user just 
get focus into the textinput, and does not change it?

I'm 
using valueCommit on all components. Is focus out better for this 
?

Hank: 
Are you opening the same data multiple times,andyou require that 
related screens are observed ? I.e. update one, the other updates kind of 
thing?

Jason



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de JesterXLEnvoyé: mardi 11 juillet 2006 
  15:46À: flexcoders@yahoogroups.comObjet: Re: 
  [flexcoders] viewstack design pattern issue
  
  
  We use a dirty flag. We set it to true 
  whenever some data changes. This data change is detected by registering 
  for control events that change data (focusOut for TextInput, selectedDate != 
  null for DateChooser, etc.). These events change the data if applicable, 
  and set the dirty flag.
  
  Other components can bind to the dirty flag and 
  take appropriate actions, whether via a getter / setter or the binding 
  tag.
  
  - Original Message - 
  From: hank williams 
  To: flexcoders@yahoogroups.com 
  Sent: Tuesday, July 11, 2006 9:20 AM
  Subject: [flexcoders] viewstack design pattern issue
  I have a viewstack (actually a tabnavigator) that has screens 
  with data that comes from a server.I want to trigger the screen to go 
  out and get new data only when: 1. the user enters the 
  specific viewstack sub screen, and  2. when the data for that 
  screen is dirty, based on some bound data that has triggered a 
  changeSo as I see it, the screen needs to keep track of when the bound 
  field has changed which should cause a call to get fresh data. This means that 
  the screen must keep track of whether it is dirty. This seems like it 
  must be a common scenario, and I am curious about how other people handle it. 
  My first instinct was to create a base screen class from which all my screens 
  could inherit. But I am curious whether cairngorm already handles this or 
  whether this is even part of the scope of what it tries to cover. I am not 
  using cairngorm right now, but may in the future. But understanding what is 
  and isnt in its scope is important for me to start to understand. So 
  anyway, this is a 2 part question.1. how do people handle this 
  situation2. does cairngorm have some pre-packaged solution to 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



  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] ArrayCollection as datasource

2006-07-11 Thread Pottavathini, Sathish





I'm 
getting the data in similar way as well. A similar request for something else 
gave me XML but in this case i am gettting ObjectProxy, any idea 
why?

Sathish

  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED]On Behalf Of Jonas 
  WindeySent: Monday, July 10, 2006 6:05 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] ArrayCollection as 
  datasource
  
  Hi,
  
  Im using a webservice to provide 
  data to a tree but I cant seem to bind the data. The datatype of my operation 
  is Object (with e4x I get other problems and Id like to keep it Object for 
  all my operation), and the result looks like 
this:
  
  result = mx.utils.ObjectProxy 
  (@3977541)
   
  object = Object (@3967381)
   
  selectAllDirectoriesResult = mx.utils.ObjectProxy 
  (@3a715c1)
   
  object = Object (@3a67521)
   
  root = mx.utils.ObjectProxy (@3a71cc1)
   
  node = 
  mx.collections.ArrayCollection (@39222b1)
   
  object = Object (@3a38d01)
   
  node = mx.collections.ArrayCollection (@39222b1)
   
  [0] = mx.utils.ObjectProxy (@3a71d41)
   
  label = "pixco"
   
  nbrFiles = "0"
   
  object = Object (@3a6de81)
   
  uid = "754C8DC3-6ADC-2912-C233-5880843A46A2"
   
  [1] = mx.utils.ObjectProxy (@3a71d81)
   
  label = "pixco_id"
   
  nbrFiles = "0"
   
  node = mx.utils.ObjectProxy (@3a7f0c1)
   
  label = 
  "test"
   
  nbrFiles = "0"
   
  node = mx.utils.ObjectProxy (@3a7f241)
   
  label = "test2"
   
  nbrFiles = "0"
   
  node = mx.collections.ArrayCollection (@39b5e81)
   
  [0] = mx.utils.ObjectProxy (@3a7f2c1)
   
  [1] = mx.utils.ObjectProxy (@3a7f301)
   
   
  filterFunction = null
   
  length = 2 [0x2]
   
  list = mx.collections.ArrayList (@3a7f341)
   
  sort = null
   
  source = Array (@39b5fd1)
   
  object = Object (@3a85041)
   
  uid = "B30C5FD7-96DD-44CB-5D4C-588084459E45"
   
  object = Object (@3a675a1)
   
  uid = "F49EDC31-C665-13C9-BD37-5880843A15D1"
   
  object = Object (@3a6daa1)
   
  uid = "C5BB5321-B5D8-CB23-4F34-5880843A5850"
   
  filterFunction = null
   
  length = 2 [0x2]
   
  list = mx.collections.ArrayList (@3a7f381)
   
  sort = null
   
  source = Array (@3913fa1)
   
  xmlns = ""
   
  uid = "20110C9D-B896-4533-8DA8-5880843AD539"
   
  xmlns = ""
   
  uid = "E9D47415-4D66-6E9A-7549-5880843A6DBE"
   
  uid = "8F8CFE64-86CA-E2F2-4AB3-588084304B1B"
   
  xmlns = http://tempuri.org/
  
  Now the problem is that the tree 
  only draws the nodes on the first level, and as leafs (so it thinks there are 
  no subnodes), whereas it should draw it like 
this:
  
  ?xml version="1.0" 
  encoding="utf-8" ? 
  root
  node label="pixco" 
  nbrFiles="0" / 
  node label="pixco_id" 
  nbrFiles="0"
  node label="test" 
  nbrFiles="0"
  node label="test2" 
  nbrFiles="0"
  node label="test3" 
  nbrFiles="1" / 
  node label="test4" 
  nbrFiles="0" / 
  /node
  /node
  /node
  /root
  
  Any tips? Thanks a 
  lot.
  
  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.



  






__,_._,___



[flexcoders] Flex for CBT/Distance Learning

2006-07-11 Thread Joel Provinsal
Hi flexcoders,

I had a quick question.  Most of the discussion revolving around Flex
seems to be geared towards e-commerce solutions.  How suited would the
Flex solution be for distance learning, computer-based training?

Is Flex only for charts, graphs, tables, and the consumer experience?

As I look at it, it seems like it would be very well suited for CBT
delivery.  We are currently using a flash/HTML solution, and I feel that
Flex would provide a solid framework for developing (and delivering)
content in a timely manner.  Can you help by providing me with solid
reasoning, resources, tutorials, examples, or any other material that
might halp in this research?

Thank you,

Joel



 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: newbie needs best practices in looping thru XML

2006-07-11 Thread Pan Troglodytes



Yes, when resultFormat=object, that's how it works. You might think resultFormat=array would be what you wanted, but it's even worse. It returns an array, alright, but it's just an array containing this result, which can still be either a single object or an arraycollection. I wish there was a resultFormat=array2 that would return it like shown below. Would make it less of a hassle.
On 7/11/06, meathead [EMAIL PROTECTED] wrote:













  



Awesome.  This works.  Thanks.  I don't know what going on here, but 
here is the code that I used to loop thru.  I'm assuming that the 
HTTPService event is pulled in as an ArrayCollection if more than 
one record is returned.  

CODE***

import mx.collections.*;
import mx.controls.Alert;

public function afterSend():void
  {
	var a:Array;
	if(HTTPService.lastResult.CircSec.CircuitID is 
ArrayCollection)
	   {
	  a = HTTPService.lastResult.CircSec.CircuitID.source;
	   }else{
	  a = [HTTPService.lastResult.CircSec.CircuitID];
   }
   for (var i:int = 0; i  a.length; i++) {
	Alert.show (a[i].FromBusName);
	   }
   }

*END OF CODE
--- In flexcoders@yahoogroups.com, Pan Troglodytes 
[EMAIL PROTECTED] wrote:

 I'm not exactly sure where you're running into the problem, as I 
don't use
 toArray.  But here's how I solved the whole one result/multiple 
results
 problems, translated to use your terms:
 
   var a:Array;
   if (httpservice.lastResult.CircSec.CircuitID is ArrayCollection)
 a = httpservice.lastResult.CircSec.CircuitID.source
   else
 a = [httpservice.lastResult.CircSec.CircuitID];
 
 Hope that helps.
 
 
 On 7/10/06, meathead [EMAIL PROTECTED] wrote:
 
Hi all and thanks in advance,
 
  I have a combo box that fires off an HTTPService based on results
  from selection. From this HTTPService, I want to make a new pane
  for each record returned in an accordion. I was returning correct
  answers for multiple records, but not for results that numbered 
in
  one. Then I saw the mx.utils.ArrayUtil.toArray() thing and now I
  can only return results that number in one and not multiple.
 
  Question #1: Is this a good route to follow if I want to
  dynamically want to fill the panes of an accordion based on 
results
  from a query via XML. Or should I scrap and do something cooler.
 
  Question #2: This only returns answers for conditions when one
  record is returned. How do I get it to work with multiple 
answers?
  I'm thinking this has something to do with it not grabbing the
  correct length in the for loop.
 
  Here is some code.
 
  mx:Script
  ![CDATA[
  import mx.collections.*;
  import mx.controls.Alert;
  import mx.utils.ArrayUtil;
  [Bindable]
  public var resultArray:ArrayCollection;
  public function afterSend():void
  {
  var arrData:Array = new Array;
  arrData = mx.utils.ArrayUtil.toArray
  (event.lastResult.CircSec.CircuitID);
 
  for (var i:int = 0; i  arrData.length; i++) {
  Alert.show (arrData[i].FromBusName);
  }
 
  }
 
  Thanks again,
  Aaron
 
   
 
 
 
 
 -- 
 Jason



  













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



  






__,_._,___



[flexcoders] Re: Cairngorm Responder interface changes

2006-07-11 Thread Tim Hoff
Great,

The migration issue is exactly why I don't wan't to have to hack 
this.  My thoughts are for the development community at large.  As a 
developer, the time that is required to devise or learn someone 
else's hack is much better served adding features.  In looking at 
the framework, it's outstanding in every area.  I believe that 
adding an event bridge back to the view will add to Cairngorm's 
flexibility.  The beauty is, that if that you don't want to use the 
bridge, you don't have to.  Developers can continue to maintain 
Local State and Shared State in the ModelLocator if desired.  No 
worries.  Or, they can choose to clean-up the ModelLocator by 
eliminating Local State variables altogether.  This seems simple 
enough, without making radical changes to the framework.  

There are also several other proposed changes on this thread, that 
many agree should merit consideration.  If these issues were 
just MY foresight or opinions, I would not have continued.  But when 
several credible sources agree that something could be better, 
there's nothing wrong with a little proactivity.  I'm so happy that 
people are sharing their passion for Flex and Cairngorm here.  By 
participating, this forum is giving all of us the opportunity to 
jump ahead of the curve.  Jesse, or anyone, if you have anything to 
add, please chime-in.  This is my last bid for this issue.  Steven, 
I'm sure, as always, that you will thoughtfully take everything 
discussed into consideration.  I look forward to your blog opinions.

Best Wishes,
Tim Hoff

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

 Guys,
  
 If I'm strangely quiet on this, it's because I plan on blogging 
some thoughts rather than piece-meal response to emails here.  For 
what it's worth, I think there is no right answer, this will 
ultimately come down not to best-practice, but personal preference.  
There are some things that strike me as bad code smells, and I'll 
call 'em out if I see them.
  
 However, the only thought I'll throw in again - being agile boy 
again - is that I'd err on the simplest solution that works, and 
introduce complexity (and ultimately refactor the framework itself) 
only once I'm actually in there suffering the pain of the problem, 
not having foresight of the problem as he sees it.  Jimmy G is being 
modest when he says he hasn't built big apps ... he's been building 
some pretty typical RIA with Flex for quite some time, if what he 
showed me in New Orleans at MAX2004 is anything to go by.
  
 I think we have to be careful when we start making changes to 
Cairngorm, and at least ask ourselves the question is this useful 
to me, or useful to all applications built upon Cairngorm.  The 
former, or somewhere in-between is the norm, the latter is the only 
time I would be comfortable changing (rather than extending the 
classes of) the framework.  Bear in mind as soon as you work from 
your own modified Cairngorm classes, you're going to find it 
difficult to migrate with us.
  
 Best,
  
 Steven
Steven Webster
 Practice Director (Rich Internet Applications)
 Adobe Consulting
 Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
 p: +44 (0) 131 338 6108
 m: +44 (0) 7917 428 947 
 [EMAIL PROTECTED] 
 
  
 
 
 
 
   From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
   Sent: 11 July 2006 14:35
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Cairngorm Responder interface 
changes
   
   
 
   Oh, please don't get me wrong, you're solution is great. It 
really 
   got me thinking in a different direction. I'm just trying to 
come 
   up with a standardized way to solve this need, that will 
generically 
   work for the majority of use-cases. I don't think that the 
   Cairngorm guys would consider any change unless it feels 
concrete 
   and scales easily. I sincerely appreciate your feedback 
Dimitrios. 
   Please know that there is no disrespect intended.
   
   Tim Hoff
   
   --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com , Dimitrios Gianninas 
   dimitrios.gianninas@ wrote:
   
Ok, obviously I haven't built big enough apps yet to run 
into the 
   problems you and Jesse have. I've had to do something like 
that in 
   one app actually where I had multiple instances of the same 
window 
   created, I would send a ref of the view to the command so it 
would 
   know which window instance to update afterwards.

Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.




From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com  
   [mailto:flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com ] On Behalf Of Tim Hoff
Sent: Tuesday, July 11, 2006 2:06 AM
 

[flexcoders] Re: Beta 3 to v2 upgrade and datagrid issues

2006-07-11 Thread ben.clinkinbeard
Probably has something to do with makeObjectsBindable. It is set to
true by default in final, was false in B3. Give this a shot:

http1.makeObjectsBindable = false;

Namespaces can also cause problems when dealing with XML. Does the xml
returned contain namespaces?

Ben

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

 Hi,
 
 I just upgraded from beta 3 to flex builder 2 and i have following
issue that i couldn't resolve. So looking for some pointers, i'm sure
some of you bumped into this issue.
 
 I have a datagrid, and i'm filling it with the data that is received
through HTTPService with resultFormat e4x. In beta, i had to convert
the response to ArrayCollection and use it as dataprovider for the
datagrid. The same did not work with flex builder 2. The example in
help system used XMLList, so i tried converting the response to
XMLList but i still have issues. Nothing is displayed in the grid.
 Can one of you send me an example that uses HTTPService to get the
data and populate into datagrid ? Thanks.
 
 Here is my example:
 
 var http1:HTTPService = new HTTPService();
 http1.resultFormat = e4x;
 http1.url = myData.xml;
 http1.addEventListener(result, process_Response);
 http1.send();
 
 public var XML_gridAlarms:XMLList;
 
 public function process_Response(event:Event):void
 {
   XML_gridAlarms = XMLList(event.target.lastResult.alarms);
 }
 
 mx:DataGrid x=5 y=5 width=100% height=100% 
   id=gridAlarms 
   alternatingItemColors=[#ff, #c4d7db]
   editable=true
   showDataTips=true
   dataProvider={XML_gridAlarms}
   mx:columns
 mx:Array
   mx:DataGridColumn headerText=Column 1 
 dataField=identifier/
   mx:DataGridColumn headerText=Column 2 
 dataField=date_time/
   mx:DataGridColumn headerText=Column 3
dataField=remedy_ticket_id/
   mx:DataGridColumn headerText=Column 4 
 dataField=priority/
   mx:DataGridColumn headerText=Column 5 
 dataField=status/
   mx:DataGridColumn headerText=Column 6 
 dataField=owner/
   mx:DataGridColumn headerText=Column 7 
 dataField=comment/
   /mx:Array
   /mx:columns
 /mx:DataGrid
 
 
 Sathish Pottavathini








 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] Flex for CBT/Distance Learning

2006-07-11 Thread JesterXL
What do you use Flash for currently?

- Original Message - 
From: Joel Provinsal [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 11, 2006 11:20 AM
Subject: [flexcoders] Flex for CBT/Distance Learning


Hi flexcoders,

I had a quick question.  Most of the discussion revolving around Flex
seems to be geared towards e-commerce solutions.  How suited would the
Flex solution be for distance learning, computer-based training?

Is Flex only for charts, graphs, tables, and the consumer experience?

As I look at it, it seems like it would be very well suited for CBT
delivery.  We are currently using a flash/HTML solution, and I feel that
Flex would provide a solid framework for developing (and delivering)
content in a timely manner.  Can you help by providing me with solid
reasoning, resources, tutorials, examples, or any other material that
might halp in this research?

Thank you,

Joel




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

2006-07-11 Thread JesterXL
I just have to say I don't want Steven or Aral's job.  Making  maintaing 
frameworks is f'ing hard, and I'm glad I get the luxury of proposing ideas 
without too much thought given to the potential consequences to the greater 
developer community whereas he does.  The fact that he is passionate about 
ensuring success, and yet open to ideas is pimp!

- Original Message - 
From: Tim Hoff [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 11, 2006 1:12 PM
Subject: [flexcoders] Re: Cairngorm Responder interface changes


Great,

The migration issue is exactly why I don't wan't to have to hack
this.  My thoughts are for the development community at large.  As a
developer, the time that is required to devise or learn someone
else's hack is much better served adding features.  In looking at
the framework, it's outstanding in every area.  I believe that
adding an event bridge back to the view will add to Cairngorm's
flexibility.  The beauty is, that if that you don't want to use the
bridge, you don't have to.  Developers can continue to maintain
Local State and Shared State in the ModelLocator if desired.  No
worries.  Or, they can choose to clean-up the ModelLocator by
eliminating Local State variables altogether.  This seems simple
enough, without making radical changes to the framework.

There are also several other proposed changes on this thread, that
many agree should merit consideration.  If these issues were
just MY foresight or opinions, I would not have continued.  But when
several credible sources agree that something could be better,
there's nothing wrong with a little proactivity.  I'm so happy that
people are sharing their passion for Flex and Cairngorm here.  By
participating, this forum is giving all of us the opportunity to
jump ahead of the curve.  Jesse, or anyone, if you have anything to
add, please chime-in.  This is my last bid for this issue.  Steven,
I'm sure, as always, that you will thoughtfully take everything
discussed into consideration.  I look forward to your blog opinions.

Best Wishes,
Tim Hoff

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

 Guys,

 If I'm strangely quiet on this, it's because I plan on blogging
some thoughts rather than piece-meal response to emails here.  For
what it's worth, I think there is no right answer, this will
ultimately come down not to best-practice, but personal preference.
There are some things that strike me as bad code smells, and I'll
call 'em out if I see them.

 However, the only thought I'll throw in again - being agile boy
again - is that I'd err on the simplest solution that works, and
introduce complexity (and ultimately refactor the framework itself)
only once I'm actually in there suffering the pain of the problem,
not having foresight of the problem as he sees it.  Jimmy G is being
modest when he says he hasn't built big apps ... he's been building
some pretty typical RIA with Flex for quite some time, if what he
showed me in New Orleans at MAX2004 is anything to go by.

 I think we have to be careful when we start making changes to
Cairngorm, and at least ask ourselves the question is this useful
to me, or useful to all applications built upon Cairngorm.  The
former, or somewhere in-between is the norm, the latter is the only
time I would be comfortable changing (rather than extending the
classes of) the framework.  Bear in mind as soon as you work from
your own modified Cairngorm classes, you're going to find it
difficult to migrate with us.

 Best,

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




 

 From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
 Sent: 11 July 2006 14:35
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Cairngorm Responder interface
changes



 Oh, please don't get me wrong, you're solution is great. It
really
 got me thinking in a different direction. I'm just trying to
come
 up with a standardized way to solve this need, that will
generically
 work for the majority of use-cases. I don't think that the
 Cairngorm guys would consider any change unless it feels
concrete
 and scales easily. I sincerely appreciate your feedback
Dimitrios.
 Please know that there is no disrespect intended.

 Tim Hoff

 --- In flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com , Dimitrios Gianninas
 dimitrios.gianninas@ wrote:
 
  Ok, obviously I haven't built big enough apps yet to run
into the
 problems you and Jesse have. I've had to do something like
that in
 one app actually where I had multiple instances of the same
window
 created, I would send a ref of the view to the command so it
would
 know which window instance to update afterwards.
 
  Dimitrios Gianninas
  RIA Developer
  Optimal Payments Inc.
 
 
  

[flexcoders] Re: ArrayCollection as datasource

2006-07-11 Thread ben.clinkinbeard
Results being wrapped in ObjectProxy and ArrayCollection usually means
that makeObjectsBindable is set to true on your remote call. Its true
by default in final release, was false in B3.

HTH,
Ben






 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] strategery help: how to make crosshair on AreaChart

2006-07-11 Thread tddclare
I have an area chart.  As the user mouses around over it, I'd like a
hirzontal and vertical crosshair (one horiz, one vert gridline, sort
of) to track the mouse pointer.

I see the annotationelements, and am already using it for my
gridlines.  I'm wondering if anyone has ideas of how to implement the
crosshair? 

I'm guessing a canvas that I can use the drawing API on to draw the
lines as the mouseMoves.  But how to tie the position of the mouse
over  JUST the chart area showing the actual data (not over the axes
labels, etc) to the X and Y to draw the lines?  And how to get it to
work in the annotationElements array?

I'm assuming I need to make whatever I create a ChartElement, but I
haven't ever actually cracked open the existing objects and tried to
tie into them at such a low level.

If anyone has any thoughts or guidance, even just for general ways to
get into the source code and create a new class from them, I'd
appreciate it.

Thanks! 






 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] Possible Flex Builder internal error

2006-07-11 Thread Clint Modien



I reverted back to 3.1... the error was unbearable... everytime the stack changed when debugging... it would throw another error filled modal window that you would have to escape out of... 
On 7/11/06, Angus Johnson [EMAIL PROTECTED] wrote:













  



hmmm... small projects debug ok but larger ones throw back those pesky marker errors. It could be related to projects with linked sources and libraries from what i've seen.Anyway debug runs fine, you just have to click away the marker errors. Doesn't seem to be any other impact so far.
Dunno, i'm going to persevere with 3.2. Sucker for punishment maybe :)On 11/07/06, 
Tom Chiverton 
[EMAIL PROTECTED] wrote:On Tuesday 11 July 2006 10:39, Carlos Rovira wrote:
 I read some place that Debugger was the focus of the problem. Could you try to debug something? If you report that you all goes well, I would love to upgrade to eclipse 3.2 (and WTP 1.5 of course)
Even if it is, you can just use the command line debugger.Once you get to know it, it's not so bad.--Tom Chiverton, who's subscription-based update hasn't come yet. And won't runin SUSE when it does.
This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF.A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society.
CONFIDENTIALITYThis email is intended only for the use of the addressee named above and may be confidential or legally privileged.If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008.
For more information about Halliwells LLP visit www.halliwells.com. Yahoo! Groups Sponsor ~--
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM~-
--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 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.



  






__,_._,___



[flexcoders] Removing all items from a DG

2006-07-11 Thread Jeremy Rottman
I am working with a dg that holds parties attached to a particular
file, and when all the information for the file is filled in and the
user clicks save, I have added this to the save fucnction.

partyDG.dataProvider.removeAll();

This is how I have always cleared out a dg, but not for some reason it
is not working, and I can not find any changes with in the flex
livedocs to tell me that it is any different from what I have always
used. 

Anyone have an idea on why this isnt working?






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

2006-07-11 Thread Ralf Bokelberg
Yeah, keeping it simple, in a way that almost hurts, is the hardest
thing to do.
Cheers,
Ralf.


On 7/11/06, JesterXL [EMAIL PROTECTED] wrote:
 I just have to say I don't want Steven or Aral's job.  Making  maintaing
 frameworks is f'ing hard, and I'm glad I get the luxury of proposing ideas
 without too much thought given to the potential consequences to the greater
 developer community whereas he does.  The fact that he is passionate about
 ensuring success, and yet open to ideas is pimp!


 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] Cairngorm ServiceLocator and FDS

2006-07-11 Thread Mike_Robinson_98
Is it possible to define a mx:DataService in the ServiceLocator or
is ServiceLocator useful only for mx:RemoteObject and
mx:WebService? In the examples I have seen you retrieve a service
from the ServiceLocator with something like this:

ServiceLocator.getInstance().getService(ordersService);

However, the getService() method returns an AbstractService which only
WebService and RemoteObject extend. 

Is there some other mechanism to be able to use a DataService within
the ServiceLocator? The getInvokerService method also does not look
like it is useful for this purpose.

Thanks,
Mike





 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] strategery help: how to make crosshair on AreaChart

2006-07-11 Thread Ely Greenfield







http://www.quietlyscheming.com/blog/charts/chart-sampler/

Run the app, and go to the 'custom annotation' sample under 
the 'customization' folder.

Ely.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of tddclareSent: 
Tuesday, July 11, 2006 2:07 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] strategery help: how 
to make crosshair on AreaChart


I have an area chart. As the user mouses around over it, I'd like 
ahirzontal and vertical "crosshair" (one horiz, one vert gridline, 
sortof) to track the mouse pointer.I see the annotationelements, and 
am already using it for mygridlines. I'm wondering if anyone has ideas of 
how to implement thecrosshair? I'm guessing a canvas that I can use 
the drawing API on to draw thelines as the mouseMoves. But how to tie the 
position of the mouseover JUST the chart area showing the actual data (not 
over the axeslabels, etc) to the X and Y to draw the lines? And how to get 
it towork in the annotationElements array?I'm assuming I need to 
make whatever I create a ChartElement, but Ihaven't ever actually cracked 
open the existing objects and tried totie into them at such a low 
level.If anyone has any thoughts or guidance, even just for general ways 
toget into the source code and create a new class from them, 
I'dappreciate it.Thanks! 
__._,_.___





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








   



  




  
  
  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] Removing all items from a DG

2006-07-11 Thread Joan Tan












Calling removeAll() on the dataProvider of
the DataGrid seems to work for me. What kind of dataProvider are you using? I
was using an ArrayCollection in the small example that I tried out. Can you
provide more information? Maybe there is a bug in this method when used in
particular situations. Can you confirm that you are using the final version of
Flex 2?



Thanks,

Joan











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Jeremy Rottman
Sent: Tuesday, July 11, 2006 10:55
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Removing all
items from a DG











I am working with a dg that holds parties attached to
a particular
file, and when all the information for the file is filled in and the
user clicks save, I have added this to the save fucnction.

partyDG.dataProvider.removeAll();

This is how I have always cleared out a dg, but not for some reason it
is not working, and I can not find any changes with in the flex
livedocs to tell me that it is any different from what I have always
used. 

Anyone have an idea on why this isnt working?






__._,_.___





--
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 ServiceLocator and FDS

2006-07-11 Thread JesterXL
Add this function to Cairngorm's ServiceLocator and it'll work:

public function getMessageAgent ( serviceId : String ) : 
mx.messenging.MessageAgent
  {
   if ( this[ serviceId ] == undefined )
throw new Error( No MessageAgent found for service name  + 
serviceId );

 return this[ serviceId ];
  }

- Original Message - 
From: Mike_Robinson_98 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, July 11, 2006 2:16 PM
Subject: [flexcoders] Cairngorm ServiceLocator and FDS


Is it possible to define a mx:DataService in the ServiceLocator or
is ServiceLocator useful only for mx:RemoteObject and
mx:WebService? In the examples I have seen you retrieve a service
from the ServiceLocator with something like this:

ServiceLocator.getInstance().getService(ordersService);

However, the getService() method returns an AbstractService which only
WebService and RemoteObject extend.

Is there some other mechanism to be able to use a DataService within
the ServiceLocator? The getInvokerService method also does not look
like it is useful for this purpose.

Thanks,
Mike






--
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 ~-- 
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] Re: Menu - handle sub-menu clicks

2006-07-11 Thread joan_lynn
Dmitry,

You can try to keep track of the last menu item that your mouse rolled
over by using the itemRollOver event. Then, in the menuShow event,
check this value. See if that works.

Joan

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

 --- In flexcoders@yahoogroups.com, Deepa Subramaniam dsubrama@
 wrote:
 
  What build of Flex are you using? I see MenuEvent.ITEM_CLICK  being
  dispatched for sub-menu selections as well as root menu selections.
 
 Basically I need to get CategoryID after click on sub-menu item on any
 level, which, in turn, has own sub-menu (has a child). But I can do it
 only for normal menu items (without sub-menus).
 
 Thank you,
 
 Dmitry.








 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] Re: Flex for CBT/Distance Learning

2006-07-11 Thread Renaun Erickson
Adobe Success Story (Flex 1.5 and ColdFusion)
Global Training Technologies

Excerpt:
Using Flex, the development team can easily tailor content to any
industry. For one project, the team created a custom application for
the furniture industry by rebranding an existing application.

http://www.adobe.com/cfusion/showcase/index.cfm?event=casestudydetailcasestudyid=104632


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

 Hi flexcoders,
 
 I had a quick question.  Most of the discussion revolving around Flex
 seems to be geared towards e-commerce solutions.  How suited would the
 Flex solution be for distance learning, computer-based training?
 
 Is Flex only for charts, graphs, tables, and the consumer experience?
 
 As I look at it, it seems like it would be very well suited for CBT
 delivery.  We are currently using a flash/HTML solution, and I feel that
 Flex would provide a solid framework for developing (and delivering)
 content in a timely manner.  Can you help by providing me with solid
 reasoning, resources, tutorials, examples, or any other material that
 might halp in this research?
 
 Thank you,
 
 Joel







 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/
 




[flexcoders] Re: Flex for CBT/Distance Learning

2006-07-11 Thread Dave Wolf

We have developed a Flex application for a client of ours which was in
essence CBT/Distance learning solution.  (It was actually a Computer
Based Therapy/Distance Counseling application, but in essence Therapy
is an education/learning process).

You can read more about it and see an online demo on our site at:

http://www.cynergysystems.com/pages/how/case/crisiscoach.html

You can see a movie about the application here:

http://www.cynergysystems.com/pages/how/case/videos/crisiscoach/crisiscoach.html

This solution mixed Flex, Flash and HTML.  It has CBT, Discussion
forums, live chat, knowledge base etc.

As Jesse says, Flash in general makes for a compelling interactive
user experience that suits training well.  Now with Flex's ease of
data integration and time to market, it just brings that inherint
value up a notch.

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



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

 What do you use Flash for currently?
 
 - Original Message - 
 From: Joel Provinsal [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Tuesday, July 11, 2006 11:20 AM
 Subject: [flexcoders] Flex for CBT/Distance Learning
 
 
 Hi flexcoders,
 
 I had a quick question.  Most of the discussion revolving around Flex
 seems to be geared towards e-commerce solutions.  How suited would the
 Flex solution be for distance learning, computer-based training?
 
 Is Flex only for charts, graphs, tables, and the consumer experience?
 
 As I look at it, it seems like it would be very well suited for CBT
 delivery.  We are currently using a flash/HTML solution, and I feel that
 Flex would provide a solid framework for developing (and delivering)
 content in a timely manner.  Can you help by providing me with solid
 reasoning, resources, tutorials, examples, or any other material that
 might halp in this research?
 
 Thank you,
 
 Joel
 
 
 
 
 --
 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/
 




  1   2   >