RE: [flexcoders] Server-Side Architecture for Flex App

2006-05-03 Thread Jason Hawryluk



Fluorine + NetConnection + .net is exactly what I'm doing right now. I was
using .net web services before that. I have not got my head totally around
it yet, but it seems great. The good thing in my mind is that you can easily
create stub code to expose your classes as web service api, if in the future
it's required. It handles class/data type mapping quite well.

This is the only .net remoting solution that I’m aware of. I have yet to
test it on the 2003 server with regards to security etc, but judging from
the docs it should be no problem. You can also alias your .net code to
obfuscate it.

Jason


-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de jeremy lu
Envoyé : mercredi 3 mai 2006 03:09
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] Server-Side Architecture for Flex App



For any others such as .Net and PHP you will need to
use HTTPService or WebService. Consider that your choice might run slower
than others.


just one correction,

you can always use NetConnection to connect to any AMF gateway (ie: amfphp,
fluorine for .NET) instead of RemoteObject.


--
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 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] Fwd: Re: Uncaught exceptions in Flex 1.5

2006-05-03 Thread maxym.hryniv



I'm still waiting for reply.
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 Hi, Peter. Thank you one more time for your help. I have one more 
 question: when I use debug player, configured by mm.cfg I receive 
only 
 messages like Warning: Uncaught exception, message text of course 
 it's not enough. Can I configure debug player to receive information 
 like sender classmethod? If not it's usable only for Hello World 
 applications. Of course I can create BaseError class that will know 
 error context and format error message how I want, but it's not 
 applicable for libraries that I'm using (as2lib).
 
 Respect.
 
 --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote:
 
 Thank You Peter. It's a shame for me that i didn't know that. I'll 
use 
 all of these tools. And i'm waiting for Flex 2.
 Thank You one more time.
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ 
 wrote:
 
  Some of the comments I made also apply to Flex 1.5's usage of
  ActionScript 2 in Flash Player 7.
  
  ActionScript 2 has try/catch syntax and the Error type, there are 
 debug
  versions of the flash player that ship with Flex 1.5 which you 
 should
  use during development, you can use trace() to report information 
to 
 a
  debug log - it too was called flashlog.txt and the mm.cfg file 
still
  applies to Flex 1.5. In fact, this file should be setup and 
 monitored
  for warnings and errors from the flash player during development 
at 
 all
  times (I use tail.exe from cygwin to monitor this file like a 
 console
  log). There is a command line debugger in Flex 1.5 called fdb... 
 and, of
  course, we built all of the ActionScript 2 code for Flex 1.5 using 
 all
  of these tools... though admittedly the tools and language 
features 
 we
  had to build Flex 2 are even better and will be available soon.
  
  Do you have the debug versions of the player?
  Do you have mm.cfg setup in your user directory and do you monitor 
 the
  flashlog.txt file?
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
com] 
 On
  Behalf Of maxym.hryniv
  Sent: Friday, April 28, 2006 5:17 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Uncaught exceptions in Flex 1.5
  
  I'm still waiting for reply. 
  --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote:
  
   Hi, Peter
   It's good that we have at last normal exception handling in 8.5
  beta. 
   But it's only beta for now and we are creating apps using Flex 
1.
 5. 
  So 
   the question is How we can fight silent exceptions death in 
Flex 
 1.
  5
   ???. 
   I have some ideas but to realise them i have to rewrite all flex 
 1.5 
   framework and i think it's not acceptable.
   
   Waiting for reply ,
   Max
   --- In flexcoders@yahoogroups.com, Peter Farland pfarland@
   wrote:
   
Hi Mykola,

Have you used the debug versions of the Flash Player 
during 
development? The debug version of the Flash Player reports
  uncaught
exceptions and it also traces information to a flashlog.txt 
file
  as 
   long
as you have a mm.cfg file setup in your user directory. We 
 include
   debug
versions of the Flash Player (i.e. the Standalone Player, the 
Firefox/Netscape/Opera plugin and MSIE Active-X player) in the
  Flex
installer. We include them for the same reasons that you state 
- 
without having proper error reporting it is impossible to 
build 
anything larget than hello-world presentations. Flex Builder 
 has
  a
visual debugger with breakpoints and watch statements. Also 
AS3
   Error
objects remember their stacktraces and you can print them out 
if
   you're
using the debug player. We built the Flex 2 framework of over 
 1000 
classes using the same tools as you would to build your own 
applications... I feel that they are adequate.

Regarding the confusion, it wasn't that important - it was
  just 
   that
from my reading the various posts on this thread I got the
   impression
that there were two complaints here that were at odds with 
each
   other.
One complaining they couldn't manage errors coming from lots 
of 
different places and the other that they weren't getting 
enough
   errors
and related information at runtime.

Regards,
Pete



From: flexcoders@yahoogroups.com [mailto:
[EMAIL PROTECTED]
  com] 
   On
Behalf Of Mykola Paliyenko
Sent: Tuesday, April 25, 2006 5:24 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Uncaught exceptions in Flex 1.5


Ok Peter,
no idea why you've been confused but...
ActionScript specification has a notion of throwable objects, 
so
   saying
that Exception is a bug of the AS2Lib is slightly incorrect. 
I'm 
relaizing that due to the size constraints of the player it 
 might
  be
good idea not to include exception handling in it, but 

Re: [flexcoders] Flex 1.5 development, hardware question

2006-05-03 Thread Stanislav Zayarsky



It is already -Xmx512m :)

On 4/30/06, Matt Chotin [EMAIL PROTECTED] wrote:
 Make sure that your JVM has enough memory allocated. Your specs seem
 fine, so maybe allocate more RAM using -Xmx512m for example.

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Stanislav Zayarsky
 Sent: Friday, April 28, 2006 2:41 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Flex 1.5 development, hardware question

 Hello FlexCoders,

 I'm interested what is the best hardware configuration for developing
 Flex app?

 Because compiling time sometimes, when project really large, takes 1
 min+.

 I know that processor(less 50%) and RAM usage is ok on my machine when
 compile, but HDD is working hard.

 So where is bottleneck, and how I can decrease compile time?

 My hardware configuration:
 P4 3.0
 RAM 1 GB
 HDD WD 100 GB.

 Best regards
 Stanislav


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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-03 Thread bhaq1972



i got my hands on flex2 beta3 and dropdownFactory works fine.
heres a simple example for anyone whos interested

mx:ComboBox id=cb labelField=fname dropdownWidth={cb.width*2}
  mx:dataProvider
   mx:Object fname=one lname=1/
 mx:Object fname=two lname=2/
 mx:Object fname=three lname=3/
 mx:Object fname=four lname=4/
 mx:Object fname=five lname=5/
  /mx:dataProvider
  mx:dropdownFactory
   mx:Component
mx:DataGrid showHeaders=false
 mx:columns
  mx:Array
   mx:DataGridColumn 
dataField=fname/
   mx:DataGridColumn 
dataField=lname/
  /mx:Array
 /mx:columns
/mx:DataGrid
   /mx:Component
  /mx:dropdownFactory
 /mx:ComboBox


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

 Make sure you override both the getter and the setter, I think
 overriding just one of them won't take hold. 
 
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Manish Jethani
 Sent: Tuesday, May 02, 2006 3:40 AM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Re: How does one build a ComboBox with a 
Data
 Grid as the drop down?
 
 On 5/2/06, raghuramab [EMAIL PROTECTED] wrote:
 
  I already tried that. Including trying to assign the property in 
AS
  code instead of MXML. In either case, I get a flex compiler error
  saying Unrecognized combobox property - dropdownFactory. I am
  using Flex 2.0. Beta 2.
 
 Sorry about that: it's coming in Beta 3 ;)
 
 For now, I think you should go with Matt's suggestion, which is to
 override the 'dropdown' getter
 
 Manish
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-03 Thread Sreejith Unnikrishnan





Beta 3? Out?

  - Original Message - 
  From: 
  bhaq1972 
  
  To: flexcoders@yahoogroups.com 
  Sent: Wednesday, May 03, 2006 1:15 
  PM
  Subject: [flexcoders] Re: How does one 
  build a ComboBox with a Data Grid as the drop down?
  i got my hands on flex2 beta3 and dropdownFactory works 
  fine.heres a simple example for anyone whos 
  interestedmx:ComboBox id="cb" labelField="fname" 
  dropdownWidth="{cb.width*2}" 
   mx:dataProvider 
mx:Object 
  fname="one" 
  lname="1"/ 
  mx:Object fname="two" 
  lname="2"/ 
  mx:Object fname="three" 
  lname="3"/ 
  mx:Object fname="four" 
  lname="4"/ 
  mx:Object fname="five" lname="5"/ 
   /mx:dataProvider 
   
  mx:dropdownFactory 

  mx:Component  
mx:DataGrid 
  showHeaders="false"  

   mx:columns 


   mx:Array 



  mx:DataGridColumn dataField="fname"/ 



  mx:DataGridColumn dataField="lname"/ 


   /mx:Array 


  /mx:columns  

  /mx:DataGrid  
   /mx:Component 
   
  /mx:dropdownFactory 
  /mx:ComboBox--- In flexcoders@yahoogroups.com, "Matt 
  Chotin" [EMAIL PROTECTED] wrote: Make sure you override both 
  the getter and the setter, I think overriding just one of them won't 
  take hold.   -Original Message- From: 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On 
  Behalf Of Manish Jethani Sent: Tuesday, May 02, 2006 3:40 AM 
  To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How does 
  one build a ComboBox with a Data Grid as the drop down? 
   On 5/2/06, raghuramab [EMAIL PROTECTED] wrote:   
  I already tried that. Including trying to assign the property in 
  AS  code instead of MXML. In either case, I get a flex 
  compiler error  saying "Unrecognized combobox property - 
  dropdownFactory". I am  using Flex 2.0. Beta 2.  
  Sorry about that: it's coming in Beta 3 ;)  For now, I think 
  you should go with Matt's suggestion, which is to override the 
  'dropdown' getter  Manish   -- 
  Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt 
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
   Yahoo! Groups Links





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Re: How does one build a ComboBox with a Data Grid as the drop down?

2006-05-03 Thread bhaq1972



sorry i just realized its not yet out. we signed up to the early 
release.

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

 Beta 3? Out?
 - Original Message - 
 From: bhaq1972 
 To: flexcoders@yahoogroups.com 
 Sent: Wednesday, May 03, 2006 1:15 PM
 Subject: [flexcoders] Re: How does one build a ComboBox with a 
Data Grid as the drop down?
 
 
 i got my hands on flex2 beta3 and dropdownFactory works fine.
 heres a simple example for anyone whos interested
 
 mx:ComboBox id=cb labelField=fname 
dropdownWidth={cb.width*2}
 mx:dataProvider
 mx:Object fname=one lname=1/
 mx:Object fname=two lname=2/
 mx:Object fname=three lname=3/
 mx:Object fname=four lname=4/
 mx:Object fname=five lname=5/
 /mx:dataProvider
 mx:dropdownFactory
 mx:Component
 mx:DataGrid showHeaders=false
 mx:columns
 mx:Array
 mx:DataGridColumn 
 dataField=fname/
 mx:DataGridColumn 
 dataField=lname/
 /mx:Array
 /mx:columns
 /mx:DataGrid
 /mx:Component
 /mx:dropdownFactory
 /mx:ComboBox
 
 
 --- In flexcoders@yahoogroups.com, Matt Chotin mchotin@ 
wrote:
 
  Make sure you override both the getter and the setter, I think
  overriding just one of them won't take hold. 
  
  -Original Message-
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Manish Jethani
  Sent: Tuesday, May 02, 2006 3:40 AM
  To: flexcoders@yahoogroups.com
  Subject: Re: [flexcoders] Re: How does one build a ComboBox 
with a 
 Data
  Grid as the drop down?
  
  On 5/2/06, raghuramab raghu@ wrote:
  
   I already tried that. Including trying to assign the 
property in 
 AS
   code instead of MXML. In either case, I get a flex compiler 
error
   saying Unrecognized combobox property - dropdownFactory. I 
am
   using Flex 2.0. Beta 2.
  
  Sorry about that: it's coming in Beta 3 ;)
  
  For now, I think you should go with Matt's suggestion, which 
is to
  override the 'dropdown' getter
  
  Manish
  
  
  --
  Flexcoders Mailing List
  FAQ: 
 http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
  http://www.mail-archive.com/flexcoders%40yahoogroups.com 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
 
 
 
 SPONSORED LINKS Web site design development Computer software 
development Software design and development 
 Macromedia flex Software development best practice 
 
 
 ---
---
 YAHOO! GROUPS LINKS 
 
 a.. Visit your group flexcoders on the web.
 
 b.. To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 
 c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of Service. 
 
 
 ---
---











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












Re: [flexcoders] Re: AS3 Custom Component question

2006-05-03 Thread Michael Schmalle



I mean measure() in your custom component.

Mike
On 5/3/06, Michael Schmalle [EMAIL PROTECTED] wrote:
Hi,

Just a guess but, did you implement measure()? I havn't looked at the ScrolControlBase yet but.. it could be that.

Peace, MikeOn 5/2/06, Manish Jethani 
[EMAIL PROTECTED] wrote:



On 5/3/06, sufibaba [EMAIL PROTECTED] wrote:

 Thanks for your suggestion, I tried exending from ScrollControlBase
 but still had problems to get the scroll bar to show up.

Did you call setScrollBarProperties() from within the
ScrollControlBar-derived class? If you call this method with the right
values, I believe everything else should be taken care of.

Manish






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


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










  
  
SPONSORED LINKS
  
  
  



Web site design development
  
  


Computer software development
  
  


Software design and development
  
  




Macromedia flex
  
  


Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.
  To unsubscribe from this group, send an email to:

[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.





  










-- What goes up, does come down.

-- What goes up, does come down.






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





  




  
  
  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: AS3 Custom Component question

2006-05-03 Thread Michael Schmalle



Hi,

Just a guess but, did you implement measure()? I havn't looked at the ScrolControlBase yet but.. it could be that.

Peace, MikeOn 5/2/06, Manish Jethani [EMAIL PROTECTED] wrote:



On 5/3/06, sufibaba [EMAIL PROTECTED] wrote:

 Thanks for your suggestion, I tried exending from ScrollControlBase
 but still had problems to get the scroll bar to show up.

Did you call setScrollBarProperties() from within the
ScrollControlBar-derived class? If you call this method with the right
values, I believe everything else should be taken care of.

Manish






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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  










-- What goes up, does come down.






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Re: Dispatching an event from inside a resultEvent

2006-05-03 Thread Jonas Windey










Thanks a lot Tim! 



I didnt get your code working 100%,
only 99% :-)



What I had to do was, in Login.as, in fcnAccessResponse,
I used this.dispatchEvent() , same as in your code.

But what I had to do was using the
loginDelegate.dispatchEvent() method, so it always took the same reference to
the class.



What Im thinking is that if you
call the dispatchEvent from inside another event, it loses is scope, and this
is not the class that login.mxml is listening to.



I guess thats the point of
singleton classes and that getInstance() method? I should do some research on
that, its very interesting.



Thanks again, it helped me out!


Jonas











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tim Hoff
Sent: dinsdag 2 mei 2006 21:13
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Dispatching an event from inside a resultEvent





Hi
Jonas,

I
took Jeff Tapper's dataManager and revised it to be a little simpler. I
made theonResult event generic result,integrated the
dataManagerEvent code, added a showBusyCursor parameter and renamed it
dataServices. There are better ways to do this, but until final release
this is what I'm going with to get data.

There
is sample code below. Perhaps your problem is that Login.as is not a
singleton. I'm not certain, but the samples below are working for
me. Hopefully, you can adapt them to work for you.

Good
luck,

