Re: [flexcoders] Resetting a Flex Form

2006-07-12 Thread Clint Modien



You could make a copy of the model initially using var DataModelCopy:Object = mx.utils.ObjectUtil.copy(DataModel);then in your clear method you could do...this.DataModel = DataModelCopy;havn't tested it ... but it should work
On 7/11/06, Erich Cervantez [EMAIL PROTECTED] wrote:













  











In HTML forms, you can set a clear or reset button that
wipes out the contents of any form fields. In Flex, the concept is a
little different. Right now, I have a flex form bound to a data model
(and back to the TextInput field as illustrated below).





mx:Model 
id
=
DataModel



 

FirstName

{ FirstName.text }
/
FirstName



 

LastName

{ LastName.text }
/
LastName



 

MiddleName

{ MiddleName.text }
/
MiddleName



/
mx:Model






mx:FormItem 
label
=
First Name



 
mx:TextInput 
id
=
FirstName 
text
=
{ DataModel.FirstName
} 
/


/
mx:FormItem




I tried
creating a destroy() reset method by setting the data model to "undefined".
This doesn't appear to work. It populates each TextInput field with
"undefined" and seems to permanently unbind the data model from the
form. I don't see any methods that I could use to reset these
fields under mx:Form. Is there another option I'm not thinking of,
or do I have to loop through each TextInput, ComboBox and other form fields to manually
reset their values back to default?





Erich Cervantez

Las
  Vegas, NV











  















__._,_.___





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

2006-07-12 Thread Douglas Knudsen



Our purchasing dept is having problems currently getting new keys and upgrade info for us as a Flex subscription holder. Some confusion over how adobe.com site works and 
macromedia.com did or something.DKOn 7/10/06, 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:00To: 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:flexcoders@yahoogroups.com] 
  On Behalf Of 
  JesterXLSent: 
  maandag 10 juli 2006 9:36To: 
  flexcoders@yahoogroups.comSubject: Re: [flexcoders] Is anyone 
  having trouble contacting Adobe and/or purchasing 
  Flex?
  
  
  
  
  Not here.1. 3:26am - go to 
adobe.com2. log 
  in, find credit card3. choose Products  Flex4. click purchase  
  Flex with Charting5. input info in store, click submit6. 
  done!Took 3 minutes, and 36 seconds.Sounds like you read the 
  story about someone in Oz not being so lucky?http://www.mariposa.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]To: 
  flexcoders@yahoogroups.comSent: 
  Sunday, July 09, 2006 11:50 PMSubject: [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 twofrom people having trouble connecting with us on pricing or 
  simply withpurchasing Flex Builder.This is the first product from 
  the former Macromedia to be launched atAdobe and I am sure we have kinks 
  in the system. I want to make surewe troubleshoot quickly. Please let us 
  know.Regards,DavidAdobe--Flexcoders Mailing 
  ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links
  __ NOD32 1.1651 (20060708) 
  Information __This message was checked by NOD32 antivirus 
  system.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.




-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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

2006-07-12 Thread Jonas Windey












Cool, cant wait. Ive now
gotten so far that I can drag items on every node, but the only thing I need to
force now is that if you drag an item on a node on the last level, it needs to
be open for flex to allow dropping on it.

For now Ill just open every node in
my tree in the initial state. That way at least its working. 



Now give me your sample ;-)



Jonas

Lol - Jason, were
anagrammable











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Hawryluk
Sent: dinsdag 11 juli 2006 23:55
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Explorer-like drag  drop tree













I'm at home, and it's late, but i'll put
together a sample, and post it when i get back to work ;)











Jason











-Message d'origine-
De: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]De la part de Pat Buchanan
Envoyé: mardi 11 juillet
2006 22:58
À: flexcoders@yahoogroups.com
Objet: Re: [flexcoders]
Explorer-like drag  drop tree





Jason:











Do you have an example of this for us current/future newbies?











Thanks!







On 7/11/06, Jason
Hawryluk [EMAIL PROTECTED]
wrote: 













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:flexcoders@yahoogroups.com]De la part de Jonas Windey
Envoyé: mardi 11 juillet
2006 15:59 
À: flexcoders@yahoogroups.com
Objet: RE: [flexcoders]
Explorer-like drag  drop tree 









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:flexcoders@yahoogroups.com]
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
























__ NOD32 1.1654 (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.



  






__,_._,___






RE: [flexcoders] Explorer-like drag drop tree

2006-07-12 Thread Jason Hawryluk





I have 
a little support task to do first then i'll put it up.

:°

jason


  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jonas WindeyEnvoyé: mercredi 12 juillet 2006 
  09:45À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Explorer-like drag  drop tree
  
  
  
  Cool, can’t wait. 
  I’ve now gotten so far that I can drag items on every node, but the only thing 
  I need to force now is that if you drag an item on a node on the last level, 
  it needs to be open for flex to allow dropping on it.
  For now I’ll just 
  open every node in my tree in the initial state. That way at least it’s 
  working. 
  
  Now give me your 
  sample ;-)
  
  Jonas
  Lol - Jason, 
  we’re anagrammable
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason HawrylukSent: dinsdag 11 juli 2006 
  23:55To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Explorer-like 
  drag  drop tree
  
  
  
  
  
  I'm at home, and it's 
  late, but i'll put together a sample, and post it when i get back to work 
  ;)
  
  
  
  Jason
  
  
  
-Message 
d'origine-De: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]De la part de Pat BuchananEnvoyé: mardi 11 juillet 2006 
22:58À: 
flexcoders@yahoogroups.comObjet: Re: [flexcoders] 
Explorer-like drag  drop tree


Jason:



Do you have an example of this for us current/future 
newbies?



Thanks!

On 7/11/06, Jason Hawryluk [EMAIL PROTECTED] wrote: 







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:flexcoders@yahoogroups.com]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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: 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 
ChivertonThis 
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 atSt James's Court Brown 
Street Manchester M2 2JF. A list of 
members isavailable 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 maybe 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 itnor inform any person 
other than Halliwells LLP or the addressee of itsexistence 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

  __ 
  NOD32 1.1654 (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
  
  


 

Re: [flexcoders] Mac equivalent of ActiveX

2006-07-12 Thread Tom Chiverton
On Tuesday 11 July 2006 20:26, ryanm wrote:
  Open source != open specs.
 You can get source on the web if you look for it.

I can find source for individual controls, but not the framework.

 Not even close. 

When was the last update to it ?

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



 Yahoo! Groups Sponsor ~-- 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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




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

2006-07-12 Thread Tom Chiverton
On Monday 10 July 2006 14:34, Douglas Knudsen wrote:
 Our purchasing dept is having problems currently getting new keys and
 upgrade info for us as a Flex subscription holder. 

Do post when you find the answer !

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

2006-07-12 Thread Tom Chiverton
On Wednesday 12 July 2006 03:46, Dmitry Miller wrote:
 The only question that I have about your approach is how do I show the
 u/p form without leaving the page when my session expires? Also, it

You could have the app call a 'ping' method on the server to stop the session 
timing out.

 would be great if I could silently reauthenticate.

Which would have this same effect.

-- 
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] Flex 2.0 DataService Question

2006-07-12 Thread sinacapho
Dear all,
   I am a Flex 1.5 developer now switch to Flex 2.0 . I want to
ask some question which maybe very easy for all of you.

   I am now try to Use HttpService or WebService to access some
data. But all of them return Security error Access Url in faultstring.
i have use the same domain for my flex program and the service (Http ,
webservice) path. But the problem remain the same. I have read the doc
but i cannot find a clear solution (There are so many page in doc _). 
Can someone help me?


thx
capho







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

2006-07-12 Thread Daniel Tuppeny





Excellent! And thanks for providing code! I didn't realise 
there was a PreSendRequestHeaders method, and probably would've come up with a 
crazy OTT solution! :-)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kelly 
BirrSent: 12 July 2006 06:16To: 
flexcoders@yahoogroups.comSubject: 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

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 
__ 

Re: [flexcoders] Re: FileReference and mimetypes

2006-07-12 Thread Tom Chiverton
On Tuesday 11 July 2006 17:04, Phil Marston wrote:
 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.

If you issue a redirect to the content, your web server should provide the 
correct MIME type.

-- 
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 ~-- 
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 (Delayed Open Example)

2006-07-12 Thread Jason Hawryluk





Here 
you guy's, gal'sgo don't forget to change the package location. I use this 
technique in allot of way's. Just let me know what you think ;) Code is below. 
The delayed class, and the sampleuse.

Cheers 


Jason

Begin:DelayedTimer.as

/*** This class provides a timer abstraction, and issues a 
callback to the * desired function once the time event hit's. Create 
one instance for each* delayed timer you require* 
* @langversion ActionScript 3.0* @playerversion Flash 
8.5* @tiptext* **/package 
com.vision.delayedTimer{import 
flash.utils.Timer;import flash.events.Event;import 
flash.events.TimerEvent;public class DelayedTimer 
extends Timer {private var 
_caller:Object;public function 
DelayedTimer (){//init the extended 
classsuper(1000,1);}/** 
* getters and setters for the object passed 
**/public function get 
caller():Object{return 
_caller;}

public function set 
caller(d:Object):void{_caller = 
d;} 
/** * Inicialize the timer for the delayed call 
*  * -Parameters * @event = the event that set 
off this obejct * @func = a function call to run 
* @caller = the actual object that called this object * @delay = 
the delay in milliseconds between timer events * @repeat = 
number of times to repeat 0= indefinit *  * 
-verion * @langversion ActionScript 3.0 * 
@playerversion Flash 8.5 * @tiptext * 
 **/public function 
startDelayedTimer(event:Event,func:Function, 
callerin:Object=null,delay:Number=1000, repeat:uint=1):void 
{if (func == 
null){return;}
if (caller 
!=null){caller=callerin;}if 
(caller != event.target){caller = 
event.target;if (running 
==true){cancelDelayedTimer();}delay 
= 
delay;repeatCount=1;addEventListener(TimerEvent.TIMER,func);start();}}/** 
* clean up the call and stop the running timer * 
 * -verion * @langversion ActionScript 
3.0 * @playerversion Flash 8.5 * 
@tiptext **/public function 
cancelDelayedTimer():void{if 
(running 
==true){_caller=null;stop();reset();


End:DelayedTimer.as

Begin: 
SampleDragDropOpen.mxml

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

mx:Script![CDATA[//*//all 
this stuff is for the 
sample//*[Bindable]public 
var dsXML:XML = groupsgroup isBranch="true" label="Folder 
1" item label="Folder 1 Item 1" 
/ item label="Folder 1 Item 2" / 
item label="Folder 1 Item 3" / item label="Folder 1 
Item 4" / group isBranch="true" label="No Children 
1-0"/  group isBranch="true" label="No 
Children 1-2"/ /groupgroup 
isBranch="true" label="Folder 
1"/group item label="Item 1" 
/item label="Item 2" 
//groups]]/mx:Script

mx:Script![CDATA[//*//tree 
delayed open while draginging an 
item//*

//handles auto open on drag drop operationsimport 
com.vision.delayedTimer.DelayedTimer;private var 
oDelayedTimer:DelayedTimer = new DelayedTimer();//stored for 
openingprivate var 
lastFolderOver:Object//the returned dispatched call if delay 
triggeredprivate function 
dispatchDelayedOpen(event:Event):void{Tree0.expandItem(lastFolderOver,true,true);}import 
mx.events.DragEvent;private function 
handleDragOver(event:DragEvent):void{/**this 
is the guts of it**/var 
currTree:Tree = Tree(event.currentTarget);var rowindex:int = 
currTree.calculateDropIndex(event);var currNodeOver:Object; 
if 
(currTree.indexToItemRenderer(rowindex) 
!=null){currNodeOver = 
currTree.indexToItemRenderer(rowindex).data;}else{currNodeOver=null;}//if 
not over any node cleanup if nessesary and returnif 
(currNodeOver == null){if (lastFolderOver != 
null){oDelayedTimer.cancelDelayedTimer();lastFolderOver 
= 
null;}return;}if 
([EMAIL PROTECTED] 
 
currTree.isItemOpen(currNodeOver)==false){//test 
if not the sameif(lastFolderOver 
!=currNodeOver){//clear and reset the delay store 
this folder as lastlastFolderOver = 
currNodeOver;//clear the 
existingoDelayedTimer.cancelDelayedTimer();//create 
callbackoDelayedTimer.startDelayedTimer(event,dispatchDelayedOpen,currNodeOver);}return;}else{//clear 
the existingif (lastFolderOver != 
null){oDelayedTimer.cancelDelayedTimer();lastFolderOver 
= 
null;}return;}}private 
function handleDragComplete(event:DragEvent):void{//cleanup 
delay 
stuffoDelayedTimer.cancelDelayedTimer();lastFolderOver 
= null;}]]/mx:Script

mx:XMLListCollection source="{dsXML.children()}" 
id="XMLdc"/mx:Tree id="Tree0" 
dragComplete="handleDragComplete(event)" dragOver="handleDragOver(event)" 
labelField="@label" dragEnabled="true" dataProvider="{XMLdc}" 
dragMoveEnabled="true" dropEnabled="true"width="250" 
height="100%" 
//mx:Application


End: 
SampleDragDropOpen.mxml



  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé: mercredi 12 juillet 2006 
  10:06À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Explorer-like drag  drop 

Re: [flexcoders] Re: FileReference and mimetypes

2006-07-12 Thread Phil Marston






Thanks Derek,

That's the conclusion I was arriving at too.

I hate having work around something that should be there, it's like
working with MS's non-standards compliance :-(

Derek Adams wrote:


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

  
  



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



  






__,_._,___




RE: [flexcoders] Explorer-like drag drop tree

2006-07-12 Thread Jason Hawryluk





Found 
the original source (flex 1.5)for it. 

http://www.richinternet.de/blog/index.cfm?mode=entryentry=71F7DA77-DE13-D55B-91A5E87F8040B02F

Thanks 
dirk,I make great use of it :)




  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé: mercredi 12 juillet 2006 
  10:36À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Explorer-like drag  drop tree
  
  
  Forgot to mention how to see the effect.
  
  Drag 
  an item over any closed folder and it will open after a set period of time 
  (1sec)
  
  Jason
  
  
  
-Message d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Jason HawrylukEnvoyé: mercredi 12 juillet 2006 
10:06À: flexcoders@yahoogroups.comObjet: 
RE: [flexcoders] Explorer-like drag  drop tree


I 
have a little support task to do first then i'll put it 
up.

:°

jason


  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la 
  part de Jonas WindeyEnvoyé: mercredi 12 juillet 2006 
  09:45À: flexcoders@yahoogroups.comObjet: 
  RE: [flexcoders] Explorer-like drag  drop tree
  
  
  
  Cool, can’t wait. 
  I’ve now gotten so far that I can drag items on every node, but the only 
  thing I need to force now is that if you drag an item on a node on the 
  last level, it needs to be open for flex to allow dropping on 
  it.
  For now I’ll just 
  open every node in my tree in the initial state. That way at least it’s 
  working. 
  
  Now give me your 
  sample ;-)
  
  Jonas
  Lol - 
  Jason, we’re anagrammable
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason 
  HawrylukSent: dinsdag 11 
  juli 2006 23:55To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
  Explorer-like drag  drop tree
  
  
  
  
  
  I'm at home, and 
  it's late, but i'll put together a sample, and post it when i get back to 
  work ;)
  
  
  
  Jason
  
  
  
-Message 
d'origine-De: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]De la part de Pat 
BuchananEnvoyé: 
mardi 11 juillet 2006 22:58À: 
flexcoders@yahoogroups.comObjet: Re: [flexcoders] 
Explorer-like drag  drop tree


Jason:



Do you have an example of this for us 
current/future newbies?



Thanks!

On 7/11/06, Jason Hawryluk [EMAIL PROTECTED] 
wrote: 






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:flexcoders@yahoogroups.com]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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: 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 
ChivertonThis 
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 atSt James's Court Brown 
Street Manchester M2 2JF. A list of 
members isavailable 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 maybe confidential or 
legally 

[flexcoders] Flexcoders Message delays ?

2006-07-12 Thread sourcecoderia
Anyone else seeing delays in some of their messages ? Or not getting 
through at all?

It's making it hard to follow, some get through faster then others, 
must be yahoo! or my provider.

Perhaps I should just use the editor on the yahoo site instead of 
outlook.

Jason







 Yahoo! Groups Sponsor ~-- 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





[flexcoders] Re: Explorer-like drag drop tree

2006-07-12 Thread sourcecoderia
Also one last thing about the Delayedtimer.as The original was flex 
1.5. The idea, and credit for it goes to someone else (not sure who) 
I think it was richinternet blog or something. I just made it work 
for flex 2.0 in a different context from the original. It is quite 
different though.

 

Credit where credit is due ;)

  

Jason

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

 Forgot to mention how to see the effect.
 
 Drag an item over any closed folder and it will open after a set 
period of
 time (1sec)
 
 Jason
 
 
   -Message d'origine-
   De : flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] la
 part de Jason Hawryluk
   Envoyé : mercredi 12 juillet 2006 10:06
   À : flexcoders@yahoogroups.com
   Objet : RE: [flexcoders] Explorer-like drag  drop tree
 
 
 
   I have a little support task to do first then i'll put it up.
 
   :°
 
   jason
 
 -Message d'origine-
 De : flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] la
 part de Jonas Windey
 Envoyé : mercredi 12 juillet 2006 09:45
 À : flexcoders@yahoogroups.com
 Objet : RE: [flexcoders] Explorer-like drag  drop tree
 
 
 
 Cool, can't wait. I've now gotten so far that I can drag items 
on every
 node, but the only thing I need to force now is that if you drag an 
item on
 a node on the last level, it needs to be open for flex to allow 
dropping on
 it.
 
 For now I'll just open every node in my tree in the initial 
state. That
 way at least it's working.
 
 
 Now give me your sample ;-)
 
 
 Jonas
 
 Lol - Jason, we're anagrammable
 
 
 
 

 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Jason Hawryluk
 Sent: dinsdag 11 juli 2006 23:55
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Explorer-like drag  drop tree
 
 
 I'm at home, and it's late, but i'll put together a sample, and 