Tim
Hoff

//***

 dataServices.as
(formerly dataManager)

//***

package
org.ets.main.code.business {

import mx.managers.CursorManager;
 import flash.events.EventDispatcher;
 import mx.rpc.soap.WebService;
 import mx.rpc.events.ResultEvent;
 import mx.rpc.events.FaultEvent;
 import mx.rpc.AbstractOperation;
 import mx.controls.Alert;
 import flash.util.*;


public class DataServices extends EventDispatcher {
 private var ws:WebService;
 private static var
instanceMap:Object = new Object();
 public function
DataServices(pri:PrivateClass, wsdl:String)
 {
 this.ws =
new WebService();
 ws.wsdl =
wsdl;

ws.loadWSDL();
 ws.useProxy
= false;
 }
 public static function
getDataService(wsdl:String):DataServices
 {

if(DataServices.instanceMap[wsdl] == null)
 {

DataServices.instanceMap[wsdl] = new DataServices(new
PrivateClass(),wsdl);
 }
 
 var ds:DataServices =
DataServices.instanceMap[wsdl];

if(ds.ws.canLoadWSDL())
 {

return ds;
 } else {

throw new Error(BAD WSDL:+wsdl);
 }
 }
 public function
makeRemoteCall(methodName:String,showBusyCursor:Boolean,args:Object):void
 {
 var
op:mx.rpc.AbstractOperation = ws[methodName];

if(showBusyCursor)
 {

CursorManager.setBusyCursor();
 }

ws.addEventListener(result,onResult);

ws.addEventListener(fault,onFault);
 if(args)

{ 
 op.arguments = args;
 } 
 op.send();
 
 }
 private function
onResult(result:ResultEvent):void
 {

CursorManager.removeBusyCursor();

this.dispatchEvent(result);
 }
 private function
onFault(fault:FaultEvent):void
 {

CursorManager.removeBusyCursor();

this.dispatchEvent(fault);
 }
 public override function
toString():String
 {
 return
DataServices;
 }
 }
}

/**
PrivateClass is used to make DataServices constructor private */ 
class PrivateClass
{
 public function PrivateClass() {}
}

//***


LoginDelegate.as (Login.as)

//***

package
org.ets.main.code.business 
{

import
flash.events.EventDispatcher;
import mx.rpc.events.FaultEvent;
import mx.rpc.events.ResultEvent;

import
org.ets.main.code.business.LoginDelegate;

import
org.ets.main.code.business.DataServices;



public class
LoginDelegate extends EventDispatcher
{
private static var
loginDelegate:org.ets.main.code.business.LoginDelegate;
private var dataServices:DataServices;

public static function getInstance() : org.ets.main.code.business.LoginDelegate

{
if ( loginDelegate == null )
loginDelegate = new
org.ets.main.code.business.LoginDelegate();

return loginDelegate;
 }

//

public function performLogin( strUserName:String,
strPassWord:String ): void
{
var showBusyCursor : Boolean = true
var args:Object = new Object();
args = [strUserName,strPassWord];

dataServices = DataServices.getDataService(Wsdl.loginWSDL);
dataServices.addEventListener(result,onResult);
dataServices.addEventListener(fault,onFault);
dataServices.makeRemoteCall(get_access,showBusyCursor,args);

args
= null;
}

//

private
function onResult(event:ResultEvent):void 
{

this.dispatchEvent(event);

dataServices.removeEventListener(result,onResult);

dataServices.removeEventListener(fault,onFault);
 
 }

//

private
function onFault(event:FaultEvent):void
{ 

this.dispatchEvent(event);


[flexcoders] Flex 2 Beta 2

2006-05-03 Thread mepaninaresh



Just imported my application from Flex 2 Beta 1. Few problems.

1. Could not resolve mx:cellRenderer to a component implementation.

2. Could not resolve mx:Link to a component implementation.

3. Context help does not appear.

Had a great link 
http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.html 
however this does not work with the new flasher player. Any new 
equivalent ?


Thanking you in advance.

Naresh.











--
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] Security WebService Flex 2.0

2006-05-03 Thread Franca Daniel



 
 I have a Problem, when i use a xml WebService like
this :
 
mx:WebService id=employeeWS
wsdl=http://localhost/EProcPrimariaWS/Service1.asmx?wsdl
showBusyCursor=true
fault=Alerted(event.fault.faultstring)

 it work in local machine, but when i try to use that
in a remote machine i got this erro: 

 Security erro accessing url 

 Please Helpl me!


  
___ 
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz. 
http://br.info.mail.yahoo.com/






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  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] Essential ActionScript 3.0

2006-05-03 Thread Iuliu Burtoiu



Anyone knows if Colin Moock has anounced a release
date for his new book, Essential ActionScript 3.0?

Thanks,
IuliuB


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






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





  




  
  
  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] FileReference upload bytes FB2

2006-05-03 Thread sinatosk



it's in the documentation
On 5/2/06, sourcecoderia [EMAIL PROTECTED] wrote:

Does anyone know of a way to get at the bytes for the upload process? instead of using upload(url)I would rather use remoting then a web service, and ideally I would like to send it in chunks, and have a return manifest type structure 
once done uploading.Any thoughts, or ideas on this? Am I Dreaming? :)ThanksJason--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] FileReference upload bytes FB2

2006-05-03 Thread sinatosk



sorry wrong post
On 5/3/06, sinatosk [EMAIL PROTECTED] wrote:

it's in the documentation

On 5/2/06, sourcecoderia [EMAIL PROTECTED] wrote:
 

Does anyone know of a way to get at the bytes for the upload process? instead of using upload(url)I would rather use remoting then a web service, and ideally I would like to send it in chunks, and have a return manifest type structure 
once done uploading.Any thoughts, or ideas on this? Am I Dreaming? :)ThanksJason--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 

Software development best practice 


YAHOO! GROUPS LINKS 

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










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] reply to messaged from outlook

2006-05-03 Thread deepu_verma



I am using outlook and gmail id to receive posts on flex group. How can 
I reply or post messages to the group from outlook.


Thanks,
Deepak









--
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: how do I prevent users from accessing my super extened class?

2006-05-03 Thread nz_mehere



Is this what you meant?

public function set thumbCount(number:Number):void{
 //ignore this...
}


...cause it doesn't compile...Overriding function that is not marked
for override

I guess the next thing could be to add a listener to the event and
change it back to 2 if the user changes it...


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

 On 5/3/06, nz_mehere [EMAIL PROTECTED] wrote:
 
  I have writen a class that extends the VSlider
 
  VSliders have the property of thumbCount, which is how many little
  arrows appear on the slider.
 
  I want to prevent people from setting there own.
 
  I thought I could hide it from them by overriding the thumbCount
  property with a private one, but get an error Overriding function
  that is not masked for override.
 
 A public property cannot be hidden in a subclass. You could either
 throw an exception in the setter or just do nothing (don't set
 super.thumbCount).
 
 Manish











--
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] action script error

2006-05-03 Thread sreedhar reddy



Hi, I am trying to execute a small application in flex builder which takes useid, and mailid and stores in database. But when trying to execute this application and getting action script error as follows:Error: faultCode:Client.CouldNotDecode faultString:'Error #1090: XML parser failure: element is malformed' faultDetail:'null' at mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult() at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler() at flash.events::EventDispatcher/dispatchEvent() at mx.rpc::Producer/acknowledge() at ::DirectHTTPMessageResponder/completeHandler() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/flash.net:URLLoader::onComplete()Thanks,Sreedhar
	

	
		 
Yahoo! India Answers: Share what you know. Learn something new. Click here





--
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: action script error

2006-05-03 Thread wlbagent



Shreedhar,
Are you by any chance using Flex with ColdFusion DevNet edition? I
experienced a similar problem. I switched to the developer version of
CF instead of the DevNet edition (just blank out the serial number in
CF's license.properties file then restart CF) and the problem went away.

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

 Hi,
 I am trying to execute a small application in flex builder which
takes useid, and mailid and stores in database. But when trying to
execute this application and getting action script error as follows:
 
 
 Error: faultCode:Client.CouldNotDecode faultString:'Error #1090: XML
parser failure: element is malformed' faultDetail:'null'
 at
mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult()
 at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.rpc::Producer/acknowledge()
 at ::DirectHTTPMessageResponder/completeHandler()
 at flash.events::EventDispatcher/dispatchEvent()
 at flash.net::URLLoader/flash.net:URLLoader::onComplete()
 
 Thanks,
 Sreedhar
 
 
 -
 Yahoo! India Answers: Share what you know. Learn something new.
Click here











--
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] Extending the Calendar Control

2006-05-03 Thread Wally Randall



Is it feasable to extend the existing Date/Calendar control in Flex to 
enable the highlighting of holidays? This will require access to 
information from an external source with the table of holidays for a 
range of years.

Does anyone have any ideas for how this might be accomplished? I have 
a client who likes the calendar control but insists on holiday 
hightlighting.










--
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] Dynamic menu control

2006-05-03 Thread Wally Randall



How can I enable/disable menu options which are dependent on user 
access privileges? 

Do the menu components expose methods for disabling and bluring 
selections which the user does not have permission to use?









--
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: problems with XMLListCollection and dataProvider. please help

2006-05-03 Thread djbrown_rotonews



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

 On 5/3/06, djbrown_rotonews [EMAIL PROTECTED] wrote:
  --- In flexcoders@yahoogroups.com, Manish Jethani
  manish.jethani@ wrote:
  
   On 5/3/06, djbrown_rotonews djbrown_rotonews@ wrote:
  
I have a local var node, set to the dataField of the passed 
in
DataGridColumn.
  
   So given this node, what do you want to display in the 
DataGrid?
  
   fa dataValue=3 severity=0/
  
   If fa is what you want to display, then your labelFunction 
should
   return 'item.name()'
 
  I actually want to display the 3 in the above example (ie,
  dataValue).
 
 Okay, so you have dataValue in a variable called 'node'.
 
 var node:String = dataValue;
 var valueToReturn:String = item.attribute(node);
 
 Manish


actually, I store fa in the node var, and want to return the 
associated dataValue for the item[fa]










--
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 WebService Flex 2.0

2006-05-03 Thread Dominick Accattato



you will need to setup a crossdomain.xml file allowing the Flash Player to access data from that domain.
On 5/3/06, Franca Daniel [EMAIL PROTECTED] wrote:
 I have a Problem, when i use a xml WebService likethis :mx:WebService id=employeeWS
wsdl=http://localhost/EProcPrimariaWS/Service1.asmx?wsdlshowBusyCursor=truefault=Alerted(event.fault.faultstring)
it work in local machine, but when i try to use thatin a remote machine i got this erro:Security erro accessing urlPlease Helpl me!___
Abra sua conta no Yahoo! Mail: 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.http://br.info.mail.yahoo.com/--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/
* To unsubscribe from this group, send an email to: [EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread Manish Jethani



On 5/3/06, nz_mehere [EMAIL PROTECTED] wrote:
 Is this what you meant?

 public function set thumbCount(number:Number):void{
 //ignore this...
 }


 ...cause it doesn't compile...Overriding function that is not marked
 for override

Yes:

 override public function ...

Manish






--
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] reply to messaged from outlook

2006-05-03 Thread Manish Jethani



On 5/3/06, deepu_verma [EMAIL PROTECTED] wrote:

 I am using outlook and gmail id to receive posts on flex group. How can
 I reply or post messages to the group from outlook.

Outlook is teh suck

But anyway, just send a message to [EMAIL PROTECTED]
Instructions are on the group home page (and at the bottom of every
message to the list).

Manish






--
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] DataService.fill params

2006-05-03 Thread Nikmd23



Hey guys,

I was wondering if anyone had any information on the second argument 
of the DataService.fill method? (Specifically for CF) 

I think it's meant to be the params to CF to filter your query. 

While playing around with it, I noticed that in the flex-data-
service.xml file's destination.properties.server.fill-method have an 
option for param, and the examples I have found use Java typing.

Do I need to edit those settings, and if so what are the data 
types? Are they the java representations only? Does that hold true 
for CF? (java.lang.String, or is it something else for CF.)

Also, I noticed that some of the lines of the read method in the DAO 
(which is used by the fill method of the assembler) are commented 
out by default. Perhaps someone has some insight on that?

Just in case I'm not being very clear – I'm basically trying to use 
the DataService to return a partial list from the table. (Where 
active = true).

Thank You for you help,
Nik










--
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] Extending the Calendar Control

2006-05-03 Thread Manish Jethani



On 5/3/06, Wally Randall [EMAIL PROTECTED] wrote:
 Is it feasable to extend the existing Date/Calendar control in Flex to
 enable the highlighting of holidays? This will require access to
 information from an external source with the table of holidays for a
 range of years.

(assuming Flex 2.0)

The holidays can be easily *disabled* by setting 'disabledDays'.

There's no easy way to highlight them using the public API.

Manish






--
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] Dynamic menu control

2006-05-03 Thread Manish Jethani



On 5/3/06, Wally Randall [EMAIL PROTECTED] wrote:
 How can I enable/disable menu options which are dependent on user
 access privileges?

 Do the menu components expose methods for disabling and bluring
 selections which the user does not have permission to use?

(assuming Flex 2.0)

Use a custom item renderer. Store the user priviledge info in the data
provider - every item knows whether it should be disabled or not.
Based on that, get your item renderer to disable or enable itself.

 // item renderer
 mx:Label enabled={data.userAllowed} ...

Manish






--
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: Flex 2 Beta 2

2006-05-03 Thread mepaninaresh



Still have one error:-

An internal build error has occurred. Please check the Error Log.

I can't see any errors and have no ideas where to look for 
the Error Log.

Regards,
Naresh.



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

 http://labs.adobe.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes
 
 search the page for 'Link' and 'cellRenderer'
 
 Link -- LinkButton
 cellRenderer -- itemRenderer
 
 or search the docs that come with FB beta2.
 
 regards,
 Muzak
 
 
 - Original Message - 
 From: mepaninaresh [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, May 03, 2006 12:54 PM
 Subject: [flexcoders] Flex 2 Beta 2
 
 
  Just imported my application from Flex 2 Beta 1. Few problems.
 
  1. Could not resolve mx:cellRenderer to a component 
implementation.
 
  2. Could not resolve mx:Link to a component implementation.
 
  3. Context help does not appear.
 
  Had a great link
  
http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.htm
l
  however this does not work with the new flasher player. Any new
  equivalent ?
 
 
  Thanking you in advance.
 
  Naresh.
 











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

2006-05-03 Thread Peter Farland





How did you embed the font? Did you change the character 
range to include these high-ascii characters?

Note by default the english range is used which by default 
has the range U+0020-U+007E. You'd either need to create a new language range in 
the flex-config.xml file and refer to this by name in the CSS @font-face style 
(or equivalent Embed metadata syntax), or just specify the range yourself in the 
CSS directly.

http://livedocs.macromedia.com/labs/1/flex20beta2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=Part2_DevApps.html







From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carlos 
RoviraSent: Monday, May 01, 2006 4:50 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] [Flex2] Problems with 
Fonts
Hi,I was developing a piece of software that requieres an 
embeded font and I'm having problems with a range of symbols in that font. 
I'm parsing XML an using "String.fromCharCode(decimal character 
code);" sentece to write font symbols to a textarea. (Note that 
decimal character code is a number from 32 - 255 in a chart of font 
symbols of the embeded font)The problem is that I can't access some 
symbols in the embeded font. In particular those that goes from 128-159 range. 
I trying to find some solution with no luck at all. All programs that I 
use to load the font and see the glyps shows the entire font without problem and 
shows the decimal numbers matching the ones I have in the chart. Hope 
someone could give me some advice so I can follow developing my application and 
accesing that glyps.Thanks in advance.-- ::| 
Carlos Rovira::| http://www.carlosrovira.com 





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





  




  
  
  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] how do I prevent users from accessing my super extened class?

2006-05-03 Thread Peter Farland



In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the
final keyword which can be applied at the class or method levels to stop
subclasses overriding/extending functionality.
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nz_mehere
Sent: Tuesday, May 02, 2006 5:27 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] how do I prevent users from accessing my super
extened class?

Hi there,

I have writen a class that extends the VSlider

VSliders have the property of thumbCount, which is how many little
arrows appear on the slider.

I want to prevent people from setting there own.

I thought I could hide it from them by overriding the thumbCount
property with a private one, but get an error Overriding function that
is not masked for override.

The code is something like this:

private function set thumbCount(number:Number):void{
 super.thumbCount = number; 
}

What am I missing?





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



 








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





  




  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] Flash Player 9 on Linux?

2006-05-03 Thread Carlos Rovira



Hi,This days I'm working mostly on Linux and was thinking about the next Flash Player for Linux. I now that there's no plans for Flash Player 8 and linux will jump to version 9 directly, but what's the expected dates?.
It's really important to have some visibility cause many of us are selling projects based on this platform and talking about ubiquity, but since Flash Player 8 is only in Windows and Mac, but no in Linux...this is not true, so please, could someone at Adobe talk a bit about what's happeing inside Adobe regarding this, and if there's someone working in a Flash Player for Linux. I think this is an extremely important topic that all of us at this list should know.
Thanks in advance for any insight.-- ::| Carlos Rovira::| http://www.carlosrovira.com






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





  




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

2006-05-03 Thread mepaninaresh



The chart explorer does not seem to work. Path problems with the build-
samples.bat file and Path problems with the explorer.html file.

Regards,
Naresh.









--
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] Flex2 :: TitleWindow :: loosing anti-aliasing

2006-05-03 Thread Michael Schmalle



Hi,

Has anybody noticed or is this a know bug.

Create an mxml component based on the TitleWindow,

Call pop up manager in the application,

When the TitleWindow is displayed, all the text has really jagged
edges. I have noticed this before with custom components I have made. I
messed around with the bitmap cache or something and it turned it back
on. Then it went off again when you interacted with the window.

I know there are things in the framework that turn on things for transitions and such. Maybe something isn't getting set again?

Peace, Mike-- What goes up, does come down.






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





  




  
  
  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: Uncaught exceptions in Flex 1.5

2006-05-03 Thread maxym.hryniv



Can someone give a response
The question was :
when I use debug player, configured by mm.cfg I receive 
only 
messages like Warning: Uncaught exception, message text of course 
 it's not enough. Can I configure debug player to receive information 
like sender classmethod? If not it's usable only for Hello World 
applications. Of course I can create BaseError class that will know 
 error context and format error message how I want, but it's not 
 applicable for libraries that I'm using (as2lib).
 
Respect.
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 I'm still waiting for reply.
 --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote:
 
  Hi, Peter. Thank you one more time for your help. I have one more 
  question: when I use debug player, configured by mm.cfg I receive 
 only 
  messages like Warning: Uncaught exception, message text of 
course 
  it's not enough. Can I configure debug player to receive 
information 
  like sender classmethod? If not it's usable only for Hello 
World 
  applications. Of course I can create BaseError class that will 
know 
  error context and format error message how I want, but it's not 
  applicable for libraries that I'm using (as2lib).
  
  Respect.
  
  --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote:
  
  Thank You Peter. It's a shame for me that i didn't know that. I'll 
 use 
  all of these tools. And i'm waiting for Flex 2.
  Thank You one more time.
  --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ 
  wrote:
  
   Some of the comments I made also apply to Flex 1.5's usage of
   ActionScript 2 in Flash Player 7.
   
   ActionScript 2 has try/catch syntax and the Error type, there 
are 
  debug
   versions of the flash player that ship with Flex 1.5 which you 
  should
   use during development, you can use trace() to report 
information 
 to 
  a
   debug log - it too was called flashlog.txt and the mm.cfg file 
 still
   applies to Flex 1.5. In fact, this file should be setup and 
  monitored
   for warnings and errors from the flash player during development 
 at 
  all
   times (I use tail.exe from cygwin to monitor this file like a 
  console
   log). There is a command line debugger in Flex 1.5 called fdb... 
  and, of
   course, we built all of the ActionScript 2 code for Flex 1.5 
using 
  all
   of these tools... though admittedly the tools and language 
 features 
  we
   had to build Flex 2 are even better and will be available soon.
   
   Do you have the debug versions of the player?
   Do you have mm.cfg setup in your user directory and do you 
monitor 
  the
   flashlog.txt file?
   
   
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 com] 
  On
   Behalf Of maxym.hryniv
   Sent: Friday, April 28, 2006 5:17 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Uncaught exceptions in Flex 1.5
   
   I'm still waiting for reply. 
   --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ 
wrote:
   
Hi, Peter
It's good that we have at last normal exception handling in 8.
5
   beta. 
But it's only beta for now and we are creating apps using Flex 
 1.
  5. 
   So 
the question is How we can fight silent exceptions death in 
 Flex 
  1.
   5
???. 
I have some ideas but to realise them i have to rewrite all 
flex 
  1.5 
framework and i think it's not acceptable.

Waiting for reply ,
Max
--- In flexcoders@yahoogroups.com, Peter Farland pfarland@
wrote:

 Hi Mykola,
 
 Have you used the debug versions of the Flash Player 
 during 
 development? The debug version of the Flash Player reports
   uncaught
 exceptions and it also traces information to a flashlog.txt 
 file
   as 
long
 as you have a mm.cfg file setup in your user directory. We 
  include
debug
 versions of the Flash Player (i.e. the Standalone Player, 
the 
 Firefox/Netscape/Opera plugin and MSIE Active-X player) in 
the
   Flex
 installer. We include them for the same reasons that you 
state 
 - 
 without having proper error reporting it is impossible to 
 build 
 anything larget than hello-world presentations. Flex 
Builder 
  has
   a
 visual debugger with breakpoints and watch statements. Also 
 AS3
Error
 objects remember their stacktraces and you can print them 
out 
 if
you're
 using the debug player. We built the Flex 2 framework of 
over 
  1000 
 classes using the same tools as you would to build your own 
 applications... I feel that they are adequate.
 
 Regarding the confusion, it wasn't that important - it 
was
   just 
that
 from my reading the various posts on this thread I got the
impression
 that there were two complaints here that were at odds with 
 each
other.
 One complaining they couldn't manage errors coming from lots 
 of 
 different places and the other that they weren't getting 
 

Re: [flexcoders] Re: Flex 2 Beta 2

2006-05-03 Thread Michael Schmalle



Hi,

Search the list for internal build error

This has come up many times and you are going to have to backtrack your steps. 

Peace, MikeOn 5/3/06, mepaninaresh [EMAIL PROTECTED] wrote:



Still have one error:-

An internal build error has occurred. Please check the Error Log.

I can't see any errors and have no ideas where to look for 
the Error Log.