post it
 when i get back to work ;)
 
 
 Jason
 
 
   -Message d'origine-
   De : flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED]
 la part de Pat Buchanan
   Envoyé : mardi 11 juillet 2006 22:58
   À : flexcoders@yahoogroups.com
   Objet : Re: [flexcoders] Explorer-like drag  drop tree
 
   Jason:
 
 
   Do you have an example of this for us current/future newbies?
 
 
   Thanks!
 
 
 
   On 7/11/06, Jason Hawryluk [EMAIL PROTECTED] wrote:
 
   What I do is on dragover after a set time when over the 
folder i 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] la part de Jonas Windey
 Envoyé : mardi 11 juillet 2006 15:59
 À : flexcoders@yahoogroups.com
 Objet : RE: [flexcoders] Explorer-like drag  drop tree
 
   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: 

RE: [flexcoders] Explorer-like drag drop tree

2006-07-12 Thread Jason Hawryluk






Also one last thing 
about the Delayedtimer.as The original was flex 1.5.The 
idea, and credit for it goes to someone else (not sure who) I think it was 
richinternet blog or something. I just made it work for flex 2.0 in a different 
context from the original. It is quite different though.

Credit where credit is 
due ;)

Jason





  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Jason HawrylukEnvoyé: mercredi 12 juillet 2006 
  10:36À: flexcoders@yahoogroups.comObjet: RE: 
  [flexcoders] Explorer-like drag  drop tree
  
  
  Forgot to mention how to see the effect.
  
  Drag 
  an item over any closed folder and it will open after a set period of time 
  (1sec)
  
  Jason
  
  
  
-Message d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de Jason HawrylukEnvoyé: mercredi 12 juillet 2006 
10:06À: flexcoders@yahoogroups.comObjet: 
RE: [flexcoders] Explorer-like drag  drop tree


I 
have a little support task to do first then i'll put it 
up.

:°

jason


  -Message d'origine-De: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la 
  part de Jonas WindeyEnvoyé: mercredi 12 juillet 2006 
  09:45À: flexcoders@yahoogroups.comObjet: 
  RE: [flexcoders] Explorer-like drag  drop tree
  
  
  
  Cool, can’t wait. 
  I’ve now gotten so far that I can drag items on every node, but the only 
  thing I need to force now is that if you drag an item on a node on the 
  last level, it needs to be open for flex to allow dropping on 
  it.
  For now I’ll just 
  open every node in my tree in the initial state. That way at least it’s 
  working. 
  
  Now give me your 
  sample ;-)
  
  Jonas
  Lol - 
  Jason, we’re anagrammable
  
  
  
  
  
  From: 
  flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason 
  HawrylukSent: dinsdag 11 
  juli 2006 23:55To: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] 
  Explorer-like drag  drop tree
  
  
  
  
  
  I'm at home, and 
  it's late, but i'll put together a sample, and post it when i get back to 
  work ;)
  
  
  
  Jason
  
  
  
-Message 
d'origine-De: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com]De la part de Pat 
BuchananEnvoyé: 
mardi 11 juillet 2006 22:58À: 
flexcoders@yahoogroups.comObjet: Re: [flexcoders] 
Explorer-like drag  drop tree


Jason:



Do you have an example of this for us 
current/future newbies?



Thanks!

On 7/11/06, Jason Hawryluk [EMAIL PROTECTED] 
wrote: 






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:flexcoders@yahoogroups.com]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: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom 
ChivertonSent: dinsdag 11 juli 2006 15:33To: flexcoders@yahoogroups.comSubject: 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 
ChivertonThis 
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 atSt James's Court Brown 
Street Manchester M2 2JF. A list of 
members isavailable 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 

[flexcoders] TileList's Horizontal Gap

2006-07-12 Thread Jean-Luc ESSER





Sorry for asking this again, but i have been trying 
for a week or so to add an horizontal gap between renderers in a Tile 
List.
I don't want to use specific columnWidth and/or 
padding in the renderer. I want real gap. So thatbackgroundColor for the 
cell for exemple won't fill the gap. Gap as it is possible to do in a simple 
Tile.
Can it be done via skinning ? If so how 
?

Thank you !
JL
__._,_.___





--
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-12 Thread Phil Marston






but the file doesn't exist (it's reconstructed from a database entry)
so the server knows nothing about it.

Tom Chiverton wrote:

  On Tuesday 11 July 2006 17:04, Phil Marston wrote:
  
  
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.

  
  
If you issue a redirect to the content, your web server should provide the 
correct MIME type.

  


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



  






__,_._,___




Re: [flexcoders] Re: FileReference and mimetypes

2006-07-12 Thread Tom Chiverton
On Wednesday 12 July 2006 11:15, Phil Marston wrote:
  If you issue a redirect to the content, your web server should provide
  the correct MIME type.
 but the file doesn't exist (it's reconstructed from a database entry) so
 the server knows nothing about it.

You could rig things up so that
http://host.com/getafile/23535
retrieved file #23535 and spat it out, for instance.

-- 
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 ~-- 
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] Security error accessing url

2006-07-12 Thread sathish_kumar_18
Hi,
I have a webservice (EAR file) that is deployed in the IBM 
Websphere 6.0 server.When we access the 
webservice from a SWF application(sandbox)built using Flex 
2.0 it gives a security error.How to resolve this security issue.

The Error Message:

[FaultEvent fault=[Rpc fault
faultstring=Security error accessing url
faultCode=Channel.Security.Error
faultDetails=Unable to load WSDL.If currently
online,please verify the URI and/or format of
the WSDL
(webservice url)]messageId=null type=fault
bubbles=false cancelable=true eventPhase=2]

We have read in many articles which says we need to 
place the crossdomain.xml file in the server root directory.But we 
dont know exactly what is the correct location for placing this file.
We have tried placing in many subfolders under the 
root folder where Websphere is installed.  

It would be of great help if you can help us sort out this 
issue.

regards
sathish







 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: TileList's Horizontal Gap

2006-07-12 Thread Tim Hoff
Hey Jean-Luc,

Set the horizantalGap property on the container that the TileList is 
in.

-TH

--- In flexcoders@yahoogroups.com, Jean-Luc ESSER [EMAIL PROTECTED] wrote:

 Sorry for asking this again, but i have been trying for a week or 
so to add an horizontal gap between renderers in a Tile List.
 I don't want to use specific columnWidth and/or padding in the 
renderer. I want real gap. So that backgroundColor for the cell for 
exemple won't fill the gap. Gap as it is possible to do in a simple 
Tile.
 Can it be done via skinning ? If so how ?
 
 Thank you !
 JL








 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] Security error accessing url

2006-07-12 Thread Sathish K





Hi,I have a webservice (EAR file) that is
deployed in the IBM Websphere 6.0 server.When we access the webservice
from a SWF application(sandbox)built using Flex 2.0 it gives a security
error.How to resolve this security issue.The Error
Message:[FaultEvent fault=[Rpc
faultfaultstring="Security error accessing
url"faultCode="Channel.Security.Error"faultDetails="Unable
to load WSDL.If currentlyonline,please verify the URI and/or format
ofthe WSDL(webservice url)]messageId=null
type="fault"bubbles=false cancelable=true
eventPhase=2]We have read in many articles which says
we need to place the crossdomain.xml file in the server root directory.But we
dont know exactly what is the correct location for placing this
file.We have tried placing in many subfolders under the root
folder where Websphere is installed. It
would be of great help if you can help us sort out this
issue.

regards
sathish


__._,_.___





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



  






__,_._,___


DISCLAIMER: 

Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. 

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission.

If you have received this e-mail in error, please notify us immediately at mail to: [EMAIL PROTECTED] and delete this mail from your records. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-mail.


[flexcoders] Flex2 final - Another 'security error accessing url'

2006-07-12 Thread bhaq1972
Hi 
(I didn't want to take over Sathish's post but i have a similar 
problem.)

My problem is as follows. I'm taking my flex app and trying to 
expose it to the internet.

in our LAN environment, everything is okay. My flex swf is hosted on 
IIS...which also hosts my webservice.

my flex app looks like this

mx:Application 

mx:WebService wsdl=../../MyWebService/service1.asmx?wsdl/
myComponents/

/mx:Application

Our IT guys are exposing my IIS using Microsoft ISA Server 2004 
using a web publishing rule.

The problem i face is, my flex application downloads but the minute 
my app makes a webservice call.. i get the error 'Security error 
accessing url'

i've googled around but am at a loss.

any ideas anyone.

thanks
Bod





 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: FileReference and mimetypes

2006-07-12 Thread Phil Marston






you mean like http://host.com/getafile.php?23535 which is what I'm
doing at the moment

the server still wouldn't know the mimetype to send though - I supply
the header and I get it from what I stored in a type field in the table
when the file was uploaded (the binary file data is stored in a blob
field and the filename is stored in another field) there isn't anything
for the server to examine to find out it's mimetype.

I still don't understand why Adobe are imposing a mimtype on our
uploads and preventing us from changing it to whatever we want though.


Tom Chiverton wrote:

  On Wednesday 12 July 2006 11:15, Phil Marston wrote:
  
  

  If you issue a redirect to the content, your web server should provide
the correct MIME type.
  

but the file doesn't exist (it's reconstructed from a database entry) so
the server knows nothing about it.

  
  
You could rig things up so that
http://host.com/getafile/23535
retrieved file #23535 and spat it out, for instance.

  


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



  






__,_._,___




Re: [flexcoders] Re: TileList's Horizontal Gap

2006-07-12 Thread Jean-Luc ESSER





Tim,

Unfortunatly, i saw this hack on a post regarding 
Flex1.5, maybe it was working then, but i can't get it to work 
here.
Thanx anyway.

JL


  - Original Message - 
  From: 
  Tim Hoff 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 12, 2006 1:05 
  PM
  Subject: [flexcoders] Re: TileList's 
  Horizontal Gap
  
  
  Hey Jean-Luc,Set the horizantalGap property on the container that 
  the TileList is in.-TH--- In [EMAIL PROTECTED]ups.com, 
  "Jean-Luc ESSER" [EMAIL PROTECTED] wrote: Sorry for asking this 
  again, but i have been trying for a week or so to add an horizontal gap 
  between renderers in a Tile List. I don't want to use specific 
  columnWidth and/or padding in the renderer. I want real gap. So that 
  backgroundColor for the cell for exemple won't fill the gap. Gap as it is 
  possible to do in a simple Tile. Can it be done via skinning ? If 
  so how ?  Thank you ! JL
__._,_.___





--
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] TileList's Horizontal Gap

2006-07-12 Thread Jean-Luc ESSER





Hey Ralf,

Creating the gap in the renderer would'nt do what i 
want. First because style applied to the cell of the TileList would apply to the 
gap created, which i do not want, second because it would not be a gap, meaning 
it would appear on the right edge of the last column, or the bottom edge of the 
last row.

Subclassing would probably do it (mayby), but i 
have no clue of how to implement it.

Thanx.
JL


  - Original Message - 
  From: 
  Ralf 
  Bokelberg 
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 12, 2006 1:31 
  PM
  Subject: Re: [flexcoders] TileList's 
  Horizontal Gap
  
  
  Hi Jean Luc, can't you create an itemRenderer, which draws the 
  horizontalGap itself? Maybe by placing a colored box at top and bottom? 
  Another possibility would be to subclass TileList and add horizontalGap to 
  it. Cheers,Ralf 
  On 7/12/06, Jean-Luc 
  ESSER [EMAIL PROTECTED] wrote:
  

Sorry for asking this again, but i have been 
trying for a week or so to add an horizontal gap between renderers in a Tile 
List.
I don't want to use specific columnWidth and/or 
padding in the renderer. I want real gap. So thatbackgroundColor for 
the cell for exemple won't fill the gap. Gap as it is possible to do in a 
simple Tile.
Can it be done via skinning ? If so how 
?

Thank you !
JL-- 
  Flex  Flash Consultant based in Cologne/Germany 
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Change Text Color in FlexBuilder 2 Editors

2006-07-12 Thread Darron J. Schall






You have to tweak an XML file to change the syntax coloring in
FlexBuilder 2. It's undocumented / unsupported, but you can find more
information about it here:
http://www.morearty.com/blog/2006/05/22/undocumented-flex-builder-changing-the-syntax-coloring/

-d

jwc_wensan wrote:


  
  
Under Preferences . . General . . Appearance there is Colors and 
Fonts, but that does not having anything to do with displaying your 
code in a different color than the default.
  
So, what am I missing?
  
Can someone point me the right direction?
  
Thanking you in advance,
  
Jack
  
  
  




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




[flexcoders] Camera.getCamera(name:String) does not work and crashes the player

2006-07-12 Thread m88e24
Player version r15 (installed by the Flex builder install) 
Flex 2 final
Win XP Pro SP2 (up to date)

I may have multiple cameras connected to my PC and want to select the
camera to use. I show a list of available cameras and uses the name to
get a Camera instance. This always returned null. So I tried
retrieving the default camera without an argument then use the name of
that Camera instance to retrieve the same Camera instance by name.
Thus to check if the fault is in the argument or the getCamera()
method. This results in a player crash taking down the browser also.
Very bad.

var camera:Camera = Camera.getCamera();
camera = Camera.getCamera(camera.name);





 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] About Integrating Flex Data service with Flex Builder....

2006-07-12 Thread Mr.Unlimited



Hi Hank  Yea mite be big. but m new t this buddy. maybe my installation s wrong or somethin.. i installed Builder and then DS...can u jus telme how to use DS in builder.  Thnx for ur response. m sry if my ques s wrong.. pl lemme know if my ques s wrong..regards  Krishank williams [EMAIL PROTECTED] wrote:  That is a *big* request. I'm afraid your going to ask more specific questions before I think anyone can be helpful. What do you have running so far? Have you gotten fds
 up and running with the sample apps?Hank  On 7/10/06, Mr.Unlimited [EMAIL PROTECTED] wrote:Hi..  Im new to flex. could u ppl help me in integrating flex ds with the builder.??  M using Flex 2 beta 3 and FDS2.. in a standalone environment..   all i need is to get data from oracle database trhru java objects   Please HelpThanks and regards..  kris!!   Yahoo! Music Unlimited - Access over 1 million songs. Try it free.  

		Do you Yahoo!? Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.
__._,_.___





--
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] Displaying data from servlet to the flex..

2006-07-12 Thread Mr.Unlimited



Dear People  Im new to Flex.Im using Flex Buider 2 Beta 3.and i dont have Data service.  Is there a way to send some data to javaServlet and bring back some data from the Servlet to the Flex Page?  Please Help me. Some snippets would be really helpful.Thanks And Regards  Kris 
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
__._,_.___





--
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: Camera.getCamera(name:String) does not work and crashes the player

2006-07-12 Thread Renaun Erickson
If I understand you right, you are having problems with var
camera:Camera = Camera.getCamera(); for any camera?  or is your issue
you are trying to dynamic selected a camera?

Ok, first var camera:Camera = Camera.getCamera(); works in Flex 2 for
me.  You can check by going to my application that uses the Camera here,

http://renaun.com/flex2/BarcodeReader/BarcodeReader.html

If this page crashes for you, then you know its something with your
system/configuration/flash player...

If it doesn't crash then it could your code.  If you are trying to
access camera's dynamically I am not aware of the functionality to do
this.  I always right-click and go into camera settings and change it
manually.

Good luck,

Renaun



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

 Player version r15 (installed by the Flex builder install) 
 Flex 2 final
 Win XP Pro SP2 (up to date)
 
 I may have multiple cameras connected to my PC and want to select the
 camera to use. I show a list of available cameras and uses the name to
 get a Camera instance. This always returned null. So I tried
 retrieving the default camera without an argument then use the name of
 that Camera instance to retrieve the same Camera instance by name.
 Thus to check if the fault is in the argument or the getCamera()
 method. This results in a player crash taking down the browser also.
 Very bad.
 
 var camera:Camera = Camera.getCamera();
 camera = Camera.getCamera(camera.name);







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

2006-07-12 Thread Tom Chiverton
On Wednesday 12 July 2006 12:27, Phil Marston wrote:
 you mean like http://host.com/getafile.php?23535 which is what I'm doing
 at the moment

 the server still wouldn't know the mimetype to send though - I supply

Ahh.
Dump it to disk first ?

-- 
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 ~-- 
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-12 Thread JesterXL





Well, either way, thanks for bringing it to my 
attention. I dig the low level things, and this is pretty cool to know 
that it's that common across all UIComponents, in both 1.5 and 2.

The TextInput thing I mentioned, I didn't 
build. I was using TextInputs everywhere, and my team members were like, 
"Dude, what are you doing?". They said to use one they built. It had 
basically 3 things; a specific look the client liked, made 2 events into 1, and 
maxChar as a public property. There were 2 other minor things. I 
think the reason it was built was because the most common use case was needing 
both enter  focusOut to fire update events, and since they were using this 
in forms everywhere, they reduced a ton of code by refactoring it this 
way.

In Flex 1.5, yes, this has a cost. 
Inheritance in Flash Player 8 and below has a cost, mainly because of the 
inheritance chain and method lookups. If a method is invoked, and it's not 
on "you", it asks its parent class. This chain lookup is expensive. 
So gregarious extending does cause performance impacts.

This problem doesn't exist in Flex 2 because of the 
new traits object (vs. prototype). So, now, it's more of a decision of 
"should we use inteheritance" with no need to worry about performance 
impacts.

As far as consolidition, I think the above example 
is extremely helpful. We have a common use case for the control, and it 
has a specific design, so yeah man, extending it for that simple reason has 
helped a lot. It's easier to handle the look in Flex 2 because CSS is soo 
much cooler now.

Well, yeah, the change thing is an issue. 
However, I'm usually the one digging around in base classes. I have to the 
balls to know if I do one thing wrong, I've broken like 200 uses of the 
control... so it better not be wrong! Seriously, though, we do some 
refactoring, but I think my boss  the rest of the team's early decisions 
were good ones with forethought, so I havent' run into that problem too 
much.

Naw,thanks againfor letting me know, I 
had no clue that property existed.

- Original Message - 
From: Jason Hawryluk 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, July 12, 2006 3:02 AM
Subject: RE: [flexcoders] viewstack design pattern issue