Regards,
Naresh.



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

 http://labs.adobe.com/wiki/index.php/Flex:Beta_1_to_Beta_2_Changes

 
 search the page for 'Link' and 'cellRenderer'
 
 Link -- LinkButton
 cellRenderer -- itemRenderer
 
 or search the docs that come with FB beta2.
 
 regards,
 Muzak
 
 
 - Original Message - 
 From: mepaninaresh [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Wednesday, May 03, 2006 12:54 PM
 Subject: [flexcoders] Flex 2 Beta 2
 
 
  Just imported my application from Flex 2 Beta 1. Few problems.
 
  1. Could not resolve mx:cellRenderer to a component 
implementation.
 
  2. Could not resolve mx:Link to a component implementation.
 
  3. Context help does not appear.
 
  Had a great link
  
http://weblogs.macromedia.com/flex_samples/flex_explorer/explorer.htm

l
  however this does not work with the new flasher player. Any new
  equivalent ?
 
 
  Thanking you in advance.
 
  Naresh.
 











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

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









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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




  









-- What goes up, does come down.






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 :: PopUpManager.centerPopUp() :: not working

2006-05-03 Thread Michael Schmalle



Hi,

I have used this method before in Beta 2, and now it is not centering.

The PopUpManager looks like it thinks the TitleWindow width  height are 0,0.
I have tried putting the call in the creationComplete event, setting
the height and width explictly on the TitleWindow. Nothing works.

I searched the list to see if this was an occuring problem and found nothing.

Any thoughts? Other than in this instance I have to manually calc the center and set the windows position.

Peace, Mike
-- What goes up, does come down.






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





  




  
  
  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: action script error

2006-05-03 Thread wlbagent



Sreedhar,
Are you by any chance using Flex with ColdFusion DevNet edition? I
experienced a similar problem. I switched to the developer version of
CF instead of the DevNet edition (just blank out the serial number in
CF's license.properties file then restart CF) and the problem went away.

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

 Hi,
 I am trying to execute a small application in flex builder which
takes useid, and mailid and stores in database. But when trying to
execute this application and getting action script error as follows:
 
 
 Error: faultCode:Client.CouldNotDecode faultString:'Error #1090: XML
parser failure: element is malformed' faultDetail:'null'
 at
mx.rpc.http::HTTPService/http://www.adobe.com/2006/flex/mx/internal::processResult()
 at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.rpc::Producer/acknowledge()
 at ::DirectHTTPMessageResponder/completeHandler()
 at flash.events::EventDispatcher/dispatchEvent()
 at flash.net::URLLoader/flash.net:URLLoader::onComplete()
 
 Thanks,
 Sreedhar
 
 
 -
 Yahoo! India Answers: Share what you know. Learn something new.
Click here











--
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: Has anyone successfully put one TabNavigator inside another? (Flex 2)

2006-05-03 Thread rigidcode




Hi Graham, thanks, I actually asked the poster of that code if it was
throwing an exception for him too. It's not throwing an error for
you, then? Actually hmm, it looks like I'm not the only one gettng
the exception:

http://groups.yahoo.com/group/flexcoders/message/35334

I'll try that solution...



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

 Hi rigidcode,
 
 The following code works fine, and is the solution ot your previous
post 
 about using TabNavigators in ActionScript:
 
 ---
 package NestedTabs {
 import mx.containers.Canvas;
 import mx.containers.TabNavigator;
 import mx.events.FlexEvent;
 import mx.controls.Label;
 import flash.system.Security;
 
 public class NestedTabs extends Canvas
 {
 private var tn1 : TabNavigator;
 private var tn2 : TabNavigator;
 
 private var tn1tab1 : Canvas;
 private var tn1tab2 : Canvas;
 private var tn2tab1 : Canvas;
 private var tn2tab2 : Canvas;
 
 public function NestedTabs() : void
 {
 super();
 
 // Fire the __onCreationComplete event when the component 
 has been created.
 this.addEventListener(FlexEvent.CREATION_COMPLETE, 
 __onCreationComplete);
 
 Security.allowDomain(new Array(10.5.0.56));
 }
 
 private function __onCreationComplete(_event : FlexEvent) : void
 {
 var tn1 : TabNavigator = new TabNavigator();
 tn1.percentHeight = 100;
 tn1.percentWidth = 100;
 
 var tn1tab1 : Canvas = new Canvas();
 tn1tab1.label = Welcome;
 tn1.addChild(tn1tab1);
 
 var tn1tab2 : Canvas = new Canvas();
 tn1tab2.label=Hello;
 tn1.addChild(tn1tab2);
 
 var tn2 : TabNavigator = new TabNavigator();
 tn2.percentHeight = 100;
 tn2.percentWidth = 100;
 
 var tn2tab1 : Canvas = new Canvas();
 tn2tab1.label = wefwe;
 tn2.addChild(tn2tab1);
 
 var tn2tab2 : Canvas = new Canvas();
 tn2tab2.label = wefwe333;
 tn2.addChild(tn2tab2);
 
 tn1tab1.addChild(tn2);
 
 this.addChild(tn1);
 this.setVisible(true);
 }
 }
 }
 ---
 
 Regards,
 Graham Weldon
 
 
 
 rigidcode wrote:
  In Flex 2, has anyone put a TabNavigator onto the Canvas of a tab of
  another TabNavigator (in Actionscript, not mxml)? Without a fatal
  exception being thrown when you change tabs on either TabNavigator? 
 
  I don't find anyone else with this problem when I search. It seems
  like something a lot of people would run into, if they use more than
  one tabnavigator in the same app..
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 
 
  SPONSORED LINKS
  Web site design development 
 
http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=Computer+software+developmentw3=Software+design+and+developmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ

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

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

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

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

 
 
 
 

  YAHOO! GROUPS LINKS
 
  * Visit your group flexcoders
  http://groups.yahoo.com/group/flexcoders on the web.
  
  * To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
  
mailto:[EMAIL PROTECTED]
  
  * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service http://docs.yahoo.com/info/terms/.
 
 
 

 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
 

RE: [flexcoders] DataService.fill params

2006-05-03 Thread Bill Sahlas










The way that CF works is you define the fill
method with as many arguments (or no arguments for that matter) and just pass
them in the dataseravice call, for example - ds.fill(myarg1, myarg2, etc...)



The param element isnt
necessary for destinations defined to be used with CF as the backend
destination. You can pass your active argument as param
to the fill method and filter the query for active = true



cfelseif structKeyExists(arguments,
param)

where active = cfqueryparam
cfsqltype=CF_SQL_BIT value=#arguments.param#/



HTH, Bill











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nikmd23
Sent: Wednesday, May 03, 2006 9:49
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
DataService.fill params





Hey guys,

I was wondering if anyone had any information on the second argument 
of the DataService.fill method? (Specifically for CF) 

I think it's meant to be the params to CF to filter your
query. 

While playing around with it, I noticed that in the flex-data-
service.xml file's destination.properties.server.fill-method have an 
option for param, and the examples I have found use Java typing.

Do I need to edit those settings, and if so what are the data 
types? Are they the java representations only? Does that hold true 
for CF? (java.lang.String, or is it something else for CF.)

Also, I noticed that some of the lines of the read method in the DAO 
(which is used by the fill method of the assembler) are commented 
out by default. Perhaps someone has some insight on that?

Just in case I'm not being very clear  I'm basically trying to use 
the DataService to return a partial list from the table. (Where 
active = true).

Thank You for you help,
Nik












--
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: WebORB 2.1 Beta 2 is available (includes AMF3, Flex Remoting, Auto-Update...)

2006-05-03 Thread Clint Modien



More to the point...http://www.themidnightcoders.com/articles/flextodotnet.htmOn 5/3/06, 
Clint Modien [EMAIL PROTECTED] wrote:
New option for people on the .NET side using AS3...-- Forwarded message --
From: flashorbman 
[EMAIL PROTECTED]Date: May 2, 2006 1:59 PMSubject: [weborb] WebORB 2.1 Beta 2 is available (includes AMF3, Flex Remoting, Auto-Update...)To: 
[EMAIL PROTECTED]
Hi guys,We are opening up the beta for WebORB 2.1 for .NET. The Beta2 isavailable for download from our website. I am very excited about thisrelease. The most notable features are:

- Support for AMF3. WebORB for .NET now provides a completeimplementation of the RPC functionality available in Flex DataServices (see the getting started article here:

http://www.themidnightcoders.com/articles/flextodotnet.htm).- Auto-update. I wrote about it in one of my previous posts. You canread about the feature, see an example and some sample source codehere: 

http://www.themidnightcoders.com/articles/objectautoupdate.htm- Support for pre- and post RPC invocation events. This feature allowsinjecting custom code into WebORB invocation chain. The feature also
allows to associate metadata with the response messages.
- Major improvements in Message Server. All IO operations now use.NET's async API. All threading is pooled. There is a way to registerchannel event listeners.Unfortunately, the documentation for the new features (beyond what's
in the two articles linked above) is non-existent and we're working tofill that void. The AMF3/Flex Remoting integration is verynon-intrusive and the articles should provide a good amount of info toget anyone started. If you have any questions about the features or
how certain things work, feel free to post them here.cheers,JoeYahoo! Groups Links* To visit your group on the web, go to:

http://groups.yahoo.com/group/flashorb/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/








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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] WebORB 2.1 Beta 2 is available (includes AMF3, Flex Remoting, Auto-Update...)

2006-05-03 Thread Clint Modien



New option for people on the .NET side using AS3...-- Forwarded message --From: flashorbman 
[EMAIL PROTECTED]Date: May 2, 2006 1:59 PMSubject: [weborb] WebORB 2.1 Beta 2 is available (includes AMF3, Flex Remoting, Auto-Update...)To: [EMAIL PROTECTED]
Hi guys,We are opening up the beta for WebORB 2.1 for .NET. The Beta2 isavailable for download from our website. I am very excited about thisrelease. The most notable features are:
- Support for AMF3. WebORB for .NET now provides a completeimplementation of the RPC functionality available in Flex DataServices (see the getting started article here:
http://www.themidnightcoders.com/articles/flextodotnet.htm).- Auto-update. I wrote about it in one of my previous posts. You canread about the feature, see an example and some sample source codehere: 
http://www.themidnightcoders.com/articles/objectautoupdate.htm- Support for pre- and post RPC invocation events. This feature allowsinjecting custom code into WebORB invocation chain. The feature alsoallows to associate metadata with the response messages.
- Major improvements in Message Server. All IO operations now use.NET's async API. All threading is pooled. There is a way to registerchannel event listeners.Unfortunately, the documentation for the new features (beyond what's
in the two articles linked above) is non-existent and we're working tofill that void. The AMF3/Flex Remoting integration is verynon-intrusive and the articles should provide a good amount of info toget anyone started. If you have any questions about the features or
how certain things work, feel free to post them here.cheers,JoeYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flashorb/* 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] Re: Looping Through A DataProvider In Flex 2.0

2006-05-03 Thread vestcomprogrammer



Thanks that worked.

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

 
 What about this:
 
 searchDP(FontFamily.dataProvider, label, style.fontFamily);
 
 
 public function searchDP(arrToSearch:ArrayCollection, field:String,
 value:String):Number
 {
 for (var idx = 0; idx  arrToSearch.length; ++idx)
 {
 if (arrToSearch.getItemAt(idx)[field] == value) {return idx};
 }
 return -1;
 }
 
 
 --- In flexcoders@yahoogroups.com, vestcomprogrammer
 vestcomprogrammer@ wrote:
 
 
  It works in flex 1.5 but I try to run the same code in Flex 2.0 
Beta 2
  and it gives me one element in the array.
 
 
 
 
 
  XML FILE
  ?xml version=1.0 encoding=utf-8?
  Fonts
  font label=-- not selected -- data="" /
  font label=Arial data="" /
  font label=Georgia data="" /
  font label=Impact data="" /
  font label=Tahoma data="" /
  font label=Times New Roman data="" /
  font label=Verdana data="" /
  font label=Webdings data="" /
  font label=Windings data="" /
  /Fonts
 
 
  My Code
 
  mx:Model id=fontModel source=data/filteredFontList.xml/
 
  //Call to the funciton
  searchDP(mx.utils.ArrayUtil.toArray
(FontFamily.dataProvider), label,
  style.fontFamily);
 
 
  public function searchDP(arrToSearch:Array, field:String,
  value:String):Number
  {
  for (var idx = 0; idx  arrToSearch.length; ++idx)
  {
  if (arrToSearch[idx][field] == value) {return idx};
  }
  return -1;
  }
 











--
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] Flash Player 9 on Linux?

2006-05-03 Thread Manish Jethani



On 5/3/06, Carlos Rovira [EMAIL PROTECTED] wrote:

 This days I'm working mostly on Linux and was thinking about the next Flash
 Player for Linux. I now that there's no plans for Flash Player 8 and linux
 will jump to version 9 directly, but what's the expected dates?.

Last I saw on Tinic's blog...

http://www.kaourantin.net/2005/12/flash-player-8-for-linux-update.html

Manish






--
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] DataService.fill params

2006-05-03 Thread João Fernandes










Nik,



For the CFC Adapter there is no need to define params like for
the Java connector. All params  youll set when calling the fill
method will be passed to the CFC.











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

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













From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nikmd23
Sent: quarta-feira, 3 de Maio de 2006 14:49
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataService.fill params





Hey guys,

I was wondering if anyone had any information on the second argument 
of the DataService.fill method? (Specifically for CF) 

I think it's meant to be the params to CF to filter your query.


While playing around with it, I noticed that in the flex-data-
service.xml file's destination.properties.server.fill-method have an 
option for param, and the examples I have found use Java typing.

Do I need to edit those settings, and if so what are the data 
types? Are they the java representations only? Does that hold true 
for CF? (java.lang.String, or is it something else for CF.)

Also, I noticed that some of the lines of the read method in the DAO 
(which is used by the fill method of the assembler) are commented 
out by default. Perhaps someone has some insight on that?

Just in case I'm not being very clear  I'm basically trying to use 
the DataService to return a partial list from the table. (Where 
active = true).

Thank You for you help,
Nik






--
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 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] Flex2 :: TitleWindow :: loosing anti-aliasing

2006-05-03 Thread Manish Jethani



On 5/3/06, Michael Schmalle [EMAIL PROTECTED] wrote:

 When the TitleWindow is displayed, all the text has really jagged edges.

This was a bug that got fixed in Beta 3 (due out soon).

For now, explicitly set 'cacheAsBitmap' to false on the TitleWindow
object *after* it has been created (after the call to createPopUp()
returns).

Manish






--
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] DataService.fill params

2006-05-03 Thread João Fernandes










More on this,



You can call your fill method like this:



myDS.fill( myArrayCollection , [argument1value,argument2value,argument3value]
) //  -- 2nd argument is an Array of arguments to be passed



in your CFC Assembler:



cffunction access=remote name=fill
output=no returntype=myCFCType[]

    cfargument name=argument1/

    cfargument name=argument2/

    cfargument name=argument3/

    !---

    Your code here

    ---



/cffunction





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

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













From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nikmd23
Sent: quarta-feira, 3 de Maio de 2006 14:49
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataService.fill params





Hey guys,

I was wondering if anyone had any information on the second argument 
of the DataService.fill method? (Specifically for CF) 

I think it's meant to be the params to CF to filter your
query. 

While playing around with it, I noticed that in the flex-data-
service.xml file's destination.properties.server.fill-method have an 
option for param, and the examples I have found use Java typing.

Do I need to edit those settings, and if so what are the data 
types? Are they the java representations only? Does that hold true 
for CF? (java.lang.String, or is it something else for CF.)

Also, I noticed that some of the lines of the read method in the DAO 
(which is used by the fill method of the assembler) are commented 
out by default. Perhaps someone has some insight on that?

Just in case I'm not being very clear  I'm basically trying to use 
the DataService to return a partial list from the table. (Where 
active = true).

Thank You for you help,
Nik






--
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 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: DataService.fill params

2006-05-03 Thread Nikmd23



Thanks Bill, that does help some, I do see in the DAO where I am supposed to change the code.
However, I'm still confused as to how to pass the params out of flex. The DataService.fill method takes a ListCollectionView, followed by an array. FB2 won't let me write ds.fill(myCollection, arg1, arg2).
But then, even if I create an array with 1 element (a boolean:=true) - passing that to CF seems to have an issue because the assembler's fill methodtakes one param - a string. So here are my signatures:
(In Flex) DataService.fill(x:ListCollectionView, y:Array=null); which calls(In CF) Assembler.fill(a:String=null); which calls(In CF) DAO.read(b:Any, c:Any); - which I understand is flexable because I can change it to be whatever I want. Correct? 
What would I change on these signatures to make Flex's fill function either work with an array, or N number of arguments?
Thank You,Nik






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex2 Tree, Cairngorm, Coldfusion

2006-05-03 Thread sufibaba



Hi All,I have been using Cairngorm together with
Coldfusion and so far am veryhappy with the setup. Kudos to
Benoit for the great CF-Cairngormexample.Situation: I
have a tree control that isbeing updated via databinding by an XML
collection variable -- thevariable is stored in the Application Model.Question: Is it possible to fire an event when the tree finishes loading? Reason:
I would like to automatically select aparticular node on the tree
(after the tree is loaded with the XMLdata) and display that node's
info.Any help on this is appreciated.Cheers,Tim






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





  




  
  
  YAHOO! GROUPS LINKS



  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: DataService.fill params

2006-05-03 Thread João Fernandes










Nik,



You dont need to stick to the generated files. You can
change them to fit your needs.





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

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













From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nikmd23
Sent: quarta-feira, 3 de Maio de 2006 17:59
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DataService.fill params





Thanks Bill, that does
help some, I do see in the DAO where I am supposed to change the code.

However, I'm still
confused as to how to pass the params out of flex. The DataService.fill
method takes a ListCollectionView, followed by an array. FB2 won't let me
write ds.fill(myCollection, arg1, arg2).

But then, even if I
create an array with 1 element (a boolean:=true) - passing that to CF seems to
have an issue because the assembler's fill methodtakes one param - a
string. So here are my signatures:

(In Flex)
DataService.fill(x:ListCollectionView, y:Array=null); which calls
(In CF) Assembler.fill(a:String=null); which calls
(In CF) DAO.read(b:Any, c:Any); - which I understand is flexable
because I can change it to be whatever I want. Correct? 

What would I change on
these signatures to make Flex's fill function either work with an array, or N
number of arguments?

Thank You,
Nik



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

2006-05-03 Thread Sreejith Unnikrishnan





I am using a ItemRenderer to change the color of 
text in a dataGridColumn based on a range.
The problem is that when I change the ranges, the 
itemRenderer does not change the color of the text and so the dataGrid soes not 
update with the new colors.

What am I doing wrong?

The dataGrid is bound to a 
ListCollectionView.

Thanks
Sree





--
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] web Services...

2006-05-03 Thread Ken Bromberger










Hi!




I am pretty new to flex and web services. Can anyone point me to some good
resources on creating web services preferably .NET and also any info on
consuming them with Flex Beta 2??



I have had some success creating XML from SQL 2000 and
calling it with HTTPSERVICE but I would like to try some tests using web
services and see which might be the better route to go.



Any help is appreciated! -Ken

















--
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: DataService.fill params

2006-05-03 Thread Nikmd23



João, Bill, thanks for your help!

I didn't realize you could change the Assemeblers signature - I 
thought Flex would need it the way it came.

I get it now and my example is working - so thank you very much!









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] mx:states vs mx:viewstack when and which?

2006-05-03 Thread Rick Schmitty



Thanks Matt that helped!

On 5/2/06, Matt Chotin [EMAIL PROTECTED] wrote:
 I think it's often a style preference. I tend to think of a viewstack
 as being useful when you want to replace a whole section. Look at view
 1. Now look at view 2. States are better for modes of a component, now
 we're in expanded view, now we're in thumbnail view. As soon as you
 want the same component moving around I think you'll use a state. In
 some cases I might have a state for the larger component where one of
 the things I'll change in the state is the selectedIndex of a ViewStack
 :-)

 I think it's going to take the community some time to use the features
 before coming up with a best practice pattern of where you would use one
 over the other.

 Matt

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Rick Schmitty
 Sent: Tuesday, May 02, 2006 8:49 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] mx:states vs mx:viewstack when and which?

 Hello, I've seen some examples with Cairngorm using either states or a
 viewstack to display the current screen. I was wondering what were
 the advantages/disadvantages and when you should use one over the
 other? Seems like both can have the current view bound to a selection

 thanks


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








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













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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: DataService.fill params

2006-05-03 Thread Bill Sahlas










Right. What you want to do is first
create the Array (an AS3 Object) that you want to pass over to CF as the second
arg to the ds.fill() method. This object will contain an array of
arguments and their values.



var myArgs:Object = {isActive:true,
foo:'bar'}; // OR you can dynamically assign the value as in var myArgs:Object = {isActive:myTextField.text,
foo:'bar'}; 



// This is the call to the ds.fill()
method

var token:AsyncToken =
AsyncToken(ds.fill(contacts, myArgs));





then in the cfc Assembler you can modify
your dao.read() method as follows





 cfif
structKeyExists(arguments, param)

 cfreturn
dao.read(isActive=arguments.param.isActive)

 cfelse


 cfreturn
dao.read()

 /cfif



Your DAO may have as many arguments as you
want. For your example it may look like this



cffunction name=read
output=false access=public
returntype=samples.contact.Contact[]

 cfargument
name=id required=false

 cfargument name=isActive
required=false



And your where clause would look like this



cfelseif structKeyExists(arguments,
isActive)

 where
isActive = cfqueryparam cfsqltype=CF_SQL_BIT
value=#arguments.isActive#/



HTH, Bill











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nikmd23
Sent: Wednesday, May 03, 2006
12:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
DataService.fill params





Thanks
Bill, that does help some, I do see in the DAO where I am supposed to change
the code.

However,
I'm still confused as to how to pass the params out of flex. The
DataService.fill method takes a ListCollectionView, followed by an array.
FB2 won't let me write ds.fill(myCollection, arg1, arg2).

But
then, even if I create an array with 1 element (a boolean:=true) - passing that
to CF seems to have an issue because the assembler's fill methodtakes one
param - a string. So here are my signatures:

(In
Flex) DataService.fill(x:ListCollectionView, y:Array=null); which calls
(In CF) Assembler.fill(a:String=null); which calls
(In CF) DAO.read(b:Any, c:Any); - which I understand is flexable
because I can change it to be whatever I want. Correct? 

What
would I change on these signatures to make Flex's fill function either work
with an array, or N number of arguments?

Thank
You,
Nik









--
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: Uncaught exceptions in Flex 1.5

2006-05-03 Thread Peter Farland



What does your mm.cfg file look like?

The following settings work general trace output and error reporting:

ErrorReportingEnable=1
TraceOutputFileEnable=1

The following setting works only in the debug version of Flash Player 7
(i.e. that that shipped with Flex 1.5, not the normal, non-debug player,
such as Flash Player 8 from our website) and is only relevant to Flex
1.5:

TraceLocationEnable=1

Also I believe this was still relevant in Flex 1.5... the
flex-config.xml file production-mode and optimize settings should
both be set to false when trying to use the debug player with trace()
statements.

If you need more then I suggested working with fdb to debug your Flex
1.5 app at runtime. I believe that with all of these approaches (and in
my opinion even without many of them) you can build successful
applications that are more complicated than a Hello World application.

As stated earlier, in Flex 2.0 this will not be necessary because it
will use AS3 with Flash Player 9 - the debug version of this player will
ship with Flex 2.0 and will show stacktrace information with errors etc.



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of maxym.hryniv
Sent: Wednesday, May 03, 2006 11:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Uncaught exceptions in Flex 1.5

Can someone give a response
The question was :
when I use debug player, configured by mm.cfg I receive only messages
like Warning: Uncaught exception, message text of course it's not
enough. Can I configure debug player to receive information like sender
classmethod? If not it's usable only for Hello World 
applications. Of course I can create BaseError class that will know
error context and format error message how I want, but it's not
applicable for libraries that I'm using (as2lib).
 
Respect.
--- In flexcoders@yahoogroups.com, maxym.hryniv [EMAIL PROTECTED] wrote:

 I'm still waiting for reply.
 --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote:
 
  Hi, Peter. Thank you one more time for your help. I have one more
  question: when I use debug player, configured by mm.cfg I receive
 only
  messages like Warning: Uncaught exception, message text of
course 
  it's not enough. Can I configure debug player to receive
information 
  like sender classmethod? If not it's usable only for Hello
World 
  applications. Of course I can create BaseError class that will
know 
  error context and format error message how I want, but it's not 
  applicable for libraries that I'm using (as2lib).
  
  Respect.
  
  --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@ wrote:
  
  Thank You Peter. It's a shame for me that i didn't know that. I'll
 use
  all of these tools. And i'm waiting for Flex 2.
  Thank You one more time.
  --- In flexcoders@yahoogroups.com, Peter Farland pfarland@
  wrote:
  
   Some of the comments I made also apply to Flex 1.5's usage of 
   ActionScript 2 in Flash Player 7.
   
   ActionScript 2 has try/catch syntax and the Error type, there
are 
  debug
   versions of the flash player that ship with Flex 1.5 which you
  should
   use during development, you can use trace() to report
information 
 to
  a
   debug log - it too was called flashlog.txt and the mm.cfg file
 still
   applies to Flex 1.5. In fact, this file should be setup and
  monitored
   for warnings and errors from the flash player during development
 at
  all
   times (I use tail.exe from cygwin to monitor this file like a
  console
   log). There is a command line debugger in Flex 1.5 called fdb... 
  and, of
   course, we built all of the ActionScript 2 code for Flex 1.5
using 
  all
   of these tools... though admittedly the tools and language
 features
  we
   had to build Flex 2 are even better and will be available soon.
   
   Do you have the debug versions of the player?
   Do you have mm.cfg setup in your user directory and do you
monitor 
  the
   flashlog.txt file?
   
   
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 com]
  On
   Behalf Of maxym.hryniv
   Sent: Friday, April 28, 2006 5:17 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] Re: Uncaught exceptions in Flex 1.5
   
   I'm still waiting for reply. 
   --- In flexcoders@yahoogroups.com, maxym.hryniv mokus@
wrote:
   
Hi, Peter
It's good that we have at last normal exception handling in 8.
5
   beta. 
But it's only beta for now and we are creating apps using Flex
 1.
  5. 
   So
the question is How we can fight silent exceptions death in
 Flex
  1.
   5
???. 
I have some ideas but to realise them i have to rewrite all
flex 
  1.5
framework and i think it's not acceptable.

Waiting for reply ,
Max
--- In flexcoders@yahoogroups.com, Peter Farland pfarland@
wrote:

 Hi Mykola,
 
 Have you used the debug versions of the Flash Player
 during
 development? The debug version of the Flash Player reports
 

[flexcoders] Flex 2B2: Can't connect a Socket() on Mac OS X

2006-05-03 Thread Tobias Patton










Hello flexcoders;



Ive written a small Flex
application that connects to a server running on localhost:50007 using a flash.net.Socket.
The user can send text to the server and view the response. My main goal in
this was to determine if a SWF file hosted on a website can communicate to an
application running on localhost using a Socket. (The answer is yes,
provided the server running on localhost is prepared to serve up a crossdomain.xml
file.)



The server running on localhost is
written in Python and is a simple echo server that can also respond to the policy-file-request/
message.



This all works fine when running on my
Windows XP machine, but when I try the application on my Mac, the socket fails
to connect. I know that the server is working as expected because I can connect
succesfully to it using a Python client. When running on a Mac, the OnSocketConnect()
event handler is never invoked. The problem persists regardless of whether the
client SWF file is hosted on a web-server on on the local filesystem. I.e. I dont
think this is a sandbox security issue. 



If anyone can see something that Im
doing wrong, Id appreciate being straightened out.



Thanks.


Tobias.



Heres the server code (Python):



# Echo server program

import re

import socket



HOST =
''
# Symbolic name meaning the local host

PORT =
50007
# Arbitrary non-privileged port

s = socket.socket(socket.AF_INET,
socket.SOCK_STREAM)

s.bind((HOST, PORT))



while 1:

 s.listen(1)

 conn, addr =
s.accept()

 print 'Connected by',
addr

 

 data = "">

 if not data: break

 print 'In: ', ''
+ data + ''

 

 outData = data

 

 if re.search(
'policy-file-request/', data ):


outData = ( '?xml version=1.0?' +


'cross-domain-policy' +


'allow-access-from domain=* to-ports=*/' +


'/cross-domain-policy' )

 

 print Out:
, '' + outData + ''

 conn.send(
outData );




conn.close()



And heres the client:



?xml version=1.0
encoding=utf-8?

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

 creationComplete=OnCreationComplete()

 mx:Script

 ![CDATA[

 private
function OnCreationComplete() : void

 {

 m_socket.addEventListener(
ProgressEvent.SOCKET_DATA, OnSocketData );

 m_socket.addEventListener(
Event.CONNECT, OnSocketConnect );

 m_socket.addEventListener(
IOErrorEvent.IO_ERROR, OnIOError );

 m_socket.addEventListener(
Event.CLOSE, OnClose );

 }

 

 private
function OnSendClick( event : MouseEvent ) : void

 {

 if(
! m_socket.connected )

 {

 output.text
+= Connecting socket...\n;

 m_socket.connect(
localhost, 50007 );

 }

 

 m_pendingSend
= msg.text;

 }

 

 private
function OnSocketData( event : ProgressEvent ) : void

 { 

 var
s : String = m_socket.readUTFBytes( m_socket.bytesAvailable );

 m_socket.close();

 

 output.text
+= s + \n;

  }

 

 private
function OnSocketConnect( event : Event ) : void

 {

 output.text
+= Socket connected\n;

 

 if(
m_pendingSend.length != 0 )

 {

 SendPending();

 }

 }

 

 private
function OnIOError( event : IOErrorEvent ) : void

 {

 output.text
+= IO Error:  + event.text + \n;

 }

 

 private
function OnClose( event : Event ) : void

 {

 output.text
+= Socket closed\n;

 }

 

 private
function OnSecurityError( event : SecurityErrorEvent ) : void

 {

 output.text
+= Socket security error:  + event.text + \n;

 }

 

 private
function SendPending() : void

 {

 m_socket.writeUTFBytes(
m_pendingSend );

 m_pendingSend
= ;

 }

 

 private
var m_socket : Socket = new Socket();

 private
var m_pendingSend : String = ;

 ]]

 /mx:Script

 

 mx:HBox

 mx:Label
text=Message:/

 mx:TextInput
id=msg/

 mx:Button
label=Send click=OnSendClick( event )/

 /mx:HBox

 

 mx:VBox

 mx:Label
text=Output:/

 mx:TextArea
editable=false id=output width=300
height=200/

 /mx:VBox

/mx:Application



Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700
ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.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] Flex 2B2: Can't connect a Socket() on Mac OS X

2006-05-03 Thread Weyert de Boer



What if you use XMLSocket will it work locally then? I haven't any
problems to connect to a local xmlsocketserver in MacOSX using Flash. You
can use XMLSockets too, when you only want to echo things, or when you
aren't really traffic/binary minded.

Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/






--
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] Flash Player 9 on Linux?

2006-05-03 Thread Carlos Rovira



Hi Manish,Thanks for the link. I saw it when Tinic wrote at the end of the year, and I was looking for some more fresh info.btw, due to the huge amount of comments on that post seems to be a really hot topic on Tinic's blog ;)
Best Regards,C.On 5/3/06, Manish Jethani [EMAIL PROTECTED] wrote:



On 5/3/06, Carlos Rovira [EMAIL PROTECTED] wrote:

 This days I'm working mostly on Linux and was thinking about the next Flash
 Player for Linux. I now that there's no plans for Flash Player 8 and linux
 will jump to version 9 directly, but what's the expected dates?.

Last I saw on Tinic's blog...

http://www.kaourantin.net/2005/12/flash-player-8-for-linux-update.html


Manish






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



  










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






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] reply to messaged from outlook

2006-05-03 Thread Tracy Spratt



Outlook is great, just hit reply
Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of deepu_verma
Sent: Wednesday, May 03, 2006 2:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] reply to messaged from outlook

I am using outlook and gmail id to receive posts on flex group. How can 
I reply or post messages to the group from outlook.


Thanks,
Deepak





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



 










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] mx:states vs mx:viewstack when and which?

2006-05-03 Thread Peter Hall



I'm pretty keen on wrapping all view changes in a state. Even if you
use a viewstack, as Matt said, you can have a state which sets that
selectedIndex. The nice thing about doing that is you have a simple
abstraction, which lets you ditch the viewstack at a later date, and
just change your state code. It also gives you one place to handler
transitions, instead of having to specify show/hideEffect for you
viewstack views, which makes things a lot more consistent and easier to
follow.
Peter 

On 5/3/06, Rick Schmitty [EMAIL PROTECTED] wrote:
Thanks Matt that helped!On 5/2/06, Matt Chotin [EMAIL PROTECTED] wrote: I think it's often a style preference.I tend to think of a viewstack as being useful when you want to replace a whole section.Look at view
 1.Now look at view 2.States are better for modes of a component, now we're in expanded view, now we're in thumbnail view.As soon as you want the same component moving around I think you'll use a state.In
 some cases I might have a state for the larger component where one of the things I'll change in the state is the selectedIndex of a ViewStack :-) I think it's going to take the community some time to use the features
 before coming up with a best practice pattern of where you would use one over the other. Matt -Original Message- From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rick Schmitty Sent: Tuesday, May 02, 2006 8:49 AM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] mx:states vs mx:viewstack when and which? Hello, I've seen some examples with Cairngorm using either states or a viewstack to display the current screen.I was wondering what were
 the advantages/disadvantages and when you should use one over the other?Seems like both can have the current view bound to a selection thanks -- Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- 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 ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]* Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/







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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Flex 2B2: Can't connect a Socket() on Mac OS X

2006-05-03 Thread Tobias Patton



Hi Weyert;

I tried switching Socket to XMLSocket, but have exactly the same
problem. It works on Windows, but not Mac.

I should have noted in my previous email that on the Mac, the server
receives the policy-file-request/ data and sends the appropriate
response, but that's when things stop working. This happens regardless
of whether or not I call loadSecurityPolicy() explicitly.

Tobias.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Weyert de Boer
Sent: Wednesday, May 03, 2006 11:47 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2B2: Can't connect a Socket() on Mac OS X

What if you use XMLSocket will it work locally then? I haven't any
problems to connect to a local xmlsocketserver in MacOSX using Flash.
You
can use XMLSockets too, when you only want to echo things, or when you
aren't really traffic/binary minded.

Yours,

Weyert de Boer ([EMAIL PROTECTED])
innerfuse*

http://www.innerfuse.biz/


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



 









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












[flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread nz_mehere



Hi Peter,

If I understand what you are saying, the Final keyword will be on the
thumbCount property, so preventing anyone from over loading it as I
am trying to do?

That makes sense...

Thanks for the help

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

 In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the
 final keyword which can be applied at the class or method levels to stop
 subclasses overriding/extending functionality.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of nz_mehere
 Sent: Tuesday, May 02, 2006 5:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] how do I prevent users from accessing my super
 extened class?
 
 Hi there,
 
 I have writen a class that extends the VSlider
 
 VSliders have the property of thumbCount, which is how many little
 arrows appear on the slider.
 
 I want to prevent people from setting there own.
 
 I thought I could hide it from them by overriding the thumbCount
 property with a private one, but get an error Overriding function that
 is not masked for override.
 
 The code is something like this:
 
 private function set thumbCount(number:Number):void{
  super.thumbCount = number; 
 }
 
 What am I missing?
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 Yahoo! Groups Links











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Please Help. Http Service WTH

2006-05-03 Thread Faisal Abid



Okay so for the past 4 hours + 3 hours at night ive been debugging my 
application only to come to the conclusion that in a httpservice url i 
cannot do this

mx:httpservice 
url="" href="http://something.com/api/someting/{textinput.text}/somethingelse/something">http://something.com/api/someting/{textinput.text}/somethingelse/something

The httpservice is fine , i test it in a broswer by replacijng 
texinput.txt to something and it returns what its ment to , but in flex 
it gives me an error saying i must defind a url, I mean it is defined , 
i know there is a workaround to  by puttin amp; But What the hec is 
wrong with my url??






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread Peter Farland



 
Correct.

public final function set thumbCount(number:Number):void
{
 super.thumbCount = number; 
}


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nz_mehere
Sent: Wednesday, May 03, 2006 4:12 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how do I prevent users from accessing my super
extened class?

Hi Peter,

If I understand what you are saying, the Final keyword will be on the
thumbCount property, so preventing anyone from over loading it as I am
trying to do?

That makes sense...

Thanks for the help

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

 In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the 
 final keyword which can be applied at the class or method levels to 
 stop subclasses overriding/extending functionality.
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 On Behalf Of nz_mehere
 Sent: Tuesday, May 02, 2006 5:27 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] how do I prevent users from accessing my super 
 extened class?
 
 Hi there,
 
 I have writen a class that extends the VSlider
 
 VSliders have the property of thumbCount, which is how many little 
 arrows appear on the slider.
 
 I want to prevent people from setting there own.
 
 I thought I could hide it from them by overriding the thumbCount
 property with a private one, but get an error Overriding function 
 that is not masked for override.
 
 The code is something like this:
 
 private function set thumbCount(number:Number):void{
  super.thumbCount = number; 
 }
 
 What am I missing?
 
 
 
 
 
 --
 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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











RE: [flexcoders] Please Help. Http Service WTH

2006-05-03 Thread Kelly @ Dekayd Media Inc.



I could be wrong but I think the url in the mxml tag has to be a compile
time constant.




-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Faisal Abid
Sent: Wednesday, May 03, 2006 1:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Please Help. Http Service WTH

Okay so for the past 4 hours + 3 hours at night ive been debugging my 
application only to come to the conclusion that in a httpservice url i 
cannot do this

mx:httpservice 
url="" href="http://something.com/api/someting/{textinput.text}/somethingelse/someth">http://something.com/api/someting/{textinput.text}/somethingelse/someth
ing

The httpservice is fine , i test it in a broswer by replacijng 
texinput.txt to something and it returns what its ment to , but in flex 
it gives me an error saying i must defind a url, I mean it is defined , 
i know there is a workaround to  by puttin amp; But What the hec is 
wrong with my url??


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



 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












RE: [flexcoders] Flex 2B2: Can't connect a Socket() on Mac OS X

2006-05-03 Thread Weyert de Boer



Hi Tobias,

 I tried switching Socket to XMLSocket, but have exactly the same
 problem. It works on Windows, but not Mac.

Aah, I think this is strange because when I use my XMLSocket server
written Python on the Mac it works fine, even without a crossdomains file.

It works fine in Flash itself, though. I don't think I can help further...
I am not using MacOSX that much.

 response, but that's when things stop working. This happens regardless
 of whether or not I call loadSecurityPolicy() explicitly.

Are you sure the XMLSocketServer ain't getting kill somehow? I have had
this also ones, no idea how I fixed it.

Yours,
Weyert de Boer






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












Re: [flexcoders] Please Help. Http Service WTH

2006-05-03 Thread Faisal Abid



You mean it has to be predefined? But i dont think so because in that 
flickr video this is what sho did
http://www.flickr.com/services/rest/?method=flickr.photos.searchamp;api_key=64a1ba754a4c588e3aa3ff6077fa0e75amp;per_page=9amp;tags={key.text}
and it worked..