I didn't hear about it, 
I just kind of came across it while working on a runtime xml double binding 
solution for a future product. I tried various events but not worked as well as 
that one. I only used 1.5 for about 2 months while I was learning flex so 
can't comment on that one. Agreed that when you need immediate updates it would 
not work, I guess everything has it's limitations.

Do you think (any sorry 
for being off topic) that when you have the same events being used in multiple 
controls of the same, type that it is better to refactor that into a separate 
extended control? For example buttons on a menu. If they all use the same style, 
height, language tags for tool tip, and text, and all call the same command 
controller. I’ve been pondering this for a while, and though it is easier to 
code, and cleaner to look at I thought it would bloat the final product (I try 
not to go to far with regards to this stuff). What are your experiences on this? 


I’m thinking for 
maintenance it has to be better, but if a little change is required on a 
component that uses it, you can’t change that extended one, and would be 
required to create another extended component, resulting in multiple extended 
components all almost the same. I hope the question makes 
sense.

So to extend or not to 
extend?:)

back to 
topic:

I wasn’t questioning 
your method here, just qualifying the way I do it, and found 
myselfquestioning the methods I’d chosen after reading your 
post.

Jason


-Message 
d'origine-De: 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
de JesterXLEnvoyé: mercredi 12 juillet 2006 
02:02À: flexcoders@yahoogroups.comObjet: Re: 
[flexcoders] viewstack design pattern issue

  
  3 things.First, valueCommitted in Flex 1.5 does not always fire at 
  the appropriate times. For example, it doesn't fire when you chang text in 
  a TextInput field. Also, it doesn't fire when you hit the enter key. 
  Sometimes, these are desirable events to set data. It only works for 
  focusOut.So, using the default components in Flex 1.5, I have to 
  do:mx:TextInput id="my_ti" enter="doCommit()" 
  focusOut="doCommit()" /function doCommit(){myVal = 
  my_ti.text;}vs. using an extended component that makes both events 
  into 1:view:ATextInput id="my_ti" 
  valueComit="doCommit()" /See?Second, in Flex 2, 
  it doesn't fire until the focus goes to another control. Finally, neither 
  work with change. Change is a valid event because sometimes you need 
  immediate updates. ValueCommitted / ValueCommit is a boilerplate event. I 
  wasn't aware of it in either versions of Flex until you mentioned it. It 
  seems as long as you don't need specific events, it is a good catch all to 
  use. :: 

[flexcoders] SWF Loader

2006-07-12 Thread flexnewbie06
I am trying to cast swf as MovieClip in Flex 2.0.  The SWF was 
created with Flash 8...I get an coercion error...is this something 
that can not be done or maybe I am doing it incorrectly.

I have posted the error and my code.  Any Suggestions?



TypeError: Error #1034: Type Coercion failed: cannot convert 
flash.display::[EMAIL PROTECTED] to flash.display.MovieClip.
at EPlayer/::test()
at EPlayer/___Button1_click()


CODE:


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
mx:Script
![CDATA[
import mx.core.FlexMovieClip;
import mx.controls.SWFLoader;

function test():void{
var myMovieClip:MovieClip = MovieClip(mySWF.content);
myMovieClip.gotoAndPlay(1);
}
]]
/mx:Script

mx:Panel height=406 width=525
paddingTop=10 paddingBottom=10 paddingLeft=10 paddingRight=10 
y=10 x=10

mx:SWFLoader id=mySWF source=RFP intro.swf height=338 
width=459/

/mx:Panel

mx:Button label=test x=300 y=424 click=test();/
/mx:Application






 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] Regarding Chart problem

2006-07-12 Thread Sachin Dharmapurikar










Hi All,



We are facing a strange problem in our application. Reproducing
the same problem is very easy with following steps:




 Open
 the dashboard sample provided with Flex Builder.
 Open
 results.xml file which has data to render.
 Except
 for one month remove all data from the xml. Final results.xml should look
 like - 
 
 


list



   
    month
name=Jan-04 revenue=400263
average=80052

   
  region
name=APAC revenue=46130/

   
  region name=Europe revenue=106976/

   
  region name=Japan
revenue=79554/

   
  region name=Latin America revenue=39252/

   
  region name=North America revenue=128351/

   
    /month

/list


 Now run the application again.
 You will neither see the point on the chart as well in data grid. For line
 chart I can understand the problem in plotting single point but data grid
 should show the single month data.




Please
confirm the right behavior and tell me if there is a work-around.



Regards,

Sachin




__._,_.___





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

2006-07-12 Thread palmer2012
This is something that I have been thinking about.

Most of the solutions out there are flash online or flash offline but not that 
supportive of 
both at the same time.  There are many cases where software needs to be an 
application 
and net savvy.  For example, creating an application using flex 2 where you run 
locally and 
access web services or flash remote objects as if you were in a browser. and 
being able to 
write the serialized objects to the local disk (encrypted).   It would then be 
possible that if 
there was internet service, the application could communicate to the remote 
location.  
Otherwise, it could use the local cache.  This brings the idea of a rich 
internet application 
out of the browser and onto the computer.  It would be great to have a 
framework that you 
can develop flex applications within.  And, it would have the functionality 
that Java Web 
Software provides such as checking for newer versions and downloads them.   

Given the current state of the player and possible solutions, maybe the 
approach would be 
to use the Gecko SDK and embed an optimized version of the Firefox browser as 
the basis 
of such framework.  I've never done this but it probably work (given the flash 
player is 
written using XPCOM interface).  The biggest advantage is that Adobe develops 
the player 
for this open source browser so it would be supported.  It would also give you 
the ability 
to develop flex apps for both OSX and Windows.   Updates would be done by 
downloading 
the swf's and having a version file on the server.   So, you could get all of 
the advantages 
of using the Active X without being tied to Microsoft and have all of the 
additional 
rendering power and support packages that it built into Firefox already.  And 
if it was 
open source with a license that allows commercial use, there could be an online 
community that expands the system functionality that is currently tied because 
of the wild 
web surfing. 

I think this solution would be really interesting.

Patrick



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

 It's dead in terms of it's no longer being developed, nor supported. In
 terms of use people still use it because of ActiveX garbage on sites that
 doesn't work with anything else. Kind of the anti-flash. ;-)
 
 On 7/11/06, ryanm [EMAIL PROTECTED] wrote:
 
   Open source != open specs.
  
  You can get source on the web if you look for it.
 
   Isn't IE on the Mac dead these days anyway ?
  
  Not even close. Funny how the dev geeks always seem to think so
  (wishful
  thinking?), but server stats say otherwise.
 
  ryanm
 
 
 
  --
  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/
 





[flexcoders] Array/ArrayCollection problem when migrating from Beta 3 to Flex 2 Final

2006-07-12 Thread sreedhar reddy



Hi,   This is Sreedhar.I am working with Flex Builder 2, Java Server Pages, and SQL Server 2005. Currently, I am working on "Search based on Keyword". When I execute the search through the JSP, I am able to see theresults. I am having a problem when displaying these results in a FlexDataGrid. If my search yields only one result, the result isdisplayedin the DataGrid properly. However, if there are multiple results, the DataGrid isblank. I was able to get this to work in Beta 3, but after migrating to the final version, it no longer works. I am pretty sure that the problem has to do with this change that is listed on the changes page: Arrays are wrapped in mx.utils.ArrayCollection instances. However, taking this into account, I still can't fix the problem./*FlexCode/  mx:HTTPService id="selectdata" url=""http://localhost:8080/Essential2/SelectData.jsp">http://localhost:8080/Essential2/SelectData.jsp"  mx:request  key1{key1.text}/key1  /mx:request /mx:HTTPService  mx:ArrayCollection id="emp" source="{mx.utils.ArrayUtil.toArray(selectdata.lastResult.userinfo)}"/mx:DataGrid x="10" width="731" showHeaders="true" bottom="10" top="210" id="filteredGrid" dataProvider="{emp}" click="displayimg();"  dropEnabled="false" dragEnabled="true" 
  mx:columns mx:Array  mx:DataGridColumn dataField="title" headerText="Title"/ mx:DataGridColumn dataField="rating" headerText="Rating"/ mx:DataGridColumn dataField="category"
 headerText="Category"/ mx:DataGridColumn dataField="filetype" headerText="File Type"/ mx:DataGridColumn dataField="price" headerText="Price"/ mx:DataGridColumn dataField="logopath" headerText="LogoPath" visible="false"/  mx:DataGridColumn dataField="subcategory" headerText="SubCategory" visible="false"/  mx:DataGridColumn dataField="websiteurl"
 headerText="WebsiteUrl" visible="false"/  mx:DataGridColumn dataField="feeddescription" headerText="FeedDescription" visible="false"/ mx:DataGridColumn dataField="filepath" headerText="FilePath" visible="false"/ mx:DataGridColumn dataField="keywords" headerText="Keywords" visible="false"/ mx:DataGridColumn dataField="contentrating" headerText="ConentRating" visible="false"/
  /mx:Array /mx:columns/mx:DataGrid  /***/  /*JSP Code**/%  while (rs.next())   {str1 = rs.getString(1); str2 = rs.getString(2); str3 = rs.getString(3); str4 = rs.getString(4); str5 = rs.getString(5); str6 = rs.getString(6); str7 = rs.getString(7); str8 = rs.getString(8); str9 = rs.getString(9); str10 =
 rs.getString(10); str11 = rs.getString(11); str12 = rs.getString(12); str13 = rs.getString(13);%  userinfoauthor%=str1%
 %=str2%/authortitle%=str3%/titlerating%=str4%/ratingcategory%=str5%/categoryfiletype%=str6%/filetypeprice%=str7%/pricelogopath%=str8%/logopathsubcategory%=str9%/subcategorywebsiteurl%=str10%/websiteurlfeeddescription%=str11%/feeddescriptionfilepath%=str12%/filepathkeywords%=keyword%/keywordscontentrating%=str13%/contentrating/userinfo  %}  %  //  If anyone can help out, I would greatly appreciate it.Thanks  Regards, 
  SreedharThanks  Regards,Sreedhar 
	

	
		 
Find out what India is talking about on  Yahoo! Answers India. 
So, what’s NEW about the NEW Yahoo! Messenger? Find out.
__._,_.___





--
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] Displaying data from servlet to the flex..

2006-07-12 Thread Mr.Unlimited



Dear People  Im new to Flex.Im using Flex Buider 2 Beta 3.and i dont have Data service.  Is there a way to send some data to javaServlet and bring back some data from the Servlet to the Flex Page?  Please Help me. Some snippets would be really helpful.Thanks And Regards  Kris 
		Do you Yahoo!? Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.
__._,_.___





--
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: Package with internal class problem

2006-07-12 Thread Bart Wttewaall



I guess I'm not permitted to delegate an internal class' public static variable through the public class' public static variable. Too bad, I had to create a lot of small classes for each cursor for the application to work. Still, I'm wondering if there's a way to package those classes to keep the amount of files to a minimum.
Anyone with a bright idea?Bart Wttewaall2006/7/11, Bart Wttewaall [EMAIL PROTECTED]:
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.



  






__,_._,___



Re: [flexcoders] About Integrating Flex Data service with Flex Builder....

2006-07-12 Thread hank williams



Oh, I see. You havent done anything but run the FDS installer.Well, are you familiar with running webapps in a servlet container? If not then it will be very difficult to help you because FDS is based on the assumption that you know how to use a container or a J2EE server. If you dont, you need read up. You need to understand what a .war file is, etc. I believe FDS comes with a container from adobe called jrun so you will need to install that version if you dont have a container. I didnt install with that one so I am not sure of the process but the first thing you want to do is get the samples running. Once you start jrun, the samples should be at 
http://localhost:8080/samples I think. Then, once you get samples up and running I would start looking at everything to see how they do it and then start adding my own code to gain an understanding. To do remoting, you are going to need to modify the 
remote-config.xml file which is in the WEB-INF/flex directory to add your own mappings for talking to your java objects.But again the first task is getting samples running.RegardsHank
On 7/12/06, Mr.Unlimited [EMAIL PROTECTED] wrote:



Hi Hank  Yea mite be big. but m new t this buddy. maybe my installation s wrong or somethin.. i installed Builder and then DS...can u jus telme how to use DS in builder.  Thnx for ur response. m sry if my ques s wrong.. pl lemme know if my ques s wrong..
regards  Krishank williams [EMAIL PROTECTED]
 wrote:  That is a *big* request. I'm afraid your going to ask more specific questions before I think anyone can be helpful. What do you have running so far? Have you gotten fds
 up and running with the sample apps?Hank  On 7/10/06, Mr.Unlimited 
[EMAIL PROTECTED] wrote:Hi..  Im new to flex. could u ppl help me in integrating flex ds with the builder.??
  M using Flex 2 beta 3 and FDS2.. in a standalone environment..   all i need is to get data from oracle database trhru java objects   Please HelpThanks and regards..
  kris!!   Yahoo! Music Unlimited - Access over 1 million songs. 
Try it free.  

		Do you Yahoo!? Next-gen email? Have it all with the 
 all-new Yahoo! Mail Beta.





__._,_.___





--
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] SWFLoader Issues

2006-07-12 Thread flexnewbie06
Does anyone have any experience using SWFLoader to load SWF in Flex 
APP?  Specifically, maniputlating the SWF.

Thanks.





 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] Re: FDS question

2006-07-12 Thread mthielman11
OK so what everyone is saying then is that FDS is not ideal for our situation 
and is only used 
if real time data pushing is needed?

So the bigger question is how does sending data back and forth with XML 
perform?  I have 
consistently heard that XML is inefficient and has a lot of overhead, so won't 
this lead to 
performance issues?  I know for example with all the ajax stuff we do we dont't 
even use XML 
just straight text as it is much quicker.





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

2006-07-12 Thread Dimitrios Gianninas





Not sure this quite works for FDS. Because the instance of 
the DataService that we have on the client side has special properties that let 
us know what is happening with that data service. So we need to use the 
DataService instance in various places in the application in order to get things 
done.

Right now I am hanging my DataService instance on one of my 
models, and everything works great. I am only looking to make things a bit 
cleaner.

Perhaps what you mentioned below works best for the Flex 
Messaging portion.

Dimitrios Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Tuesday, July 11, 2006 11:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 
ServiceLocator and FDS



This one's long!

Before I gave up on FDS, I had a few ideas that 
seemed to work, but were unforunately only 50% implemented in 
Cairngorm.

As people are finding, Cairngorm works great for 
the request / response model, but the push model, you go... wtf?

I've used the same ideas with Flash Media Server, 
which is also push, and it seems to hold. Additionally, because there is a 
significant amount of logic that happens in the actual process of pushed 
messages, everything from simple routing, message context creation (think 
Messages that are ValueObjects), and actual events that happen, a whole other 
class set really helps.

Here's a diagram of the circular pattern described 
below.
http://dev.jessewarden.com/flex/observer_pattern.gif

I used an Observer pattern.Basically, 
one class "watches" the Consumer and Producer services. These exist in the 
ServiceLocator. They, like Delegates, get the service from that 
class. Cairngorm handles the sends and even has the Delegate's handle the 
acknowledge messages. The Observers handle the pushes. Basically 
Cairngorm handles the Producer, the Observer class(es) handles the 
Consumer.

Cairngorm is damn good at the Producer since it 
technically is a request / response. "Please send the message. Ok, 
it sent."

The Observer, however, is kind of weird. It 
extends a base class. This is done for 2 reasons. First, it 
abstracts away the access to the ServiceLocator. Second, it also abstracts 
away the onMessage; this is a protected method that is called for you with the 
event passed in. Extending this class allows you to add context and not 
worry about plumbing.

For example, if you are connecting toa simple 
chat channel in your FDS that deals mainly with text based messages, you'd 
extend the ObserverAbstract to be "ChatObserver" or something to that 
effect. It's onMessage handler would process all messages that came 
in. Based on their headers  body, he'd know what type of things to 
look for, in this case chat specific messages; "someone joined", "someone sent a 
private message to you", etc. Because this class is specific to those 
types of messages, it can ignore the rest. This also allows the creation 
of other Observers that do specific things for specific channels.

There is one additional thing, though, that these 
Observers can do. They too can dispatch events! This means they can 
do the same thing everything else in the Cairngorm world can do; dispath Events 
to run Commands to modifiy data in the ModelLocator. In this case, 
updating chat text, showing a new private chat window, etc.

The modification to ServiceLocator is minimal; you 
add the method, and put the destination inside as a constant.

Cairngorm's Delegate's then send messages via the 
Producer, begotten from the ServiceLocator, and fire their onResults when they 
get a successful Acknowledge message.

The setup goes something like this; you add just 
one extra tag:

business:Services id="dataServices" 
xmlns:business="com.jxl.project.bizznass.*" 
/control:Controller id="controller" 
xmlns:control="com.jxl.project.controller.*" 
/observers:LobbyObserver serviceName="jxlConnection" 
/

You should recognize the top 2; they're used in 
your Application class. The 3rd one is the Observer. Works pretty 
well.

now, for the record, my boss hates this. 
While he likes the Observer part, and digs how Observers can also fire off 
Commands via Events, he doesn't like how I've created them. There are some 
other tight coupling things he mentioned too, but I can't remember them right 
now. Bottom line is, one of his many ideas was to have a stateful (read 
"not stateless") Command actually create the Observer insteadof the 
Application. You can then initiate thisvia an Event class as 
regular.Events couldhave theCommand handle calling 
methods on the Observer, much like regular Commands call methods on the 
Delegate.

I didn't like the thought of a 
statefulCommand, but I totally understood how his ways, which were better 
described by him than me, were less coupled, and more integrated into Cairngorm 
asa whole.The whole"Observer fires callbacks on the 
Command that never dies" was kind of neat, 

[flexcoders] Dynamic ItemRenderer

2006-07-12 Thread ROUSSELIE David ROSI/SIFAC

Hi,

I would like to use the List component with different type of data in
its dataProvider and adapt each itemRenderer depending on the type of
the data item :

var dp: Array = [new A(), new B()]
...
mx:List dataProvider={dp} ... /

How can I use a AItemRenderer to handle A data type elements and
BItemRenderer to handle B data type elements ?

Thanks,

-- 
David Rousselie