Kelly @ Dekayd Media Inc. wrote:
 I could be wrong but I think the url in the mxml tag has to be a compile
 time constant.




 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Faisal Abid
 Sent: Wednesday, May 03, 2006 1:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Please Help. Http Service WTH

 Okay so for the past 4 hours + 3 hours at night ive been debugging my
 application only to come to the conclusion that in a httpservice url i
 cannot do this

 mx:httpservice
 url="" href="http://something.com/api/someting/{textinput.text}/somethingelse/someth">http://something.com/api/someting/{textinput.text}/somethingelse/someth 
 http://something.com/api/someting/%7Btextinput.text%7D/somethingelse/someth
 ing

 The httpservice is fine , i test it in a broswer by replacijng
 texinput.txt to something and it returns what its ment to , but in flex
 it gives me an error saying i must defind a url, I mean it is defined ,
 i know there is a workaround to  by puttin amp; But What the hec is
 wrong with my url??


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








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



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

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



 
 YAHOO! GROUPS LINKS

 * Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders on the web.
 
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/.


 








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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











[flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread nz_mehere



The thumbCount must already have the final keyword, as I can't
overload it. I get the Overriding function that is not marked for
override error, and it won't compile.
...but at least I understand why now! :-)


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

 
 Correct.
 
 public final function set thumbCount(number:Number):void
 {
 super.thumbCount = number; 
 }
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of nz_mehere
 Sent: Wednesday, May 03, 2006 4:12 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: how do I prevent users from accessing my super
 extened class?
 
 Hi Peter,
 
 If I understand what you are saying, the Final keyword will be on the
 thumbCount property, so preventing anyone from over loading it as I am
 trying to do?
 
 That makes sense...
 
 Thanks for the help
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the 
  final keyword which can be applied at the class or method levels to 
  stop subclasses overriding/extending functionality.
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On Behalf Of nz_mehere
  Sent: Tuesday, May 02, 2006 5:27 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] how do I prevent users from accessing my super 
  extened class?
  
  Hi there,
  
  I have writen a class that extends the VSlider
  
  VSliders have the property of thumbCount, which is how many little 
  arrows appear on the slider.
  
  I want to prevent people from setting there own.
  
  I thought I could hide it from them by overriding the thumbCount
  property with a private one, but get an error Overriding function 
  that is not masked for override.
  
  The code is something like this:
  
  private function set thumbCount(number:Number):void{
   super.thumbCount = number; 
  }
  
  What am I missing?
  
  
  
  
  
  --
  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








  
  
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] Flash Player 9 on Linux?

2006-05-03 Thread John Dowdell



Carlos Rovira wrote:
 Thanks for the link. I saw it when Tinic wrote at the end of the year, 
 and I
 was looking for some more fresh info.

Tinic's post was the last public guidance I recall too. I'll try to 
catch Tinic or Emmy in-cube today, though, see what options we can 
pursue on this here in May.

(Yes, the comments on Tinic's piece did get campaign'd ;-)

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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] property-case in flex-enterprise-service.xml

2006-05-03 Thread Rick Schmitty



Was just poking around the xml files and noticed this section.

property-case
 !-- cfc property names --
 force-cfc-lowercasefalse/force-cfc-lowercase
 !-- Query column names --
 force-query-lowercasefalse/force-query-lowercase
 !-- struct keys --
 force-struct-lowercasefalse/force-struct-lowercase
/property-case


Is there an option to keep-struct-case or such or is there a setting
somewhere else you can adjust so coldfusion structs keep their case
over remote object?


tia..






--
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] AMFPHP / Class Mappings / Flex 2

2006-05-03 Thread Jim Laing



I've seen a lot of people talking about using AMFPHP with various
subclasses of NetConnection in Flex 2. I've played around with it with
a lot of success; however, I'm having trouble getting my class
mappings (http://www.amfphp.org/docs/classmapping.html) to work. I've
tried using metadata and flash.net.registerClassAlias in Flex, as well
as both _explictType and the class mapping table in AMFPHP, and I
can't seem to get a combination that works. All I get back are untyped
objects.

Has anyone gotten this to work? If you, what's your secret?

Jim






--
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: property-case in flex-enterprise-service.xml

2006-05-03 Thread Rick Schmitty



oops I'll answer my own question, seems like it is a Coldfusion thing
with how it creates structs and nothing to do with Flex

if you have an array of users:

cfset s=structNew()
cfset s.firstName=Bob

and dump the array, coldfusion shows all the keys in CAPS, however if
you use the function

cfset s=structNew()
cfset structInsert(s,firstName,Bob)

and dump it, it keeps it case in CF as well as Flex over the wire

sorry if this is a known trick posted before..fired an email too
quickly there in distress!

On 5/3/06, Rick Schmitty [EMAIL PROTECTED] wrote:
 Was just poking around the xml files and noticed this section.

 property-case
 !-- cfc property names --
 force-cfc-lowercasefalse/force-cfc-lowercase
 !-- Query column names --
 force-query-lowercasefalse/force-query-lowercase
 !-- struct keys --
 force-struct-lowercasefalse/force-struct-lowercase
 /property-case


 Is there an option to keep-struct-case or such or is there a setting
 somewhere else you can adjust so coldfusion structs keep their case
 over remote object?


 tia..







--
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] Flash Player 9 on Linux?

2006-05-03 Thread Carlos Rovira



That would be fantastic John! Thanks! :)On 5/3/06, John Dowdell [EMAIL PROTECTED] wrote:



Carlos Rovira wrote:
 Thanks for the link. I saw it when Tinic wrote at the end of the year, 
 and I
 was looking for some more fresh info.

Tinic's post was the last public guidance I recall too. I'll try to 
catch Tinic or Emmy in-cube today, though, see what options we can 
pursue on this here in May.

(Yes, the comments on Tinic's piece did get campaign'd ;-)

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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
.



  










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






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flash Player 9 on Linux?

2006-05-03 Thread John Dowdell



I got a little more context on this... things seem same as before, with 
Player 9 expected Mac/Win within the next little bit, and the Linux 
Player 9 will take additional time beyond that. Staff are working on it 
now, but I won't expect to see finer-grained guidance until the next 
milestone gets hit... indeterminate for me now. But it's still looking 
like there will be a Player 9 for mainstream Linux just a few months 
after Mac/Win hits.

jd




-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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] menuBar text color

2006-05-03 Thread Tim Hoff



Is there a way to have different text color for a menuBar's top item 
and drop-down items? extend? subclass?

Thanks in advance,
- Tim Hoff









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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  












RE: [flexcoders] Please Help. Http Service WTH

2006-05-03 Thread Tracy Spratt



That should not have worked. You are not supposed to put any arguments
on the url. This is in the documents somewhere. Assuming we are
talking 1.5

The workaround for this is to set the url and request args in AS code.

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Faisal Abid
Sent: Wednesday, May 03, 2006 4:42 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Please Help. Http Service WTH

You mean it has to be predefined? But i dont think so because in that 
flickr video this is what sho did
http://www.flickr.com/services/rest/?method=flickr.photos.searchamp;api
_key=64a1ba754a4c588e3aa3ff6077fa0e75amp;per_page=9amp;tags={key.text}
and it worked..

Kelly @ Dekayd Media Inc. wrote:
 I could be wrong but I think the url in the mxml tag has to be a
compile
 time constant.




 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Faisal Abid
 Sent: Wednesday, May 03, 2006 1:34 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Please Help. Http Service WTH

 Okay so for the past 4 hours + 3 hours at night ive been debugging my
 application only to come to the conclusion that in a httpservice url i
 cannot do this

 mx:httpservice

url="" href="http://something.com/api/someting/{textinput.text}/somethingelse/so">http://something.com/api/someting/{textinput.text}/somethingelse/so
meth 

http://something.com/api/someting/%7Btextinput.text%7D/somethingelse/so
meth
 ing

 The httpservice is fine , i test it in a broswer by replacijng
 texinput.txt to something and it returns what its ment to , but in
flex
 it gives me an error saying i must defind a url, I mean it is defined
,
 i know there is a workaround to  by puttin amp; But What the hec is
 wrong with my url??


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








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



 SPONSORED LINKS
 Web site design development 

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

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

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

 Macromedia flex 

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

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





 YAHOO! GROUPS LINKS

 * Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders on the web.
 
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

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








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



 










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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit 

Re: [flexcoders] Flash Player 9 on Linux?

2006-05-03 Thread Carlos Rovira



Thanks John! With that info we can give some arguments to our clients saying that we'll have the linux player a few months after the win/mac release : )On 5/3/06, 
John Dowdell [EMAIL PROTECTED] wrote:



I got a little more context on this... things seem same as before, with 
Player 9 expected Mac/Win within the next little bit, and the Linux 
Player 9 will take additional time beyond that. Staff are working on it 
now, but I won't expect to see finer-grained guidance until the next 
milestone gets hit... indeterminate for me now. But it's still looking 
like there will be a Player 9 for mainstream Linux just a few months 
after Mac/Win hits.

jd




-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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
.



  









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






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









RE: [flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread Peter Farland



Oh, in that case override then mark final:

override public final function set thumbCount(number:Number):void {
 super.thumbCount = number; 
 }
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nz_mehere
Sent: Wednesday, May 03, 2006 4:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how do I prevent users from accessing my super
extened class?

The thumbCount must already have the final keyword, as I can't overload
it. I get the Overriding function that is not marked for override
error, and it won't compile.
...but at least I understand why now! :-)


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

 
 Correct.
 
 public final function set thumbCount(number:Number):void {
 super.thumbCount = number; 
 }
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
 On Behalf Of nz_mehere
 Sent: Wednesday, May 03, 2006 4:12 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: how do I prevent users from accessing my 
 super extened class?
 
 Hi Peter,
 
 If I understand what you are saying, the Final keyword will be on the 
 thumbCount property, so preventing anyone from over loading it as I 
 am trying to do?
 
 That makes sense...
 
 Thanks for the help
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the 
  final keyword which can be applied at the class or method levels to 
  stop subclasses overriding/extending functionality.
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
  On Behalf Of nz_mehere
  Sent: Tuesday, May 02, 2006 5:27 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] how do I prevent users from accessing my super

  extened class?
  
  Hi there,
  
  I have writen a class that extends the VSlider
  
  VSliders have the property of thumbCount, which is how many little

  arrows appear on the slider.
  
  I want to prevent people from setting there own.
  
  I thought I could hide it from them by overriding the thumbCount
  property with a private one, but get an error Overriding function 
  that is not masked for override.
  
  The code is something like this:
  
  private function set thumbCount(number:Number):void{
   super.thumbCount = number; 
  }
  
  What am I missing?
  
  
  
  
  
  --
  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



 









--
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: menuBar text color

2006-05-03 Thread Tim Hoff



very cool - thanks Deepa.

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

 Hi Tim -
 
 
 
 In Flex 2 you can set the color style on the MenuBar - that will 
affect
 the text color of the top-level menubar items as well as the drop 
down
 menus. To affect just the drop down menus, you can set the color 
style
 on just the Menu component. 
 
 
 
 Used in conjunction, you can achieve what you want:
 
 
 
 ?xml version=1.0 encoding=iso-8859-1?
 
 mx:Application xmlns:mx=http://www.adobe.com/2006/mxml 
width=600
 height=600 
 
 
 
 mx:Script
 
 ![CDATA[
 
 
 
 private function setMenuColors(mb:MenuBar):void
 
 {
 
 for (var i:int = 0; i  dp.children().length(); i++)
 
 {
 
 mb.getMenuAt(i).setStyle('color', 'blue');
 
 }
 
 }
 
 
 
 ]]
 
 /mx:Script
 
 
 
 mx:MenuBar id=mb dataProvider={dp} showRoot=false 
color=red
 creationComplete=setMenuColors(mb); labelField=@label/
 
 
 
 mx:XML id=dp
 
 node label=root
 
 node label=one
 
 node label=child /
 
 /node
 
 node label=two
 
 node label=child /
 
 /node
 
 node label=three
 
 node label=child /
 
 /node
 
 /node
 
 /mx:XML
 
 
 
 /mx:Application
 
 
 
 -deepa
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Tim Hoff
 Sent: Wednesday, May 03, 2006 2:52 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] menuBar text color
 
 
 
 Is there a way to have different text color for a menuBar's top 
item 
 and drop-down items? extend? subclass?
 
 Thanks in advance,
 - Tim Hoff
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 
 
 
 
 SPONSORED LINKS 
 
 Web site design development
 http://groups.yahoo.com/gads?
t=msk=Web+site+design+developmentw1=Web+
 
site+design+developmentw2=Computer+software+developmentw3=Software+
des
 
ign+and+developmentw4=Macromedia+flexw5=Software+development+best+p
rac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ 
 
 Computer software development
 http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=We
 
b+site+design+developmentw2=Computer+software+developmentw3=Softwar
e+d
 
esign+and+developmentw4=Macromedia+flexw5=Software+development+best
+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw 
 
 Software design and development
 http://groups.yahoo.com/gads?
t=msk=Software+design+and+developmentw1=
 
Web+site+design+developmentw2=Computer+software+developmentw3=Softw
are
 
+design+and+developmentw4=Macromedia+flexw5=Software+development+be
st+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ 
 
 Macromedia flex
 http://groups.yahoo.com/gads?
t=msk=Macromedia+flexw1=Web+site+design+
 
developmentw2=Computer+software+developmentw3=Software+design+and+d
eve
 
lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5
s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw 
 
 Software development best practice
 http://groups.yahoo.com/gads?
t=msk=Software+development+best+practice
 
w1=Web+site+design+developmentw2=Computer+software+developmentw3=So
ftw
 
are+design+and+developmentw4=Macromedia+flexw5=Software+development
+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
 
 
 
 
 YAHOO! GROUPS LINKS 
 
 
 
 *  Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders  on the web.
   
 *  To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
subject=Unsubscribe 
   
 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/ . 
 
 
 
 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  











Re: [flexcoders] Please Help. Http Service WTH

2006-05-03 Thread Faisal Abid



Well This is Beta 2, and what do you mean it wont work? how else do you 
expect to call a flickr webservice via HTTP, the only thing basically i 
want to know is how to call a binding within two backslashes like this 
/{binding/whateever.html

And Binding in httpservice does work , try my custom feed reader 
somewhere on www.g-unix.com


Tracy Spratt wrote:
 That should not have worked. You are not supposed to put any arguments
 on the url. This is in the documents somewhere. Assuming we are
 talking 1.5

 The workaround for this is to set the url and request args in AS code.

 Tracy

 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Faisal Abid
 Sent: Wednesday, May 03, 2006 4:42 PM
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Please Help. Http Service WTH

 You mean it has to be predefined? But i dont think so because in that
 flickr video this is what sho did
 http://www.flickr.com/services/rest/?method=flickr.photos.searchamp;api 
 http://www.flickr.com/services/rest/?method=flickr.photos.searchapi
 _key=64a1ba754a4c588e3aa3ff6077fa0e75amp;per_page=9amp;tags={key.text}
 and it worked..

 Kelly @ Dekayd Media Inc. wrote:
  I could be wrong but I think the url in the mxml tag has to be a
 compile
  time constant.
 
 
 
 
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
 On
  Behalf Of Faisal Abid
  Sent: Wednesday, May 03, 2006 1:34 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Please Help. Http Service WTH
 
  Okay so for the past 4 hours + 3 hours at night ive been debugging my
  application only to come to the conclusion that in a httpservice url i
  cannot do this
 
  mx:httpservice
 
 url="" href="http://something.com/api/someting/{textinput.text}/somethingelse/so">http://something.com/api/someting/{textinput.text}/somethingelse/so 
 http://something.com/api/someting/%7Btextinput.text%7D/somethingelse/so
 meth
 
 http://something.com/api/someting/%7Btextinput.text%7D/somethingelse/so
 meth
  ing
 
  The httpservice is fine , i test it in a broswer by replacijng
  texinput.txt to something and it returns what its ment to , but in
 flex
  it gives me an error saying i must defind a url, I mean it is defined
 ,
  i know there is a workaround to  by puttin amp; But What the hec is
  wrong with my url??
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.com
 
 
 
  SPONSORED LINKS
  Web site design development
 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+ 
 http://groups.yahoo.com/gads?t=msk=Web+site+design+developmentw1=Web+
 site+design+developmentw2=Computer+software+developmentw3=Software+des
 ign+and+developmentw4=Macromedia+flexw5=Software+development+best+prac
 ticec=5s=166.sig=L-4QTvxB_quFDtMyhrQaHQ
  Computer software development
 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We 
 http://groups.yahoo.com/gads?t=msk=Computer+software+developmentw1=We
 b+site+design+developmentw2=Computer+software+developmentw3=Software+d
 esign+and+developmentw4=Macromedia+flexw5=Software+development+best+pr
 acticec=5s=166.sig=lvQjSRfQDfWudJSe1lLjHw
  Software design and development
 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1= 
 http://groups.yahoo.com/gads?t=msk=Software+design+and+developmentw1=
 Web+site+design+developmentw2=Computer+software+developmentw3=Software
 +design+and+developmentw4=Macromedia+flexw5=Software+development+best+
 practicec=5s=166.sig=1pMBCdo3DsJbuU9AEmO1oQ
 
  Macromedia flex
 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+ 
 http://groups.yahoo.com/gads?t=msk=Macromedia+flexw1=Web+site+design+
 developmentw2=Computer+software+developmentw3=Software+design+and+deve
 lopmentw4=Macromedia+flexw5=Software+development+best+practicec=5s=1
 66.sig=OO6nPIrz7_EpZI36cYzBjw
  Software development best practice
 
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice 
 http://groups.yahoo.com/gads?t=msk=Software+development+best+practice
 w1=Web+site+design+developmentw2=Computer+software+developmentw3=Softw
 are+design+and+developmentw4=Macromedia+flexw5=Software+development+be
 st+practicec=5s=166.sig=f89quyyulIDsnABLD6IXIw
 
 
 
 
 
  YAHOO! GROUPS LINKS
 
  * Visit your group flexcoders
  http://groups.yahoo.com/group/flexcoders on the web.
  
  * To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
 
 mailto:[EMAIL PROTECTED]
  
  * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
  Service 

[flexcoders] Re: Please Help. Http Service WTH

2006-05-03 Thread Doug Lowder



Try binding the entire url property to a variable that you build in 
code:

 var myUrl: String = ;
 function buildMyUrl(s: String) {
 myUrl = http://something.com/api/someting/ + 
 s + /somethingelse/something;
 }

mx:HTTPService url="" ... /


Then just call buldMyUrl(textinput.text) somewhere, such as the 
click handler for a button or just before you call your 
httpservice's send() method.


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

 Okay so for the past 4 hours + 3 hours at night ive been debugging 
my 
 application only to come to the conclusion that in a httpservice 
url i 
 cannot do this
 
 mx:httpservice 
 url="" href="http://something.com/api/someting/">http://something.com/api/someting/
{textinput.text}/somethingelse/something
 
 The httpservice is fine , i test it in a broswer by replacijng 
 texinput.txt to something and it returns what its ment to , but in 
flex 
 it gives me an error saying i must defind a url, I mean it is 
defined , 
 i know there is a workaround to  by puttin amp; But What the hec 
is 
 wrong with my url??











--
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: Please Help. Http Service WTH

2006-05-03 Thread Faisal Abid



Okay i see where your going at , so how would i call BuildMyUrl , like 
so i made teh function and then i made trhe service and then i made the 
textinput , where do i put BuildMyURL(textinput.text) (and is it normail 
brakets or curly) , im sorry if this is an easy question, im sort of 
really stressed out and stumped.


Doug Lowder wrote:
 Try binding the entire url property to a variable that you build in
 code:

 var myUrl: String = ;
 function buildMyUrl(s: String) {
 myUrl = http://something.com/api/someting/ +
 s + /somethingelse/something;
 }

 mx:HTTPService url="" ... /


 Then just call buldMyUrl(textinput.text) somewhere, such as the
 click handler for a button or just before you call your
 httpservice's send() method.


 --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote:
 
  Okay so for the past 4 hours + 3 hours at night ive been debugging
 my
  application only to come to the conclusion that in a httpservice
 url i
  cannot do this
 
  mx:httpservice
  url="" href="http://something.com/api/someting/">http://something.com/api/someting/
 {textinput.text}/somethingelse/something
 
  The httpservice is fine , i test it in a broswer by replacijng
  texinput.txt to something and it returns what its ment to , but in
 flex
  it gives me an error saying i must defind a url, I mean it is
 defined ,
  i know there is a workaround to  by puttin amp; But What the hec
 is
  wrong with my url??
 






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



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

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



 
 YAHOO! GROUPS LINKS

 * Visit your group flexcoders
 http://groups.yahoo.com/group/flexcoders on the web.
 
 * To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]
 
 * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/.


 








--
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] Flash Player 9 on Linux?

2006-05-03 Thread John Dowdell



Carlos Rovira wrote:
 With that info we can give some arguments to our clients saying that we'll
 have the linux player a few months after the win/mac release

Cool... only caveat I'd have would be we *expect* to have it a few 
months later, by all current indications... until stuff actually ships 
I tend to reserve judgment, but from what I myself see and hear now, 
everything does still look good for Linux Player ports within a few 
months of Mac/Win getting finalized.

Best laid plans..., I guess that's my concern here, could be an 
earthquake in San Francisco perish-the-thought

jd





-- 
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, 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: Please Help. Http Service WTH

2006-05-03 Thread Doug Lowder



It's up to you where you put the call to buildMyUrl(), depending on 
when and how you want your http service to be invoked. You could 
add a button and put it in the click handler:

mx:Button label=Go 
 click=buildMyUrl(textinput.text);myService.send() /

Or you could even call it in the enter handler for your text imput; 
just type some text and hit enter to call your service:

mx:TextInput id=textinput
 enter=buildMyUrl(event.target.text);myService.send() ... /


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

 Okay i see where your going at , so how would i call BuildMyUrl , 
like 
 so i made teh function and then i made trhe service and then i 
made the 
 textinput , where do i put BuildMyURL(textinput.text) (and is it 
normail 
 brakets or curly) , im sorry if this is an easy question, im sort 
of 
 really stressed out and stumped.
 
 
 Doug Lowder wrote:
  Try binding the entire url property to a variable that you build 
in
  code:
 
  var myUrl: String = ;
  function buildMyUrl(s: String) {
  myUrl = http://something.com/api/someting/ +
  s + /somethingelse/something;
  }
 
  mx:HTTPService url="" ... /
 
 
  Then just call buldMyUrl(textinput.text) somewhere, such as the
  click handler for a button or just before you call your
  httpservice's send() method.
 
 
  --- In flexcoders@yahoogroups.com, Faisal Abid Faisal@ wrote:
  
   Okay so for the past 4 hours + 3 hours at night ive been 
debugging
  my
   application only to come to the conclusion that in a 
httpservice
  url i
   cannot do this
  
   mx:httpservice
   url="" href="http://something.com/api/someting/">http://something.com/api/someting/
  {textinput.text}/somethingelse/something
  
   The httpservice is fine , i test it in a broswer by replacijng
   texinput.txt to something and it returns what its ment to , 
but in
  flex
   it gives me an error saying i must defind a url, I mean it is
  defined ,
   i know there is a workaround to  by puttin amp; But What the 
hec
  is
   wrong with my url??
  
 
 
 
 
 
 
  --
  Flexcoders Mailing List
  FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
 
 
 
  SPONSORED LINKS
  Web site design development 
  http://groups.yahoo.com/gads?
t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=
Computer+software+developmentw3=Software+design+and+developmentw4=M
acromedia+flexw5=Software+development+best+practicec=5s=166.sig=L
-4QTvxB_quFDtMyhrQaHQ 
   Computer software development 
  http://groups.yahoo.com/gads?
t=msk=Computer+software+developmentw1=Web+site+design+developmentw
2=Computer+software+developmentw3=Software+design+and+developmentw4
=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig
=lvQjSRfQDfWudJSe1lLjHw 
   Software design and development 
  http://groups.yahoo.com/gads?
t=msk=Software+design+and+developmentw1=Web+site+design+development
w2=Computer+software+developmentw3=Software+design+and+development
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s
ig=1pMBCdo3DsJbuU9AEmO1oQ 
 
  Macromedia flex 
  http://groups.yahoo.com/gads?
t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof
tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl
exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ
I36cYzBjw 
   Software development best practice 
  http://groups.yahoo.com/gads?
t=msk=Software+development+best+practicew1=Web+site+design+developm
entw2=Computer+software+developmentw3=Software+design+and+developme
ntw4=Macromedia+flexw5=Software+development+best+practicec=5s=166
.sig=f89quyyulIDsnABLD6IXIw 
 
 
 
  -
---
  YAHOO! GROUPS LINKS
 
  * Visit your group flexcoders
  http://groups.yahoo.com/group/flexcoders on the web.
  
  * To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED]
subject=Unsubscribe
  
  * Your use of Yahoo! Groups is subject to the Yahoo! Terms 
of
  Service http://docs.yahoo.com/info/terms/.
 
 
  -
---
 











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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  

[flexcoders] Re: Please Help. Http Service WTH

2006-05-03 Thread Doug Lowder



And about parameters in the url, instead of this, for example:

 myUrl = http://server.com/page?firstname=Johnlastname=Doe;
 myService.send();

Do this:

 myUrl = http://server.com/page;
 myService.send( {firstname: John, lastname: Doe} );

You might be able to get the first case to work in certain 
situations, but it would likely cause problems with a service that 
has its method property set to POST.


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

 Ahh rite rite rite , Thanks SO much i will add your name in the 
credits 
 for your help
 
 
 Doug Lowder wrote:
  It's up to you where you put the call to buildMyUrl(), depending 
on
  when and how you want your http service to be invoked. You could
  add a button and put it in the click handler:
 
  mx:Button label=Go
  click=buildMyUrl(textinput.text);myService.send() /
 
  Or you could even call it in the enter handler for your text 
imput;
  just type some text and hit enter to call your service:
 
  mx:TextInput id=textinput
  enter=buildMyUrl(event.target.text);myService.send() ... /
 
 
  --- In flexcoders@yahoogroups.com, Faisal Abid Faisal@ wrote:
  
   Okay i see where your going at , so how would i call 
BuildMyUrl ,
  like
   so i made teh function and then i made trhe service and then i
  made the
   textinput , where do i put BuildMyURL(textinput.text) (and is 
it
  normail
   brakets or curly) , im sorry if this is an easy question, im 
sort
  of
   really stressed out and stumped.
  
  
   Doug Lowder wrote:
Try binding the entire url property to a variable that you 
build
  in
code:
   
var myUrl: String = ;
function buildMyUrl(s: String) {
myUrl = http://something.com/api/someting/ +
s + /somethingelse/something;
}
   
mx:HTTPService url="" ... /
   
   
Then just call buldMyUrl(textinput.text) somewhere, such 
as the
click handler for a button or just before you call your
httpservice's send() method.
   
   
--- In flexcoders@yahoogroups.com, Faisal Abid Faisal@ 
wrote:

 Okay so for the past 4 hours + 3 hours at night ive been
  debugging
my
 application only to come to the conclusion that in a
  httpservice
url i
 cannot do this

 mx:httpservice
 url="" href="http://something.com/api/someting/">http://something.com/api/someting/
{textinput.text}/somethingelse/something

 The httpservice is fine , i test it in a broswer by 
replacijng
 texinput.txt to something and it returns what its ment to ,
  but in
flex
 it gives me an error saying i must defind a url, I mean it 
is
defined ,
 i know there is a workaround to  by puttin amp; But What 
the
  hec
is
 wrong with my url??

   
   
   
   
   
   
--
Flexcoders Mailing List
FAQ:
  http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%
  40yahoogroups.com
   
   
   
SPONSORED LINKS
Web site design development
http://groups.yahoo.com/gads?
  
t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=
  
Computer+software+developmentw3=Software+design+and+developmentw4=M
  
acromedia+flexw5=Software+development+best+practicec=5s=166.sig=L
  -4QTvxB_quFDtMyhrQaHQ
Computer software development
http://groups.yahoo.com/gads?
  
t=msk=Computer+software+developmentw1=Web+site+design+developmentw
  
2=Computer+software+developmentw3=Software+design+and+developmentw4
  
=Macromedia+flexw5=Software+development+best+practicec=5s=166.sig
  =lvQjSRfQDfWudJSe1lLjHw
Software design and development
http://groups.yahoo.com/gads?
  
t=msk=Software+design+and+developmentw1=Web+site+design+development
  
w2=Computer+software+developmentw3=Software+design+and+development
  
w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s
  ig=1pMBCdo3DsJbuU9AEmO1oQ
   
Macromedia flex
http://groups.yahoo.com/gads?
  
t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof
  
tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl
  
exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ
  I36cYzBjw
Software development best practice
http://groups.yahoo.com/gads?
  
t=msk=Software+development+best+practicew1=Web+site+design+developm
  
entw2=Computer+software+developmentw3=Software+design+and+developme
  
ntw4=Macromedia+flexw5=Software+development+best+practicec=5s=166
  .sig=f89quyyulIDsnABLD6IXIw
   
   
   
-

  ---
YAHOO! GROUPS LINKS
   
* Visit your group flexcoders
http://groups.yahoo.com/group/flexcoders on the web.

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

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

[flexcoders] Is there a separator item for a ComboBox?

2006-05-03 Thread george_lui



Hi,

Does the flex standard library have a separator (horizontal line) item
that you can specify to insert into a ComboBox? I looked around,
doesn't seem to be one, but I thought I'd ask around here as well.

thx,
George










--
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] newbie Cairngorm 2.0 question

2006-05-03 Thread Barry Beattie



I have a large rambling app to build that's mostly just data
maintainance and retrieval screens.

I was thinking of breaking it down as each section of functionality
(for the user) is a seperate application. the trouble there is with
using various screens.

Each screen will consist of a multi-tabbed form and each tab handles
specific functionality - (basic details/extended details/associated
details, etc)

each tab is a seperate view in Cairngorm terminology, yes?

the trick is that each of the contents of the tab can be reused in
other parts of the same application or indeed in other applications
(ie: other sections of the whole product)

HOWEVER, when that happens, there can be different logic (both at a
view and a model level) for that view/tab. It's based on context
(where in the app) as well as workflow (are they editing or appending?
different logic applies...). As far as the user sees, tab orders
change, validation changes, different data is retrieved, and different
business logic applies. I call it micro-logic.

on the face of it, the easiest way to build it (but not maintain) is
to just copy the MXML for each tab and write different processing
logic depending where it is in the app(s)...but I'm wanting to reuse
as much code as possible for future maintainance. Mostly the same user
events, commands, VO's being passed around

is this where viewHelpers...er...help? even though they're being
replaced with the idea of binding the view to the ModelLocator?

any suggestions? thanx






--
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: Please Help. Http Service WTH

2006-05-03 Thread Faisal Abid



I havent tried any of the methods yet , though the first one sounds 
extremely simple to do , however how would i do this if i had multiple 
textinputs and multiple varaibles in the url string , would i have to 
define each on in the function eg

function Deploy(s: String, p:String, and so on and so on)
or is there another way?