Ce message et toutes les pieces jointes (ci-apres le message) sont 
confidentiels et etablis a l'intention exclusive de
ses destinataires.
Toute utilisation ou diffusion non autorisee est interdite.
Tout message electronique est susceptible d'alteration. Le Groupe France 
Telecom decline toute responsabilite au titre de
ce message s'il a ete altere, deforme ou falsifie.
Si vous n'etes pas destinataire de ce message, merci de le detruire 
immediatement et d'avertir l'expediteur.
*
This message and any attachments (the message) are confidential and intended 
solely for the addressees. Any unauthorised
use or dissemination is prohibited.
Messages are susceptible to alteration. France Telecom Group shall not be 
liable for the message if altered, changed or
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.



 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] [Flex2] Cairngorm question

2006-07-12 Thread JesterXL
You don't need a Delegate.  Before, functions were called in the scope of 
the calling object, but now they are called in the scope of where they are 
defined.

Thus, this:

myButton.addEventListener(click, Delegate.create(this, onClick));

now becomes:

myButton.addEventListener(click, onClick);

No more need!

- Original Message - 
From: Thomas Rühl -akitogo- [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 12, 2006 9:05 AM
Subject: [flexcoders] [Flex2] Cairngorm question



Hi,
I'm just walking through Steven's article about Cairngorm on the Adobe
site again and I wonder where the mx.utils.Delegate class can be found.
Has it been renamed or replaced in some way? How can I create a Delegate
now?

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








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

2006-07-12 Thread JesterXL





Yeah, sounds like what you have for DataService 
works. I haven't spent time with DataService.

- Original Message - 
From: Dimitrios Gianninas 

To: flexcoders@yahoogroups.com 
Sent: Wednesday, July 12, 2006 9:11 AM
Subject: RE: [flexcoders] Cairngorm ServiceLocator and 
FDS

Not sure this quite works for FDS. Because the instance of 
the DataService that we have on the client side has special properties that let 
us know what is happening with that data service. So we need to use the 
DataService instance in various places in the application in order to get things 
done.

Right now I am hanging my DataService instance on one of my 
models, and everything works great. I am only looking to make things a bit 
cleaner.

Perhaps what you mentioned below works best for the Flex 
Messaging portion.

Dimitrios Gianninas
RIADeveloper
Optimal 
Payments Inc.



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Tuesday, July 11, 2006 11:29 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Cairngorm 
ServiceLocator and FDS



This one's long!

Before I gave up on FDS, I had a few ideas that 
seemed to work, but were unforunately only 50% implemented in 
Cairngorm.

As people are finding, Cairngorm works great for 
the request / response model, but the push model, you go... wtf?

I've used the same ideas with Flash Media Server, 
which is also push, and it seems to hold. Additionally, because there is a 
significant amount of logic that happens in the actual process of pushed 
messages, everything from simple routing, message context creation (think 
Messages that are ValueObjects), and actual events that happen, a whole other 
class set really helps.

Here's a diagram of the circular pattern described 
below.
http://dev.jessewarden.com/flex/observer_pattern.gif

I used an Observer pattern.Basically, 
one class "watches" the Consumer and Producer services. These exist in the 
ServiceLocator. They, like Delegates, get the service from that 
class. Cairngorm handles the sends and even has the Delegate's handle the 
acknowledge messages. The Observers handle the pushes. Basically 
Cairngorm handles the Producer, the Observer class(es) handles the 
Consumer.

Cairngorm is damn good at the Producer since it 
technically is a request / response. "Please send the message. Ok, 
it sent."

The Observer, however, is kind of weird. It 
extends a base class. This is done for 2 reasons. First, it 
abstracts away the access to the ServiceLocator. Second, it also abstracts 
away the onMessage; this is a protected method that is called for you with the 
event passed in. Extending this class allows you to add context and not 
worry about plumbing.

For example, if you are connecting toa simple 
chat channel in your FDS that deals mainly with text based messages, you'd 
extend the ObserverAbstract to be "ChatObserver" or something to that 
effect. It's onMessage handler would process all messages that came 
in. Based on their headers  body, he'd know what type of things to 
look for, in this case chat specific messages; "someone joined", "someone sent a 
private message to you", etc. Because this class is specific to those 
types of messages, it can ignore the rest. This also allows the creation 
of other Observers that do specific things for specific channels.

There is one additional thing, though, that these 
Observers can do. They too can dispatch events! This means they can 
do the same thing everything else in the Cairngorm world can do; dispath Events 
to run Commands to modifiy data in the ModelLocator. In this case, 
updating chat text, showing a new private chat window, etc.

The modification to ServiceLocator is minimal; you 
add the method, and put the destination inside as a constant.

Cairngorm's Delegate's then send messages via the 
Producer, begotten from the ServiceLocator, and fire their onResults when they 
get a successful Acknowledge message.

The setup goes something like this; you add just 
one extra tag:

business:Services id="dataServices" 
xmlns:business="com.jxl.project.bizznass.*" 
/control:Controller id="controller" 
xmlns:control="com.jxl.project.controller.*" 
/observers:LobbyObserver serviceName="jxlConnection" 
/

You should recognize the top 2; they're used in 
your Application class. The 3rd one is the Observer. Works pretty 
well.

now, for the record, my boss hates this. 
While he likes the Observer part, and digs how Observers can also fire off 
Commands via Events, he doesn't like how I've created them. There are some 
other tight coupling things he mentioned too, but I can't remember them right 
now. Bottom line is, one of his many ideas was to have a stateful (read 
"not stateless") Command actually create the Observer insteadof the 
Application. You can then initiate thisvia an Event class as 
regular.Events couldhave theCommand handle calling 
methods on the Observer, much like regular Commands call methods on the 
Delegate.

I 

Re: [flexcoders] Re: FileReference and mimetypes

2006-07-12 Thread Phil Marston






Well - it's a thought (that I hadn't had ;-) ) seems a wasteful
exercise to have to go through

;-)

Tom Chiverton wrote:

  On Wednesday 12 July 2006 12:27, Phil Marston wrote:
  
  
you mean like http://host.com/getafile.php?23535 which is what I'm doing
at the moment

the server still wouldn't know the mimetype to send though - I supply

  
  
Ahh.
Dump it to disk first ?

  


-- 
__ 
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] HTTPS and Remote passwords

2006-07-12 Thread Tom Chiverton
First question, to get you all started.
If my CF server is running SSL over HTTPS port 443, what do I have to change 
in services-config.xml to make it work ?
Changing
endpoint uri=http://archiving.localdomain:80/flex2gateway/; 
class=flex.messaging.endpoints.AMFEndpoint/
to
endpoint uri=https://archiving.localdomain:443/flex2gateway/; 
class=flex.messaging.endpoints.AMFEndpoint/
(or .SecureAMFEndpoint)
just makes Apache moan:
[Wed Jul 12 14:13:07 2006] [info] SSL handshake failed: HTTP spoken on HTTPS 
port; trying to send HTML error page
[Wed Jul 12 14:13:07 2006] [info] SSL Library Error: 336027804 
error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request speaking HTTP 
to HTTPS port!?

Secondly, if said endpoint is set to use basic authentication, I thought I 
could setRemoteCredtionals() to have Flex enter the details without asking 
the user, but despite setting that (and with out the 'Remote'), the web 
browser still pops up a prompt - what could be up ?
-- 
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] Dynamic ItemRenderer

2006-07-12 Thread Jean-Luc ESSER





I guess the best way of handling this would be to 
have a generic itemRenderer and load the corresponding components inside it, 
depending on a data value passed to the List dataProvider.
That's how i would do it.

You can also do it in the List container via 
actionScript if you want, by setting your itemRenderer depending on your var 
:
if (var == A)
myList.itemRenderer = 
newClassFactory(com.yoursite.itemRendererA);

Best,
Jean-Luc.


  - Original Message - 
  From: 
  ROUSSELIE David ROSI/SIFAC 
  
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 12, 2006 2:28 
  PM
  Subject: [flexcoders] Dynamic 
  ItemRenderer
  
  
  Hi,I would like to use the List component with different type 
  of data inits dataProvider and adapt each itemRenderer depending on the 
  type ofthe data item :var dp: Array = [new A(), new 
  B()]...mx:List dataProvider="{dp}" ... /How can I 
  use a "AItemRenderer" to handle A data type elements and"BItemRenderer" to 
  handle B data type elements ?Thanks,-- David 
  RousselieCe message 
  et toutes les pieces jointes (ci-apres le "message") sont confidentiels et 
  etablis a l'intention exclusive deses destinataires.Toute utilisation 
  ou diffusion non autorisee est interdite.Tout message electronique est 
  susceptible d'alteration. Le Groupe France Telecom decline toute 
  responsabilite au titre dece message s'il a ete altere, deforme ou 
  falsifie.Si vous n'etes pas destinataire de ce message, merci de le 
  detruire immediatement et d'avertir 
  l'expediteur.*This 
  message and any attachments (the "message") are confidential and intended 
  solely for the addressees. Any unauthoriseduse or dissemination is 
  prohibited.Messages are susceptible to alteration. France Telecom Group 
  shall not be liable for the message if altered, changed orfalsified.If 
  you are not the intended addressee of this message, please cancel it 
  immediately and inform the 
  sender.
__._,_.___





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








   



  




  
  
  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-12 Thread ben.clinkinbeard
Bumping this up in the hopes that someone (possibly from Adobe?) can
offer an alternative, or at least an explanation of why this is the
case. As it stands now, I will have to have these lines:

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

sprinkled throughout my app, which sucks. Why can't use namespace
point to an actual Namepsace object? I feel like this is a glaring
hole in Flex's XML capabilities.

Thanks,
Ben

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

2006-07-12 Thread JesterXL
Here's a performance comparison:
http://blogs.adobe.com/mikepotter/2006/07/php_and_flex_js.html

- Original Message - 
From: mthielman11 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 12, 2006 6:52 AM
Subject: [flexcoders] Re: FDS question


OK so what everyone is saying then is that FDS is not ideal for our 
situation and is only used
if real time data pushing is needed?

So the bigger question is how does sending data back and forth with XML 
perform?  I have
consistently heard that XML is inefficient and has a lot of overhead, so 
won't this lead to
performance issues?  I know for example with all the ajax stuff we do we 
dont't even use XML
just straight text as it is much quicker.






--
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] HTTPS and Remote passwords

2006-07-12 Thread Tom Chiverton
On Wednesday 12 July 2006 14:28, Tom Chiverton wrote:
 Secondly

All right, fixed that, my bad :-)

And word on HTTPS endpoints ?

-- 
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: SWF Loader

2006-07-12 Thread JesterXL
Yeah, basically.  It's asynchronus communication.  It's not as cool as 
myLoadedSWF.gotoAndPlay(2), but those are the breaks.

- Original Message - 
From: flexnewbie06 [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 12, 2006 9:37 AM
Subject: [flexcoders] Re: SWF Loader


Thank you for your response...I am not very familiar with
LocalConnection, however I have a general understanding...would I
need to create a sender lc in my Flex app and add a receiver lc
in my SWF to make the two communicate?


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

 It's an AVM1Movie, not a MovieClip.  Unfortunately, this prevents
you from
 talking to the SWF; you have to use LocalConnection, or some other
binary
 socket way.

 Have you tried with Flash 9 Alpha yet?  I haven't had time but I
bet this'd
 work.

 - Original Message - 
 From: flexnewbie06 [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, July 12, 2006 8:48 AM
 Subject: [flexcoders] SWF Loader


 I am trying to cast swf as MovieClip in Flex 2.0.  The SWF was
 created with Flash 8...I get an coercion error...is this something
 that can not be done or maybe I am doing it incorrectly.

 I have posted the error and my code.  Any Suggestions?



 TypeError: Error #1034: Type Coercion failed: cannot convert
 flash.display::[EMAIL PROTECTED] to flash.display.MovieClip.
 at EPlayer/::test()
 at EPlayer/___Button1_click()


 CODE:


 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
 layout=absolute
 mx:Script
 ![CDATA[
 import mx.core.FlexMovieClip;
 import mx.controls.SWFLoader;

 function test():void{
 var myMovieClip:MovieClip = MovieClip(mySWF.content);
 myMovieClip.gotoAndPlay(1);
 }
 ]]
 /mx:Script

 mx:Panel height=406 width=525
 paddingTop=10 paddingBottom=10 paddingLeft=10
paddingRight=10
 y=10 x=10

 mx:SWFLoader id=mySWF source=RFP intro.swf height=338
 width=459/

 /mx:Panel

 mx:Button label=test x=300 y=424 click=test();/
 /mx:Application







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







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




RE: [flexcoders] Change Text Color in FlexBuilder 2 Editors

2006-07-12 Thread Jack W. Caldwell





Darron:

Thanks,

Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Darron J. 
SchallSent: Wednesday, July 12, 2006 6:37 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Change Text Color 
in FlexBuilder 2 Editors


You have to tweak an XML file to change the syntax coloring in FlexBuilder 
2. It's undocumented / unsupported, but you can find more information 
about it here: http://www.morearty.com/blog/2006/05/22/undocumented-flex-builder-changing-the-syntax-coloring/-djwc_wensan 
wrote: 

  
  Under Preferences . . General . . Appearance there is Colors and 
  Fonts, but that does not having anything to do with displaying your 
  code in a different color than the default.So, what am I 
  missing?Can someone point me the right direction?Thanking you 
  in 
advance,Jack

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Mac equivalent of ActiveX

2006-07-12 Thread palmer2012

The idea of bringing the rich internet application out of the browser and onto 
the 
computer would extend the possibilities of flex.  It would be great to have a 
framework 
that you can develop flex applications within that is cross platform.  And, it 
would have the 
functionality that Java Web Software provides such as checking for newer 
versions and 
downloads them.

Given the current state of the player and possible solutions, maybe the 
approach would be 
to use the Gecko SDK and embed an optimized version of the Firefox browser as 
the basis 
of such framework.  I've never done this but it should work if the flash player 
was written 
in XPCOM.  The biggest advantage is that Adobe develops the player for this 
open source 
browser so it would be supported.  It would also give you the ability to 
develop flex apps 
for both OSX and Windows.   Updates would be done by downloading the swf's and 
having 
a version file on the server.   So, you could get all of the advantages of 
using the Active X 
without being tied to Microsoft and have all of the additional rendering power 
and support 
packages that it built into Firefox already.  And if it was open source with a 
license that 
allows commercial use, there could be an online community that expands the 
system 
functionality that is currently tied because of wild web surfing.

I think this solution would be really interesting.

Patrick


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

 On 7/11/06, FineLine [EMAIL PROTECTED] wrote:
 
  Thanks ryanm, I hadn't heard of this implementation before, probably
  because
  not much has been published about it (that I can find) since its release
  in
  1996. This doesn't fill me with confidence that it would be a workable
  solution for embedding Flash content in native OSX apps.
 
 
 On a mac you wouldnt use activeX but the flash mac plugin. Quite a few
 companies do this in order to make what are called projectors, which are
 stand alone shells that let you create standalone apps that run via flash.
 ActiveX really *is* dead on the mac. The two primary browsers dont support
 it and IE hasnt been upgraded in years. An open source project that does
 this is called screenweaver. If you want to make your own, you might want to
 look at their code as a base. Otherwise I would suggest using a projector
 like screenweaver or one from mdm or northcode. The will allow you to
 integrate any native platform stuff you need including C or C++.
 
 Regards
 Hank
 
 
 
 I guess this isn't really what Flex is made for anyway. It just seems like a
  nice tool to develop visual components that can be used inside other
  programs. It works fine on Windows with an ActiveX host (in my case, Omnis
  Studio), but I can't see a way on Mac. Presumably, even if I did build an
  ActiveX integration layer, I would still need to recompile the Flash
  Player
  ActiveX control from the source on Mac anyway - not something we have
  access
  to.
 
  Anyway, thanks for the idea, I learnt something new.
 
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
  Behalf Of ryanm
  Sent: Wednesday, 12 July 2006 5:27 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Mac equivalent of ActiveX
 
   Open source != open specs.
  
  You can get source on the web if you look for it.
 
   Isn't IE on the Mac dead these days anyway ?
  
  Not even close. Funny how the dev geeks always seem to think so
  (wishful
 
  thinking?), but server stats say otherwise.
 
  ryanm
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 








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

* 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] My authentication help

2006-07-12 Thread Nick Collins



I saw someone else posting about having custom authentication, but my issue is a bit different. I have an authentication script done in CFMX7 that seems to be working on the coldfusion side. Essentially it checks to see if the user is valid, if yes, it looks up the role they are assigned and returns that role along with a boolean value of TRUE that they are a valid user. If they're not a valid user, it returns FALSE. Simple enough. However, my problem is in integrating it on the Flex2 side. If I have the CFMX script return nothing when the username or password is invalid, it works and doesn't let them in. However, if I actually have it return the value of FALSE, for some reason it still lets them in. Not good. :-)
Here's what I've got for my script, and as you can see, for the most part it's the same as what the CF Application Wizard generates.mx:Script ![CDATA[  import mx.events.ValidationResultEvent
; import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; import mx.utils.ObjectUtil; import mx.controls.Alert;private var lso:SharedObject;
  private function initApp():void {  this.lso = SharedObject.getLocal(auth);if( this.lso.data['email'] != null ){
   this.email.text = this.lso.data['email'];   this.rememberLogin.selected = true;}  if( this.lso.data['password'] != null ){
   this.password.text = this.lso.data['password'];   this.rememberLogin.selected = true;} }  private function isValid():Boolean
 {  var emailValidResult:ValidationResultEvent = this.emailValidate.validate(this.email.text);  var pswdValidResult:ValidationResultEvent = this.pswdValidate.validate(this.password.text
);if (emailValidResult.type==ValidationResultEvent.VALID  pswdValidResult.type==ValidationResultEvent.VALID)   {   return true; 
  }  else  {   return false;   }   }   
 private function authenticateUser():void {if( isValid() )   {  authManager.login( this.email.text, this.password.text );   }
 }   private function errorMessage(msg:String):void { //Alert.show( ObjectUtil.toString(event.message) ); this.errorMsg.text
 = msg; this.errorMsg.height = 15; this.errorMsg.visible = true; }   private function serverFault(event:FaultEvent):void { errorMessage(
event.message['message']); } private function login_result(event:ResultEvent):void {  // login successful, remember the user.
  if( Boolean(event.result) )  {   if( this.rememberLogin.selected )   {this.lso.data['email'] = this.email.text;
this.lso.data['password'] = this.password.text;}   else   {this.lso.data['email'] = null;
this.lso.data['password'] = null; }  this.dispatchEvent( new Event('loginSuccessful') );  }  else
  {   // login didn't work. show message   errorMessage(Login unsuccessful);   } } ]] /mx:Script
In the  login_result function it's checking the boolean result from the RemoteObject, yes? So how come when the remoting returns FALSE it still goes through? 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: [Junk E-Mail - LOW] [flexcoders] My authentication help

2006-07-12 Thread Shannon Hicks





Can we see the CFC?

Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Nick 
CollinsSent: Wednesday, July 12, 2006 9:18 AMTo: 
flexcodersSubject: [Junk E-Mail - LOW] [flexcoders] My authentication 
help


I saw someone else posting about having custom authentication, but my issue 
is a bit different. I have an authentication script done in CFMX7 that 
seems to be working on the coldfusion side. Essentially it checks to see if the 
user is valid, if yes, it looks up the role they are assigned and returns that 
role along with a boolean value of TRUE that they are a valid user. If they're 
not a valid user, it returns FALSE. Simple enough. However, my problem is in 
integrating it on the Flex2 side. If I have the CFMX script return nothing when 
the username or password is invalid, it "works" and doesn't let them in. 
However, if I actually have it return the value of FALSE, for some reason it 
still lets them in. Not good. :-) Here's what I've got for my script, 
and as you can see, for the most part it's the same as what the CF Application 
Wizard 
generates.mx:Script 
![CDATA[  
import mx.events.ValidationResultEvent 
; import 
mx.rpc.events.ResultEvent; 
import 
mx.rpc.events.FaultEvent; 
import 
mx.utils.ObjectUtil; 
import 
mx.controls.Alert; 
   private var 
lso:SharedObject; 
 
 private 
function 
initApp():void 
{ 
 this.lso = 
SharedObject.getLocal("auth");  
  if( this.lso.data['email'] != null 
)
{  
  this.email.text = 
this.lso.data['email']; 
  this.rememberLogin.selected = 
true;   
 
} 
 if( this.lso.data['password'] != null ) 
   { 
 
  this.password.text = 
this.lso.data['password']; 
  this.rememberLogin.selected = 
true;   
 
} 
} 
 private 
function isValid():Boolean 
 
{ 
 var emailValidResult:ValidationResultEvent = 
this.emailValidate.validate(this.email.text); 
 var pswdValidResult:ValidationResultEvent = 
this.pswdValidate.validate(this.password.text 
); 
 
 
 if (emailValidResult.type==ValidationResultEvent.VALID 
 

pswdValidResult.type==ValidationResultEvent.VALID) 
 
 
{ 
  return true; 
 
 
} 
 
else 
 
{ 
  return false; 
 
 
} 
 
 
} 
 
 
 private 
function 
authenticateUser():void 
{
if( isValid() ) 
  
{ 
 authManager.login( this.email.text, this.password.text 
); 
 
 } 
 } 
 
 private 
function 
errorMessage(msg:String):void 
{ 
//Alert.show( ObjectUtil.toString(event.message) 
); 
this.errorMsg.text = 
msg; 
this.errorMsg.height = 
15; 
this.errorMsg.visible = 
true; 
}  
 private 
function 
serverFault(event:FaultEvent):void 
{ 
errorMessage( 
event.message['message']); 
} 
 
 
 
 private 
function 
login_result(event:ResultEvent):void 
{ 
 // login successful, remember the user. 
 
 if( Boolean(event.result) 
) 
 { 
 
 if( this.rememberLogin.selected ) 
 
 {  
 
 this.lso.data['email'] = 
this.email.text;  
 
 this.lso.data['password'] = 
this.password.text;  
 
 } 
 
 else 
 
 {  
 
 this.lso.data['email'] = null; 
 
 
 this.lso.data['password'] = null; 
  
 
 } 
 
 
 

  this.dispatchEvent( new 
Event('loginSuccessful') 
); 
 
} 
 else 
 
 
{ 
  // login didn't work. show 
message 
  errorMessage("Login 
unsuccessful"); 
 
 
} 
} ]] 
/mx:Script In the login_result function it's checking the 
boolean result from the RemoteObject, yes? So how come when the remoting returns 
FALSE it still goes through? Any ideas?
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/386 - Release Date: 
7/12/2006
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



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


Re: [flexcoders] Re: Mac equivalent of ActiveX

2006-07-12 Thread Nick Collins



Patrick... gee that sounds an awful lot like... Apollo :-)If you're not familar with it, check it outhttp://labs.adobe.com/wiki/index.php/Apollo
On 7/11/06, palmer2012 [EMAIL PROTECTED] wrote:













  



This is something that I have been thinking about.

Most of the solutions out there are flash online or flash offline but not that supportive of 
both at the same time.  There are many cases where software needs to be an application 
and net savvy.  For example, creating an application using flex 2 where you run locally and 
access web services or flash remote objects as if you were in a browser. and being able to 
write the serialized objects to the local disk (encrypted).   It would then be possible that if 
there was internet service, the application could communicate to the remote location.  
Otherwise, it could use the local cache.  This brings the idea of a rich internet application 
out of the browser and onto the computer.  It would be great to have a framework that you 
can develop flex applications within.  And, it would have the functionality that Java Web 
Software provides such as checking for newer versions and downloads them.   

Given the current state of the player and possible solutions, maybe the approach would be 
to use the Gecko SDK and embed an optimized version of the Firefox browser as the basis 
of such framework.  I've never done this but it probably work (given the flash player is 
written using XPCOM interface).  The biggest advantage is that Adobe develops the player 
for this open source browser so it would be supported.  It would also give you the ability 
to develop flex apps for both OSX and Windows.   Updates would be done by downloading 
the swf's and having a version file on the server.   So, you could get all of the advantages 
of using the Active X without being tied to Microsoft and have all of the additional 
rendering power and support packages that it built into Firefox already.  And if it was 
open source with a license that allows commercial use, there could be an online 
community that expands the system functionality that is currently tied because of the wild 
web surfing. 

I think this solution would be really interesting.

Patrick

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

 It's dead in terms of it's no longer being developed, nor supported. In
 terms of use people still use it because of ActiveX garbage on sites that
 doesn't work with anything else. Kind of the anti-flash. ;-)
 
 On 7/11/06, ryanm [EMAIL PROTECTED] wrote:
 
   Open source != open specs.
  
  You can get source on the web if you look for it.
 
   Isn't IE on the Mac dead these days anyway ?
  
  Not even close. Funny how the dev geeks always seem to think so
  (wishful
  thinking?), but server stats say otherwise.
 
  ryanm
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

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

  Yahoo! Groups Links
 
 
 
 
 
 
 
 



  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread Brian Deitte
You can reference a namespace object if you put this in a file:

package mypackage {
public namespace DoSearch =
http://site.com/BackOffice/DoSearch;; 
}

import mypackage.DoSearch in each class where you want to use it, and
then use namespace DoSearch.

-Brian

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
 Sent: Wednesday, July 12, 2006 9:47 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Addressing buried children in XML 
 with default namespace- an easier way?
 
 Bumping this up in the hopes that someone (possibly from Adobe?) can
 offer an alternative, or at least an explanation of why this is the
 case. As it stands now, I will have to have these lines:
 
 namespace foo = http://site.com/BackOffice/DoSearch;;
 use namespace foo;
 
 sprinkled throughout my app, which sucks. Why can't use namespace
 point to an actual Namepsace object? I feel like this is a glaring
 hole in Flex's XML capabilities.
 
 Thanks,
 Ben
 
  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 
 ~-- 
 Yahoo! Groups gets a make over. See the new email design.
 http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
 --
 --~- 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links
 
 
 
  
 
 
 
 


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

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

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

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




Re: [Junk E-Mail - LOW] [flexcoders] My authentication help

2006-07-12 Thread Tom Chiverton
On Wednesday 12 July 2006 15:31, Shannon Hicks wrote:
 Can we see the CFC?

Shannon could also turn on the flex gateway debug (bottom of the services xml 
file) and double-check what is coming back.

IIRC, return bools from CF appear as strings in AS.
-- 
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 ~-- 
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: [Junk E-Mail - LOW] [flexcoders] My authentication help

2006-07-12 Thread Nick Collins



cffunction name=login access=remote returntype=boolean cfargument name=email required=false/ cfargument name=password required=false/
 CFQUERY name=GetUser datasource=#DSN#   SELECT tblSFUsers.UserID, tblSFUsers.User_Name, tblSFUsers.Password   FROM tblSFUsers   WHERE User_Name= cfqueryparam value=#arguments.email# cfsqltype=cf_sql_varchar
   AND Password = cfqueryparam value=#Hash(arguments.password)# cfsqltype=cf_sql_varchar /CFQUERY cfset ucomparison = Compare(arguments.email, getuser.user_name
)/ cfset pcomparison = Compare(Hash(arguments.password), getuser.password)/  CFIF GetUser.recordcount gt 0 AND ucomparison eq 0 AND pcomparison eq 0   cfquery name=GetSessionSecurity datasource=#DSN#
SELECT tblSFAccessLevels.LevelID, tblSFSecurity_Framework.levelid, tblSFSecurity_Framework.useridFROM tblSFAccessLevels INNER JOIN tblSFSecurity_Framework ON tblSFAccessLevels.LevelID
 = tblSFSecurity_Framework.levelidWHERE tblSFSecurity_Framework.userid = cfqueryparam value=#getuser.userid# cfsqltype=cf_sql_integer   /cfquery
  cfset userRole = #valuelist(GetSessionSecurity.levelid)#  cfreturn true CFELSE  cfreturn false /CFIF/cffunction
On 7/12/06, Shannon Hicks [EMAIL PROTECTED] wrote:













  






Can we see the CFC?

Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Nick 
CollinsSent: Wednesday, July 12, 2006 9:18 AMTo: 
flexcodersSubject: [Junk E-Mail - LOW] [flexcoders] My authentication 
help


I saw someone else posting about having custom authentication, but my issue 
is a bit different. I have an authentication script done in CFMX7 that 
seems to be working on the coldfusion side. Essentially it checks to see if the 
user is valid, if yes, it looks up the role they are assigned and returns that 
role along with a boolean value of TRUE that they are a valid user. If they're 
not a valid user, it returns FALSE. Simple enough. However, my problem is in 
integrating it on the Flex2 side. If I have the CFMX script return nothing when 
the username or password is invalid, it works and doesn't let them in. 
However, if I actually have it return the value of FALSE, for some reason it 
still lets them in. Not good. :-) Here's what I've got for my script, 
and as you can see, for the most part it's the same as what the CF Application 
Wizard 
generates.mx:Script 
![CDATA[  
import mx.events.ValidationResultEvent 
; import 
mx.rpc.events.ResultEvent; 
import 
mx.rpc.events.FaultEvent; 
import 
mx.utils.ObjectUtil; 
import 
mx.controls.Alert; 
   private var 
lso:SharedObject; 
 
 private 
function 
initApp():void 
{ 
 this.lso = 
SharedObject.getLocal(auth);  
  if( this.lso.data['email'] != null 
)
{  
  this.email.text = 
this.lso.data['email']; 
  this.rememberLogin.selected = 
true;   
 
} 
 if( this.lso.data['password'] != null ) 
   { 
 
  this.password.text = 
this.lso.data['password']; 
  this.rememberLogin.selected = 
true;   
 
} 
} 
 private 
function isValid():Boolean 
 
{ 
 var emailValidResult:ValidationResultEvent = 
this.emailValidate.validate(this.email.text); 
 var pswdValidResult:ValidationResultEvent = 
this.pswdValidate.validate(this.password.text 
); 
 
 
 if (emailValidResult.type==ValidationResultEvent.VALID 
 

pswdValidResult.type==ValidationResultEvent.VALID) 
 
 
{ 
  return true; 
 
 
} 
 
else 
 
{ 
  return false; 
 
 
} 
 
 
} 
 
 
 private 
function 
authenticateUser():void 
{
if( isValid() ) 
  
{ 
 authManager.login( this.email.text, this.password.text 
); 
 
 } 
 } 
 
 private 
function 
errorMessage(msg:String):void 
{ 
//Alert.show( ObjectUtil.toString(event.message) 
); 
this.errorMsg.text = 
msg; 
this.errorMsg.height = 
15; 
this.errorMsg.visible = 
true; 
}  
 private 
function 
serverFault(event:FaultEvent):void 
{ 
errorMessage( 
event.message['message']); 
} 
 
 
 
 private 
function 
login_result(event:ResultEvent):void 
{ 
 // login successful, remember the user. 
 
 if( Boolean(event.result) 
) 
 { 
 
 if( this.rememberLogin.selected ) 
 
 {  
 
 this.lso.data['email'] = 
this.email.text;  
 
 this.lso.data['password'] = 
this.password.text;  
 
 } 
 
 else 
 
 {  
 
 this.lso.data['email'] = null; 
 
 
 this.lso.data['password'] = null; 
  
 
 } 
 
 
 

  this.dispatchEvent( new 
Event('loginSuccessful') 
); 
 
} 
 else 
 
 
{ 
  // login didn't work. show 
message 
  errorMessage(Login 
unsuccessful); 
 
 
} 
} ]] 
/mx:Script In the login_result function it's checking the 
boolean result from the RemoteObject, yes? So how come when the remoting returns 
FALSE it still goes through? Any ideas?
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/386 - Release Date: 
7/12/2006


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

  















__._,_.___





--
Flexcoders Mailing List
FAQ: 

RE: [flexcoders] SWFLoader Issues

2006-07-12 Thread Stephen Gilson





There are a couple of examples in the doc that might 
help:

http://livedocs.macromedia.com/flex/2/docs/0543.html

http://livedocs.macromedia.com/flex/2/docs/0975.html

Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
flexnewbie06Sent: Wednesday, July 12, 2006 7:25 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] SWFLoader 
Issues


Does anyone have any experience using SWFLoader to load SWF in Flex APP? 
Specifically, maniputlating the SWF.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.



  






__,_._,___



Re: [flexcoders] [Flex2] Cairngorm question

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

Sorry, but I'm still having questions...
Following the Cairngorm architecture, I created a LoginDelegate class. 
It should call the service and the originating LoginCommand got its 
onFault() and onResult() methods and therefore implementes the Responder 
interface.

However, defining this in the LoginDelegate...
public function authenticateUser():void
{
var call:AsyncToken = service.authenticateUser();
call.addResponder(IResponder(this.responder.onFault()));
call.addResponder(IResponder(this.responder.onResult()));
}

results in both, calling the onFault and onResult methods... why? How 
can I cope with that?

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
  




JesterXL wrote:

 You don't need a Delegate. Before, functions were called in the scope of
 the calling object, but now they are called in the scope of where they 
 are
 defined.

 Thus, this:

 myButton.addEventListener(click, Delegate.create(this, onClick));

 now becomes:

 myButton.addEventListener(click, onClick);

 No more need!

 - Original Message -
 From: Thomas Rühl -akitogo- [EMAIL PROTECTED] 
 mailto:thomas.ruehl%40akitogo.com
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 Sent: Wednesday, July 12, 2006 9:05 AM
 Subject: [flexcoders] [Flex2] Cairngorm question

 Hi,
 I'm just walking through Steven's article about Cairngorm on the Adobe
 site again and I wonder where the mx.utils.Delegate class can be found.
 Has it been renamed or replaced in some way? How can I create a Delegate
 now?

 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] mailto:thomas.ruehl%40akitogo.com
 Web http://www.akitogo.com http://www.akitogo.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

  


 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: Explorer-like drag drop tree (Delayed Open Example)

2006-07-12 Thread flxcoder
awesome - just awesome - thanks. i know i am going to need this soon.

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

 Here you guy's, gal's go don't forget to change the package 