Doug Lowder wrote:
 And about parameters in the url, instead of this, for example:

 myUrl = http://server.com/page?firstname=Johnlastname=Doe 
 http://server.com/page?firstname=Johnlastname=Doe;
 myService.send();

 Do this:

 myUrl = http://server.com/page;
 myService.send( {firstname: John, lastname: Doe} );

 You might be able to get the first case to work in certain
 situations, but it would likely cause problems with a service that
 has its method property set to POST.


 --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED] wrote:
 
  Ahh rite rite rite , Thanks SO much i will add your name in the
 credits
  for your help
 
 
  Doug Lowder wrote:
   It's up to you where you put the call to buildMyUrl(), depending
 on
   when and how you want your http service to be invoked. You could
   add a button and put it in the click handler:
  
   mx:Button label=Go
   click=buildMyUrl(textinput.text);myService.send() /
  
   Or you could even call it in the enter handler for your text
 imput;
   just type some text and hit enter to call your service:
  
   mx:TextInput id=textinput
   enter=buildMyUrl(event.target.text);myService.send() ... /
  
  
   --- In flexcoders@yahoogroups.com, Faisal Abid Faisal@ wrote:
   
Okay i see where your going at , so how would i call
 BuildMyUrl ,
   like
so i made teh function and then i made trhe service and then i
   made the
textinput , where do i put BuildMyURL(textinput.text) (and is
 it
   normail
brakets or curly) , im sorry if this is an easy question, im
 sort
   of
really stressed out and stumped.
   
   
Doug Lowder wrote:
 Try binding the entire url property to a variable that you
 build
   in
 code:

 var myUrl: String = ;
 function buildMyUrl(s: String) {
 myUrl = http://something.com/api/someting/ +
 s + /somethingelse/something;
 }

 mx:HTTPService url="" ... /


 Then just call buldMyUrl(textinput.text) somewhere, such
 as the
 click handler for a button or just before you call your
 httpservice's send() method.


 --- In flexcoders@yahoogroups.com, Faisal Abid Faisal@
 wrote:
 
  Okay so for the past 4 hours + 3 hours at night ive been
   debugging
 my
  application only to come to the conclusion that in a
   httpservice
 url i
  cannot do this
 
  mx:httpservice
  url="" href="http://something.com/api/someting/">http://something.com/api/someting/
 {textinput.text}/somethingelse/something
 
  The httpservice is fine , i test it in a broswer by
 replacijng
  texinput.txt to something and it returns what its ment to ,
   but in
 flex
  it gives me an error saying i must defind a url, I mean it
 is
 defined ,
  i know there is a workaround to  by puttin amp; But What
 the
   hec
 is
  wrong with my url??
 






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



 SPONSORED LINKS
 Web site design development
 http://groups.yahoo.com/gads?
  
 t=msk=Web+site+design+developmentw1=Web+site+design+developmentw2=
  
 Computer+software+developmentw3=Software+design+and+developmentw4=M
  
 acromedia+flexw5=Software+development+best+practicec=5s=166.sig=L
   -4QTvxB_quFDtMyhrQaHQ
 Computer software development
 http://groups.yahoo.com/gads?
  
 t=msk=Computer+software+developmentw1=Web+site+design+developmentw
  
 2=Computer+software+developmentw3=Software+design+and+developmentw4
  
 =Macromedia+flexw5=Software+development+best+practicec=5s=166.sig
   =lvQjSRfQDfWudJSe1lLjHw
 Software design and development
 http://groups.yahoo.com/gads?
  
 t=msk=Software+design+and+developmentw1=Web+site+design+development
  
 w2=Computer+software+developmentw3=Software+design+and+development
  
 w4=Macromedia+flexw5=Software+development+best+practicec=5s=166.s
   ig=1pMBCdo3DsJbuU9AEmO1oQ

 Macromedia flex
 http://groups.yahoo.com/gads?
  
 t=msk=Macromedia+flexw1=Web+site+design+developmentw2=Computer+sof
  
 tware+developmentw3=Software+design+and+developmentw4=Macromedia+fl
  
 exw5=Software+development+best+practicec=5s=166.sig=OO6nPIrz7_EpZ
   I36cYzBjw
 Software development best practice
 http://groups.yahoo.com/gads?
  
 t=msk=Software+development+best+practicew1=Web+site+design+developm
  
 entw2=Computer+software+developmentw3=Software+design+and+developme
  
 ntw4=Macromedia+flexw5=Software+development+best+practicec=5s=166
   

[flexcoders] Re: property-case in flex-enterprise-service.xml

2006-05-03 Thread nz_mehere



another way is this:

cfset s=structNew()
cfset s[firstName] =Bob


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

 oops I'll answer my own question, seems like it is a Coldfusion thing
 with how it creates structs and nothing to do with Flex
 
 if you have an array of users:
 
 cfset s=structNew()
 cfset s.firstName=Bob
 
 and dump the array, coldfusion shows all the keys in CAPS, however if
 you use the function
 
 cfset s=structNew()
 cfset structInsert(s,firstName,Bob)
 
 and dump it, it keeps it case in CF as well as Flex over the wire
 
 sorry if this is a known trick posted before..fired an email too
 quickly there in distress!
 
 On 5/3/06, Rick Schmitty [EMAIL PROTECTED] wrote:
  Was just poking around the xml files and noticed this section.
 
  property-case
  !-- cfc property names --
  force-cfc-lowercasefalse/force-cfc-lowercase
  !-- Query column names --
  force-query-lowercasefalse/force-query-lowercase
  !-- struct keys --
  force-struct-lowercasefalse/force-struct-lowercase
  /property-case
 
 
  Is there an option to keep-struct-case or such or is there a setting
  somewhere else you can adjust so coldfusion structs keep their case
  over remote object?
 
 
  tia..
 











--
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: DataService.fill params

2006-05-03 Thread Bill Sahlas










Actually (after having read the most
recent flex api doc), the better way to solve this is to



In our flex app just do this:



var isActive:Boolean = false;

var foo:String = bar;



var token:AsyncToken =
AsyncToken(ds.fill(contacts, isActive, foo)); 



Then in your cfc Assembler.cfc 



cffunction name=fill
output=no returntype=samples.contact..Contact[]
access=remote

 cfargument
name=param type=Any required=no

 cfargument
name=param2 type=Any required=no

 

cftry

 cfset
dao = CreateObject(component,
samples.contact.ContactDAO)

 cfif
structKeyExists(arguments, isActive)

 cfreturn
dao.read(isActive=arguments.isActive)

 cfelse

 cfreturn
dao.read()

 /cfif





The DAO code is the same as below.



--Bill











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bill Sahlas
Sent: Wednesday, May 03, 2006 2:14
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
DataService.fill params





Right. What you want to do is first
create the Array (an AS3 Object) that you want to pass over to CF as the second
arg to the ds.fill() method. This object will contain an array of
arguments and their values.



var myArgs:Object = {isActive:true,
foo:'bar'}; // OR you can dynamically assign the value as in var myArgs:Object = {isActive:myTextField.text,
foo:'bar'}; 



// This is the call to the ds.fill()
method

var token:AsyncToken =
AsyncToken(ds.fill(contacts, myArgs));





then in the cfc Assembler you can modify
your dao.read() method as follows






cfif structKeyExists(arguments, param)


cfreturn dao.read(isActive=arguments.param.isActive)


cfelse 


cfreturn dao.read()


/cfif



Your DAO may have as many arguments as you
want. For your example it may look like this



cffunction name=read
output=false access=public
returntype=samples.contact.Contact[]


cfargument name=id required=false


cfargument name=isActive
required=false



And your where clause would look like this



cfelseif structKeyExists(arguments,
isActive)


where isActive = cfqueryparam cfsqltype=CF_SQL_BIT
value=#arguments.isActive#/



HTH, Bill











From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Nikmd23
Sent: Wednesday, May 03, 2006
12:59 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
DataService.fill params





Thanks
Bill, that does help some, I do see in the DAO where I am supposed to change
the code.

However,
I'm still confused as to how to pass the params out of flex. The
DataService.fill method takes a ListCollectionView, followed by an array.
FB2 won't let me write ds.fill(myCollection, arg1, arg2).

But
then, even if I create an array with 1 element (a boolean:=true) - passing that
to CF seems to have an issue because the assembler's fill methodtakes one
param - a string. So here are my signatures:

(In
Flex) DataService.fill(x:ListCollectionView, y:Array=null); which calls
(In CF) Assembler.fill(a:String=null); which calls
(In CF) DAO.read(b:Any, c:Any); - which I understand is flexable
because I can change it to be whatever I want. Correct? 

What
would I change on these signatures to make Flex's fill function either work
with an array, or N number of arguments?

Thank
You,
Nik










--
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] Audio Visualization Component Help

2006-05-03 Thread Ben Stucki










Im looking for some feedback and help on my audio
visualization component. Specifically, Id like to know the best way to
handle color and alpha properties from both nonInherited and style rules. Any suggestions
for better property/component naming and general tips to improve performance (perhaps
all the looped var declarations should be declared in the class scope)?



http://blog.benstucki.net/?id=18









--
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] Flash Player 9 on Linux?

2006-05-03 Thread Andrew C. Oliver



As a Flex enthusiast, Linux user and open source developer, I think a 
much more aggressive effort towards Linux support would be greatly 
appreciated.

I might note that the present 7.x version doesn't even support AMD x64. 
One of the appeals of Flash is its universality and how great it works 
compared to say Java applets. These perceptions need to be made true 
and a tad more aggressively.

-Andy

John Dowdell wrote:
 Carlos Rovira wrote:
 
 With that info we can give some arguments to our clients saying that we'll
 have the linux player a few months after the win/mac release
 

 Cool... only caveat I'd have would be we *expect* to have it a few 
 months later, by all current indications... until stuff actually ships 
 I tend to reserve judgment, but from what I myself see and hear now, 
 everything does still look good for Linux Player ports within a few 
 months of Mac/Win getting finalized.

 Best laid plans..., I guess that's my concern here, could be an 
 earthquake in San Francisco perish-the-thought

 jd





 








--
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: Please Help. Http Service WTH

2006-05-03 Thread Graham Weldon






Hi Faisal,

Personally, due to the security restrictions and sandboxing of the
Flash player, I prefer to use a proxy method for HTTPServices:

---
MXML File
---

mx:Script
 ![CDATA[

  public function sendService()
  {
   var parameters : Object = new Object();
   parameters.url = "">
   /*
   * Alternatively, the URL parameter could be:
   * parameters.url = '' +
textInput.text + '/thing/here/doc.html';
   */
   parameters.myParam_x = textInput2.text;
   parameters.myParam_y = textInput3.text;
   parameters.myParam_z = textInput4.text;

   myService.send(parameters);
  }

  public function processServiceResult(_event : Event) :
void
  {
   //
   // This would process the result of the HTTPService call
somehow
   //
  }

 ]]
/mx:Script

mx:HTTPService
 id="myService"
 url=""
 resultFormat="e4x"
 result="processServiceResult(event)"/

!-- URL Field --
mx:TextInput id="textInput"/

!-- Parameter Fields --
mx:TextInput id="textInput2"/
mx:TextInput id="textInput3"/
mx:TextInput id="textInput4"/

!-- Button to activate the service --
mx:Button click="sendService();"/

===



---
PHP File - myProxy.php
---

?
 // Grab the specified URL
 $url = "">

 $start = true;

 for ($_REQUEST as $key = $value)
 {
  // If the parameter name starts with 'myParam'
  if (substr($key, 8) == 'myParam_')
  {
   if ($start)
{
$start = false;
$url .= '?';
}
   else
{
$url .= '';
   }

   // Add the parameter to the URL String
   $url .= $key . '=' . $value;
  }
 }

 // Set the content type
 header('Content-type: text/xml');

 // Open a connection to the specified URL
 $handle = fopen($url, 'r');
 if (!$handle)
  die('errorFailed to open URL/error');

 // Collect the result
 while (!feof($handle))
  $result .= fread($handle, 8192);

 // display the result
 die($result);
?

===


This method is a little longwinded. But the "myProxy.php" is generic
enough to work for any project, and should work for any HTTPService
that you need. This allows you to have a dynamic HTTPService accessing
any resource.

Drop me an email if you have any issues with this sample (The code is
from my head, not a working copy)


Regards,
Graham Weldon






Faisal Abid wrote:
Okay i
see where your going at , so how would i call BuildMyUrl , like 
so i made teh function and then i made trhe service and then i made the
  
textinput , where do i put BuildMyURL(textinput.text) (and is it
normail 
brakets or curly) , im sorry if this is an easy question, im sort of 
really stressed out and stumped.
  
  
Doug Lowder wrote:
 Try binding the entire url property to a variable that you build in
 code:

 var myUrl: String = "";
 function buildMyUrl(s: String) {
 myUrl = "http://something.com/api/someting/"
+
 s + "/somethingelse/something";
 }

 mx:HTTPService url="" ... /


 Then just call "buldMyUrl(textinput.text)" somewhere, such as the
 click handler for a button or just before you call your
 httpservice's send() method.


 --- In flexcoders@yahoogroups.com, Faisal Abid [EMAIL PROTECTED]
wrote:
 
  Okay so for the past 4 hours + 3 hours at night ive been
debugging
 my
  application only to come to the conclusion that in a
httpservice
 url i
  cannot do this
 
  mx:httpservice
  url=""http://something.com/api/someting/">http://something.com/api/someting/
 {textinput.text}/somethingelse/something"
 
  The httpservice is fine , i test it in a broswer by replacijng
  texinput.txt to something and it returns what its ment to ,
but in
 flex
  it gives me an error saying i must defind a url, I mean it is
 defined ,
  i know there is a workaround to  by puttin amp; But
What the hec
 is
  wrong with my url??
 






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



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

[flexcoders] Re: how do I prevent users from accessing my super extened class?

2006-05-03 Thread nz_mehere



Hi Peter,

That got it, thank you!
I ended up with:

override public final function set thumbCount(number:int):void {
 super.thumbCount = 2;//no matter what they do, it's two
}

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

 Oh, in that case override then mark final:
 
 override public final function set thumbCount(number:Number):void {
 super.thumbCount = number; 
 }
 
 
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of nz_mehere
 Sent: Wednesday, May 03, 2006 4:48 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: how do I prevent users from accessing my super
 extened class?
 
 The thumbCount must already have the final keyword, as I can't overload
 it. I get the Overriding function that is not marked for override
 error, and it won't compile.
 ...but at least I understand why now! :-)
 
 
 --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
 
  
  Correct.
  
  public final function set thumbCount(number:Number):void {
  super.thumbCount = number; 
  }
  
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  On Behalf Of nz_mehere
  Sent: Wednesday, May 03, 2006 4:12 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: how do I prevent users from accessing my 
  super extened class?
  
  Hi Peter,
  
  If I understand what you are saying, the Final keyword will be on the 
  thumbCount property, so preventing anyone from over loading it as I 
  am trying to do?
  
  That makes sense...
  
  Thanks for the help
  
  --- In flexcoders@yahoogroups.com, Peter Farland pfarland@ wrote:
  
   In Flex 2 / Flash Player 9 you'll use ActionScript 3, which has the 
   final keyword which can be applied at the class or method levels to 
   stop subclasses overriding/extending functionality.
   
   
   -Original Message-
   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
   On Behalf Of nz_mehere
   Sent: Tuesday, May 02, 2006 5:27 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] how do I prevent users from accessing my super
 
   extened class?
   
   Hi there,
   
   I have writen a class that extends the VSlider
   
   VSliders have the property of thumbCount, which is how many little
 
   arrows appear on the slider.
   
   I want to prevent people from setting there own.
   
   I thought I could hide it from them by overriding the thumbCount
   property with a private one, but get an error Overriding function 
   that is not masked for override.
   
   The code is something like this:
   
   private function set thumbCount(number:Number):void{
super.thumbCount = number; 
   }
   
   What am I missing?
   
   
   
   
   
   --
   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












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