location. I use
 this technique in allot of way's. Just let me know what you think
 ;) Code is
 below. The delayed class, and the sample use.
 
 Cheers
 
 Jason
 
 Begin: DelayedTimer.as
 
 /**
  * This class provides a timer abstraction, and issues a callback 
to the
  * desired function once the time event hit's. Create one instance 
for each
  * delayed timer you require
  *
  * @langversion ActionScript 3.0
  * @playerversion Flash 8.5
  * @tiptext
  *
  **/
 
 package com.vision.delayedTimer{
 
  import flash.utils.Timer;
  import flash.events.Event;
  import flash.events.TimerEvent;
 
  public class DelayedTimer extends Timer {
 
   private var _caller:Object;
 
   public function DelayedTimer  (){
//init the extended class
super(1000,1);
 
   }
 
   /**
* getters and setters for the object passed
**/
   public function get caller():Object
   {
return _caller;
   }
 
   public function set caller(d:Object):void
   {
_caller = d;
   }
 
 
/**
* Inicialize the timer for the delayed call
*
* -Parameters
* @event = the event that set off this obejct
* @func = a function call to run
* @caller = the actual object that called this object
* @delay = the delay in milliseconds between timer events
* @repeat = number of times to repeat 0= indefinit
*
* -verion
* @langversion ActionScript 3.0
* @playerversion Flash 8.5
* @tiptext
*
**/
 
   public function startDelayedTimer(event:Event,func:Function,
 callerin:Object=null,delay:Number=1000, repeat:uint=1):void {
 
if (func == null){return;}
 
if (caller !=null){
 caller=callerin;
}
 
if (caller != event.target){
 caller = event.target;
 
 if (running ==true){
  cancelDelayedTimer();
 }
 
 delay = delay;
 repeatCount=1;
 
 addEventListener(TimerEvent.TIMER,func);
 
 start();
 
}
 
   }
 
   /**
* clean up the call and stop the running timer
*
* -verion
* @langversion ActionScript 3.0
* @playerversion Flash 8.5
* @tiptext
**/
   public function cancelDelayedTimer():void{
 
if (running ==true){
 
 _caller=null;
 
 stop();
 reset();
 
}
 
   }
  }
 
 }
 
 End: DelayedTimer.as
 
 Begin: SampleDragDropOpen.mxml
 
 ?xml version=1.0 encoding=utf-8?
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=absolute
 
 mx:Script
  ![CDATA[
  //*
  //all this stuff is for the sample
  //*
 
  [Bindable]
  public var dsXML:XML = groups
  group isBranch=true label=Folder 1
   item label=Folder 1 Item 1 /
item label=Folder 1 Item 2 /
item label=Folder 1 Item 3 /
item label=Folder 1 Item 4 /
group isBranch=true label=No Children 1-0/
   group isBranch=true label=No Children 1-2/
 /group
  group isBranch=true label=Folder 1
  /group
 item label=Item 1 /
  item label=Item 2 /
  /groups
 
 
  ]]
 /mx:Script
 
 
 mx:Script
  ![CDATA[
  //*
  //tree delayed open while draginging an item
  //*
 
  //handles auto open on drag drop operations
  import com.vision.delayedTimer.DelayedTimer;
 
  private var oDelayedTimer:DelayedTimer = new DelayedTimer();
 
  //stored for opening
  private var lastFolderOver:Object
 
  //the returned dispatched call if delay triggered
  private function dispatchDelayedOpen(event:Event):void{
   Tree0.expandItem(lastFolderOver,true,true);
  }
 
  import mx.events.DragEvent;
  private function handleDragOver(event:DragEvent):void{
 
   /**
   this is the guts of it
   **/
 
   var currTree:Tree = Tree(event.currentTarget);
   var rowindex:int = currTree.calculateDropIndex(event);
   var currNodeOver:Object;
 
   if (currTree.indexToItemRenderer(rowindex) !=null){
currNodeOver = currTree.indexToItemRenderer(rowindex).data;
   }
   else{
currNodeOver=null;
   }
 
   //if not over any node cleanup if nessesary and return
   if (currNodeOver == null){
if (lastFolderOver != null){
 oDelayedTimer.cancelDelayedTimer();
 lastFolderOver = null;
}
return;
   }
 
   if ([EMAIL PROTECTED] 
 currTree.isItemOpen(currNodeOver)==false){
 
//test if not the same
if(lastFolderOver !=currNodeOver){
 //clear and reset the delay store this folder as last
 lastFolderOver = currNodeOver;
 //clear the existing
 oDelayedTimer.cancelDelayedTimer();
 //create callback
 
oDelayedTimer.startDelayedTimer(event,dispatchDelayedOpen,currNodeOver);
}
return;
   }
   else{
//clear the existing
if (lastFolderOver != null){
 oDelayedTimer.cancelDelayedTimer();
 lastFolderOver = 

Re: [flexcoders] Dynamic ItemRenderer

2006-07-12 Thread Jean-Luc ESSER





BTW, David, are you from France ?
If so, are you aware of the creation of the French 
Flex Community ?
http://www.flexeurs.org

If you are interested, come say hello.

Jean-Luc ESSER
http://www.flexeurs.org



  - Original Message - 
  From: 
  ROUSSELIE David ROSI/SIFAC 
  
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, July 12, 2006 2:28 
  PM
  Subject: [flexcoders] Dynamic 
  ItemRenderer
  
  
  Hi,I would like to use the List component with different type 
  of data inits dataProvider and adapt each itemRenderer depending on the 
  type ofthe data item :var dp: Array = [new A(), new 
  B()]...mx:List dataProvider="{dp}" ... /How can I 
  use a "AItemRenderer" to handle A data type elements and"BItemRenderer" to 
  handle B data type elements ?Thanks,-- David 
  RousselieCe message 
  et toutes les pieces jointes (ci-apres le "message") sont confidentiels et 
  etablis a l'intention exclusive deses destinataires.Toute utilisation 
  ou diffusion non autorisee est interdite.Tout message electronique est 
  susceptible d'alteration. Le Groupe France Telecom decline toute 
  responsabilite au titre dece message s'il a ete altere, deforme ou 
  falsifie.Si vous n'etes pas destinataire de ce message, merci de le 
  detruire immediatement et d'avertir 
  l'expediteur.*This 
  message and any attachments (the "message") are confidential and intended 
  solely for the addressees. Any unauthoriseduse or dissemination is 
  prohibited.Messages are susceptible to alteration. France Telecom Group 
  shall not be liable for the message if altered, changed orfalsified.If 
  you are not the intended addressee of this message, please cancel it 
  immediately and inform the 
  sender.
__._,_.___





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








   



  




  
  
  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] SecurityErrorEvent thrown on server but not when run locally. Why?????

2006-07-12 Thread Suzy Lawson
I have a Flex (final release) mail client that uploads attachments to
an external mailserver (using FileReference). 

It works fine when I run/debug locally, but it fails with the
following error when I drop the swf file on my local webserver.

SecurityErrorEvent text=Error #2049 type=securityError

Obviously I need to look at the crossdomain.xml, but my question is
though if the cross domian policy is not therethen how is it
working in debug mode? Magic?! :-)

I'm experiencing quite a few problems that work great when launching
from FB but fail on the webserver. Some insight into how FB deploys
these apps would help me a lot. 

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] [Flex2] Cairngorm question

2006-07-12 Thread Ralf Bokelberg
Hi Thomas,

in Flex 2 delegates are created automatically, so mx.utils.Delegate is
no longer needed.
Cheers,
Ralf.

On 7/12/06, Thomas Rühl -akitogo- [EMAIL PROTECTED] wrote:

 Hi,
 I'm just walking through Steven's article about Cairngorm on the Adobe
 site again and I wonder where the mx.utils.Delegate class can be found.
 Has it been renamed or replaced in some way? How can I create a Delegate
 now?

 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










-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


 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] bug in List component when it contains a blank item

2006-07-12 Thread Pan Troglodytes



The List component has a bug when you have a blank item. Using the following code, scroll up and down in the list. You will notice blank spaces showing up where they shouldn't be. It appears to be an issue on redraw.
?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=http://www.adobe.com/2006/mxml
 layout=absolute mx:Array id=listdata mx:String/mx:String mx:String1/mx:String mx:String2/mx:String
 mx:String3/mx:String mx:String4/mx:String mx:String5/mx:String mx:String6/mx:String mx:String7/mx:String
 mx:String8/mx:String mx:String9/mx:String mx:String10/mx:String mx:String11/mx:String mx:String12/mx:String
 mx:String13/mx:String mx:String14/mx:String mx:String15/mx:String mx:String16/mx:String mx:String17/mx:String
 mx:String18/mx:String mx:String19/mx:String mx:String20/mx:String mx:String21/mx:String mx:String22/mx:String
 mx:String23/mx:String mx:String24/mx:String mx:String25/mx:String mx:String26/mx:String mx:String27/mx:String
 mx:String28/mx:String mx:String29/mx:String /mx:Array mx:List x=0 y=0 dataProvider={listdata} width=175 height=151/
/mx:Application-- 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



  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: Package with internal class problem

2006-07-12 Thread Tobias Patton












Should this: 


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





Be:


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



Id be a little surprised if the
original compiles, which is why I think it might just be a typo in your email.



Tobias.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bart Wttewaall
Sent: Wednesday, July 12, 2006
4:22 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Package
with internal class problem











I guess I'm not permitted to delegate an internal
class' public static variable through the public class' public static variable.
Too bad, I had to create a lot of small classes for each cursor for the
application to work. Still, I'm wondering if there's a way to package those
classes to keep the amount of files to a minimum. 

Anyone with a bright idea?

Bart Wttewaall



2006/7/11, Bart Wttewaall [EMAIL PROTECTED]:



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.



  






__,_._,___






RE: [flexcoders] Re: FDS question

2006-07-12 Thread Steven Webster





I'm going to step this thread all the way to the beginning 
again; there was a flawed message in this thread that suggested that FDS was 
only of interest for real-time data; while it's certainly true that when we're 
demonstrating the power of FDS, we'll leverage real-time/collaborative examples, 
let's not forget here that the FDS value proposition is much more than real-time 
dashboards.

Christophe Coenraets articulated very clearly during MAX 
last year, the concept of a data-oriented versus a service-oriented architecture 
(I think credit is due to Matt Chotin here too); I think that is the starting 
point for discussion as to whether you are going to leverage benefit from FDS in 
your application architecture. 

RPC services are most appropriate in an SOA 
environment. You have an existing infrastructure with which you wish to 
integrate, and that infrastructure presents a set of services that can be 
invoked from your RIA client. That's where you'd likely make a decision to 
use RPC services:

OnlineBankingService.java
 +schedulePayment( payment, date 
)
 +openAccount( account )
 +requestCurrency( fromAccount, amount, currency 
)
 +generatePrintableStatement( account, fromDate, 
toDate )
 ...etc

If however, your service tier starts to look a lot 
like:

PatientRecordService.java
 +createRecord( patient )
 +readRecord() : patient
 +updateRecord( patient )
 +deleteRecord( patient )

AppointmentService.java
 +createAppointment( appointment 
)
 ...etc

Then you're services are really just defining CRUD 
operations on your data-tier, and it would suggest that you have a data-oriented 
architecture. You're probably also having to do a great deal of 
heavy-lifting on the client, to manage relationships, to manage the fact that 
you have state on the client (your client model) that has to be replicated on 
the server, and you will need strategies in place to manage synchronisation and 
conflict resolution between these 2 models. If you then have multiple 
clients that can all access patients/appointments/etc, then you're also going to 
start having to think about locking/concurrency policies, and suddenly your 
services have a great deal of infrastructure work associated with them. 
And I haven't even started talking about clustering, and failover, and such 
enterprise requirements for a mission-critical system as you 
describe.

In these scenarios, where you have a data-oriented 
architecture, but where there is no real-time requirements, no 
push-requirements, no collaboration (per-se - screen-sharing/etc) requirements, 
there is still *tremendous* value being offered by an application architecture 
that leverages data services. Flex Data Services is going to do ALL that 
heavy-lifting for you. Quickly. With code written by people smarter 
than me (cheap shot, don't take it).

To define the problem that was originally 
stated:

"Currently our thinking is to connect 
to the data through web services sending XML data to a JSO file that then will 
communicate with a JAVA based API back to the MySQL backend. What, if anythign 
would FDS bring to the table? Still not sure how it is better than XMLbased 
solution."

When I look at that problem, I see a number of moving parts 
and infrastructure work that is required - yet you are in the business of 
building a large-mission critical application for healthcare. FDS is going 
to remove a great deal of these moving parts, and potentially offer you an 
elegant architectural solution that allows you to focus on delivering a truly 
effective user-experience. You can focus on creating a useful, usable and 
desirable application, and you can focus on delivering a scalable, maintainable 
and performant application, you can focus on delivering feature and value to the 
user (and the business) rather than focus on delivering 
infrastructure.

Let FDS manage your CRUD operations for you. Let FDS 
manage relationships. Let FDS manage synchronisation between your client 
and server models. Let FDS manage concurrency, and locking and conflict 
resolution. Let FDS manage how all that jazz works in a clustered app 
server environment. Let FDS make your integration to your MySQL database a 
walk in the park.

I'd seriously recommend that you (the general you here) 
spend some time understanding in it's entierity, the value proposition that 
we're making with Flex Data Services; there is a great deal of misconception 
that FDS is a solution for real-time, for push, and for collaboration 
only.

Not so. When you are building enterprise n-tier RIA 
(buzzword bingo - Webster wins) that have a significant reliance upon EIS such 
as database integration or message-queue integration, FDS is going to give you 
bet-the-business assurance on your technical robustness, and let you focus on 
delivering the kind of user-experiences that no-doubt were the reason Flex 
caught your attention in the first place. 

Do you think we need to do more work in helping you 
understand the ways 

[flexcoders] Re: Addressing buried children in XML with default namespace- an easier way?

2006-07-12 Thread ben.clinkinbeard
That doesn't seem to work for me. I have this file:

package com.fmr.tests.PSA_Cairngorm.model
{
public namespace CLIENT_SEARCH_NAMESPACE =
http://site.com/BackOffice/DoSearch;;
}

and then in my command class, along with all my other import
statements I have:
import com.fmr.tests.PSA_Cairngorm.model.CLIENT_SEARCH_NAMESPACE;

and then I try to use it like this:
use namespace CLIENT_SEARCH_NAMESPACE;

Unfortunately I get the same error as usual:
1004: Namespace was not found or is not a compile-time constant.






 Yahoo! Groups Sponsor ~-- 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [Junk E-Mail - LOW] [flexcoders] My authentication help

2006-07-12 Thread Nick Collins



Ok, so CF returns booleans as strings... so how might I go about converting those strings back to booleans in the AS code?On 7/12/06, Tom Chiverton 
[EMAIL PROTECTED] wrote:
On Wednesday 12 July 2006 15:31, Shannon Hicks wrote: Can we see the CFC?Shannon could also turn on the flex gateway debug (bottom of the services xmlfile) and double-check what is coming back.
IIRC, return bools from CF appear as strings in AS.--Tom ChivertonThis 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 ~--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* 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] Trapping back button and refresh

2006-07-12 Thread quasimotoca
Hi:
Is there a way in AS3 to catch the backbutton and refresh buttons when 
they are pressed in the browser?  Once caught I need to trigger a popup 
window for the user to take action.
Cheers,
Dave Cook






--
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] Pass value into HeaderRenderer

2006-07-12 Thread Torey Maerz
How could I pass a value into a headerrenderer so that I can use that 
value to perform a specific action in the renderer?

For example here is my renderer:

mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Label text=Hello/
mx:Image height=20 source=info.gif click=Alert.show('Hello 
World!', 'Message')/
mx:Script
![CDATA[
import mx.controls.Alert;
]]
/mx:Script
/mx:HBox

I would like to display something other than hello world for the 
alert or even pass multiple variables in to determine how the 
renderer will be created.  For example something to determine which 
icon to show.

Here is my code that dynamically creates the columns:

private function LoadColumns(event:ResultEvent):void
{
  //Creating an array from an httpservice   
  var cols:Array = ArrayUtil.toArray
(columns.lastResult.Columns.Column);
  var newCols:ArrayCollection = new ArrayCollection();

  //Looping through the columns and setting the properties
  var count:int = cols.length;
  for(var x:int = 0; x  count; x++)
  {
var dgCol:DataGridColumn = new DataGridColumn(cols[x].Heading);
dgCol.dataField = Data + x.toString();

dgCol.headerRenderer = new ClassFactory(HeaderDefinition);
//OK Here I would like to set the properties
//dgCol.headerRenderer.someProperty = someValue

newCols.addItem(dgCol);
  }

  dg.columns = newCols.toArray();

  //Send the httpservice that contains the data for these columns
  data.send();
}

What do I need to do to pass a couple variables into the 
headerRenderer??

Thanks in advance for any help!!!

/Torey






 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] SWFLoader Issues

2006-07-12 Thread Hilary Bridel



Hi,
I have an example on my site with downloadable code.
http://www.bridel.org/

Hilary

--
On 7/12/06, flexnewbie06 [EMAIL PROTECTED] wrote:
Does anyone have any experience using SWFLoader to load SWF in FlexAPP?Specifically, maniputlating the SWF.
Thanks. 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
* 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/
-- Hilary-- 

__._,_.___





--
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] SWF Loader

2006-07-12 Thread Hilary Bridel



Hi,
There is an example on my site with a Flash 9 SWF.
http://www.bridel.org/

Hilary

--
On 7/12/06, flexnewbie06 [EMAIL PROTECTED] wrote:
I am trying to cast swf as MovieClip in Flex 2.0.The SWF wascreated with Flash 8...I get an coercion error...is this something
that can not be done or maybe I am doing it incorrectly.I have posted the error and my code.Any Suggestions?TypeError: Error #1034: Type Coercion failed: cannot convertflash.display::[EMAIL PROTECTED]
 to flash.display.MovieClip. at EPlayer/::test() at EPlayer/___Button1_click()CODE:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx=
http://www.adobe.com/2006/mxmllayout=absolutemx:Script ![CDATA[ import mx.core.FlexMovieClip; import mx.controls.SWFLoader
; function test():void{ var myMovieClip:MovieClip = MovieClip(mySWF.content); myMovieClip.gotoAndPlay(1); } ]]/mx:Script
mx:Panel height=406 width=525paddingTop=10 paddingBottom=10 paddingLeft=10 paddingRight=10y=10 x=10
mx:SWFLoader id=mySWF source=RFP intro.swf height=338width=459//mx:Panelmx:Button label=test x=300 y=424 click=test();/
/mx:Application 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/
-- Hilary-- 

__._,_.___





--
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] FlexComponents List

2006-07-12 Thread Ted Patrick
As part of the ongoing support for component development in the Flex
community, I created the FlexComponents discussion list. The Flex
Component Development list is focused on creation and development of
Flex components.

http://groups.yahoo.com/group/flexcomponents/

mx:WARNING
 
FlexComponents is not the place for general discussions on Adobe Flex (
See Flexcoders!!! ). This list is 100% about developing custom
components for Adobe Flex. We are discussing the creation and
development of Flex components, not using components to write
applications.

/mx:WARNING

If you are: 

Writing applications in Flex  SEE FLEXCODERS!
http://groups.yahoo.com/group/flexcoders/

Creating components for Flex  SEE FLEXCOMPONENTS! 
http://groups.yahoo.com/group/flexcomponents/


Regards,

Ted Patrick


--
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] ProgressBar not handling events

2006-07-12 Thread Allen Riddle










We have a ProgressBar with its mode set to event,
and the source property is bound to an object that dispatches the
necessary events. Everything works fine once the application is up and running,
but for whatever reason at startup, the ProgressBar does not handle the events
raised from the source object. We know for sure the source object
is raising the events, as weve traced it.



Allen Riddle

Sofware Development

x3217






__._,_.___





--
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-12 Thread Dmitry Miller
Thanks a lot, Tom. This is what I will end up doing.



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

 On Wednesday 12 July 2006 03:46, Dmitry Miller wrote:
  The only question that I have about your approach is how do I show the
  u/p form without leaving the page when my session expires? Also, it
 
 You could have the app call a 'ping' method on the server to stop
the session 
 timing out.
 
  would be great if I could silently reauthenticate.
 
 Which would have this same effect.
 
 -- 
 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] Passing session variables to webservice

2006-07-12 Thread Bacardi Bryant










Thanks Andy,



So if I have a cfc that queries the DB should I code it like so:



cffunction name=list access=remote
returntype=query



cfset EMP_ID = #SESSION.EMP_ID
#



cfquery
name=getRecs datasource=#app.dsn#

  SELECT
*

  FROM
TABLE

  WHERE
EMP_ID = #EMP_ID #

/cfquery



cfreturn results

/cffunction



When I call it from my flex app, I should not set the EMP_ID as
an argument for the cfc, but merely call the session variable in the body of
the function correct?

I dont know how I ended up with this project, but Ive
never used flex or flash, so this whole swf/as thing is all kinda weird for
now.

Sorry about the spaces, Outlook 2007 seems to have a problem
with line breaks and carriage returns.





Thanks,



Bacardi Bryant

regActionTM Programmer

[EMAIL PROTECTED]







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew
Trice
Sent: Tuesday, July 11, 2006 7:18 PM
To: flexcoders@yahoogroups.com; flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Passing session variables to webservice

















Session variables are maintained in session on the server.
You should be able to get at them directly from within coldfusion.
Youdo not need to pass them in as arguments. Remember, session
variables are only on the server. The client runtime can maintain state
within itself...the difference is that it usesmemory on the client
machine.











-Andy















From: flexcoders@yahoogroups.com on behalf of
Bacardi Bryant
Sent: Tue 7/11/2006 4:38 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing session variables to webservice













Hi,



We
have a CF application that uses session variables for security and access
control. How do I get at session variables in FLEX. The variables are used in a
webservice call.






mx:request


varsession.var/var


/mx:request



This
is what I tried, quite naturally that didnt work. TIA for any help.



Thanks,



Bacardi Bryant

regActionTM Programmer

[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



  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] FDS Upgrade from 1.5

2006-07-12 Thread Douglas Knudsen
so we are in this boat too.  If I have the new FB 2.0 license key in
hand, how to enter it in?  I installed the eclipse plugin version a
week ago.

interestingly it still reads Flex Builder 2.0 will expire in 30 days  :)

DK

On 6/30/06, Tom Chiverton [EMAIL PROTECTED] wrote:
 On Friday 30 June 2006 16:12, Travis Young wrote:
  Does anyone know yet the upgrade path for those of us with Flex 1.5
  subscriptions, especially in regards to FDS?

 There was a post the other day from Matt Chotin, that hasn't made it to the
 web FAQ yet.
 Summary: If you were on Flex 1.5, you'll get at least one Flex 2 FDS
 enterprise w/charting, and 5 FlexBuilder w/charting license.

 I am a very happy bunny :-)

 --
 Tom Chiverton

 

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

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

 CONFIDENTIALITY

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

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

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




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









-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


 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] Image Layering

2006-07-12 Thread wonuke
I have a number of Image controls stacked on top of one another to
display multiple transparent PNG images at a time.

How can I change the order in which they are stacked programatically?

Thanks,
Colin






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

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

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

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




[flexcoders] Flex 2 Reactor/ColdSpring

2006-07-12 Thread Doug Arthur





How would you go from an ActionScript class to CS/Reactor?

I'm trying to use CS  Reactor with Flex. The stumbling block I'm at is that I can't figure out how to get a populated ActionScript class tied in with either CS or Reactor I have an ActionScript class that represents a database table, then I have the RemoteClass cfc bean that the ActionScript class references, so when I pass in the ActionScript class to cf, the cf bean already has the values defined. What's the best way to get reactor to recognize this and just invoke a save method? 


Thanks!

- Doug

__._,_.___





--
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] Is it Possible to call a function that's inside of a Tree ItemRenderer?

2006-07-12 Thread sufibaba
Hi All,

I have a function inside of a custom Tree ItemRenderer.  

I would like to be able to fire this function programatically at the
Tree's level.

Any light on this is greatly appreciated.

Cheers,

Tim







 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: FDS question

2006-07-12 Thread Jeremy Lu




If in the end FDS and XML/Web Service are not good enough for you, why
not give Flash Remoting a try ? no matter you're using RemoteObject or
direct NetConnection manipulation would solve your problem.

Jeremy.On 7/12/06, Steven Webster [EMAIL PROTECTED] wrote:













  






I'm going to step this thread all the way to the beginning 
again; there was a flawed message in this thread that suggested that FDS was 
only of interest for real-time data; while it's certainly true that when we're 
demonstrating the power of FDS, we'll leverage real-time/collaborative examples, 
let's not forget here that the FDS value proposition is much more than real-time 
dashboards.

Christophe Coenraets articulated very clearly during MAX 
last year, the concept of a data-oriented versus a service-oriented architecture 
(I think credit is due to Matt Chotin here too); I think that is the starting 
point for discussion as to whether you are going to leverage benefit from FDS in 
your application architecture. 

RPC services are most appropriate in an SOA 
environment. You have an existing infrastructure with which you wish to 
integrate, and that infrastructure presents a set of services that can be 
invoked from your RIA client. That's where you'd likely make a decision to 
use RPC services:

OnlineBankingService.java
 +schedulePayment( payment, date 
)
 +openAccount( account )
 +requestCurrency( fromAccount, amount, currency 
)
 +generatePrintableStatement( account, fromDate, 
toDate )
 ...etc

If however, your service tier starts to look a lot 
like:

PatientRecordService.java
 +createRecord( patient )
 +readRecord() : patient
 +updateRecord( patient )
 +deleteRecord( patient )

AppointmentService.java
 +createAppointment( appointment 
)
 ...etc

Then you're services are really just defining CRUD 
operations on your data-tier, and it would suggest that you have a data-oriented 
architecture. You're probably also having to do a great deal of 
heavy-lifting on the client, to manage relationships, to manage the fact that 
you have state on the client (your client model) that has to be replicated on 
the server, and you will need strategies in place to manage synchronisation and 
conflict resolution between these 2 models. If you then have multiple 
clients that can all access patients/appointments/etc, then you're also going to 
start having to think about locking/concurrency policies, and suddenly your 
services have a great deal of infrastructure work associated with them. 
And I haven't even started talking about clustering, and failover, and such 
enterprise requirements for a mission-critical system as you 
describe.

In these scenarios, where you have a data-oriented 
architecture, but where there is no real-time requirements, no 
push-requirements, no collaboration (per-se - screen-sharing/etc) requirements, 
there is still *tremendous* value being offered by an application architecture 
that leverages data services. Flex Data Services is going to do ALL that 
heavy-lifting for you. Quickly. With code written by people smarter 
than me (cheap shot, don't take it).

To define the problem that was originally 
stated:

Currently our thinking is to connect 
to the data through web services sending XML data to a JSO file that then will 
communicate with a JAVA based API back to the MySQL backend. What, if anythign 
would FDS bring to the table? Still not sure how it is better than XMLbased 
solution.

When I look at that problem, I see a number of moving parts 
and infrastructure work that is required - yet you are in the business of 
building a large-mission critical application for healthcare. FDS is going 
to remove a great deal of these moving parts, and potentially offer you an 
elegant architectural solution that allows you to focus on delivering a truly 
effective user-experience. You can focus on creating a useful, usable and 
desirable application, and you can focus on delivering a scalable, maintainable 
and performant application, you can focus on delivering feature and value to the 
user (and the business) rather than focus on delivering 
infrastructure.

Let FDS manage your CRUD operations for you. Let FDS 
manage relationships. Let FDS manage synchronisation between your client 
and server models. Let FDS manage concurrency, and locking and conflict 
resolution. Let FDS manage how all that jazz works in a clustered app 
server environment. Let FDS make your integration to your MySQL database a 
walk in the park.

I'd seriously recommend that you (the general you here) 
spend some time understanding in it's entierity, the value proposition that 
we're making with Flex Data Services; there is a great deal of misconception 
that FDS is a solution for real-time, for push, and for collaboration 
only.

Not so. When you are building enterprise n-tier RIA 
(buzzword bingo - Webster wins) that have a significant reliance upon EIS such 
as database integration or message-queue integration, 

Re: [flexcoders] Unknown FDS error

2006-07-12 Thread hank williams



For the record this error:#2099: The loading object is not sufficiently loaded to provide this information.
Really means that you have passed a parameter that either flex or FDS doesnt like. I got it when trying to pass a TextInput instead of a TextInput.text.No problem with there being an error for this but it could be a bit more descriptive.
RegardsHankOn 7/11/06, hank williams [EMAIL PROTECTED] wrote:
Ok, I have installed FDS final and the error is exactly the same. So now it just appears that error 2099 is an undocumented error. It would be great if I could at least get some detail on what exactly could cause this error. It does have a number so it must be, at eleast internally, documented somewhere.
RegardsHankOn 7/11/06, hank williams 
[EMAIL PROTECTED] wrote:
On 7/11/06, Peter Farland 

[EMAIL PROTECTED] wrote:



















Hank, this isn't much information to
go on. What technology are you connecting to with RemoteObject? Java,
ColdFusion, etc? What sort of data are you trying to send and/or return?lol. Yeah, I know!I just thought maybe someone would know what the error code actually meant.
Since then I realized I am running the last beta of FDS and I am hoping that will help. It appears this error is not in any current documentation but it was in the labs documentation for FDS which makes me think maybe there is some problem there. Even in the labs doc, the error was just listed with no explanation.
I am in the process of switching over to FDS Final, and I am wondering if I can keep all of my XML configuration files or did the format change between FDS beta and Final?Regarding what I am running I am running java in Tomcat. Remoting has been working fine, and I have 7 or 8 successful remoteObjects and calls. I am trying to send two strings, and I am trying to get back one string. But it never even gets to my java code. FDS seems to be failing as soon as this call comes in, generating the aforementioned error. Today I added this latest call and it gives me this error, but only for this call. Obviously there is something that FDS is choking on but for the life of me I cant figure out what the difference is between all the calls that work and this one that doesnt.
RegardsHank






From: 


flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 


On Behalf Of hank williams
Sent: Tuesday, July 11, 2006 4:33
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Unknown FDS
error











I get the
below error when trying to make a remoteObject call. It comes up on the server
side in the console. Essentially flex is refusing to responding to the remote
query and this is the result.

#2099: The loading object is not sufficiently loaded to provide this
information. 

Any clues?

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] Dynamic ItemRenderer

2006-07-12 Thread Ralf Bokelberg
How about using an itemRenderer with states and setting the state
dependent on the type of data?
Cheers,
Ralf.

On 7/12/06, ROUSSELIE David ROSI/SIFAC [EMAIL PROTECTED] wrote:

 Hi,

 I would like to use the List component with different type of data in
 its dataProvider and adapt each itemRenderer depending on the type of
 the data item :

 var dp: Array = [new A(), new B()]
 ...
 mx:List dataProvider={dp} ... /

 How can I use a AItemRenderer to handle A data type elements and
 BItemRenderer to handle B data type elements ?

 Thanks,

 --
 David Rousselie

 
 Ce message et toutes les pieces jointes (ci-apres le message) sont 
 confidentiels et etablis a l'intention exclusive de
 ses destinataires.
 Toute utilisation ou diffusion non autorisee est interdite.
 Tout message electronique est susceptible d'alteration. Le Groupe France 
 Telecom decline toute responsabilite au titre de
 ce message s'il a ete altere, deforme ou falsifie.
 Si vous n'etes pas destinataire de ce message, merci de le detruire 
 immediatement et d'avertir l'expediteur.
 *
 This message and any attachments (the message) are confidential and 
 intended solely for the addressees. Any unauthorised
 use or dissemination is prohibited.
 Messages are susceptible to alteration. France Telecom Group shall not be 
 liable for the message if altered, changed or
 falsified.
 If you are not the intended addressee of this message, please cancel it 
 immediately and inform the sender.
 



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










-- 
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


 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 Data service with Flex Builder....

2006-07-12 Thread Mr.Unlimited



hi hank..  thanks dude.. will learn about that...  regards  krishank williams [EMAIL PROTECTED] wrote:  Oh, I see. You havent done anything but run the FDS installer.Well, are you familiar with running webapps in a servlet container? If not then it will be very difficult to help you because FDS is based on the assumption that you know how to use a container or a J2EE server. If you dont, you need read up. You need to understand what a .war file is, etc. I believe FDS comes with a container from
 adobe called jrun so you will need to install that version if you dont have a container. I didnt install with that one so I am not sure of the process but the first thing you want to do is get the samples running. Once you start jrun, the samples should be at http://localhost:8080/samples I think. Then, once you get samples up and running I would start looking at everything to see how they do it and then start adding my own code to gain an understanding. To do remoting, you are going to need to modify the remote-config.xml file which is in the WEB-INF/flex directory to add your own mappings for talking to your java objects.But again the first task is getting samples running.RegardsHank  On 7/12/06, Mr.Unlimited [EMAIL PROTECTED] wrote:Hi Hank  Yea mite be big. but m new t this buddy. maybe my installation s wrong or somethin.. i installed Builder and then DS...can u jus telme how to use DS in builder.  Thnx for ur response. m sry if my ques s wrong.. pl lemme know if my ques s wrong.. regards  Kris  hank williams [EMAIL PROTECTED]  wrote:  That is a *big* request. I'm afraid your going to ask more specific questions before I think anyone can be helpful. What do you have running so far? Have you gotten fds up and running with the sample apps?Hank  On 7/10/06, Mr.Unlimited  [EMAIL PROTECTED] wrote: Hi..  Im new to flex. could u ppl help me in integrating flex ds with the builder.??   M using Flex 2 beta 3 and FDS2.. in a standalone environment..   all i need is to get data from oracle database trhru java objects   Please HelpThanks and regards..   kris!!   Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
   Do you Yahoo!?Next-gen email? Have it all with the all-new Yahoo! Mail Beta.
		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] Re: question about the Feed class in the dashboard sample

2006-07-12 Thread Tom Bray



That's exactly what I needed. Thanks!-TomOn 7/11/06, Matt Chotin [EMAIL PROTECTED] wrote:













  













Do you want it to be a destination or just
a class that is around at startup? If it will be a destination you can
set the scope to application for it and I believe it will get created as the
server starts up. If your class won't be a destination the
traditional way to get a class loaded is to have a servlet kick it into gear. You
have the servlet get preloaded and then make sure that the servlet does
whatever kickoff is needed. Check the web.xml that we ship in flex.war, I
believe the MessageBrokerServlet gets preloaded. There may be other ways
to do this as well but that's the one I've always used.



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Tom Bray
Sent: Tuesday, July 11, 2006 5:34
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: question
about the Feed class in the dashboard sample











OK, so I figured out that Feed gets loaded because
it's referred to in a remoting destination in remoting-config.xml, and I got my
class running the same way. However, I'm assuming this isn't the right
way/place to setup FlexSession listeners and implement push logic via
DataServiceTransaction. Can you point me in the right direction? 

Thanks,

Tom



On 7/11/06, Tom Bray
[EMAIL PROTECTED] wrote:



I'm new to J2EE webapps,
so please pardon my ignorance. When does the Feed class get
loaded/instantiated? Does this happen automatically when the samples
server is started? I'm trying to do something similar in another app but
my class doesn't seem to be loading. I dropped my class in {
server.root}/default/flex/WEB-INF/classes/test and was hoping it would
magically start running when I restarted the server. My goal is to figure
out how to work with FlexSession and DataServiceTransaction and I figured I'd
be able to do that from the class below. Any help getting it up and
running would be greatly appreciated. 

//in C:\JRun4\servers\default\flex\WEB-INF\classes\test
package test;

import flex.messaging.FlexSession;
import flex.messaging.FlexSessionListener;
import flex.data.DataServiceTransaction;

public class MyTest implements FlexSessionListener 
{
 private static FeedThread thread;
 
 public MyTest()
 {  
  thread = new FeedThread();

thread.start(); 
 
FlexSession.addSessionCreatedListener(this); 
 }
 
 public void sessionCreated( FlexSession session )
 {
  System.out.println(
sessionDestroyed! );
 }  
 
 public void sessionDestroyed( FlexSession session ) 
 {
  System.out.println(
sessionDestroyed! );
 }
 
 public static class FeedThread extends Thread
 {
 public boolean running = true;

 public void run() 
 {
 while
(running)
 {

 /*
 
 DataServiceTransaction dtx = DataServiceTransaction.begin(
false );
 
 dtx.refreshFill( myDest, new ArrayList() ); 
 
 */

 
 System.out.println( running! );

 

try

{

Thread.sleep(1000);

}

catch (InterruptedException e)

{


}
 }
 }
 } 

}
















  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex 2.0 component in Flash 8

2006-07-12 Thread Kelly Birr





I have a client 
that would like to embed a small Flex 2.0app I've built inside their 
existing Flash 8 movie. I'm not very familiar withnormal 
Flash. 

I know Flex 
2can import components built in flash and/or load Flash SWF files via the 
SWFLoader component. Is there a similar mechanism in Flash 8 to load a 
component compiled in Flex or a SWF compiled in Flex 2?

- 
Kelly
__._,_.___





--
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] Security error accessing url

2006-07-12 Thread Carson Hager





Sathish,

What URL are you using to download the 
SWF?

What is the URL for your web service?

Even if the swf and web service are on the same host but 
the host names do not match perfectly, you will get this kind of failure. If the 
web service is on a different host, you will need to place a crossdomain.xml 
file at the root of the web server where the web services are 
located.


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 Sathish 
KSent: Wednesday, July 12, 2006 5:44 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Security error 
accessing url



Hi,I have a webservice (EAR file) that is 
deployed in the IBM Websphere 6.0 server.When we access the webservice 
from a SWF application(sandbox)built using Flex 2.0 it gives a security 
error.How to resolve this security issue.The Error 
Message:[FaultEvent fault=[Rpc 
faultfaultstring="Security error accessing 
url"faultCode="Channel.Security.Error"faultDetails="Unable 
to load WSDL.If currentlyonline,please verify the URI and/or format 
ofthe WSDL(webservice url)]messageId=null 
type="fault"bubbles=false cancelable=true 
eventPhase=2]We have read in many articles which says 
we need to place the crossdomain.xml file in the server root directory.But we 
dont know exactly what is the correct location for placing this 
file.We have tried placing in many subfolders under the root 
folder where Websphere is installed. It 
would be of great help if you can help us sort out this 
issue.

regards
sathish



  
  
DISCLAIMER: Information 
  transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / 
  or the authors of the information and is intended for use only by the 
  individual or entity to which it is addressed, and may contain 
  confidential or legally privileged information. If you are not the 
  intended recipient or it appears that this mail has been forwarded to you 
  without proper authority, you are not authorised to access, read, 
  disclose, copy, use or otherwise deal with it and any such actions are 
  prohibited and may be unlawful. Internet communications cannot be 
  guaranteed to be secure or error-free as information could be intercepted, 
  corrupted, lost, arrive late or contain viruses. Ramco Systems Limited 
  therefore does not accept liability for any errors, omissions, viruses or 
  computer problems experienced as a result of this transmission.If 
  you have received this e-mail in error, please notify us immediately at 
  mail to: [EMAIL PROTECTED] and delete this mail from your records. 
  Notice is hereby given that no representation, contract or other binding 
  obligation shall be created by this e-mail.

__._,_.___





--
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] Flex 2.0 component in Flash 8

2006-07-12 Thread Tim Scollick



I think that the only way to do it would be to put it into a div layer over the Flash 8 movie.On 7/12/06, Kelly Birr 
[EMAIL PROTECTED] wrote:












  






I have a client 
that would like to embed a small Flex 2.0app I've built inside their 
existing Flash 8 movie. I'm not very familiar withnormal 
Flash. 

I know Flex 
2can import components built in flash and/or load Flash SWF files via the 
SWFLoader component. Is there a similar mechanism in Flash 8 to load a 
component compiled in Flex or a SWF compiled in Flex 2?

- 
Kelly

  















__._,_.___





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

2006-07-12 Thread palmer2012

I didn't know about Apollo.  I hope the pricing is reasonable.  Still, it would 
be interesting 
to see Firefox develop in that direction.   It makes a lot of sense.  Currently 
both the 
browser and web server technology is quite limited.   Everything needs to take 
two 
evolutionary steps forward.   

thanks,
Patrick


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

 Patrick... gee that sounds an awful lot like... Apollo :-)
 
 If you're not familar with it, check it out
 http://labs.adobe.com/wiki/index.php/Apollo
 
 
 On 7/11/06, palmer2012 [EMAIL PROTECTED] wrote:
 
This is something that I have been thinking about.
 
  Most of the solutions out there are flash online or flash offline but not
  that supportive of
  both at the same time. There are many cases where software needs to be an
  application
  and net savvy. For example, creating an application using flex 2 where you
  run locally and
  access web services or flash remote objects as if you were in a browser.
  and being able to
  write the serialized objects to the local disk (encrypted). It would then
  be possible that if
  there was internet service, the application could communicate to the
  remote location.
  Otherwise, it could use the local cache. This brings the idea of a rich
  internet application
  out of the browser and onto the computer. It would be great to have a
  framework that you
  can develop flex applications within. And, it would have the functionality
  that Java Web
  Software provides such as checking for newer versions and downloads them.
 
  Given the current state of the player and possible solutions, maybe the
  approach would be
  to use the Gecko SDK and embed an optimized version of the Firefox browser
  as the basis
  of such framework. I've never done this but it probably work (given the
  flash player is
  written using XPCOM interface). The biggest advantage is that Adobe
  develops the player
  for this open source browser so it would be supported. It would also give
  you the ability
  to develop flex apps for both OSX and Windows. Updates would be done by
  downloading
  the swf's and having a version file on the server. So, you could get all
  of the advantages
  of using the Active X without being tied to Microsoft and have all of the
  additional
  rendering power and support packages that it built into Firefox already.
  And if it was
  open source with a license that allows commercial use, there could be an
  online
  community that expands the system functionality that is currently tied
  because of the wild
  web surfing.
 
  I think this solution would be really interesting.
 
  Patrick
 
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Nick
  Collins ndcollins@ wrote:
  
   It's dead in terms of it's no longer being developed, nor supported. In
   terms of use people still use it because of ActiveX garbage on sites
  that
   doesn't work with anything else. Kind of the anti-flash. ;-)
  
   On 7/11/06, ryanm ryanm@ wrote:
   
 Open source != open specs.

You can get source on the web if you look for it.
   
 Isn't IE on the Mac dead these days anyway ?

Not even close. Funny how the dev geeks always seem to think so
(wishful
thinking?), but server stats say otherwise.
   
ryanm
   
   
   
--
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/
 




RE: [flexcoders] SecurityErrorEvent thrown on server but not when run locally. Why?????

2006-07-12 Thread Carson Hager





In debug mode, are you pushing the file locally or out to 
this external mail server?


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 Suzy 
LawsonSent: Wednesday, July 12, 2006 10:21 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] SecurityErrorEvent 
thrown on server but not when run locally. Why?


I have a Flex (final release) mail client that uploads attachments toan 
external mailserver (using FileReference). It works fine when I 
run/debug locally, but it fails with thefollowing error when I drop the swf 
file on my local webserver.SecurityErrorEvent text="Error #2049" 
type="securityError"Obviously I need to look at the 
crossdomain.xml, but my question isthough if the cross domian policy is 
not therethen how is itworking in debug mode? Magic?! :-)I'm 
experiencing quite a few problems that work great when launchingfrom FB but 
fail on the webserver. Some insight into how FB deploysthese apps would help 
me a lot. 
THanks.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: SWF Loader

2006-07-12 Thread flexnewbie06
Hilary, that is EXACTLY what I am trying to do...so basically my V8 
SWF just won't work and I'll have to export to V9??...

QUOTESo, I imported my V8 SWF into the Flash 9 alpha IDE, and 
exported it as a V9 SWF.END QUOTE

Thanks everyone for your replies...wiping sweat from my brow

Jenn


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

 Hi,
 There is an example on my site with a Flash 9 SWF.
 http://www.bridel.org/
 
 Hilary
 
 --
 
 
 On 7/12/06, flexnewbie06 [EMAIL PROTECTED] wrote:
 
  I am trying to cast swf as MovieClip in Flex 2.0.  The SWF was
  created with Flash 8...I get an coercion error...is this something
  that can not be done or maybe I am doing it incorrectly.
 
  I have posted the error and my code.  Any Suggestions?
 
 
 
  TypeError: Error #1034: Type Coercion failed: cannot convert
  flash.display::[EMAIL PROTECTED] to flash.display.MovieClip.
 at EPlayer/::test()
 at EPlayer/___Button1_click()
 
 
  CODE:
 
 
  ?xml version=1.0 encoding=utf-8?
  mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
  layout=absolute
  mx:Script
 ![CDATA[
 import mx.core.FlexMovieClip;
 import mx.controls.SWFLoader;
 
 function test():void{
 var myMovieClip:MovieClip = MovieClip
(mySWF.content);
 myMovieClip.gotoAndPlay(1);
 }
 ]]
  /mx:Script
 
  mx:Panel height=406 width=525
  paddingTop=10 paddingBottom=10 paddingLeft=10 
paddingRight=10
  y=10 x=10
 
  mx:SWFLoader id=mySWF source=RFP intro.swf height=338
  width=459/
 
  /mx:Panel
 
  mx:Button label=test x=300 y=424 click=test();/
  /mx:Application
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 
 -- 
 Hilary
 
 --








--
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] Setting fill value of a pie chart programmatically

2006-07-12 Thread Dimitrios Gianninas





How in the 
world do u set the fill style of a pie chart in AS3 ?

I tried 
pie.setStyle( "fills", someArray ); and it does 
nothing.

Dimitrios 
Gianninas
RIADeveloper
Optimal 
Payments Inc.

 
  
  AVIS
  IMPORTANT
  
  
  WARNING
  
 
 
  
  Ce message électronique et ses pièces jointes peuvent contenir des renseignements confidentiels, exclusifs ou légalement privilégiés destinés au seul usage du destinataire visé.  L’expéditeur original ne renonce à aucun privilège ou à aucun autre droit si le présent message a été transmis involontairement ou s’il est retransmis sans son autorisation.  Si vous n’êtes pas le destinataire visé du présent message ou si vous l’avez reçu par erreur, veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses pièces jointes, de votre système.  La lecture, la distribution, la copie ou tout autre usage du présent message ou de ses pièces jointes par des personnes autres que le destinataire visé ne sont pas autorisés et pourraient être illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en aviser l’expéditeur.
  
  
  This electronic message and its attachments may contain confidential, proprietary or legally privileged information, which is solely for the use of the intended recipient.  No privilege or other rights are waived by any unintended transmission or unauthorized retransmission of this message.  If you are not the intended recipient of this message, or if you have received it in error, you should immediately stop reading this message and delete it and all attachments from your system.  The reading, distribution, copying or other use of this message or its attachments by unintended recipients is unauthorized and may be unlawful.  If you have received this e-mail in error, please notify the sender.
  
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: SecurityErrorEvent thrown on server but not when run locally. Why?????

2006-07-12 Thread Suzy Lawson
Carson, thanks. 

Interesting, but I really doubt that FlexBuilder can persist SWF files
to other companies webservers. In my case, I'm accessing a physical
server (via socket) that is hosted on another continent.

Hopefully one of the Adobe's developers has a free second to respond.

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

 In debug mode, are you pushing the file locally or out to this external
 mail server?
  
  
 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:[EMAIL PROTECTED] On
 Behalf Of Suzy Lawson
 Sent: Wednesday, July 12, 2006 10:21 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] SecurityErrorEvent thrown on server but not when
 run locally. Why?
 
 
 
 I have a Flex (final release) mail client that uploads attachments to
 an external mailserver (using FileReference). 
 
 It works fine when I run/debug locally, but it fails with the
 following error when I drop the swf file on my local webserver.
 
 SecurityErrorEvent text=Error #2049 type=securityError
 
 Obviously I need to look at the crossdomain.xml, but my question is
 though if the cross domian policy is not therethen how is it
 working in debug mode? Magic?! :-)
 
 I'm experiencing quite a few problems that work great when launching
 from FB but fail on the webserver. Some insight into how FB deploys
 these apps would help me a lot. 
 
 THanks.







 Yahoo! Groups Sponsor ~-- 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
~- 

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

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

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

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





Re: [flexcoders] Re: FDS question

2006-07-12 Thread Rob Rusher



ouch! As I wrote that email, I avoided the buzzword bingo sentence, as I was thinking data-oriented, but put it in more laymen terms. :) Although, I never said it was only of interest for real-time data. (sematics boy - my wife chimes in)
FDS does encompass more than just real-time data. Even the Data Services part of the name implies that it provides services for managing CRUD, concurrency, synchronization, etc... and I greatly appreciate that FDS does these things. If it did not provide these services, it would be called Flash Remoting, right.
:)Thanks for detailed description Steven.Humbled Laymen,Rob RusherOn 7/12/06, Steven Webster 
[EMAIL PROTECTED] wrote:












  






I'm going to step this thread all the way to the beginning 
again; there was a flawed message in this thread that suggested that FDS was 
only of interest for real-time data; while it's certainly true that when we're 
demonstrating the power of FDS, we'll leverage real-time/collaborative examples, 
let's not forget here that the FDS value proposition is much more than real-time 
dashboards.

Christophe Coenraets articulated very clearly during MAX 
last year, the concept of a data-oriented versus a service-oriented architecture 
(I think credit is due to Matt Chotin here too); I think that is the starting 
point for discussion as to whether you are going to leverage benefit from FDS in 
your application architecture. 

RPC services are most appropriate in an SOA 
environment. You have an existing infrastructure with which you wish to 
integrate, and that infrastructure presents a set of services that can be 
invoked from your RIA client. That's where you'd likely make a decision to 
use RPC services:

OnlineBankingService.java
 +schedulePayment( payment, date 
)
 +openAccount( account )
 +requestCurrency( fromAccount, amount, currency 
)
 +generatePrintableStatement( account, fromDate, 
toDate )
 ...etc

If however, your service tier starts to look a lot 
like:

PatientRecordService.java
 +createRecord( patient )
 +readRecord() : patient
 +updateRecord( patient )
 +deleteRecord( patient )

AppointmentService.java
 +createAppointment( appointment 
)
 ...etc

Then you're services are really just defining CRUD 
operations on your data-tier, and it would suggest that you have a data-oriented 
architecture. You're probably also having to do a great deal of 
heavy-lifting on the client, to manage relationships, to manage the fact that 
you have state on the client (your client model) that has to be replicated on 
the server, and you will need strategies in place to manage synchronisation and 
conflict resolution between these 2 models. If you then have multiple 
clients that can all access patients/appointments/etc, then you're also going to 
start having to think about locking/concurrency policies, and suddenly your 
services have a great deal of infrastructure work associated with them. 
And I haven't even started talking about clustering, and failover, and such 
enterprise requirements for a mission-critical system as you 
describe.

In these scenarios, where you have a data-oriented 
architecture, but where there is no real-time requirements, no 
push-requirements, no collaboration (per-se - screen-sharing/etc) requirements, 
there is still *tremendous* value being offered by an application architecture 
that leverages data services. Flex Data Services is going to do ALL that 
heavy-lifting for you. Quickly. With code written by people smarter 
than me (cheap shot, don't take it).

To define the problem that was originally 
stated:

Currently our thinking is to connect 
to the data through web services sending XML data to a JSO file that then will 
communicate with a JAVA based API back to the MySQL backend. What, if anythign 
would FDS bring to the table? Still not sure how it is better than XMLbased 
solution.

When I look at that problem, I see a number of moving parts 
and infrastructure work that is required - yet you are in the business of 
building a large-mission critical application for healthcare. FDS is going 
to remove a great deal of these moving parts, and potentially offer you an 
elegant architectural solution that allows you to focus on delivering a truly 
effective user-experience. You can focus on creating a useful, usable and 
desirable application, and you can focus on delivering a scalable, maintainable 
and performant application, you can focus on delivering feature and value to the 
user (and the business) rather than focus on delivering 
infrastructure.

Let FDS manage your CRUD operations for you. Let FDS 
manage relationships. Let FDS manage synchronisation between your client 
and server models. Let FDS manage concurrency, and locking and conflict 
resolution. Let FDS manage how all that jazz works in a clustered app 
server environment. Let FDS make your integration to your MySQL database a 
walk in the park.

I'd seriously recommend that you (the general you here) 
spend some time 

RE: [flexcoders] Re: SecurityErrorEvent thrown on server but not when run locally. Why?????

2006-07-12 Thread Carson Hager





I was actually talking about the attachment, not the 
swf. Sorry if that wasn't clear.


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 Suzy 
LawsonSent: Wednesday, July 12, 2006 1:59 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
SecurityErrorEvent thrown on server but not when run locally. 
Why?


Carson, thanks. Interesting, but I really doubt that FlexBuilder can 
persist SWF filesto other companies webservers. In my case, I'm accessing a 
physicalserver (via socket) that is hosted on another 
continent.Hopefully one of the Adobe's developers has a free second to 
respond.--- In [EMAIL PROTECTED]ups.com, 
"Carson Hager" carson.hager@...wrote: In debug 
mode, are you pushing the file locally or out to this external mail 
server?   Carson 
 
 Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
http://www.cynergysystems.com/ 
  Email: carson.hager@... Office: 
866-CYNERGY Mobile: 1.703.489.6466
  From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On Behalf Of Suzy Lawson Sent: Wednesday, July 12, 2006 10:21 
AM To: [EMAIL PROTECTED]ups.com 
Subject: [flexcoders] SecurityErrorEvent thrown on server but not when 
run locally. Why?I have a Flex (final 
release) mail client that uploads attachments to an external mailserver 
(using FileReference).   It works fine when I run/debug 
locally, but it fails with the following error when I drop the swf file 
on my local webserver.  SecurityErrorEvent text="Error #2049" 
type="securityError"  Obviously I need to look at the 
crossdomain.xml, but my question is though if the cross domian 
policy is not therethen how is it working in debug mode? Magic?! 
:-)  I'm experiencing quite a few problems that work great when 
launching from FB but fail on the webserver. Some insight into how FB 
deploys these apps would help me a lot.   
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.



  






__,_._,___



RE: [flexcoders] Setting fill value of a pie chart programmatically

2006-07-12 Thread Matt Horn
You want to do it on the series, not on the chart object itself; eg:

series1.setStyle(fills,[0x00,0x00FF00]);

hth,

matt horn
flex docs

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of Dimitrios Gianninas
 Sent: Wednesday, July 12, 2006 2:23 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Setting fill value of a pie chart 
 programmatically
 
 How in the world do u set the fill style of a pie chart in AS3 ?
  
 I tried pie.setStyle( fills, someArray ); and it does nothing.
  
 Dimitrios Gianninas
 RIA Developer
 Optimal Payments Inc.
  
 AVIS IMPORTANT
 
 WARNING
 
 Ce message électronique et ses pièces jointes peuvent 
 contenir des renseignements confidentiels, exclusifs ou 
 légalement privilégiés destinés au seul usage du destinataire 
 visé. L'expéditeur original ne renonce à aucun privilège ou à 
 aucun autre droit si le présent message a été transmis 
 involontairement ou s'il est retransmis sans son 
 autorisation. Si vous n'êtes pas le destinataire visé du 
 présent message ou si vous l'avez reçu par erreur, veuillez 
 cesser immédiatement de le lire et le supprimer, ainsi que 
 toutes ses pièces jointes, de votre système. La lecture, la 
 distribution, la copie ou tout autre usage du présent message 
 ou de ses pièces jointes par des personnes autres que le 
 destinataire visé ne sont pas autorisés et pourraient être 
 illégaux. Si vous avez reçu ce courrier électronique par 
 erreur, veuillez en aviser l'expéditeur.
 
 This electronic message and its attachments may contain 
 confidential, proprietary or legally privileged information, 
 which is solely for the use of the intended recipient. No 
 privilege or other rights are waived by any unintended 
 transmission or unauthorized retransmission of this message. 
 If you are not the intended recipient of this message, or if 
 you have received it in error, you should immediately stop 
 reading this message and delete it and all attachments from 
 your system. The reading, distribution, copying or other use 
 of this message or its attachments by unintended recipients 
 is unauthorized and may be unlawful. If you have received 
 this e-mail in error, please notify the sender.
 
  
 


 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/
 





  1   2   >