RE: [flexcoders] Flex2 - Beta2 Integer to Character Conversion

2006-04-05 Thread Gordon Smith
There are no characters in AS3; there are only Strings, which can have
length 1. You can create Strings of any length out of character code
integers using the static method fromCharCode() of the String class:

String.fromCharCode(65, 66, 67) -> "ABC"

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of quasimotoca
Sent: Wednesday, April 05, 2006 8:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2 - Beta2 Integer to Character Conversion

Hi:
I need to do an integer to character conversion.  I remember using the 
simple char() command to convert an interger to it's character 
representation.  It's now deprecated so how do I do it now?
Cheers,
Dave Cook  






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



 




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

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

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

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




[flexcoders] FB2: DrawingPad

2006-04-05 Thread JesterXL
Someone mentioned they wanted to draw in Flex 2.  Roger mentioned that it'd 
be valuable if someone wrote a component to do that.  This isn't really 
done, but should help those who want to learn how to do such things via a 
smaller scoped project.  ...or, you can just straight gank the code straight 
to your current Flex 2 project, whatever does it for you.

Drawing Pad in Flex 2 - beta 2
http://www.jessewarden.com/archives/2006/04/drawingpad_for_flex2.html

--JesterXL 



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

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

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

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





Re: [flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Simeon Bateman



I am pretty late on these conversations, but I use MyEclipseIDE in eclipse as an xml editor and I use Ant to compile my scripts.  I have written alot about about getting flex and mystic running on my mac on my blog.  My post about Ant compiling flex can be seen here
http://www.simb.net/blog/index.cfm/2006/2/9/Wrapup-of-my-Flex-2-Ant-AdventureHope that helps.simeonps. I havent rewritten this since b2 gave us an sdk version so its much easier now then it used to be :)
On 4/5/06, jeremy lu <[EMAIL PROTECTED]> wrote:



Seriously Off Topic:apple just annouced "Boot Camp" which let you dual boot into windows on your mac, so






--
Flexcoders Mailing List
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] Flex 2 on Mac OS X

2006-04-05 Thread jeremy lu



Seriously Off Topic:apple just annouced "Boot Camp" which let you dual boot into windows on your mac, so






--
Flexcoders Mailing List
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 2: Multi-document interface

2006-04-05 Thread jeremy lu



you don't have to start from scratch, everything needed is in the framework, just use buttonbar and panel, should be done in 20 minutes.jeremy.On 4/6/06, 
dos dedos <[EMAIL PROTECTED]> wrote:



Thanks Jesse!  that helps! :)JesterXL <
[EMAIL PROTECTED]> wrote:






--
Flexcoders Mailing List
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-Beta2 Two Dimensional Binary Arrays

2006-04-05 Thread quasimotoca
Hi:
I'm doing a small conversion from Java and I'm trying to convert Java 
two dimensional arrays to AS3.  Basically any type: int[][], String[]
[], byte[][] etc...

How do I implement 2D arrays in AS3?

Cheers,
Dave Cook





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

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

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

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





[flexcoders] Flex2 - Beta2 Integer to Character Conversion

2006-04-05 Thread quasimotoca
Hi:
I need to do an integer to character conversion.  I remember using the 
simple char() command to convert an interger to it's character 
representation.  It's now deprecated so how do I do it now?
Cheers,
Dave Cook  






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

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

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

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




RE: [flexcoders] What upload servlet at server side to use along with FileReference class?

2006-04-05 Thread Dimitrios Gianninas

We've experienced the same error as well about a year ago with an we build in 
Flex 1.5 using flash Player 8.0.22. Currently I believe version 8.0.24 is 
available for download, not sure if this fixes the problem. Another issue we 
discovered is that version 8.0.22 doesn't allow file upload over HTTPS using 
FireFox. Again, I hope this is fixed in the new version, but never tested.

Jimmy Gianninas

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Carson Hager
Sent: Wed 4/5/2006 1:55 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What upload servlet at server side to use along with 
FileReference class?
 
We spoke to MM Support about this some time ago and they confirmed that
the player will often send an incorrect second request.  We were seeing
this and wanted to make sure that we weren't doing something wrong.  It
turns out that we were not. As I mentioned, we look for IOException and
ignore. The dangerous part here is that you don't know if there actually
was some other kind of IO problem.  At this point, this is the best
solution that we've found.


Carson 




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

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



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 10:23 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What upload servlet at server side to use
along with FileReference class?

I am getting the same error that Andriy reports below. However, the
uploads
works fine.  Carson, where can I find more information about Flash
Player
sending the request twice. I am assuming that this is a known problem.
I found others forums where they talk about this error and some of them
mention that Flash is not using enctype="multipart/form-data" and that
that
is causing the problem.

Any ideas?



|-+->
| | |
| |  "Carson Hager" |
| |  <[EMAIL PROTECTED]|
| |  m> |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  03/27/2006 05:40 PM|
| |  Please respond to flexcoders   |
| | |
|-+->

>---
--|
  |
|
  |  To: flexcoders@yahoogroups.com
|
  |  cc:
|
  |  Subject:  RE: [flexcoders] What upload servlet at server side
to use along with FileReference class?   |

>---
--|




We've found that the O'Reilly classes work pretty well. The error you're
seeing is likely due to a problem with the Flash Player where it
actually sends the request twice. Normally the second request has
incorrect data. We simply catch the IOException and ignore it.


Carson



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

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



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Monday, March 27, 2006 2:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What upload servlet at server side to use along
with FileReference class?

Hello flexcoders,

  We are trying to use http://servlets.com/cos/ O'Reily's
file upload package MultipartRequest along with FileReference class.

---
  My question to community is: what it your preferred choice at the
server side to handle uploaded files?
   Cold Fusion page?
   Jakarta's Commons File Upload?
http://jakarta.apache.org/commons/fileupload/
   ... your choice?
---

ps
  Currently, FileReference class with O'Reily's
file upload package combination does not work very well at our setup.

  We receive an error from Java servlet under certain circumstances (
requires more testing to pin those circumstances down)
  "error Corrupt form data: premature ending
  java.io.IOException: Corrupt form data: premature ending"

--
Best regards,
Andriy  mailto:[EMAIL PROTECTED]



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

[flexcoders] F2B2 : Eclipse : Changing the "Documents" location

2006-04-05 Thread grae_hall
I've got My Documents on the root of my C (far more convenient) - 
windows and all my applications see the My Documents directory as being 
mapped to mapped to the root of C - but I'm probably not the only 
person who's had difficulty nailing down exactly how to get Eclipse to 
point there by default instead of off in the default location. When I 
set the document directory location in preferences, it forgets it.

Is it an easy fix?






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

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

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

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





[flexcoders] Openning documents in external apps?

2006-04-05 Thread pcolby_flex
Hi Guys,

I have a Flex2 app that needs to be able to open some server 
attachments in the apropriate application.  For example, the app may 
need to show a Word or Excel document.

It seems to me that there are three ways to do it:
1. Use navigateToURL() to send the web browser to the document, and 
thus have the browser open it for me; or
2. Use the ExternalInterface API to talk to a JavaScript which can 
then get the web browser to open the document.
3. Download the document within the Flex2 app, and then give the 
document data to a JavaScript function (via the ExternalInterface 
API), and have that JavaScript function launch the required app 
directly.

My questions are: Are these three the only ways to do it?  Does 
Flex2 have something specifically for doing the job of downloading, 
and then save/openning documentst the same way the browser would?  
Which would you recommend, and why?  Are there any significant 
shortfalls to the above approaches?

Any other suggestions would be really appreciated :)

Thanks!

Paul.






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

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

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

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





[flexcoders] Re: [A]F2B2: Classes must not be nested??

2006-04-05 Thread Clint Willard
You are correct. Flex 2.0 obviously does not let you use a class in
the source parameter of script. I used include instead and it worked.
Thanks.


--- In flexcoders@yahoogroups.com, "Clint Willard" <[EMAIL PROTECTED]> wrote:
>
> 
> What is this error message mean exactly:
> 
> Classes must not be nested
> 
> I've search and found the error code but no discription, reason why, or
> any solutions. The class is not nested that I know of:
> 
> class ShoppingCart{
> 
>  var items : Array;
>  var total : Number = 0;
> 
>  function ShoppingCart() {
>  items=new Array();
>  }
> 
>  function
> 
> }
> 
> Called from a Flex 1.5 coded Flex Store converting to Flex 2.0 b2:
> 
> http://www.adobe.com/2006/mxml
>  " xmlns="*"
>  initialize="initApp()"
>  verticalGap="0"
>  pageTitle="FlexStore">
> 
>  
>  
>






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

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

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

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




Re: [flexcoders] Flex 2: Multi-document interface

2006-04-05 Thread dos dedos



Thanks Jesse!  that helps! :)JesterXL <[EMAIL PROTECTED]> wrote: Not hard, I'd say about 6 hours to get a prototype  working.  PopUpManager + TitleWindow 4 teh w1n!   *** Warning: High Ram Usage, save yer work  *** http://dev.jessewarden.com/captivate/flexonthedesktop/     - Original Message -  From: dos  dedos  To: flexcoders  Sent: Wednesday, April 05, 2006 8:59 PM Subject: [flexcoders] Flex 2: Multi-document interface Anyone knows of a Flex 2 implementation of the Windows  multi-document interface?For example, you
 could launch SWFs in separate  panels within the same browser window so that you can move, resize and close  each panel separately.  If one was to do implement this from  scratch, how much work would be involved? in man-hours?  Thanks!  :)dos   How low will we go? Check out Yahoo! Messenger�s low PC-to-Phone  call rates.   
		New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.





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





  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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: GENERAL actionscript question

2006-04-05 Thread Gordon Smith










By the way, the Flex team considers Dirk's
way to be best practice in two regards:

 

1. Always use the "narrowest"
type that will work. If the event is a ResultEvent, don't type it as Event, Object,
or *.

 

2. Don't use fully-qualified class names like
mx.rpc.events.ResultEvent (except of course in import statements), unless you
must disambiguate two imported classes that have the same short name.

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alexander Tsoukias
Sent: Wednesday, April 05, 2006
3:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
GENERAL actionscript question



 

This worked too Dirk, thanks for your support, much appreciated!! 

Dirk Eismann <[EMAIL PROTECTED]>
wrote: 

Make sure to type your the
event object. Try this:
public function
handleCheckEmailExists(event:ResultEvent):void

you'll also need to import the class: 
import mx.rpc.events.ResultEvent

Dirk.




Von: flexcoders@yahoogroups.com
im Auftrag von Alexander Tsoukias
Gesendet: Mi 05.04.2006 22:19
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: GENERAL actionscript
question



Yes and I still get it. here is what I have in my
code:


    import
mx.managers.PopUpManager;
    import
flash.net.Responder;
    import
mx.rpc.remoting.RemoteObject;
    import
flash.events.Event;
    import
mx.events.ValidationResultEvent;
    import
Members;


public function checkEmailExists():void {
 
srv.checkEmail({email:userEmailInput.text});
}

public function
handleCheckEmailExists(event):void{
 
if (event.result == 'TRUE'){
   
submitSignup.enabled = false;
   
}   else {
   
submitSignup.enabled = true;
 
}
}



   
source="CFIDE.samples.palcafe.CF.MembersDAO"
   
showBusyCursor="true">
(event)" />



Again... this works, but that message still
appears in the problems
panel when I compile...
"parameter 'event' has no type declaration.

Weird huh?
!A

--- In flexcoders@yahoogroups.com,
"Jignesh Dodiya" <[EMAIL PROTECTED]>
wrote:
>
> Have u imported flash.net.Responder or 
import
mx.rpc.remoting.RemoteObject.
> Not sure for CF but it generally required
when u use remoting with
AMF...
>
>
>
> On 4/6/06, Alexander Tsoukias
<[EMAIL PROTECTED]> wrote:
> >
> > Hi Kelly,
> >
> > As always u got it right.
> >
> > It works fine ;-) but I am getting this
error in the compile
panel
> > "parameter 'event' has no type
declaration"
> >
> > and its talking about this line:
> > public function
handleCheckEmailExists(event){
> >
> > I even tried it like this:
> > public function handleCheckEmailExists(event):void{
> >
> >
> > Any ideas?
> >
> > Thanks,
> > Alex
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com,
"Kelly @ Dekayd Media Inc."
> >
> >  wrote:
> > >
> > > Unless something has changed in
Flex 2 that I am not aware of,
you
> > need to
> > > define a result handler for Remote
Object call and do the
check in
> > there.
> > >
> > > RO Calls are asynchronous.
> > >
> > > Something like:
> > >
> > > public function
checkEmailExists():void {
> > >  
srv.checkEmail({email:userEmailInput.text});
> > > }
> > >
> > >
> > > public function
handleCheckEmailExists(event){
> >
>   if
(event.result == 'true'){
> >
>
submitSignup.enabled = true;
> > >
}   else {
> >
>
submitSignup.enabled = false;
> >
>   }
> > > }
> > >
> > >
> > > And in your Remote Object tag:
> > >
> > > > > (event)" />
> > >
> > >
> > >
> > >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > [mailto:flexcoders@yahoogroups.com]
On
> > > Behalf Of Alexander Tsoukias
> > > Sent: Tuesday, April 04, 2006 11:34
PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] GENERAL
actionscript question
> > >
> > > Hi all, I know this is not
advanced, but I have a deadline for
a
> > > FLEX app tomorrow and the client
needs to see a login and
signup
> > > sample.
> > >
> > > I have a CFC which has a method
that checks if the email
inputed
> > > already exists in the database.
> > >
> > > The cfc function returns TRUE or
FALSE
> > >
> > > This is the actionscipt that I
have:
> > >
> >
> public function
checkEmailExists():void {
> >
> if
((srv.checkEmail({email:userEmailInput.text}))
==
> > > true){
> >
>
submitSignup.enabled = true;
> >
>
}   else {
> >
>
submitSignup.enabled = false;
> >
> }
> > >   }
> > >
> > >
> > > Is this correct? It doesn't seem to
work.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing 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
> > F

RE: [flexcoders] Re: DOT NET 2.0

2006-04-05 Thread Tracy Spratt
Hey, Nathan.
I am very interested in what you are doing with the HTTP handlers.  I am
using straight asp.net simply as a source for 1.5 HTTPService, and it
works fine, but am exploring alternatives.

Can you elaborate a bit on what your are doing?

Tracy

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Nathan W. Phelps
Sent: Wednesday, April 05, 2006 12:53 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DOT NET 2.0

Yes, this is indeed possible and you will not need the server with 
Flex 2.  However, just a heads up, the webservice stuff is pretty slow 
(and has a lot of odd behaviors right now in the beta) and I've 
started to migrate from using WebService to using HTTPService with a 
REST backend developed using HttpHandlers. 

The Flex Data Services stuff is pretty compelling however, and I've 
thought about maybe even migrating the backend to Java to get some of 
the real-time communications support it provides.







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



 







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

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

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

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





Re: [flexcoders] Flash remoting Gateway url

2006-04-05 Thread Jignesh Dodiya



hi, we have faced a same problem once not with flex but with other reason, server didn't responding with xxx.yyy.zzz.aaa format, then we have fixed it by setting some server side domain assignment, may be DNS assignment with names.I am neither sure it may help u or nor this is right place for writing this here..but it was solved that way and then after we can able to connect either way

 
 
On 4/6/06, Larry Liang <[EMAIL PROTECTED]> wrote:

Hi,Whenever you use flash remoting, you need to specify a URL for the remoting gateway. Usually it's something like "
http://www.mydomain.com/flashservices/gateway/"However if I specify my gateway as followings, it does not work. Flash reported that the gateway can not be found."
http://202.145.200.13/~username/flashservices/gateway""http://202.145.200.13/~username/
" maps to the root directory of the site.I was just wondering what's the correct format of gateway URL. if possible could someone explain a little bit about how the gateway url works.
oh yeah, my testing & development environment is Apache + JRUN + ColdFusion + Flash MX.Thanks a lot,Larry  --Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Regards, Jignesh Dodiya 






--
Flexcoders Mailing List
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 2: Multi-document interface

2006-04-05 Thread JesterXL





Not hard, I'd say about 6 hours to get a prototype 
working.  PopUpManager + TitleWindow 4 teh w1n!
 
*** Warning: High Ram Usage, save yer work 
***
http://dev.jessewarden.com/captivate/flexonthedesktop/
 
 
- Original Message - 
From: dos 
dedos 
To: flexcoders 
Sent: Wednesday, April 05, 2006 8:59 PM
Subject: [flexcoders] Flex 2: Multi-document interface
Anyone knows of a Flex 2 implementation of the Windows 
multi-document interface?For example, you could launch SWFs in separate 
panels within the same browser window so that you can move, resize and close 
each panel separately.  If one was to do implement this from 
scratch, how much work would be involved? in man-hours?  Thanks! 
:)dos


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone 
call rates. 






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








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex 2: Multi-document interface

2006-04-05 Thread dos dedos



Anyone knows of a Flex 2 implementation of the Windows multi-document interface?For example, you could launch SWFs in separate panels within the same browser window so that you can move, resize and close each panel separately.  If one was to do implement this from scratch, how much work would be involved? in man-hours?   Thanks! :)dos
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.





--
Flexcoders Mailing 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 remoting Gateway url

2006-04-05 Thread Larry Liang

Hi,

Whenever you use flash remoting, you need to specify a URL for the 
remoting gateway. 

Usually it's something like "http://www.mydomain.com/flashservices/
gateway/"

However if I specify my gateway as followings, it does not work. 
Flash reported that the gateway can not be found.

"http://202.145.200.13/~username/flashservices/gateway";

"http://202.145.200.13/~username/"; maps to the root directory of the 
site.


I was just wondering what's the correct format of gateway URL. if 
possible could someone explain a little bit about how the gateway url 
works.

oh yeah, my testing & development environment is Apache + JRUN + 
ColdFusion + Flash MX.


Thanks a lot,

Larry


  






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

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

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

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




Re: [flexcoders] Re: DOT NET 2.0

2006-04-05 Thread Robert Thompson
Nathan,

What do you mean by REST backend developed using HttpHandlers?

Do you simply mean to use HttpService, and when the load is done parse it like 
one does in Flash
8.0 Pro right now?

Do you have an example.  I'm also considering just returning XML documents 
irregardless of the
method; but what about situations where you need to publish a WSDL file to a 
UDDI server?

What about Yahoo Maps and Flickr -- seems usually a developer just goes to 
their pages and looks
at the api, but it seems the "ideal world" not the "real world" is to 
eventually have a directory
of services worldwide (i.e. xmethods.com and others out there)

-r

--- "Nathan W. Phelps" <[EMAIL PROTECTED]> wrote:

> Yes, this is indeed possible and you will not need the server with 
> Flex 2.  However, just a heads up, the webservice stuff is pretty slow 
> (and has a lot of odd behaviors right now in the beta) and I've 
> started to migrate from using WebService to using HTTPService with a 
> REST backend developed using HttpHandlers. 
> 
> The Flex Data Services stuff is pretty compelling however, and I've 
> thought about maybe even migrating the backend to Java to get some of 
> the real-time communications support it provides.
> 
> 
> 
> 
> 
> 


__
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

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

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

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





[flexcoders] Re: RemoteObject (Beta2)

2006-04-05 Thread Ryan Pieszak



Thanks Matt, that had what I needed.
I'm still having one issue.  I'm getting the error: Couldn't establish a connection to 'cfc.mySelect'.  Not sure why.  I'm trying to referene the cfc the same way I would in CF.  Here is the RemoteObject call I'm using...      {acct.selectedItem.data}  
What would I be missing that would cause that error?
Or, how should I reference it differently?
Thanks,  Ryan
--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:>> Have you read the RPC components chapters in the docs? I believe> they're pretty up-to-date.> > -Original Message-> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On> Behalf Of Ryan Pieszak> Sent: Friday, March 31, 2006 1:35 PM> To: flexcoders@yahoogroups.com> Subject: [flexcoders] RemoteObject (Beta2)> > Can somebody point me to an updated, complete explanation on how to use > RemoteObject? I can't seem to find any recent and thorough > documentation on it. Thanks.> > > > > > --> Flexcoders Mailing List> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> Search Archives:> http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links>






--
Flexcoders Mailing 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] Special Thanks to Matt Chotin

2006-04-05 Thread Judah Frangipane
Jonathan Miranda wrote:
>
> So, funny little story….my boss is attempting to understand some Flex 
> and started running through the tutorials here: 
> http://download.macromedia.com/pub/documentation/en/flex/2/Flex2_beta2_Hands-onTutorials.pdf
>  
> - which I recommend to everyone, it’s a great little document. Now my 
> boss was working specifically with the BlogReader example and he 
> quickly sends me an email with the output:
>
>
>
> The email and congratulations I got from my boss was priceless J 
> Thanks Matt for entertaining me with that post and always being a 
> great help on the boards – you don’t get enough credit for the posting 
> you do.**
>
>

I ageee, Matt rocks for developer relations!

Peace, Mike

PS, I saw that on his blog awhile ago and laughed. :)





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

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

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

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





Re: [flexcoders] SOT: Flex UG for SF Bay Area?

2006-04-05 Thread Jennifer Larkin



I have no objection to remote members; the local CFUG has them. But we
do need to have a physical presence somewhere in order to have the
facilities to support remote members.

For those who aren't familiar with the User Group program, a Flex User
Group would have monthly meetings-- typically lectures that would also
be broadcast remotely-- a mailing list for local users (although others
would be supported there as well), and most importantly, access to
Adobe speakers. If we were to do this in San Francisco (which is not
necessarily the case-- we could do South Bay instead) we would probably
meet in the building where the Flex Team works, so we could poke them
repeatedly for speakers. Even if we meet in the South Bay we could poke
the team for speakers; it's just easier to convince people to lecture
downstairs from their office.

My main concern is that I already run the local ColdFusion user group,
pretty much by myself, and it's been a lot of work lately. We are in
the process of solving the problems that make it a lot of work, but
running two groups that way at once would be a major headache. I'm
interested in finding people who are interested in attending meetings
but also finding people who are willing to help out.

Also, while I have given Flex lectures in the past, I don't have much
experience with it and I certainly don't think that I would qualify to
lecture on Flex to a Flex UG. While I am a fine fill-in lecturer for
the CFUG, I don't feel qualified to fill-in lecture for a Flex UG, at
least not at this time. I'm starting my first Flex project today;
that's one reason that this is coming up now. My coworkers are active
CFUG members and are having trouble getting started with Flex-- a CFUG
would help us ramp up on the learning curve and with the upcoming
release of the Flex SDK I expect that many more people will be in the
same position as myself and my coworkers. That makes this the perfect
time to act.

Some of the issues that present themselves when starting a UG don't
really apply to me, since I already have the contacts at Adobe, free
potential meeting sites, location of possible speakers, free hosting
contacts, and swag contacts. We also have a larger potential user base
than many areas. There would be a few issues to work out, like setting
up an initial website (which could be flat HTML as a temporary
measure), scheduling speakers (which we could probably work out pretty
easily for a few months but is a long term problem), and getting
mailing lists set up. I will contact the CFUG's host to see if they
would support our mailing list-- we need to do that for the CFUG
anyway. 

The biggest issues are getting speakers, getting people to show up in
person, and setting up a website that can be maintained by the
community. The last issue is the current problem with the CFUG and we
have a donated CMS to deploy to fix this that we could probably use for
the Flex UG as well. That is being worked on and we're hoping to launch
shortly but in the meantime I don't feel comfortable committing to run
a second UG.  Otherwise I'd just say "let's start a UG here. I'll
make the arrangements."On 4/5/06, Jignesh Dodiya <[EMAIL PROTECTED]> wrote:



is this for local people only or remote person also can be the member??
On 4/5/06, Jennifer Larkin <
[EMAIL PROTECTED]> wrote:

Someone has requested that I start a Flex User Group for the SF BayArea. How many people here are in the area and if so, do you think you
would attend? If you are not in the area and you could view our
meetings online, would you attend?It seems like SF would be the perfect place to start a Flex UG; I'mjust wondering how interested other people are.Offlist response seems appropriate.--Now blogging
http://www.blivit.org/blog/index.cfm

http://www.blivit.org/mr_urc/index.cfm--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. 




-- Regards, Jignesh Dodiya 






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

RE: [flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias



This worked too Dirk, thanks for your support, much appreciated!! Dirk Eismann <[EMAIL PROTECTED]> wrote:  Make sure to type your the event object. Try this:public function handleCheckEmailExists(event:ResultEvent):voidyou'll also need to import the class: import mx.rpc.events.ResultEventDirk.Von: flexcoders@yahoogroups.com im Auftrag von Alexander TsoukiasGesendet: Mi 05.04.2006 22:19An: flexcoders@yahoogroups.comBetreff: [flexcoders] Re: GENERAL actionscript questionYes and I still get it. here is what I have in my code:    import mx.managers.PopUpManager;    import flash.net.Responder;   
 import mx.rpc.remoting.RemoteObject;    import flash.events.Event;    import mx.events.ValidationResultEvent;    import Members;public function checkEmailExists():void {  srv.checkEmail({email:userEmailInput.text});}public function handleCheckEmailExists(event):void{  if (event.result == 'TRUE'){    submitSignup.enabled = false;    }   else {    submitSignup.enabled = true;  }}    source="CFIDE.samples.palcafe.CF.MembersDAO"    showBusyCursor="true">Again... this works, but that message still appears in the problemspanel when I compile..."parameter 'event' has no type declaration.Weird huh?!A--- In flexcoders@yahoogroups.com, "Jignesh Dodiya" <[EMAIL PROTECTED]>wrote:>> Have u imported flash.net.Responder or  importmx.rpc.remoting.RemoteObject.> Not sure for CF but it generally required when u use remoting withAMF... On 4/6/06, Alexander Tsoukias <[EMAIL PROTECTED]> wrote:> >> > Hi Kelly,> >> > As always u got it right.> >> > It works fine ;-) but I am
 getting this error in the compilepanel> > "parameter 'event' has no type declaration"> >> > and its talking about this line:> > public function handleCheckEmailExists(event){> >> > I even tried it like this:> > public function handleCheckEmailExists(event):void{> >> >> > Any ideas?> >> > Thanks,> > Alex> >> >> >> >> > --- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media Inc."> >> >  wrote:> > >> > > Unless something has changed in Flex 2 that I am not aware of,you> > need to> > > define a result handler for Remote Object call and do thecheck in> > there.> > >> > > RO Calls are asynchronous.> > >> > > Something like:> >
 >> > > public function checkEmailExists():void {> > >   srv.checkEmail({email:userEmailInput.text});> > > }> > >> > >> > > public function handleCheckEmailExists(event){> > >   if (event.result == 'true'){> > > submitSignup.enabled = true;> > > }   else {> > > submitSignup.enabled = false;> > >   }> > > }> > >> > >> > > And in your Remote Object tag:> > >> > > > > >> > >> > >> > >> > > -Original Message-> > > From: flexcoders@yahoogroups.com> > [mailto:[EMAIL PROTECTED] On> > > Behalf Of Alexander Tsoukias> > > Sent: Tuesday, April 04, 2006 11:34 PM> > > To: flexcoders@yahoogroups.com> > > Subject: [flexcoders] GENERAL actionscript question> > >> > > Hi all, I know this is not advanced, but I have a deadline fora> > > FLEX app tomorrow and the client needs to see a login andsignup> > > sample.> > >> > > I have a CFC which has a method that checks if the emailinputed> > > already exists in the database.> > >> > > The cfc function returns TRUE or FALSE> >
 >> > > This is the actionscipt that I have:> > >> > > public function checkEmailExists():void {> > > if ((srv.checkEmail({email:userEmailInput.text}))==> > > true){> > > submitSignup.enabled = true;> > > }   else {> > > submitSignup.enabled = false;> > > }> > >   }> > >> > >> > > Is this correct? It doesn't seem to work.> > >> > >> >
 >> > >> > >> > >> > >> > > --> > > Flexcoders Mailing 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 yourgroup "flexcoders"> >    on the web.> >> >    -  To unsubscribe from this group, send an email to:> > [EMAIL PROTECTED][EMAIL PROTECTED]>> >> >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of> >    Service .> >>
 >> >  --> > --> Regards,>> Jignesh Dodiya>--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links





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

Re: [flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias



This worked. Thanks Doug for your support. ;-)Doug Lowder <[EMAIL PROTECTED]> wrote:  I believe you can use either  handleCheckEmailExists(event: mx.rpc.events.ResultEvent):voidor  handleCheckEmailExists(event: *):void--- In flexcoders@yahoogroups.com, "Alexander Tsoukias" <[EMAIL PROTECTED]> wrote:>> I think its a bug, because everytime I run the app it adds another > line with the same error.> > So now I have 6 of these errors all pointing to the same problem.> > !A> > > --- In flexcoders@yahoogroups.com, "Alexander Tsoukias" >  wrote:> >> > still the same. can this be a bug maybe?!> > > > --- In flexcoders@yahoogroups.com, "Jignesh Dodiya"
  > > wrote:> > >> > > hi, try this. may be solved, just rewrite the sentence as follow> > > > > > public function handleCheckEmailExists(*event:Object*):void{> > > > > > > > > On 4/6/06, Alexander Tsoukias  wrote:> > > >> > > > Yes and I still get it. here is what I have in my code:> > > >> > > >> > > > import mx.managers.PopUpManager;> > > > import flash.net.Responder;> > > > import mx.rpc.remoting.RemoteObject;> > > > import flash.events.Event;> > > > import
 mx.events.ValidationResultEvent;> > > > import Members;> > > >> > > >> > > >> > > > public function checkEmailExists():void {> > > >   srv.checkEmail({email:userEmailInput.text});> > > > }> > > >> > > > public function handleCheckEmailExists(event):void{> > > >   if (event.result == 'TRUE'){> > > > submitSignup.enabled = false;> > > > }   else {> > > > submitSignup.enabled = true;> > >
 >   }> > > > }> > > >> > > >> > > > > > > >   source="CFIDE.samples.palcafe.CF.MembersDAO"> > > >   showBusyCursor="true">> > > >> > > > > > > > > > > >> > > >> > > > Again... this works, but that message still appears in the > > problems> > > > panel when I compile...> > > > "parameter 'event' has no type declaration.> > > >> > > > Weird huh?> > > > !A> > > >> > >
 > --- In flexcoders@yahoogroups.com, "Jignesh Dodiya" > > > >> > > > wrote:> > > > >> > > > > Have u imported flash.net.Responder or  import> > > > mx.rpc.remoting.RemoteObject.> > > > > Not sure for CF but it generally required when u use > remoting > > with> > > > AMF...> > > > >> > > > >> > > > >> > > > > On 4/6/06, Alexander Tsoukias  wrote:> > > > > >> > > > > > Hi Kelly,> > > > > >> > > > > > As always u got it right.> > > > > >> > > > > > It works fine ;-) but I am getting this error in the > compile> > > > panel> > > > > > "parameter
 'event' has no type declaration"> > > > > >> > > > > > and its talking about this line:> > > > > > public function handleCheckEmailExists(event){> > > > > >> > > > > > I even tried it like this:> > > > > > public function handleCheckEmailExists(event):void{> > > > > >> > > > > >> > > > > > Any ideas?> > > > > >> > > > > > Thanks,> > > > > > Alex> > > > > >> > > > > >> > > > > >> > > > > >> > > > > > --- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media > > Inc."> > > > > >> > > > > >  wrote:> > > > > >
 >> > > > > > > Unless something has changed in Flex 2 that I am not > aware > > of,> > > > you> > > > > > need to> > > > > > > define a result handler for Remote Object call and do the> > > > check in> > > > > > there.> > > > > > >> > > > > > > RO Calls are asynchronous.> > > > > > >> > > > > > > Something like:> > > > > > >> > > > > > > public function checkEmailExists():void {> > > > > > >   srv.checkEmail({email:userEmailInput.text});> > > > > > > }> > > > > > >> > > > > > >> > > > > > > public function
 handleCheckEmailExists(event){> > > > > > >   if (event.result == 'true'){> > > > > > > submitSignup.enabled = true;> > > > > > > }   else {> > > > > > > submitSignup.enabled = false;> > > > > > >   }> > > > > > > }> > > > > > >> > > > > > >> > > > > > > And in your Remote Object tag:> > > > > > >> > > > > > > >
 result="handleCheckEmailExists> > > > > > (event)" />> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > > -Original Message-> > > > > > > From: flexcoders@yahoogroups.com> > > > > > [mailto:[EMAIL PROTECTED] On> > > > > > > Behalf Of Alexander Tsoukias> > > > > > > Sent: Tuesday, April 04, 2006 11:34 PM> > > > > > > To: flexcoders@yahoogroups.com> > > > > > > Subject: [flexcoders] GENERAL actionscript question> > > > > > >> > > > > > > Hi all, I know this is not advanced, but I have a > deadline > > for> > > > a> > > > > > > FLEX app tomorrow
 and the client needs to see a login and> > > > signup> > > > > > > sample.> > > > > > >> > > > > > > I have a CFC which has a method that checks if the email> > > > inputed> > > > > > > already exists in the database.> > > > > > >> > > > > > > The cfc function returns TRUE or FALSE> > > > > > >> > > > > > > This is the actionscipt that I have:> > > > > > >> > > > > > > public function checkEmailExists():void {> > > > > > > if ((srv.checkEmail> > ({email:userEmailInpu

[flexcoders] Re: Special Thanks to Matt Chotin

2006-04-05 Thread Alexander Tsoukias
>From me as well, special thanks to Matt Chotin -  you make it all 
worth it!


--- In flexcoders@yahoogroups.com, "Clint Modien" <[EMAIL PROTECTED]> 
wrote:
>
> Gota second this... You really do make a big difference here.
> 
> Thanks Matt
> 
> On 4/5/06, Jonathan Miranda <[EMAIL PROTECTED]> wrote:
> >
> >   Seriously though, thanks for the help – you probably post the 
most here
> > and just a hearty thanks was deserved J**
> >
> > _
> >
> > *Jonathan Miranda*
> >
> > *Stealth Project Manager*
> >
> > *"Sorry, it's a 'Need to Know' basis only."*
> >
> > HealthGrades : Guiding America to 
Better
> > Healthcare™
> >
> > NASDAQ: HGRD
> >
> > w  (720) 963-3832
> >
> > c  (707) 761-0868
> >
> > [EMAIL PROTECTED]
> >
> > _
> >
> > The message contains confidential and/or legally privileged 
information
> > and is intended for use only by the indicated addressee.  If you 
are not the
> > named addressee you should not disseminate, distribute, or copy 
this e-mail.
> > Please notify the sender immediately by e-mail if you have 
received this
> > e-mail by mistake and delete this e-mail from your system. E-mail
> > transmissions cannot be guaranteed to be secure or error-free as 
information
> > could be intercepted, corrupted, lost, destroyed,arrive late or 
incomplete,
> > or contain viruses. The sender therefore does not accept 
liability for any
> > errors or omissions in the contents of this message which arise 
as a result
> > of e-mail transmission. If verification is required please 
request a
> > hard-copy version.
> >   --
> >
> > *From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Matt Chotin
> > *Sent:* Wednesday, April 05, 2006 3:32 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* RE: [flexcoders] Special Thanks to Matt Chotin
> >
> >
> >
> > Flex (and the Flex team) is all about making you look good for 
your boss J
> >
> >
> >  --
> >
> > *From:* flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Jonathan Miranda
> > *Sent:* Wednesday, April 05, 2006 2:19 PM
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* [flexcoders] Special Thanks to Matt Chotin
> >
> >
> >
> > So, funny little story….my boss is attempting to understand some 
Flex and
> > started running through the tutorials here:
> > 
http://download.macromedia.com/pub/documentation/en/flex/2/Flex2_beta
2_Hands-onTutorials.pdf -
> > which I recommend to everyone, it's a great little document. Now 
my boss was
> > working specifically with the BlogReader example and he quickly 
sends me an
> > email with the output:
> >
> >
> >
> > The email and congratulations I got from my boss was priceless J 
Thanks
> > Matt for entertaining me with that post and always being a great 
help on the
> > boards – you don't get enough credit for the posting you do.**
> >
> > _
> >
> > *Jonathan Miranda*
> >
> > *Stealth Project Manager*
> >
> > *"Sorry, it's a 'Need to Know' basis only."*
> >
> > HealthGrades : Guiding America to 
Better
> > Healthcare™
> >
> > NASDAQ: HGRD
> >
> > w  (720) 963-3832
> >
> > c  (707) 761-0868
> >
> > [EMAIL PROTECTED]
> >
> > _
> >
> > The message contains confidential and/or legally privileged 
information
> > and is intended for use only by the indicated addressee.  If you 
are not the
> > named addressee you should not disseminate, distribute, or copy 
this e-mail.
> > Please notify the sender immediately by e-mail if you have 
received this
> > e-mail by mistake and delete this e-mail from your system. E-mail
> > transmissions cannot be guaranteed to be secure or error-free as 
information
> > could be intercepted, corrupted, lost, destroyed,arrive late or 
incomplete,
> > or contain viruses. The sender therefore does not accept 
liability for any
> > errors or omissions in the contents of this message which arise 
as a result
> > of e-mail transmission. If verification is required please 
request a
> > hard-copy version.
> >
> >
> >
> >
> >
> >
> >
> >  --
> > Flexcoders Mailing List
> > 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] Testing if a variable exist?

2006-04-05 Thread Gordon Smith
if ("idName" in this)

- Gordon

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of alpharythms
Sent: Wednesday, April 05, 2006 3:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Testing if a variable exist?

I imagine this is something simple that I am missing but is there a
way to test a variable to see if it exist.

Specifically I have several components with IDs.  So I can access them
like this.idName or this["idName"].

I need to way to know if this["idName"] is a valid variable.  I've
tried if(this[idName]==null) or undefined.  The trouble is I get a
runtime error as soon a this[idName] that doesn't exist comes up.

Here is what I'm try do to.  I've loading an XML document and then
looping through the attributes in a node.  If a
this[currentAttributeName] component exist then I bind it to the data
in the XML.  If I come across an attribute that doesn't exist on the
Flex form than I just want to ignore it.

Everything works great until I hit an attribute that doesn't exist. 
So I just need a way to test for the existance of a component with the
given ID name.

Thanks,
Adam







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



 




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

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

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

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





Re: [flexcoders] Special Thanks to Matt Chotin

2006-04-05 Thread Clint Modien



Gota second this... You really do make a big difference here.Thanks MattOn 4/5/06, Jonathan Miranda <
[EMAIL PROTECTED]> wrote:




















Seriously though, thanks for the help –
you probably post the most here and just a hearty thanks was deserved J


_


Jonathan
Miranda

Stealth Project Manager


"Sorry,
it's a 'Need to Know' basis only."


HealthGrades: Guiding America
 to Better Healthcare™

NASDAQ:
HGRD

w  (720)
963-3832

c  (707)
761-0868


[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee.  If you are not the named addressee you should not disseminate, distribute,
or copy this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matt Chotin
Sent: Wednesday, April 05, 2006
3:32 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Special
Thanks to Matt Chotin



 

Flex (and the Flex team) is all about
making you look good for your boss J


 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jonathan Miranda
Sent: Wednesday, April 05, 2006
2:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Special
Thanks to Matt Chotin



 

So, funny little story….my boss is attempting to
understand some Flex and started running through the tutorials here: 
http://download.macromedia.com/pub/documentation/en/flex/2/Flex2_beta2_Hands-onTutorials.pdf
- which I recommend to everyone, it's a great little
document. Now my boss was working specifically with the BlogReader example and
he quickly sends me an email with the output:



The email and congratulations I got from my boss was priceless J
 Thanks Matt
for entertaining me with that post and always being a great help on the boards
– you don't get enough credit for the posting you do.

_

Jonathan Miranda

Stealth Project
Manager

"Sorry, it's a 'Need
to Know' basis only."


HealthGrades:
Guiding America
to Better Healthcare™

NASDAQ: HGRD

w  (720) 963-3832

c  (707) 761-0868


[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee.  If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.

 










--
Flexcoders Mailing List
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] Special Thanks to Matt Chotin

2006-04-05 Thread Jonathan Miranda












Seriously though, thanks for the help –
you probably post the most here and just a hearty thanks was deserved J

_

Jonathan
Miranda

Stealth Project Manager

"Sorry,
it's a 'Need to Know' basis only."

HealthGrades: Guiding America to Better Healthcare™

NASDAQ:
HGRD

w  (720)
963-3832

c  (707)
761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or
legally privileged information and is intended for use only by the indicated
addressee.  If you are not the named addressee you should not disseminate, distribute,
or copy this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Wednesday, April 05, 2006
3:32 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Special
Thanks to Matt Chotin



 

Flex (and the Flex team) is all about
making you look good for your boss J

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Wednesday, April 05, 2006
2:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Special
Thanks to Matt Chotin



 

So, funny little story….my boss is attempting to
understand some Flex and started running through the tutorials here: http://download.macromedia.com/pub/documentation/en/flex/2/Flex2_beta2_Hands-onTutorials.pdf
- which I recommend to everyone, it’s a great little
document. Now my boss was working specifically with the BlogReader example and
he quickly sends me an email with the output:



The email and congratulations I got from my boss was priceless J Thanks Matt
for entertaining me with that post and always being a great help on the boards
– you don’t get enough credit for the posting you do.

_

Jonathan Miranda

Stealth Project
Manager

"Sorry, it's a 'Need
to Know' basis only."

HealthGrades:
Guiding America
to Better Healthcare™

NASDAQ: HGRD

w  (720) 963-3832

c  (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee.  If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.

 










--
Flexcoders Mailing List
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] Special Thanks to Matt Chotin

2006-04-05 Thread Matt Chotin










Flex (and the Flex team) is all about
making you look good for your boss J

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda
Sent: Wednesday, April 05, 2006
2:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Special
Thanks to Matt Chotin



 

So, funny little story….my boss is attempting to
understand some Flex and started running through the tutorials here: http://download.macromedia.com/pub/documentation/en/flex/2/Flex2_beta2_Hands-onTutorials.pdf
- which I recommend to everyone, it’s a great little
document. Now my boss was working specifically with the BlogReader example and
he quickly sends me an email with the output:



The email and congratulations I got from my boss was priceless J Thanks Matt
for entertaining me with that post and always being a great help on the boards
– you don’t get enough credit for the posting you do.

_

Jonathan Miranda

Stealth Project
Manager

"Sorry, it's a 'Need
to Know' basis only."

HealthGrades:
Guiding America
to Better Healthcare™

NASDAQ: HGRD

w  (720) 963-3832

c  (707) 761-0868

[EMAIL PROTECTED] 

_

The message contains confidential and/or legally privileged
information and is intended for use only by the indicated addressee.  If
you are not the named addressee you should not disseminate, distribute, or copy
this e-mail. Please notify the sender immediately by e-mail if you have
received this e-mail by mistake and delete this e-mail from your system. E-mail
transmissions cannot be guaranteed to be secure or error-free as information
could be intercepted, corrupted, lost, destroyed,arrive late or incomplete, or
contain viruses. The sender therefore does not accept liability for any errors
or omissions in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard-copy version.

 









--
Flexcoders Mailing List
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] Testing if a variable exist?

2006-04-05 Thread alpharythms
I imagine this is something simple that I am missing but is there a
way to test a variable to see if it exist.

Specifically I have several components with IDs.  So I can access them
like this.idName or this["idName"].

I need to way to know if this["idName"] is a valid variable.  I've
tried if(this[idName]==null) or undefined.  The trouble is I get a
runtime error as soon a this[idName] that doesn't exist comes up.

Here is what I'm try do to.  I've loading an XML document and then
looping through the attributes in a node.  If a
this[currentAttributeName] component exist then I bind it to the data
in the XML.  If I come across an attribute that doesn't exist on the
Flex form than I just want to ignore it.

Everything works great until I hit an attribute that doesn't exist. 
So I just need a way to test for the existance of a component with the
given ID name.

Thanks,
Adam







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

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

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

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




RE: [flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Tobias Patton










What do you have on your Mac now? If you
copied over the FlexBuilder installation from a Windows machine, you can just
take mxmlc and compc from the bin directory of the sdk and copy them into the
FlexBuilder bin directory. 

 

If you run mxmlc from the bin directory,
it will automatically find flex-config.xml. It will also automatically find the
frameworks folder for linking. All that’s left to specify is the file to
compile. Since the –file-specs argument is the default argument, you can omit it.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bolo Michelin
Sent: Wednesday, April 05, 2006
2:05 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2
on Mac OS X



 

Hello Tobias,

i am not sure to understand all :)

>You can avoid the
"java –jar" stuff if you download the Flex 2 SDK from labs.adobe.com. They provide
shell scripts ("mxmlc" and "compc") that wrap all that
stuff up very nicely.

I
must dowload The Flex 2 SDK so I delete my folder with my last version of Flex
?

 Also, because the scripts run from
the bin/ directory, they will find the default flex-config.xml without you
having to specify it on the  command line.









 

Your command would change to:

 

mxmlc helloas3.as


 

Much simpler.










Before it was 
java -jar flex/lib/mxmlc.jar -flexlib
flex/frameworks -file-specs helloas3.as


and now only that

 mxmlc helloas3.as






 





Bolo










 







 






















--
Flexcoders Mailing List
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 2.0 b2: DataGrid ( selectedIndex property )

2006-04-05 Thread sinatosk



thanks for this fix :p... thought it was just me... yes I've bumped into this problem too... I also have problem with multiple selections ( using shift key... the indexes appearing out or range/bounds )
 
On 4/5/06, tyombria <[EMAIL PROTECTED]> wrote:

Hello.In DataGrid i can't select item by setting selectedIndex property.Only "dg.selectedIndices = [ requiredIndex ]" works.I think it's a bug.
--Flexcoders Mailing ListFAQ: 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Bolo Michelin



Hello Tobias,i am not sure to understand all :)>You can avoid the "java –jar"
stuff if you download the Flex 2 SDK from labs.adobe.com. They provide shell
scripts ("mxmlc" and "compc") that wrap all that stuff
up very nicely.I must dowload The Flex 2 SDK so I delete my folder with my last version of Flex ?
 Also, because the scripts run from the bin/ directory, they
will find the default flex-config.xml without you having to specify it on the 
command line.

 

Your command would change to:

 

mxmlc helloas3.as


 

Much simpler.Before it was 

java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.as 
and now only that mxmlc 
helloas3.as 
Bolo 

  

















--
Flexcoders Mailing 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: GENERAL actionscript question

2006-04-05 Thread Dirk Eismann
Make sure to type your the event object. Try this:
public function handleCheckEmailExists(event:ResultEvent):void
 
you'll also need to import the class: 
import mx.rpc.events.ResultEvent
 
Dirk.




Von: flexcoders@yahoogroups.com im Auftrag von Alexander Tsoukias
Gesendet: Mi 05.04.2006 22:19
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Re: GENERAL actionscript question



Yes and I still get it. here is what I have in my code:


import mx.managers.PopUpManager;
import flash.net.Responder;
import mx.rpc.remoting.RemoteObject;
import flash.events.Event;
import mx.events.ValidationResultEvent;
import Members;


public function checkEmailExists():void {
  srv.checkEmail({email:userEmailInput.text});
}

public function handleCheckEmailExists(event):void{
  if (event.result == 'TRUE'){
submitSignup.enabled = false;
}   else {
submitSignup.enabled = true;
  }
}







Again... this works, but that message still appears in the problems
panel when I compile...
"parameter 'event' has no type declaration.

Weird huh?
!A

--- In flexcoders@yahoogroups.com, "Jignesh Dodiya" <[EMAIL PROTECTED]>
wrote:
>
> Have u imported flash.net.Responder or  import
mx.rpc.remoting.RemoteObject.
> Not sure for CF but it generally required when u use remoting with
AMF...
>
>
>
> On 4/6/06, Alexander Tsoukias <[EMAIL PROTECTED]> wrote:
> >
> > Hi Kelly,
> >
> > As always u got it right.
> >
> > It works fine ;-) but I am getting this error in the compile
panel
> > "parameter 'event' has no type declaration"
> >
> > and its talking about this line:
> > public function handleCheckEmailExists(event){
> >
> > I even tried it like this:
> > public function handleCheckEmailExists(event):void{
> >
> >
> > Any ideas?
> >
> > Thanks,
> > Alex
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media Inc."
> >
> >  wrote:
> > >
> > > Unless something has changed in Flex 2 that I am not aware of,
you
> > need to
> > > define a result handler for Remote Object call and do the
check in
> > there.
> > >
> > > RO Calls are asynchronous.
> > >
> > > Something like:
> > >
> > > public function checkEmailExists():void {
> > >   srv.checkEmail({email:userEmailInput.text});
> > > }
> > >
> > >
> > > public function handleCheckEmailExists(event){
> > >   if (event.result == 'true'){
> > > submitSignup.enabled = true;
> > > }   else {
> > > submitSignup.enabled = false;
> > >   }
> > > }
> > >
> > >
> > > And in your Remote Object tag:
> > >
> > > 
> > >
> > >
> > >
> > >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Alexander Tsoukias
> > > Sent: Tuesday, April 04, 2006 11:34 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] GENERAL actionscript question
> > >
> > > Hi all, I know this is not advanced, but I have a deadline for
a
> > > FLEX app tomorrow and the client needs to see a login and
signup
> > > sample.
> > >
> > > I have a CFC which has a method that checks if the email
inputed
> > > already exists in the database.
> > >
> > > The cfc function returns TRUE or FALSE
> > >
> > > This is the actionscipt that I have:
> > >
> > > public function checkEmailExists():void {
> > > if ((srv.checkEmail({email:userEmailInput.text}))
==
> > > true){
> > > submitSignup.enabled = true;
> > > }   else {
> > > submitSignup.enabled = false;
> > > }
> > >   }
> > >
> > >
> > > Is this correct? It doesn't seem to work.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing 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 .
> >
> >
> >  --
> >
>
>
>
> --
> Regards,
>
> Jignesh Dodiya
>







--
Flexcoders Mailing 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] Re: GENERAL actionscript question

2006-04-05 Thread Doug Lowder
I believe you can use either

  handleCheckEmailExists(event: mx.rpc.events.ResultEvent):void

or

  handleCheckEmailExists(event: *):void


--- In flexcoders@yahoogroups.com, "Alexander Tsoukias" 
<[EMAIL PROTECTED]> wrote:
>
> I think its a bug, because everytime I run the app it adds another 
> line with the same error.
> 
> So now I have 6 of these errors all pointing to the same problem.
> 
> !A
> 
> 
> --- In flexcoders@yahoogroups.com, "Alexander Tsoukias" 
>  wrote:
> >
> > still the same. can this be a bug maybe?!
> > 
> > --- In flexcoders@yahoogroups.com, "Jignesh Dodiya"  
> > wrote:
> > >
> > > hi, try this. may be solved, just rewrite the sentence as 
follow
> > > 
> > > public function handleCheckEmailExists(*event:Object*):void{
> > > 
> > > 
> > > On 4/6/06, Alexander Tsoukias  wrote:
> > > >
> > > > Yes and I still get it. here is what I have in my code:
> > > >
> > > >
> > > > import mx.managers.PopUpManager;
> > > > import flash.net.Responder;
> > > > import mx.rpc.remoting.RemoteObject;
> > > > import flash.events.Event;
> > > > import mx.events.ValidationResultEvent;
> > > > import Members;
> > > >
> > > >
> > > >
> > > > public function checkEmailExists():void {
> > > >   srv.checkEmail({email:userEmailInput.text});
> > > > }
> > > >
> > > > public function handleCheckEmailExists(event):void{
> > > >   if (event.result == 'TRUE'){
> > > > submitSignup.enabled = false;
> > > > }   else {
> > > > submitSignup.enabled = true;
> > > >   }
> > > > }
> > > >
> > > >
> > > >  > > >   source="CFIDE.samples.palcafe.CF.MembersDAO"
> > > >   showBusyCursor="true">
> > > >
> > > > 
> > > > 
> > > >
> > > >
> > > > Again... this works, but that message still appears in the 
> > problems
> > > > panel when I compile...
> > > > "parameter 'event' has no type declaration.
> > > >
> > > > Weird huh?
> > > > !A
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Jignesh Dodiya" 

> > > >
> > > > wrote:
> > > > >
> > > > > Have u imported flash.net.Responder or  import
> > > > mx.rpc.remoting.RemoteObject.
> > > > > Not sure for CF but it generally required when u use 
> remoting 
> > with
> > > > AMF...
> > > > >
> > > > >
> > > > >
> > > > > On 4/6/06, Alexander Tsoukias  wrote:
> > > > > >
> > > > > > Hi Kelly,
> > > > > >
> > > > > > As always u got it right.
> > > > > >
> > > > > > It works fine ;-) but I am getting this error in the 
> compile
> > > > panel
> > > > > > "parameter 'event' has no type declaration"
> > > > > >
> > > > > > and its talking about this line:
> > > > > > public function handleCheckEmailExists(event){
> > > > > >
> > > > > > I even tried it like this:
> > > > > > public function handleCheckEmailExists(event):void{
> > > > > >
> > > > > >
> > > > > > Any ideas?
> > > > > >
> > > > > > Thanks,
> > > > > > Alex
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media 
> > Inc."
> > > > > >
> > > > > >  wrote:
> > > > > > >
> > > > > > > Unless something has changed in Flex 2 that I am not 
> aware 
> > of,
> > > > you
> > > > > > need to
> > > > > > > define a result handler for Remote Object call and do 
the
> > > > check in
> > > > > > there.
> > > > > > >
> > > > > > > RO Calls are asynchronous.
> > > > > > >
> > > > > > > Something like:
> > > > > > >
> > > > > > > public function checkEmailExists():void {
> > > > > > >   srv.checkEmail({email:userEmailInput.text});
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > > public function handleCheckEmailExists(event){
> > > > > > >   if (event.result == 'true'){
> > > > > > > submitSignup.enabled = true;
> > > > > > > }   else {
> > > > > > > submitSignup.enabled = false;
> > > > > > >   }
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > > And in your Remote Object tag:
> > > > > > >
> > > > > > >  result="handleCheckEmailExists
> > > > > > (event)" />
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Original Message-
> > > > > > > From: flexcoders@yahoogroups.com
> > > > > > [mailto:[EMAIL PROTECTED] On
> > > > > > > Behalf Of Alexander Tsoukias
> > > > > > > Sent: Tuesday, April 04, 2006 11:34 PM
> > > > > > > To: flexcoders@yahoogroups.com
> > > > > > > Subject: [flexcoders] GENERAL actionscript question
> > > > > > >
> > > > > > > Hi all, I know this is not advanced, but I have a 
> deadline 
> > for
> > > > a
> > > > > > > FLEX app tomorrow and the client needs to see a login 
and
> > > > signup
> > > > > > > sample.
> > > > > > >
> > > > > > > I have a CFC which has a method that checks if the 
email
> > > > inputed
> > > > > > > already exists in the database.
> > > > > > >
> > > > > > > The cfc function returns TRUE or FALSE
> > > > > > >
> > > > > > > This is the actionscipt that I have:
> > > > > > >
> > > > > > > public function checkEmailEx

[flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
I think its a bug, because everytime I run the app it adds another 
line with the same error.

So now I have 6 of these errors all pointing to the same problem.

!A


--- In flexcoders@yahoogroups.com, "Alexander Tsoukias" 
<[EMAIL PROTECTED]> wrote:
>
> still the same. can this be a bug maybe?!
> 
> --- In flexcoders@yahoogroups.com, "Jignesh Dodiya"  
> wrote:
> >
> > hi, try this. may be solved, just rewrite the sentence as follow
> > 
> > public function handleCheckEmailExists(*event:Object*):void{
> > 
> > 
> > On 4/6/06, Alexander Tsoukias  wrote:
> > >
> > > Yes and I still get it. here is what I have in my code:
> > >
> > >
> > > import mx.managers.PopUpManager;
> > > import flash.net.Responder;
> > > import mx.rpc.remoting.RemoteObject;
> > > import flash.events.Event;
> > > import mx.events.ValidationResultEvent;
> > > import Members;
> > >
> > >
> > >
> > > public function checkEmailExists():void {
> > >   srv.checkEmail({email:userEmailInput.text});
> > > }
> > >
> > > public function handleCheckEmailExists(event):void{
> > >   if (event.result == 'TRUE'){
> > > submitSignup.enabled = false;
> > > }   else {
> > > submitSignup.enabled = true;
> > >   }
> > > }
> > >
> > >
> > >  > >   source="CFIDE.samples.palcafe.CF.MembersDAO"
> > >   showBusyCursor="true">
> > >
> > > 
> > > 
> > >
> > >
> > > Again... this works, but that message still appears in the 
> problems
> > > panel when I compile...
> > > "parameter 'event' has no type declaration.
> > >
> > > Weird huh?
> > > !A
> > >
> > > --- In flexcoders@yahoogroups.com, "Jignesh Dodiya" 
> > >
> > > wrote:
> > > >
> > > > Have u imported flash.net.Responder or  import
> > > mx.rpc.remoting.RemoteObject.
> > > > Not sure for CF but it generally required when u use 
remoting 
> with
> > > AMF...
> > > >
> > > >
> > > >
> > > > On 4/6/06, Alexander Tsoukias  wrote:
> > > > >
> > > > > Hi Kelly,
> > > > >
> > > > > As always u got it right.
> > > > >
> > > > > It works fine ;-) but I am getting this error in the 
compile
> > > panel
> > > > > "parameter 'event' has no type declaration"
> > > > >
> > > > > and its talking about this line:
> > > > > public function handleCheckEmailExists(event){
> > > > >
> > > > > I even tried it like this:
> > > > > public function handleCheckEmailExists(event):void{
> > > > >
> > > > >
> > > > > Any ideas?
> > > > >
> > > > > Thanks,
> > > > > Alex
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media 
> Inc."
> > > > >
> > > > >  wrote:
> > > > > >
> > > > > > Unless something has changed in Flex 2 that I am not 
aware 
> of,
> > > you
> > > > > need to
> > > > > > define a result handler for Remote Object call and do the
> > > check in
> > > > > there.
> > > > > >
> > > > > > RO Calls are asynchronous.
> > > > > >
> > > > > > Something like:
> > > > > >
> > > > > > public function checkEmailExists():void {
> > > > > >   srv.checkEmail({email:userEmailInput.text});
> > > > > > }
> > > > > >
> > > > > >
> > > > > > public function handleCheckEmailExists(event){
> > > > > >   if (event.result == 'true'){
> > > > > > submitSignup.enabled = true;
> > > > > > }   else {
> > > > > > submitSignup.enabled = false;
> > > > > >   }
> > > > > > }
> > > > > >
> > > > > >
> > > > > > And in your Remote Object tag:
> > > > > >
> > > > > > 
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Original Message-
> > > > > > From: flexcoders@yahoogroups.com
> > > > > [mailto:[EMAIL PROTECTED] On
> > > > > > Behalf Of Alexander Tsoukias
> > > > > > Sent: Tuesday, April 04, 2006 11:34 PM
> > > > > > To: flexcoders@yahoogroups.com
> > > > > > Subject: [flexcoders] GENERAL actionscript question
> > > > > >
> > > > > > Hi all, I know this is not advanced, but I have a 
deadline 
> for
> > > a
> > > > > > FLEX app tomorrow and the client needs to see a login and
> > > signup
> > > > > > sample.
> > > > > >
> > > > > > I have a CFC which has a method that checks if the email
> > > inputed
> > > > > > already exists in the database.
> > > > > >
> > > > > > The cfc function returns TRUE or FALSE
> > > > > >
> > > > > > This is the actionscipt that I have:
> > > > > >
> > > > > > public function checkEmailExists():void {
> > > > > > if ((srv.checkEmail
> ({email:userEmailInput.text}))
> > > ==
> > > > > > true){
> > > > > > submitSignup.enabled = true;
> > > > > > }   else {
> > > > > > submitSignup.enabled = false;
> > > > > > }
> > > > > >   }
> > > > > >
> > > > > >
> > > > > > Is this correct? It doesn't seem to work.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Flexcoders Mailing List
> > > > > > FAQ:
> > > > > 
> http://groups.yahoo.com/group/flexcoders/files/flexcoder

[flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
still the same. can this be a bug maybe?!

--- In flexcoders@yahoogroups.com, "Jignesh Dodiya" <[EMAIL PROTECTED]> 
wrote:
>
> hi, try this. may be solved, just rewrite the sentence as follow
> 
> public function handleCheckEmailExists(*event:Object*):void{
> 
> 
> On 4/6/06, Alexander Tsoukias <[EMAIL PROTECTED]> wrote:
> >
> > Yes and I still get it. here is what I have in my code:
> >
> >
> > import mx.managers.PopUpManager;
> > import flash.net.Responder;
> > import mx.rpc.remoting.RemoteObject;
> > import flash.events.Event;
> > import mx.events.ValidationResultEvent;
> > import Members;
> >
> >
> >
> > public function checkEmailExists():void {
> >   srv.checkEmail({email:userEmailInput.text});
> > }
> >
> > public function handleCheckEmailExists(event):void{
> >   if (event.result == 'TRUE'){
> > submitSignup.enabled = false;
> > }   else {
> > submitSignup.enabled = true;
> >   }
> > }
> >
> >
> >  >   source="CFIDE.samples.palcafe.CF.MembersDAO"
> >   showBusyCursor="true">
> >
> > 
> > 
> >
> >
> > Again... this works, but that message still appears in the 
problems
> > panel when I compile...
> > "parameter 'event' has no type declaration.
> >
> > Weird huh?
> > !A
> >
> > --- In flexcoders@yahoogroups.com, "Jignesh Dodiya" 
> >
> > wrote:
> > >
> > > Have u imported flash.net.Responder or  import
> > mx.rpc.remoting.RemoteObject.
> > > Not sure for CF but it generally required when u use remoting 
with
> > AMF...
> > >
> > >
> > >
> > > On 4/6/06, Alexander Tsoukias  wrote:
> > > >
> > > > Hi Kelly,
> > > >
> > > > As always u got it right.
> > > >
> > > > It works fine ;-) but I am getting this error in the compile
> > panel
> > > > "parameter 'event' has no type declaration"
> > > >
> > > > and its talking about this line:
> > > > public function handleCheckEmailExists(event){
> > > >
> > > > I even tried it like this:
> > > > public function handleCheckEmailExists(event):void{
> > > >
> > > >
> > > > Any ideas?
> > > >
> > > > Thanks,
> > > > Alex
> > > >
> > > >
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media 
Inc."
> > > >
> > > >  wrote:
> > > > >
> > > > > Unless something has changed in Flex 2 that I am not aware 
of,
> > you
> > > > need to
> > > > > define a result handler for Remote Object call and do the
> > check in
> > > > there.
> > > > >
> > > > > RO Calls are asynchronous.
> > > > >
> > > > > Something like:
> > > > >
> > > > > public function checkEmailExists():void {
> > > > >   srv.checkEmail({email:userEmailInput.text});
> > > > > }
> > > > >
> > > > >
> > > > > public function handleCheckEmailExists(event){
> > > > >   if (event.result == 'true'){
> > > > > submitSignup.enabled = true;
> > > > > }   else {
> > > > > submitSignup.enabled = false;
> > > > >   }
> > > > > }
> > > > >
> > > > >
> > > > > And in your Remote Object tag:
> > > > >
> > > > > 
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > -Original Message-
> > > > > From: flexcoders@yahoogroups.com
> > > > [mailto:[EMAIL PROTECTED] On
> > > > > Behalf Of Alexander Tsoukias
> > > > > Sent: Tuesday, April 04, 2006 11:34 PM
> > > > > To: flexcoders@yahoogroups.com
> > > > > Subject: [flexcoders] GENERAL actionscript question
> > > > >
> > > > > Hi all, I know this is not advanced, but I have a deadline 
for
> > a
> > > > > FLEX app tomorrow and the client needs to see a login and
> > signup
> > > > > sample.
> > > > >
> > > > > I have a CFC which has a method that checks if the email
> > inputed
> > > > > already exists in the database.
> > > > >
> > > > > The cfc function returns TRUE or FALSE
> > > > >
> > > > > This is the actionscipt that I have:
> > > > >
> > > > > public function checkEmailExists():void {
> > > > > if ((srv.checkEmail
({email:userEmailInput.text}))
> > ==
> > > > > true){
> > > > > submitSignup.enabled = true;
> > > > > }   else {
> > > > > submitSignup.enabled = false;
> > > > > }
> > > > >   }
> > > > >
> > > > >
> > > > > Is this correct? It doesn't seem to work.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Flexcoders Mailing 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
> > > >
> > > >
> > >

Re: [flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Jignesh Dodiya



hi, try this. may be solved, just rewrite the sentence as follow
 
public function handleCheckEmailExists(event:Object):void{ 
On 4/6/06, Alexander Tsoukias <[EMAIL PROTECTED]> wrote:

Yes and I still get it. here is what I have in my code:    import mx.managers.PopUpManager;    import flash.net.Responder;    import mx.rpc.remoting.RemoteObject
;    import flash.events.Event;    import mx.events.ValidationResultEvent;    import Members;
public function checkEmailExists():void {  srv.checkEmail({email:userEmailInput.text});}
public function handleCheckEmailExists(event):void{  if (event.result == 'TRUE'){    submitSignup.enabled = false;     }   else {    submitSignup.enabled
 = true;  }}  source="CFIDE.samples.palcafe.CF.MembersDAO"  showBusyCursor="true">


Again... this works, but that message still appears in the problems panel when I compile..."parameter 'event' has no type declaration.Weird huh?
!A--- In flexcoders@yahoogroups.com, "Jignesh Dodiya" <[EMAIL PROTECTED]> 

wrote:>> Have u imported flash.net.Responder or  import mx.rpc.remoting.RemoteObject.> Not sure for CF but it generally required when u use remoting with 
AMF...> > > 
> On 4/6/06, Alexander Tsoukias <[EMAIL PROTECTED]> wrote:> >> > Hi Kelly,> >> > As always u got it right.
> >> > It works fine ;-) but I am getting this error in the compile panel> > "parameter 'event' has no type declaration"> >> > and its talking about this line:
> > public function handleCheckEmailExists(event){> >> > I even tried it like this:> > public function handleCheckEmailExists(event):void{> >> >> > Any ideas?
> >> > Thanks,> > Alex> >> >> >> >> > --- In 
flexcoders@yahoogroups.com, "Kelly @ Dekayd Media Inc."> >> >  wrote:> > >> > > Unless something has changed in Flex 2 that I am not aware of, 
you> > need to> > > define a result handler for Remote Object call and do the check in> > there.> > >> > > RO Calls are asynchronous.> > >> > > Something like:
> > >> > > public function checkEmailExists():void {> > >   srv.checkEmail({email:userEmailInput.text});> > > }> > >> > >> > > public function handleCheckEmailExists(event){
> > >   if (event.result == 'true'){> > > submitSignup.enabled = true;> > > }   else {> > > submitSignup.enabled = false;
> > >   }> > > }> > >> > >> > > And in your Remote Object tag:> > >> > > > > >> > >> > >> > >> > > -Original Message-> > > From: 
flexcoders@yahoogroups.com> > [mailto:flexcoders@yahoogroups.com] On> > > Behalf Of Alexander Tsoukias
> > > Sent: Tuesday, April 04, 2006 11:34 PM> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] GENERAL actionscript question> > >> > > Hi all, I know this is not advanced, but I have a deadline for a> > > FLEX app tomorrow and the client needs to see a login and 
signup> > > sample.> > >> > > I have a CFC which has a method that checks if the email inputed> > > already exists in the database.> > >> > > The cfc function returns TRUE or FALSE
> > >> > > This is the actionscipt that I have:> > >> > > public function checkEmailExists():void {> > > if ((srv.checkEmail({email:userEmailInput.text
})) ==> > > true){> > > submitSignup.enabled = true;> > > }   else {> > > submitSignup.enabled = false;> > > }
> > >   }> > >> > >> > > Is this correct? It doesn't seem to work.> > >> > >> > >> > >> > >> > >
> > >> > > --> > > Flexcoders Mailing 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][EMAIL PROTECTED]>> >> >    -  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> >    Service .> >> >> >  --
> >> > > > --> Regards,> > Jignesh Dodiya>
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Regards, Jignesh Dodiya 






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

Re: [flexcoders] Alert window customize

2006-04-05 Thread sinatosk



The "Alert" component is extended from the "Panel" component. Simply use the "Panel" or "TitleWindow" component and set "
borderStyle" property to "solid", "backgroundColor" to "#006699" ( it's the closest colour I could match it too the "Alert" component ) and "backgroundAlpha" to "
0.75" ( or what ever transpancey you want )...
 
oh and I'm assuming you know how to create popups ( it's related to the blur background you asking for )...
 
bam... there you go :p you can customize
 
On 4/5/06, lancert82 <[EMAIL PROTECTED]> wrote:

I want to customize the Alert window.When the alert window opens, the background is blurred, but i don'tlike that, so i want to give it an other color or maybe fullytransparant ...
You have something in 'styles' and that is 'modalTransparency' ...Thx :)--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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 Mailing 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: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
Yes and I still get it. here is what I have in my code:


import mx.managers.PopUpManager;
import flash.net.Responder;
import mx.rpc.remoting.RemoteObject;
import flash.events.Event;
import mx.events.ValidationResultEvent;
import Members;


public function checkEmailExists():void {
  srv.checkEmail({email:userEmailInput.text});
}

public function handleCheckEmailExists(event):void{
  if (event.result == 'TRUE'){
submitSignup.enabled = false; 
}   else {
submitSignup.enabled = true;
  }
}







Again... this works, but that message still appears in the problems 
panel when I compile...
"parameter 'event' has no type declaration.

Weird huh?
!A

--- In flexcoders@yahoogroups.com, "Jignesh Dodiya" <[EMAIL PROTECTED]> 
wrote:
>
> Have u imported flash.net.Responder or  import 
mx.rpc.remoting.RemoteObject.
> Not sure for CF but it generally required when u use remoting with 
AMF...
> 
> 
> 
> On 4/6/06, Alexander Tsoukias <[EMAIL PROTECTED]> wrote:
> >
> > Hi Kelly,
> >
> > As always u got it right.
> >
> > It works fine ;-) but I am getting this error in the compile 
panel
> > "parameter 'event' has no type declaration"
> >
> > and its talking about this line:
> > public function handleCheckEmailExists(event){
> >
> > I even tried it like this:
> > public function handleCheckEmailExists(event):void{
> >
> >
> > Any ideas?
> >
> > Thanks,
> > Alex
> >
> >
> >
> >
> > --- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media Inc."
> >
> >  wrote:
> > >
> > > Unless something has changed in Flex 2 that I am not aware of, 
you
> > need to
> > > define a result handler for Remote Object call and do the 
check in
> > there.
> > >
> > > RO Calls are asynchronous.
> > >
> > > Something like:
> > >
> > > public function checkEmailExists():void {
> > >   srv.checkEmail({email:userEmailInput.text});
> > > }
> > >
> > >
> > > public function handleCheckEmailExists(event){
> > >   if (event.result == 'true'){
> > > submitSignup.enabled = true;
> > > }   else {
> > > submitSignup.enabled = false;
> > >   }
> > > }
> > >
> > >
> > > And in your Remote Object tag:
> > >
> > > 
> > >
> > >
> > >
> > >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Alexander Tsoukias
> > > Sent: Tuesday, April 04, 2006 11:34 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] GENERAL actionscript question
> > >
> > > Hi all, I know this is not advanced, but I have a deadline for 
a
> > > FLEX app tomorrow and the client needs to see a login and 
signup
> > > sample.
> > >
> > > I have a CFC which has a method that checks if the email 
inputed
> > > already exists in the database.
> > >
> > > The cfc function returns TRUE or FALSE
> > >
> > > This is the actionscipt that I have:
> > >
> > > public function checkEmailExists():void {
> > > if ((srv.checkEmail({email:userEmailInput.text})) 
==
> > > true){
> > > submitSignup.enabled = true;
> > > }   else {
> > > submitSignup.enabled = false;
> > > }
> > >   }
> > >
> > >
> > > Is this correct? It doesn't seem to work.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Flexcoders Mailing 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 .
> >
> >
> >  --
> >
> 
> 
> 
> --
> Regards,
> 
> Jignesh Dodiya
>







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

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

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

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





Re: [flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Jignesh Dodiya



Have u imported flash.net.Responder or  import mx.rpc.remoting.RemoteObject. Not sure for CF but it generally required when u use remoting with AMF...
 
 
On 4/6/06, Alexander Tsoukias <[EMAIL PROTECTED]> wrote:

Hi Kelly,As always u got it right.It works fine ;-) but I am getting this error in the compile panel"parameter 'event' has no type declaration"and its talking about this line:
public function handleCheckEmailExists(event){I even tried it like this:public function handleCheckEmailExists(event):void{Any ideas?Thanks,Alex--- In 
flexcoders@yahoogroups.com, "Kelly @ Dekayd Media Inc." 
<[EMAIL PROTECTED]> wrote:>> Unless something has changed in Flex 2 that I am not aware of, you need to> define a result handler for Remote Object call and do the check in 
there.> > RO Calls are asynchronous.> > Something like:> > public function checkEmailExists():void {>   srv.checkEmail({email:userEmailInput.text});> }> 
> > public function handleCheckEmailExists(event){>       if (event.result == 'true'){> submitSignup.enabled = true; > }   else {> submitSignup.enabled
 = false;>   }> }>  > > And in your Remote Object tag:> > > 
> > > > -Original Message-> From: flexcoders@yahoogroups.com
 [mailto:flexcoders@yahoogroups.com] On> Behalf Of Alexander Tsoukias> Sent: Tuesday, April 04, 2006 11:34 PM
> To: flexcoders@yahoogroups.com> Subject: [flexcoders] GENERAL actionscript question
> > Hi all, I know this is not advanced, but I have a deadline for a > FLEX app tomorrow and the client needs to see a login and signup > sample.> > I have a CFC which has a method that checks if the email inputed 
> already exists in the database.> > The cfc function returns TRUE or FALSE> > This is the actionscipt that I have:> > public function checkEmailExists():void {
> if ((srv.checkEmail({email:userEmailInput.text})) == > true){> submitSignup.enabled = true; > }   else {> submitSignup.enabled = false;> }
>   }  > > > Is this correct? It doesn't seem to work.> > > > > > > > --> Flexcoders Mailing 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.txtSearch 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. 



-- Regards, Jignesh Dodiya 






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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Bruno Martins



Thanks Gordon and Jeremy...
On 4/5/06, Gordon Smith <[EMAIL PROTECTED]> wrote:



I think you need to do
 
   value[i].headerRenderer = new ClassFactory(HeadRendererAddRemove);
 
- Gordon
 




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Bruno MartinsSent: Wednesday, April 05, 2006 10:53 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

 

Hi Jeremy,

 

The error was fixed but the headerRenderer won't be displayed. 

Tks...

 

On 4/5/06, jeremy lu <
[EMAIL PROTECTED]> wrote: 

hi Bruno, try this see if it works :-)


On 4/6/06, Bruno Martins <
 [EMAIL PROTECTED]> wrote:





How I can fix this:

 


public override function set columns(value:Array):void { 
   for(var i:Number = 0; i

   value[i].headerRenderer = 
HeadRendererAddRemove as IFactory;
   }}
--Flexcoders Mailing 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. 
 



-- Bruno Gustavo Martins
Mobile: (55)(11)9585-9587
[EMAIL PROTECTED]experience everywhere
http://www.dclick.com.br/blog 

--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Bruno Gustavo MartinsMobile: (55)(11)9585-9587[EMAIL PROTECTED]experience everywhere
http://www.dclick.com.br/blog 






--
Flexcoders Mailing List
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] F2B2: Namespaces breaking E4X

2006-04-05 Thread Gordon Smith
Well, you'd have to change the E4X expressions to specify the
appropriate namespace. In XML you can put various namespaces on various
tags, and E4X completely supports this.

I don't have any examples at the moment, but I'd expect our docs to
cover this somewhere. Maybe someone else can post an example.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, April 05, 2006 12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2B2: Namespaces breaking E4X

The title pretty much says it all. Using the example code here you can
see what I mean.
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:
E4X:overview

If you change the root node to something like http://www.example.com/xml/";>, none of the e4x expressions will
work anymore. Am I missing something really simple here?

Thanks,
Ben





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



 





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

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

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

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





RE: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Gordon Smith










I think you need to do

 

   value[i].headerRenderer = new
ClassFactory(HeadRendererAddRemove);

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bruno Martins
Sent: Wednesday, April 05, 2006
10:53 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex 2
Beta 2 - dynamic headerRenderer / IFactory error



 



Hi Jeremy,





 





The error was fixed but the headerRenderer won't be
displayed.
 





Tks...






 





On 4/5/06, jeremy lu <[EMAIL PROTECTED]> wrote:





hi Bruno, 

try this see if it works :-)



On 4/6/06, Bruno Martins < [EMAIL PROTECTED]> wrote:











How I can fix this:





 









public override function set
columns(value:Array):void { 
   for(var i:Number = 0; i





   value[i].headerRenderer = HeadRendererAddRemove
as IFactory;
   }
}

















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


 










-- 
Bruno Gustavo Martins
Mobile: (55)(11)9585-9587
[EMAIL PROTECTED]
experience everywhere
http://www.dclick.com.br/blog








--
Flexcoders Mailing 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] F2B2: Namespaces breaking E4X

2006-04-05 Thread Tobias Patton
Try putting this in your function before making any e4x calls

default namespace = "http://www.example.com/xml/";

Tobias.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ben.clinkinbeard
Sent: Wednesday, April 05, 2006 12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] F2B2: Namespaces breaking E4X

The title pretty much says it all. Using the example code here you can
see what I mean.
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:
E4X:overview

If you change the root node to something like http://www.example.com/xml/";>, none of the e4x expressions will
work anymore. Am I missing something really simple here?

Thanks,
Ben





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



 






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

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

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

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





[flexcoders] Re: GENERAL actionscript question

2006-04-05 Thread Alexander Tsoukias
Hi Kelly,

As always u got it right.

It works fine ;-) but I am getting this error in the compile panel
"parameter 'event' has no type declaration"

and its talking about this line:
public function handleCheckEmailExists(event){

I even tried it like this:
public function handleCheckEmailExists(event):void{


Any ideas?

Thanks,
Alex




--- In flexcoders@yahoogroups.com, "Kelly @ Dekayd Media Inc." 
<[EMAIL PROTECTED]> wrote:
>
> Unless something has changed in Flex 2 that I am not aware of, you 
need to
> define a result handler for Remote Object call and do the check in 
there.
> 
> RO Calls are asynchronous.
> 
> Something like:
> 
> public function checkEmailExists():void {
>   srv.checkEmail({email:userEmailInput.text});
> }
> 
> 
> public function handleCheckEmailExists(event){
>   if (event.result == 'true'){
> submitSignup.enabled = true; 
> }   else {
> submitSignup.enabled = false;
>   }
> }
>  
> 
> And in your Remote Object tag:
> 
> 
> 
> 
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Alexander Tsoukias
> Sent: Tuesday, April 04, 2006 11:34 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] GENERAL actionscript question
> 
> Hi all, I know this is not advanced, but I have a deadline for a 
> FLEX app tomorrow and the client needs to see a login and signup 
> sample.
> 
> I have a CFC which has a method that checks if the email inputed 
> already exists in the database.
> 
> The cfc function returns TRUE or FALSE
> 
> This is the actionscipt that I have:
> 
> public function checkEmailExists():void {
> if ((srv.checkEmail({email:userEmailInput.text})) == 
> true){
> submitSignup.enabled = true; 
> }   else {
> submitSignup.enabled = false;
> }
>   }  
> 
> 
> Is this correct? It doesn't seem to work.
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com 
> Yahoo! Groups Links
>







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

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

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

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





[flexcoders] Re: Populate datagrid columns via titlewindow text input boxes

2006-04-05 Thread Doug Lowder
To auto select the first row of a datagrid, try:

  creationComplete="{myDG.selectedIndex = 0}"


--- In flexcoders@yahoogroups.com, "rgwilson26" <[EMAIL PROTECTED]> 
wrote:
>
> I am working on an app with a datagrid and button where the user 
will 
> click a button to display a titlewindow with various intput boxes 
to 
> populate rows in the datagrid. At the moment I can only get one 
> object to populate (the very first column and no others) the dg. 
My 
> question is how can I pass multiple text input box objects back to 
my 
> app from the titlewindow via my dispatch events and populate each 
> column in my dg with the text inputs from the Titlewindow?
> 
> Also, is there a way to auto select the first index of a datagrid 
so 
> it is highlighted when the app loads? I tried 
> initilaize="{myDG.selectedIndex = 0}" with no luck.
> 
> Any suggestions?
> 
> Here is my code:
> 
> 
> 
>   main app
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   TitleWindow component
> 
> 
> 
>   [Event("lessonsLearnedUpdate")]
> [Event("needToKnowUpdate")]
> [Event("shareInfoUpdate")]
> 
> 
> 
> 
> 
> 
> 
> 
>text="{lessonsLearned}"/>
>text="{needToKnow}"/>
>text="{shareInfo}"/>
> 
> 
> 
> 
>






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

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

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

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





RE: [flexcoders] Re: OutOfMemoryError

2006-04-05 Thread Peter Farland





Yep, as Carson said, I'd be interested to see what happens 
when you change the maximum memory allocation size for the jvm.config file used 
by mxmlc? I'm also interested to see whether other simpler 
applications cause this error?
 
If it still happens then, would it be possible to prepare a 
reproducible test case and file a bug (or prepare a bug and send it to me so I 
can forward it to QA?). At the very least if you could describe the number of 
components, classes and files used in the application it might help 
too.
 
Thanks,
    Pete


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim 
ReddingtonSent: Wednesday, April 05, 2006 12:41 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
OutOfMemoryError

Peter,
 
I am running the 
application in Flex 1.5 and have installed Flex 2.0 for a different project. 

It doesn't matter 
how I run the app, I always get an OutOfMemory Error. I've tried running from 
Flex Builder, by typing the mxml filename in the browser address field, by 
bringing up the app via a jsp. I've tried it in IE and Firefox.  I've 
removed flex 1.5 and flex 20 and reinstalled flex 1.5. Anyway I try to compile 
it still gives me an error.
 
Yes, I have "save 
generated as" and "save swf file" both enabled to help me track down this 
problem.
Someone else asked 
about Memory. I've upped the memory in Tomcat to be above and beyond what my 
colleagues are running. They can still get the app to run on their PC. The only 
differences are what software we have installed on our machines outside of this 
project.
 
Thanks,
Kim
--- In flexcoders@yahoogroups.com, "Peter 
Farland" <[EMAIL PROTECTED]> wrote:>> Hi Kim,>  
> How are you compiling the application? The reason I ask is that it's 
not> clear from your email what is reporting this error or where/how it 
is> reported to you...>  > When you say that you tried 
to run it in a browser, are you relying on> the webtier compiler by 
browsing to a .mxml file to dynamically compile> your application to a 
SWF?  Or are you using JSP tags to dynamically> general .mxml (If 
so, then I'm confused as you say you can see the .as> file being 
generated... is this simply because you have keep generated> actionscript 
enabled?). Or are you using Flex Builder?>  > Actually, I 
need further clarification - are you using Flex 2 to compile> this 
application, or did you simply install Flex 2 in addition to/next> to a 
Flex 1.5 application and now the Flex 1.5 application is reporting> this 
error?>  >  >  > > > 
> > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On> Behalf Of Kim Reddington> 
Sent: Wednesday, April 05, 2006 10:28 AM> To: flexcoders@yahoogroups.com> 
Subject: [flexcoders] OutOfMemoryError> > > I have a large 
application that I've been running for over a year. All> of a sudden the 
app stopped running. I am getting an OutOfMemory Error> when I tried to 
run in any browser.  My first thought was it must have> been the 
changes I've made. Luckily, we are using CVS, so I grabbed a> version of 
our software from a couple weeks ago.  Well, the out of> memory 
error is still there. So then I thought maybe it's because I> installed 
Flex 2 Beta 2, so I uninstalled all the Beta 2 items (Builder,> FDS, 
etc).  The application was still erroring out.>  > In 
trying to debug what is happening, I can see that the .as file is> being 
generated, but the SWF file is not being created.  The comiler is> 
timing out before it completes the SWF.>  > If anyone has any 
ideas of what I could look at, try, whatever.  I been> trying to 
figure this out for a couple of weeks and have run out of> ideas.  
Has anyone seen this before? Has anyone had similar experiences> after 
installing Flex 2?  What might have changed?>  > Thank 
you so much for your help,> Kim> > > --> 
Flexcoders Mailing 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  
. > > > 
>
 
_Kim 
ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744  
 





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

[flexcoders] F2B2: Namespaces breaking E4X

2006-04-05 Thread ben.clinkinbeard
The title pretty much says it all. Using the example code here you can
see what I mean.
http://labs.macromedia.com/wiki/index.php/ActionScript_3:resources:apis:E4X:overview

If you change the root node to something like http://www.example.com/xml/";>, none of the e4x expressions will
work anymore. Am I missing something really simple here?

Thanks,
Ben





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

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

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

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





[flexcoders] Flex/ActionScript/Java and UML

2006-04-05 Thread Oscar . Cortes
Has anyone have any UML diagrams examples that show the interaction among
mxml components, action script classes and Java?



---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




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

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

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

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





[flexcoders] Re: Populate datagrid columns via titlewindow text input boxes

2006-04-05 Thread Doug Lowder
You could dispatch a single event with all the necessary data.  
Otherwise, you would have to replace the individual column data, 
rather than using dgLessonsLearned.replaceItemAt(), which replaces 
the entire row.

Ex:

(Main app)
... (in showPopUp())

t.addEventListener("infoUpdate", this);
... (in handleEvent())

if (evt.type == "infoUpdate")
dgLessonsLearned.replaceItemAt(
dgLessonsLearned.selectedIndex, evt.Result);

(TitleWindow component)

   [Event("infoUpdate")]


... (in updateText())
dispatchEvent({type:"infoUpdate",
Result: {lessonsLearned: txtLessonsLearned,
 needToKnow: txtNeedToKnow,
 shareInfo: txtShareInfo}});


- Doug


--- In flexcoders@yahoogroups.com, "rgwilson26" <[EMAIL PROTECTED]> 
wrote:
>
> I am working on an app with a datagrid and button where the user 
will 
> click a button to display a titlewindow with various intput boxes 
to 
> populate rows in the datagrid. At the moment I can only get one 
> object to populate (the very first column and no others) the dg. 
My 
> question is how can I pass multiple text input box objects back to 
my 
> app from the titlewindow via my dispatch events and populate each 
> column in my dg with the text inputs from the Titlewindow?
> 
> Also, is there a way to auto select the first index of a datagrid 
so 
> it is highlighted when the app loads? I tried 
> initilaize="{myDG.selectedIndex = 0}" with no luck.
> 
> Any suggestions?
> 
> Here is my code:
> 
> 
> 
>   main app
> 
> 
> 
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   TitleWindow component
> 
> 
> 
>   [Event("lessonsLearnedUpdate")]
> [Event("needToKnowUpdate")]
> [Event("shareInfoUpdate")]
> 
> 
> 
> 
> 
> 
> 
> 
>text="{lessonsLearned}"/>
>text="{needToKnow}"/>
>text="{shareInfo}"/>
> 
> 
> 
> 
>







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

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

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

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





[flexcoders] Populate datagrid columns via titlewindow text input boxes

2006-04-05 Thread rgwilson26
I am working on an app with a datagrid and button where the user will 
click a button to display a titlewindow with various intput boxes to 
populate rows in the datagrid. At the moment I can only get one 
object to populate (the very first column and no others) the dg. My 
question is how can I pass multiple text input box objects back to my 
app from the titlewindow via my dispatch events and populate each 
column in my dg with the text inputs from the Titlewindow?

Also, is there a way to auto select the first index of a datagrid so 
it is highlighted when the app loads? I tried 
initilaize="{myDG.selectedIndex = 0}" with no luck.

Any suggestions?

Here is my code:



main app






















TitleWindow component



  [Event("lessonsLearnedUpdate")]
  [Event("needToKnowUpdate")]
  [Event("shareInfoUpdate")]
  




















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

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

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

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





Re: [flexcoders] SOT: Flex UG for SF Bay Area?

2006-04-05 Thread Jignesh Dodiya



is this for local people only or remote person also can be the member??
On 4/5/06, Jennifer Larkin <[EMAIL PROTECTED]> wrote:

Someone has requested that I start a Flex User Group for the SF BayArea. How many people here are in the area and if so, do you think youwould attend? If you are not in the area and you could view our
meetings online, would you attend?It seems like SF would be the perfect place to start a Flex UG; I'mjust wondering how interested other people are.Offlist response seems appropriate.--Now blogging
http://www.blivit.org/blog/index.cfm
http://www.blivit.org/mr_urc/index.cfm--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. 



-- Regards, Jignesh Dodiya 






--
Flexcoders Mailing List
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] What upload servlet at server side to use along with FileReference class?

2006-04-05 Thread Carson Hager
We spoke to MM Support about this some time ago and they confirmed that
the player will often send an incorrect second request.  We were seeing
this and wanted to make sure that we weren't doing something wrong.  It
turns out that we were not. As I mentioned, we look for IOException and
ignore. The dangerous part here is that you don't know if there actually
was some other kind of IO problem.  At this point, this is the best
solution that we've found.


Carson 



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


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, April 05, 2006 10:23 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What upload servlet at server side to use
along with FileReference class?

I am getting the same error that Andriy reports below. However, the
uploads
works fine.  Carson, where can I find more information about Flash
Player
sending the request twice. I am assuming that this is a known problem.
I found others forums where they talk about this error and some of them
mention that Flash is not using enctype="multipart/form-data" and that
that
is causing the problem.

Any ideas?



|-+->
| | |
| |  "Carson Hager" |
| |  <[EMAIL PROTECTED]|
| |  m> |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  03/27/2006 05:40 PM|
| |  Please respond to flexcoders   |
| | |
|-+->
 
>---
--|
  |
|
  |  To: flexcoders@yahoogroups.com
|
  |  cc:
|
  |  Subject:  RE: [flexcoders] What upload servlet at server side
to use along with FileReference class?   |
 
>---
--|




We've found that the O'Reilly classes work pretty well. The error you're
seeing is likely due to a problem with the Flash Player where it
actually sends the request twice. Normally the second request has
incorrect data. We simply catch the IOException and ignore it.


Carson



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

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



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Monday, March 27, 2006 2:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What upload servlet at server side to use along
with FileReference class?

Hello flexcoders,

  We are trying to use http://servlets.com/cos/ O'Reily's
file upload package MultipartRequest along with FileReference class.

---
  My question to community is: what it your preferred choice at the
server side to handle uploaded files?
   Cold Fusion page?
   Jakarta's Commons File Upload?
http://jakarta.apache.org/commons/fileupload/
   ... your choice?
---

ps
  Currently, FileReference class with O'Reily's
file upload package combination does not work very well at our setup.

  We receive an error from Java servlet under certain circumstances (
requires more testing to pin those circumstances down)
  "error Corrupt form data: premature ending
  java.io.IOException: Corrupt form data: premature ending"

--
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]



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












---
This e-mail message (including attachments, if any) is intended for the
use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt
from
disclosure.  If you are not the intended recipient, you are notified
that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.

[flexcoders] Re: Security sandbox violation using PHP, APACHE & MYSQL

2006-04-05 Thread lift69boy
Hi Oriol
I've reset to 3306. I've run my php script in the browser & it works 
fine. If I call a simple (no db read) php script from flex, no error 
is returned which indicates that the security is fine between flash & 
the php, both localhost:80/. This only leaves security issues in 
accessing my mysql db, but i've no idea what I need to change to allow 
access. For example, do I need a crossdomain file sitting somewhere in 
my db file structure ?
Many thanks for your help
Cheers
Ben 

--- In flexcoders@yahoogroups.com, "Oriol Gual" <[EMAIL PROTECTED]> wrote:
>
> Why have you set the mysql default port to 80?  80 is the port for 
web
> servers usually and I wouldn't recommend to have mysql at it. The 
mysql
> default port is 3306.
> 
> Another question, have you tried to access your php script without 
Flex?
> Just to make sure it's working properly.
> 
> Oriol.
>







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

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

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

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




Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread jeremy lu




hi Bruno, 

try this see if it works :-)On 4/6/06, Bruno Martins <[EMAIL PROTECTED]> wrote:



How I can fix this:
 
public override function set columns(value:Array):void {for(var i:Number = 0; i   

value[i].headerRenderer = HeadRendererAddRemove as 
IFactory;   }}








--
Flexcoders Mailing 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: OutOfMemoryError

2006-04-05 Thread Carson Hager





Take Tomcat out of the picture and test with mxmlc after 
adding the following argument to the java.args argument in jvm.config located in 
the same directory as mxmlc.
 
-Xmx512m
 
Note that args on that property are space 
delimited.
 
Run mxmlc again and see if you run out of 
memory.
 
 
Carson
 
   Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
  Email:  
[EMAIL PROTECTED] Office:  866-CYNERGY Mobile: 1.703.489.6466 
  
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim 
ReddingtonSent: Wednesday, April 05, 2006 9:41 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: 
OutOfMemoryError

Peter,
 
I am running the 
application in Flex 1.5 and have installed Flex 2.0 for a different project. 

It doesn't matter 
how I run the app, I always get an OutOfMemory Error. I've tried running from 
Flex Builder, by typing the mxml filename in the browser address field, by 
bringing up the app via a jsp. I've tried it in IE and Firefox.  I've 
removed flex 1.5 and flex 20 and reinstalled flex 1.5. Anyway I try to compile 
it still gives me an error.
 
Yes, I have "save 
generated as" and "save swf file" both enabled to help me track down this 
problem.
Someone else asked 
about Memory. I've upped the memory in Tomcat to be above and beyond what my 
colleagues are running. They can still get the app to run on their PC. The only 
differences are what software we have installed on our machines outside of this 
project.
 
Thanks,
Kim
--- In flexcoders@yahoogroups.com, "Peter 
Farland" <[EMAIL PROTECTED]> wrote:>> Hi Kim,>  
> How are you compiling the application? The reason I ask is that it's 
not> clear from your email what is reporting this error or where/how it 
is> reported to you...>  > When you say that you tried 
to run it in a browser, are you relying on> the webtier compiler by 
browsing to a .mxml file to dynamically compile> your application to a 
SWF?  Or are you using JSP tags to dynamically> general .mxml (If 
so, then I'm confused as you say you can see the .as> file being 
generated... is this simply because you have keep generated> actionscript 
enabled?). Or are you using Flex Builder?>  > Actually, I 
need further clarification - are you using Flex 2 to compile> this 
application, or did you simply install Flex 2 in addition to/next> to a 
Flex 1.5 application and now the Flex 1.5 application is reporting> this 
error?>  >  >  > > > 
> > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On> Behalf Of Kim Reddington> 
Sent: Wednesday, April 05, 2006 10:28 AM> To: flexcoders@yahoogroups.com> 
Subject: [flexcoders] OutOfMemoryError> > > I have a large 
application that I've been running for over a year. All> of a sudden the 
app stopped running. I am getting an OutOfMemory Error> when I tried to 
run in any browser.  My first thought was it must have> been the 
changes I've made. Luckily, we are using CVS, so I grabbed a> version of 
our software from a couple weeks ago.  Well, the out of> memory 
error is still there. So then I thought maybe it's because I> installed 
Flex 2 Beta 2, so I uninstalled all the Beta 2 items (Builder,> FDS, 
etc).  The application was still erroring out.>  > In 
trying to debug what is happening, I can see that the .as file is> being 
generated, but the SWF file is not being created.  The comiler is> 
timing out before it completes the SWF.>  > If anyone has any 
ideas of what I could look at, try, whatever.  I been> trying to 
figure this out for a couple of weeks and have run out of> ideas.  
Has anyone seen this before? Has anyone had similar experiences> after 
installing Flex 2?  What might have changed?>  > Thank 
you so much for your help,> Kim> > > --> 
Flexcoders Mailing 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  
. > > > 
>
 
_Kim 
ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744  
 





--
Flexcoders Mailing 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: DOT NET 2.0

2006-04-05 Thread Lance Linder










>Support for AMF3 will be
available in a week probably.
>
>Zoli



 

Sweet!  Can’t wait to give it a try!










--
Flexcoders Mailing 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] Problem assigning Ascii codes into Links

2006-04-05 Thread misiofasol
Hey, 

I have a problem with assigning strings holding ascii codes into links. 
This is what I am doing right now to force links to display character
instead of ascii code for that character:

public static function someFunction ( str ) : String 
{   
var modStr:String = str; 
var r:String = String.fromCharCode(174);
var rIndex:Number = modStr.indexOf("®");

if ( rIndex > -1 ) 
{ 
  modStr = searchAndReplace( modStr, "®", r); 
}

trace("new string =" + modStr);

return modStr;
}

Does anybody know a better way of doing this? My solution is not
practical especially when I have lots of places which need such
implementation.

Thanks a lot, 
misioFasol






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

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

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

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





[flexcoders] SOT: Flex UG for SF Bay Area?

2006-04-05 Thread Jennifer Larkin
Someone has requested that I start a Flex User Group for the SF Bay
Area. How many people here are in the area and if so, do you think you
would attend? If you are not in the area and you could view our
meetings online, would you attend?

It seems like SF would be the perfect place to start a Flex UG; I'm
just wondering how interested other people are.

Offlist response seems appropriate.
--
Now blogging
http://www.blivit.org/blog/index.cfm
http://www.blivit.org/mr_urc/index.cfm


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

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

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

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





[flexcoders] Re: Security sandbox violation using PHP, APACHE & MYSQL

2006-04-05 Thread lift69boy
Matt...we are definitely getting close !
I added entry mysql.default_port = 80 into my PHP config & run flex 
project & guess what, no flash error (but no data !). I run PHP 
query & it doesnt connect to db. I try http://127.0.0.1:80/mysql in 
the browser & no joy. 
I'm beginning to feel a twinge of excitement over here !!
cheers
Ben

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Well your setup sounds pretty straightforward so not sure why it 
isn't
> working.  I'm assuming useProxy="false" (or isn't specified) on 
your
> HTTPService.
> 
> The port that you access the SWF is the same as the PHP?
> 
> http://localhost:1234/myswf.swf
> http://localhost:1234/myphp.php
> 
> Not much more I can ask I think, I assume you didn't do any funky
> compiler settings like -usenetwork...
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of lift69boy
> Sent: Monday, April 03, 2006 12:48 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Security sandbox violation using PHP, 
APACHE &
> MYSQL
> 
> yes to all your questions...I'm calling the php script from my 
mxml 
> both of which are on localhost, & I am running my flex project in 
the 
> web browser. It seems a pretty simple set up (based on Mike 
Potters 
> exampleperhaps youve seen it)...flex project running on apache 
> localhost, php querying mysql, both on localhost...I know nothing 
> about we server architecture so maybe its some config I'm missing 
> here...
> thanks again Matt
> Ben 
> --- In flexcoders@yahoogroups.com, "Matt Chotin"  wrote:
> >
> > I guess I misunderstood, are you using HTTPService to hit your 
> PHP?  And
> > the PHP is on localhost?  Are you accessing the SWF using a web 
> browser
> > from localhost as well?
> > 
> > Matt
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of lift69boy
> > Sent: Sunday, April 02, 2006 1:08 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Security sandbox violation using PHP, 
> APACHE &
> > MYSQL
> > 
> > Cheers Matt
> > Forgive my ignorance but could you please define "main" 
> > & "other"I've configured my project to run on localhost, my 
php 
> > script runs no probs on localhost, i've gone down the proxy 
route 
> > but still the same error. I've looked through Apache & PHP 
config & 
> > nothing obvious here. I'm certain I'm making a schoolboy error 
> > somewhere...
> > Really appreciate your help
> > Ben
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Matt Chotin"  
wrote:
> > >
> > > What are you loading?  Looks like the main SWF is on one 
domain 
> > and the
> > > other SWF is on another domain?  You might need to do
> > > Security.allowDomain work?
> > > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of lift69boy
> > > Sent: Friday, March 31, 2006 4:56 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Security sandbox violation using PHP, 
> APACHE 
> > &
> > > MYSQL
> > > 
> > > hi allnot a new question but still can't find the answer...
> > > 
> > > i think this is more of a flash security issue but I get the 
> > following 
> > > error when running my project...
> > > Error: code:Client.CouldNotDecode string:'Error #2070: 
Security 
> > sandbox 
> > > violation: caller '%s' may not access Stage owned by '%s'.' 
> > > detail:'null'
> > > architecture is flex<>php<>mysql running on apache.
> > > i've tried the crossdomain file in many places but from 
reading 
> > this & 
> > > other forums, it is where it should be i.e. on the web server 
> root.
> > > i've pulled all my hair out & will soon progress to chopping 
my 
> > legs 
> > > off in frustration
> > > any help greatly appreciated
> > > cheers
> > > ben 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives:
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > > Yahoo! Groups Links
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > Yahoo! Groups Links
> >
> 
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>







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

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

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTEC

Re: [flexcoders] Flex 2 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Bruno Martins



Hi Jeremy,
 
The error was fixed but the headerRenderer won't be displayed. 
Tks...
 
On 4/5/06, jeremy lu <[EMAIL PROTECTED]> wrote:

hi Bruno, try this see if it works :-)

On 4/6/06, Bruno Martins <
[EMAIL PROTECTED]> wrote:




How I can fix this:
 


public override function set columns(value:Array):void {for(var i:Number = 0; i
   value[i].headerRenderer = 
HeadRendererAddRemove as 
IFactory;   }}
--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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. 



-- Bruno Gustavo MartinsMobile: (55)(11)9585-9587[EMAIL PROTECTED]experience everywherehttp://www.dclick.com.br/blog
 






--
Flexcoders Mailing List
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] What upload servlet at server side to use along with FileReference class?

2006-04-05 Thread Oscar . Cortes
I am getting the same error that Andriy reports below. However, the uploads
works fine.  Carson, where can I find more information about Flash Player
sending the request twice. I am assuming that this is a known problem.
I found others forums where they talk about this error and some of them
mention that Flash is not using enctype="multipart/form-data" and that that
is causing the problem.

Any ideas?



|-+->
| | |
| |  "Carson Hager" |
| |  <[EMAIL PROTECTED]|
| |  m> |
| |  Sent by:   |
| |  flexcoders@yahoogroups.com |
| |  03/27/2006 05:40 PM|
| |  Please respond to flexcoders   |
| | |
|-+->
  
>-|
  | 
|
  |  To: flexcoders@yahoogroups.com 
|
  |  cc:
|
  |  Subject:  RE: [flexcoders] What upload servlet at server side to use 
along with FileReference class?   |
  
>-|




We've found that the O'Reilly classes work pretty well. The error you're
seeing is likely due to a problem with the Flash Player where it
actually sends the request twice. Normally the second request has
incorrect data. We simply catch the IOException and ignore it.


Carson



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

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



-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andriy Panas
Sent: Monday, March 27, 2006 2:36 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] What upload servlet at server side to use along
with FileReference class?

Hello flexcoders,

  We are trying to use http://servlets.com/cos/ O'Reily's
file upload package MultipartRequest along with FileReference class.

---
  My question to community is: what it your preferred choice at the
server side to handle uploaded files?
   Cold Fusion page?
   Jakarta's Commons File Upload?
http://jakarta.apache.org/commons/fileupload/
   ... your choice?
---

ps
  Currently, FileReference class with O'Reily's
file upload package combination does not work very well at our setup.

  We receive an error from Java servlet under certain circumstances (
requires more testing to pin those circumstances down)
  "error Corrupt form data: premature ending
  java.io.IOException: Corrupt form data: premature ending"

--
Best regards,
 Andriy  mailto:[EMAIL PROTECTED]



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











---
This e-mail message (including attachments, if any) is intended for the use
of the individual or entity to which it is addressed and may contain
information that is privileged, proprietary , confidential and exempt from
disclosure.  If you are not the intended recipient, you are notified that
any dissemination, distribution or copying of this communication is
strictly prohibited.  If you have received this communication in error,
please notify the sender and erase this e-mail message immediately.
---




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

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

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

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




[flexcoders] Re: OutOfMemoryError

2006-04-05 Thread Kim Reddington





Peter,
 
I am running the 
application in Flex 1.5 and have installed Flex 2.0 for a different project. 

It doesn't matter 
how I run the app, I always get an OutOfMemory Error. I've tried running from 
Flex Builder, by typing the mxml filename in the browser address field, by 
bringing up the app via a jsp. I've tried it in IE and Firefox.  I've 
removed flex 1.5 and flex 20 and reinstalled flex 1.5. Anyway I try to compile 
it still gives me an error.
 
Yes, I have "save 
generated as" and "save swf file" both enabled to help me track down this 
problem.
Someone else asked 
about Memory. I've upped the memory in Tomcat to be above and beyond what my 
colleagues are running. They can still get the app to run on their PC. The only 
differences are what software we have installed on our machines outside of this 
project.
 
Thanks,
Kim
--- In flexcoders@yahoogroups.com, "Peter 
Farland" <[EMAIL PROTECTED]> wrote:>> Hi Kim,>  
> How are you compiling the application? The reason I ask is that it's 
not> clear from your email what is reporting this error or where/how it 
is> reported to you...>  > When you say that you tried 
to run it in a browser, are you relying on> the webtier compiler by 
browsing to a .mxml file to dynamically compile> your application to a 
SWF?  Or are you using JSP tags to dynamically> general .mxml (If 
so, then I'm confused as you say you can see the .as> file being 
generated... is this simply because you have keep generated> actionscript 
enabled?). Or are you using Flex Builder?>  > Actually, I 
need further clarification - are you using Flex 2 to compile> this 
application, or did you simply install Flex 2 in addition to/next> to a 
Flex 1.5 application and now the Flex 1.5 application is reporting> this 
error?>  >  >  > > > 
> > From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On> Behalf Of Kim Reddington> 
Sent: Wednesday, April 05, 2006 10:28 AM> To: flexcoders@yahoogroups.com> 
Subject: [flexcoders] OutOfMemoryError> > > I have a large 
application that I've been running for over a year. All> of a sudden the 
app stopped running. I am getting an OutOfMemory Error> when I tried to 
run in any browser.  My first thought was it must have> been the 
changes I've made. Luckily, we are using CVS, so I grabbed a> version of 
our software from a couple weeks ago.  Well, the out of> memory 
error is still there. So then I thought maybe it's because I> installed 
Flex 2 Beta 2, so I uninstalled all the Beta 2 items (Builder,> FDS, 
etc).  The application was still erroring out.>  > In 
trying to debug what is happening, I can see that the .as file is> being 
generated, but the SWF file is not being created.  The comiler is> 
timing out before it completes the SWF.>  > If anyone has any 
ideas of what I could look at, try, whatever.  I been> trying to 
figure this out for a couple of weeks and have run out of> ideas.  
Has anyone seen this before? Has anyone had similar experiences> after 
installing Flex 2?  What might have changed?>  > Thank 
you so much for your help,> Kim> > > --> 
Flexcoders Mailing 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  
. > > > 
>
 
_Kim 
ReddingtonPrincipal Consultant/DeveloperDeluxe Technologieshttp://www.deluxetechnologies.com508-231-8744  
 





--
Flexcoders Mailing 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 Beta 2 - dynamic headerRenderer / IFactory error

2006-04-05 Thread Bruno Martins



How I can fix this:
 
public override function set columns(value:Array):void {for(var i:Number = 0; i   
value[i].headerRenderer = HeadRendererAddRemove;   }}

Error #1034: Type Coercion failed: cannot convert HeadRendererAddRemove$ to mx.core.IFactory
tks...






--
Flexcoders Mailing List
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] Help on Illegal assignment to function

2006-04-05 Thread Gordon Smith
In AS3, if a class has declared a method at compile time, you can't
reset that method at runtime to be a different function.

- Gordon


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of parinda_b_patel
Sent: Wednesday, April 05, 2006 8:39 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Help on Illegal assignment to function

I am getting this compiler error:"Illegal assignment to function". I
read the compiler error docs for Flex 2 which explains this error as
error code 1168. But I do not understand how those 2 print statements
in the explaination are different. Anyways so here is my code in which
I am getting Illegal assignment to function error.


package some.models{
 public class DateRangeChartOptions{
public function reset(notify:Boolean):void
{
xMin = undefined;
xMax = undefined;
xInterval = undefined;
yMin = undefined;
yMax = undefined;
yAutoAdjust = undefined;
noteChanges(notify);
}
  }
   ...
}


Now inside my other class which is in package some.controls as mxml
class DateRangeChart I am trying to redefine the reset function as
following:


 public function get options():DateRangeChartOptions
 {
 if (_options == undefined)
 {
var scope = this;
_options = new DateRangeChartOptions;
   _options.addEventListener("change",updateBandingDates);
   _options.reset = function(notify:Boolean):void
   {
if (scope._banding && scope._maxY != scope._minY)
{
scope._options.yMax = scope._maxY;
scope._options.yMin = scope._minY;
scope._options.yAutoAdjust = false;
}
else
{
scope._options.yMax = undefined;
scope._options.yMin = undefined;
scope._options.yAutoAdjust = true;
}
scope._options.setDateRange(   
   scope.pager.startDate,
  
scope.pager.endDate,notify);
}
}
return _options;
  }
where _options has a public access. Now I am not sure why am I getting
this error and what should I do to fix that.





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



 





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

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

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

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




[flexcoders] Re: Large XML Dataset?

2006-04-05 Thread Doug Lowder
In that case I think your best bet is what Evert suggested: split your
XML into multiple smaller, more manageable files.  The splitting could
take place either on your server that generates the original XML or as
a separate process prior to saving theXML to CD.  You could probably
even incorporate the logic that tells your app which XML "chunk" to
retrieve right into the swf, since the search criteria will be known
to your application at runtime.

--- In flexcoders@yahoogroups.com, "wayneposner" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> wrote:
> >
> > I had some of the same issues reading XML over HTTP.  If your XML is 
> > dynamically generated by a server (via JSP, CF, ASP, etc.), you can 
> > do what I did, which is to essentially pass your search values as 
> > parameters within your HTTP request and have the server pass back 
> > only the data that match those criteria.
> > 
> > Hope that helps,
> > Doug
> > 
> 
> Initially, the XML will be generated by a server, but after that, the 
> server is completely out of the picture.  Unfortunately, the XML will 
> then be on burnt to CD which may then be copied to some stand-alone 
> PC.  There will be no server involved once the swf is running.  Any 
> other ideas?
> 
> Wayne
>






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

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

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

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




[flexcoders] Re: CursorManager problem?

2006-04-05 Thread sufibaba
Matt,

I've just tried extending mx.core.Application but I get this error.
Do you know what the problem might be?

TypeError: Error #1006: Call attempted on an object that is not a
function.
at mx.core::Container/createBorder()
at mx.core::Container/mx.core:Container::createChildren()
at mx.core::UIComponent/initialize()
at mx.core::Container/initialize()
at mx.core::Application/initialize()
at mx.managers::SystemManager/::initializeChild()
at mx.managers::SystemManager/::initializeTopLevelWindow()
at mx.managers::SystemManager/::frameEndHandler()

Tim



--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> You probably need to make your test swf subclass Application so that
> everything can initialize properly.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of sufibaba
> Sent: Tuesday, April 04, 2006 9:42 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: CursorManager problem?
> 
> 
> Matt,
> 
> It's an Actionscript Component extending UIComponent and is part of a
> Flex Project.  However, at the moment, I am just testing it by itself
> (just running this testClass.as file by itself and not being called
> via an MXML tag).
> 
> Are you saying that in order to use the CursorManager, my AS component
> would have to be called via an MXML tag?  Are there other ways?
> 
> Cheers,
> 
> Tim
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Matt Chotin"  wrote:
> >
> > Is this part of a Flex project or AS only?  You probably need the full
> > framework available for CursorManager.
> > 
> >  
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
> On
> > Behalf Of sufibaba
> > Sent: Monday, April 03, 2006 6:06 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] CursorManager problem?
> > 
> >  
> > 
> > Dear Flexors,
> > 
> > I am trying to use the busy cursor in a custom actionscript component
> > and I am getting the following error.
> > 
> > TypeError: Error #1009: null has no properties.
> > at mx.managers::CursorManager$/setBusyCursor()
> > at CursorTest/::turnOnBusyCursor()
> > 
> > ---import --
> > 
> >  import mx.managers.CursorManager;
> > 
> > ---   Calling function --
> > 
> > private function turnOnBusyCursor():void
> >   &nb! sp;  {
> > // Set busy cursor.
> > CursorManager.setBusyCursor();
> > 
> > }
> > 
> > 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 
> > 
> > 
> > 
> > 
> > SPONSORED LINKS 
> > 
> > Web site design development
> >
>  >
> site+design+development&w2=Computer+software+development&w3=Software+des
> >
> ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> > tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> > 
> > Computer software development
> >
>  >
> b+site+design+development&w2=Computer+software+development&w3=Software+d
> >
> esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> > actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> > 
> > Software design and development
> >
>  >
> Web+site+design+development&w2=Computer+software+development&w3=Software
> >
> +design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> > practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> > 
> > Macromedia flex
> >
>  >
> development&w2=Computer+software+development&w3=Software+design+and+deve
> >
> lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> > 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> > 
> > Software development best practice
> >
>  >
> w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
> >
> are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> > st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
> > 
> >  
> > 
> >  
> > 
> > 
> > 
> > YAHOO! GROUPS LINKS 
> > 
> >  
> > 
> > *Visit your group "flexcoders
> >  " on the web.
> >   
> > *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] GENERAL actionscript question

2006-04-05 Thread Kelly @ Dekayd Media Inc.
Unless something has changed in Flex 2 that I am not aware of, you need to
define a result handler for Remote Object call and do the check in there.

RO Calls are asynchronous.

Something like:

public function checkEmailExists():void {
srv.checkEmail({email:userEmailInput.text});
}


public function handleCheckEmailExists(event){
if (event.result == 'true'){
submitSignup.enabled = true; 
}   else {
submitSignup.enabled = false;
  }
}
 

And in your Remote Object tag:






-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexander Tsoukias
Sent: Tuesday, April 04, 2006 11:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] GENERAL actionscript question

Hi all, I know this is not advanced, but I have a deadline for a 
FLEX app tomorrow and the client needs to see a login and signup 
sample.

I have a CFC which has a method that checks if the email inputed 
already exists in the database.

The cfc function returns TRUE or FALSE

This is the actionscipt that I have:

public function checkEmailExists():void {
if ((srv.checkEmail({email:userEmailInput.text})) == 
true){
submitSignup.enabled = true; 
}   else {
submitSignup.enabled = false;
}
  }  


Is this correct? It doesn't seem to work.







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



 




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

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

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

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





[flexcoders] Help on Illegal assignment to function

2006-04-05 Thread parinda_b_patel
I am getting this compiler error:"Illegal assignment to function". I
read the compiler error docs for Flex 2 which explains this error as
error code 1168. But I do not understand how those 2 print statements
in the explaination are different. Anyways so here is my code in which
I am getting Illegal assignment to function error.


package some.models{
 public class DateRangeChartOptions{
public function reset(notify:Boolean):void
{
xMin = undefined;
xMax = undefined;
xInterval = undefined;
yMin = undefined;
yMax = undefined;
yAutoAdjust = undefined;
noteChanges(notify);
}
  }
   ...
}


Now inside my other class which is in package some.controls as mxml
class DateRangeChart I am trying to redefine the reset function as
following:


 public function get options():DateRangeChartOptions
 {
 if (_options == undefined)
 {
var scope = this;
_options = new DateRangeChartOptions;
   _options.addEventListener("change",updateBandingDates);
   _options.reset = function(notify:Boolean):void
   {
if (scope._banding && scope._maxY != scope._minY)
{
scope._options.yMax = scope._maxY;
scope._options.yMin = scope._minY;
scope._options.yAutoAdjust = false;
}
else
{
scope._options.yMax = undefined;
scope._options.yMin = undefined;
scope._options.yAutoAdjust = true;
}
scope._options.setDateRange(   
   scope.pager.startDate,
  
scope.pager.endDate,notify);
}
}
return _options;
  }
where _options has a public access. Now I am not sure why am I getting
this error and what should I do to fix that.





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

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

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

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





[flexcoders] Flex2B2 : buttons on the panel header

2006-04-05 Thread bhaq1972
Hi
i wanted to get some ideas/answers for the following.
in flex 1.5 i had a extended panel which was based on Christophe 
Coenraets example where he added mulitiple buttons on the header.

He uses the createClassObject() method, and then positions the 
button in the header.

1) will i still have to do it that way?


in flex2, i did the following way

btnAddress = new Button();
btnAddress.toolTip = "Address"; 
btnAddress.setStyle("icon", imgSource);
btnAddress.setStyle("upSkin", buttonEmptySkin);
btnAddress.setStyle("disabledSkin", buttonEmptySkin);
btnAddress.setStyle("overSkin", buttonOverSkin);
btnAddress.setStyle("downSkin", buttonDownSkin);
btnAddress.setStyle("disabledSkin", imgSource);
btnAddress.setStyle("upIcon", imgSource);
btnAddress.setStyle("overIcon", imgSource);
btnAddress.setStyle("downIcon", imgSource);
btnAddress.addEventListener(MouseEvent.CLICK, btnClickEvent);

panel1.addChild(btnAddress);

btnAddress.move(100, 100);

2) the "btnAddress.move(100, 100);" doesnt work. any ideas? (my x, y 
are hardcoded for this example).

3) I prefered the flex 1.5 way of having an 'initObj ' (in 
createClassObject()) because this object also accepted style 
properties. so i wouldn't have to keep calling setStyle().

TIA






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

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

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

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





RE: [flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Tobias Patton










You can avoid the “java –jar”
stuff if you download the Flex 2 SDK from labs.adobe.com. They provide shell
scripts (“mxmlc” and “compc”) that wrap all that stuff
up very nicely. Also, because the scripts run from the bin/ directory, they
will find the default flex-config.xml without you having to specify it on the 
command line.

 

Your command would change to:

 

mxmlc helloas3.as

 

Much simpler.

 

Tobias.

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bolo Michelin
Sent: Wednesday, April 05, 2006
4:44 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2 on
Mac OS X



 

Hello everyOne :)

i try to follow this post to setup Flex 2 on my
mac (with tiger)
http://www.gskinner.com/blog/archives/2005/12/easily_compile.html


when i did that
4) Verify that
everything is working by copying the "HelloAS3.as" included with flCompile
to your home directory, and executing the following command in the Terminal:
java -jar flex/lib/mxmlc.jar -flexlib
flex/frameworks -file-specs helloas3.as
It should give you compiling messages, and
generate a "HelloAS3.swf" file in your Home directory. 

i have this error
http://independza.com/client/image.png 

Can u help me

Bolo 








--
Flexcoders Mailing 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] OutOfMemoryError

2006-04-05 Thread Peter Farland





Hi Kim,
 
How are you compiling the application? The reason I ask 
is that it's not clear from your email what is reporting this error or where/how 
it is reported to you...
 
When you say that you tried to run it in a browser, are 
you relying on the webtier compiler by browsing to a .mxml file to dynamically 
compile your application to a SWF?  Or are you using JSP tags to 
dynamically general .mxml (If so, then I'm confused as you say you can see the 
.as file being generated... is this simply because you have keep generated 
actionscript enabled?). Or are you using Flex Builder?
 
Actually, I need further clarification - are you using 
Flex 2 to compile this application, or did you simply install Flex 2 in 
addition to/next to a Flex 1.5 application and now the Flex 1.5 application is 
reporting this error?
 
 
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Kim 
ReddingtonSent: Wednesday, April 05, 2006 10:28 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
OutOfMemoryError

I have a large 
application that I've been running for over a year. All of a sudden the app 
stopped running. I am getting an OutOfMemory Error when I tried to run in any 
browser.  My first thought was it must have been the changes I've made. 
Luckily, we are using CVS, so I grabbed a version of our software from a couple 
weeks ago.  Well, the out of memory error is still there. So then I thought 
maybe it's because I installed Flex 2 Beta 2, so I uninstalled all the Beta 2 
items (Builder, FDS, etc).  The application was still erroring 
out.
 
In trying to debug 
what is happening, I can see that the .as file is being generated, but the SWF 
file is not being created.  The comiler is timing out before it completes 
the SWF.
 
If anyone has any 
ideas of what I could look at, try, whatever.  I been trying to figure this 
out for a couple of weeks and have run out of ideas.  Has anyone seen this 
before? Has anyone had similar experiences after installing Flex 2?  What 
might have changed?
 
Thank you so much 
for your help,
Kim





--
Flexcoders Mailing 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] Listening to Databind events

2006-04-05 Thread Matt Chotin
http://livedocs.macromedia.com/labs/1/flex20beta2/langref/mx/events/PropertyChangeEvent.html

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sönke 
Rohde
Sent: Wednesday, April 05, 2006 1:13 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Listening to Databind events

This will come with beta3? Currently PropertyChangeEvent isn't documentet
anywhere.
Can you give a code example?

Cheers,
Sönke

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin
> Sent: Wednesday, April 05, 2006 8:02 AM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Listening to Databind events
> 
> The event is going to be mx.events.PropertyChangeEvent which is in the
> ASDoc.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> Behalf Of mvbaffa
> Sent: Tuesday, April 04, 2006 5:03 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Listening to Databind events
> 
> Hi all,
> 
> I would like to know how can I drive, or listen to, Databind events.
> 
> I have a bindable property defined like this:
> 
> [Bindable]
> public var clientDetail : ClientVO;
> 
> This property is updated by the parent container like this:
> 
> clientDetail="{ selectedClient }" />
> 
> I would like to execute a function or method in ClientEvent 
> component when the clientDetail variable is updated.
> 
> Excuse me if this is too simple but I could not find a way, except 
> by using predefined properties, to do this
> 
> Thanks in advance
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 



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



 





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

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

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

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





Re: [flexcoders] OutOfMemoryError

2006-04-05 Thread Joshua Garnett



I'm not sure if this is related, but when running large Flex 1.5 apps I'd get an OutOfMemory Error from Tomcat.  If you open up the Tomcat monitor and then goto the Java tab you can adjust the memory settings.  I've set "Initial Memory Pool" to 64 and "Maximum Memory Pool" to 512.  After making those changes, I restarted Tomcat and everything worked fine.
--JoshOn 4/5/06, Kim Reddington <[EMAIL PROTECTED]> wrote:







I have a large 
application that I've been running for over a year. All of a sudden the app 
stopped running. I am getting an OutOfMemory Error when I tried to run in any 
browser.  My first thought was it must have been the changes I've made. 
Luckily, we are using CVS, so I grabbed a version of our software from a couple 
weeks ago.  Well, the out of memory error is still there. So then I thought 
maybe it's because I installed Flex 2 Beta 2, so I uninstalled all the Beta 2 
items (Builder, FDS, etc).  The application was still erroring 
out.
 
In trying to debug 
what is happening, I can see that the .as file is being generated, but the SWF 
file is not being created.  The comiler is timing out before it completes 
the SWF.
 
If anyone has any 
ideas of what I could look at, try, whatever.  I been trying to figure this 
out for a couple of weeks and have run out of ideas.  Has anyone seen this 
before? Has anyone had similar experiences after installing Flex 2?  What 
might have changed?
 
Thank you so much 
for your help,
Kim





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





  




  
  
  YAHOO! GROUPS LINKS



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



  









Re: [flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Peter Baird
Title: Re: [flexcoders] Flex 2 on Mac OS X





Yes, the method has changed a bit in recent versions of Flex 2.  Now the command line for your file should read as follows:

java -jar flex/lib/mxmlc.jar -load-config flex/frameworks/flex-config.xml -file-specs 'helloas3.as'

Note the key change is –flexlib is changed to –load-config




On 4/5/06 7:44 AM, "Bolo Michelin" <[EMAIL PROTECTED]> wrote:

Hello everyOne :)

i try to follow this post to setup Flex 2 on my mac (with tiger)
http://www.gskinner.com/blog/archives/2005/12/easily_compile.html   

when i did that
4) Verify that everything is working by copying the "HelloAS3.as" included with flCompile to your home directory, and executing the following command in the Terminal:
java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.as  
It should give you compiling messages, and generate a "HelloAS3.swf" file in your Home directory. 

i have this error
http://independza.com/client/image.png 

Can u help me

Bolo    


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

 



/ \®   PETER BAIRD
888/   \888    User Experience Consultant
88/  /  \88    Adobe Consulting | Adobe Systems, Inc
8/  /8\  \8    275 Grove St. Newton, MA
/  /888\  \    Office: 617.219.2126 | Cell: 617.803.6804
  \8\  AIM: pbaird00 | Y!IM: pbaird00









--
Flexcoders Mailing 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] [Q]F2B2: Classes must not be nested??

2006-04-05 Thread Oriol Gual



Have you defined a package before the class?2006/4/5, Clint Willard <[EMAIL PROTECTED]>:



What is this error message mean exactly:
Classes must not be nested
I've search and found the error code but no discription, reason why, or any solutions. The class is not nested that I know of:
class ShoppingCart{
    var items : Array;    var total : Number = 0;
    function ShoppingCart() {    items=new Array();    }
    function
}
Called from a Flex 1.5 coded Flex Store converting to Flex 2.0 b2:
http://www.adobe.com/2006/mxml" xmlns="*"    initialize="initApp()"
    verticalGap="0"    pageTitle="FlexStore">
        






--
Flexcoders Mailing 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 Mailing List
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] [Q]F2B2: Classes must not be nested??

2006-04-05 Thread Sonja Duijvesteijn



You cannot make a class in the , by using  you put that code basically right there in the file. So, it's an include, instead of an import. Try this 
http://www.adobe.com/2006/mxml" xmlns="*"
    initialize="initApp()"    verticalGap="0"    pageTitle="FlexStore">
         import ShoppingCart;






--
Flexcoders Mailing 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] OutOfMemoryError

2006-04-05 Thread Kim Reddington





I have a large 
application that I've been running for over a year. All of a sudden the app 
stopped running. I am getting an OutOfMemory Error when I tried to run in any 
browser.  My first thought was it must have been the changes I've made. 
Luckily, we are using CVS, so I grabbed a version of our software from a couple 
weeks ago.  Well, the out of memory error is still there. So then I thought 
maybe it's because I installed Flex 2 Beta 2, so I uninstalled all the Beta 2 
items (Builder, FDS, etc).  The application was still erroring 
out.
 
In trying to debug 
what is happening, I can see that the .as file is being generated, but the SWF 
file is not being created.  The comiler is timing out before it completes 
the SWF.
 
If anyone has any 
ideas of what I could look at, try, whatever.  I been trying to figure this 
out for a couple of weeks and have run out of ideas.  Has anyone seen this 
before? Has anyone had similar experiences after installing Flex 2?  What 
might have changed?
 
Thank you so much 
for your help,
Kim





--
Flexcoders Mailing 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: Large XML Dataset?

2006-04-05 Thread Evert | Collab
Lets say...

you have 10 records,

aa
ab
ac
ad
ae
ba
bb
bc
bd
be

you could create an xml file which tells you all records that start with 
a* can be fetched from a.xml
but yea, this is overly simplified.

Well, in short.. see where you can split up your xml and if its needed 
create a central xml file telling where which records can be found...

Evert

wayneposner wrote:
> --- In flexcoders@yahoogroups.com, Evert | Collab <[EMAIL PROTECTED]> wrote:
>   
>> Is there any chance you can split up the xml in multiple categories. 
>> 
> Or 
>   
>> maybe with a 'global xml index' of some kind?
>>
>> Evert
>> 
>
> Could you please explain what you mean by "global xml index"?
>
> Wayne
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>
>
>
>  
>
>
>
>   



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

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

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

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





[flexcoders] [Q]F2B2: Classes must not be nested??

2006-04-05 Thread Clint Willard



What is this error message mean exactly:
Classes must not be nested
I've search and found the error code but no discription, reason why, or any solutions. The class is not nested that I know of:
class ShoppingCart{
    var items : Array;    var total : Number = 0;
    function ShoppingCart() {    items=new Array();    }
    function
}
Called from a Flex 1.5 coded Flex Store converting to Flex 2.0 b2:
http://www.adobe.com/2006/mxml" xmlns="*"    initialize="initApp()"    verticalGap="0"    pageTitle="FlexStore">
        






--
Flexcoders Mailing 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] Problems with flex custom authentication using flex, jboss with tomcat 5.5

2006-04-05 Thread jfournet
We seem to be having problems getting custom authentication to work 
with the custom authentication module supplied with flex for use with 
tomcat.   Apparently it is not compatible with tomcat 5.5.   Apparently 
the structure of the tomcat valve api has changed.  Has anyone found a 
resolution for this?





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

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

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

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




[flexcoders] The replacement for the DataSet

2006-04-05 Thread Manuel Saint-Victor



So is the DataSet entirely deprecated- actually gone- in ActionScript 3.  I remember someone mentioning that it wasn't recommended for use with Flex 1.5 a few months ago but will it be entirely replaced by using a model is AS3?
Mani






--
Flexcoders Mailing List
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: Find Function

2006-04-05 Thread naresh . mepani




Sorry to be a bit dim, what do you mean
by "custom comparator function".

Thanks for any help






"Matt Chotin"
<[EMAIL PROTECTED]> 
Sent by: flexcoders@yahoogroups.com
05/04/2006 07:01



Please respond to
flexcoders@yahoogroups.com





To



cc



Subject
RE: [flexcoders] Re: Find Function








In your other column you were using an inline renderer
to display text
that isn't the column name.  You need to use a custom comparator
function for that, the default sort is going to be based on the
columnName.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mepaninaresh
Sent: Tuesday, April 04, 2006 3:57 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Find Function

The built in sort function in the DataGrid only works for 
my "FreeText" column. Are the two problems related? As I beleive
the 
built in sort function not working is a bug.

Thanks for any help.



--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]>
wrote:
>
> The cursor find function can't take e4x expressions.  It can
only 
do
> exact match searching of what's in the ICollectionView.  So you're

going
> to need to setup the find a little differently, perhaps find the 
node
> using e4x, then get its index, then seek to it.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of mepaninaresh
> Sent: Monday, April 03, 2006 8:51 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Find Function
> 
> I can't seem to get complex xml elements working.
> 
> Example 1 works.
> private function findFirstName():void
> {
>  createSort();
>  var cursor:IViewCursor = myXMLListCollection.getCursor();
>  var values:Object = {FreeText: nameInput.text};
>  cursor.findFirst(values);
> }
> 
> Example 2 does not work.
> private function findFirstName():void
> {
>  createSort();
>  var cursor:IViewCursor = myXMLListCollection.getCursor();
>  var values:Object = {Company.(@Type=='Subject').CompanyId: 
> nameInput.text};
>  cursor.findFirst(values);
> }
> -
> 
> 
> height="600%" dataProvider="{myXMLListCollection}">
>  
>   
>   
width="250">
>    
>     
>      
>     
>    
>   
>   
> headerText="Registration No"/>
>  
> headerText="Monthly Credit Limit"/>      
>  
> headerText="Insured Limit" width="40"/>
>  
> headerText="Outstanding Balance"/>      

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







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



 




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

Yahoo! Groups Links

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

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

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




_
This e-mail has been scanned for viruses by Verizon Business Internet Managed
Scanning Services - powered by MessageLabs. For further information visit
http://www.mci.com




_
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.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] Alert window customize

2006-04-05 Thread lancert82
I want to customize the Alert window.
When the alert window opens, the background is blurred, but i don't
like that, so i want to give it an other color or maybe fully
transparant ...

You have something in 'styles' and that is 'modalTransparency' ...

Thx :)





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

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

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

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





[flexcoders] Re: DOT NET 2.0

2006-04-05 Thread Zoltan Csibi

Fluorine dotnet remoting gateway supports both .net 1.1 and 2.0
The current version handles .net 2 nullable parameter types, the next update
will handle mapping to generic collections.

Support for AMF3 will be available in a week probably.

Zoli



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

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

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

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




[flexcoders] Second instance of TitleWindow with Repeater inside doesn't resize

2006-04-05 Thread Sergey Kovalyov
Hi Flexcoders!

I have the TitleWindow with Repeater inside and when I create two instances
of it using PopUpManager.createPopUp() or one as fixed Panel and another one
as pop up, the second instance doesn't resize upon Generate button click
that means changing dataprovider. Somewhen, not in this particular example,
using Repeater in TitleWindow doesn't cause resize when dataprovider changes
too. Here you can see the source of TitleWindow I say about:


http://www.macromedia.com/2003/mxml";
panelBorderStyle="roundCorners"
creationComplete="onCreationComplete()">

















In case the code above saved as MyTitleWindow.mxml, the problem can be
reproduced via this code:

var w1 : MyTitleWindow = MyTitleWindow(PopUpManager.createPopUp(this,
MyTitleWindow, false));
var w2 : MyTitleWindow = MyTitleWindow(PopUpManager.createPopUp(this,
MyTitleWindow, false));

Regards, Sergey.



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

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

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

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




[flexcoders] Re: Form dataProvider

2006-04-05 Thread pepe_perez_perez_perez
Please disregard this, I'm feeling stupid. It was only a mx:Binding
back to the ArrayCollection.

Pepe.







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

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

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

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




Re: [flexcoders] cloning was: in operator (F2B2)

2006-04-05 Thread jeremy lu




hi Darron, 

I did use regiserClassAlias() to register the VO to correct class.

but it only works for copy of single VO, not a collection of VOs.
(this is same as the example in livedoc, it's just copying one VO named eg)

any idea ?

On 4/5/06, Gordon Smith <[EMAIL PROTECTED]> wrote:

















This has various limitations. For example,
it won't work on a DisplayObject because they don't serialize everything required
to recreate them.

 






--
Flexcoders Mailing 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: Second instance of TitleWindow with Repeater inside doesn't resize

2006-04-05 Thread Sergey Kovalyov
You can also  try out this code for pop up:


http://www.macromedia.com/2003/mxml";

xmlns:view="com.sonopia.sonoportal.controls.siteBuilder.portletEditor.*"
panelBorderStyle="roundCorners">







It works correctly when placed as a regular panel on stage, but when I
create it as a pop up adding new instances of TextInput fails, while the
dataProvider changes that could be easily verified via logging its length.

Sergey.

-Original Message-
From: Sergey Kovalyov [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 05, 2006 2:36 PM
To: 'flexcoders@yahoogroups.com'
Subject: Second instance of TitleWindow with Repeater inside doesn't resize

Hi Flexcoders!

I have the TitleWindow with Repeater inside and when I create two instances
of it using PopUpManager.createPopUp() or one as fixed Panel and another one
as pop up, the second instance doesn't resize upon Generate button click
that means changing dataprovider. Somewhen, not in this particular example,
using Repeater in TitleWindow doesn't cause resize when dataprovider changes
too. Here you can see the source of TitleWindow I say about:


http://www.macromedia.com/2003/mxml";
panelBorderStyle="roundCorners"
creationComplete="onCreationComplete()">

















In case the code above saved as MyTitleWindow.mxml, the problem can be
reproduced via this code:

var w1 : MyTitleWindow = MyTitleWindow(PopUpManager.createPopUp(this,
MyTitleWindow, false)); var w2 : MyTitleWindow =
MyTitleWindow(PopUpManager.createPopUp(this, MyTitleWindow, false));

Regards, Sergey.






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

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

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

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





[flexcoders] Flex 2 on Mac OS X

2006-04-05 Thread Bolo Michelin



Hello everyOne :)i try to follow this post to setup Flex 2 on my mac (with tiger)http://www.gskinner.com/blog/archives/2005/12/easily_compile.html
when i did that4)
Verify that everything is working by copying the "HelloAS3.as" included
with flCompile to your home directory, and executing the following
command in the Terminal:java -jar flex/lib/mxmlc.jar -flexlib flex/frameworks -file-specs helloas3.asIt should give you compiling messages, and generate a "HelloAS3.swf" file in your Home directory.
i have this errorhttp://independza.com/client/image.png 
Can u help meBolo






	








	




   		








--
Flexcoders Mailing 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] Sliding Windows in Different Layers

2006-04-05 Thread jeremy lu




you might need PopUpManager.createPopUp()


On 4/5/06, mvbaffa <[EMAIL PROTECTED]> wrote:
Hi everybody,I would like to show a sliding panel, or title window, in a differentlayer. I am not an expert in flash but i know that we can put imagesor animations in different layers so that they can be shown overlaped.
I would like to show a properties windows in my flex application thatslides over the screen without having to shink the other ones. So itmust be over the other containers.I suppose the this can be done using different layers. How can I do
this in Flex Thanks in advance--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





  




  
  
  YAHOO! GROUPS LINKS



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



  









[flexcoders] Flex 2.0 b2: DataGrid ( verticalScrollPosition property )

2006-04-05 Thread tyombria
If I populate dataGrid and then set dataGrid.verticalScrollPosition 
property content of dataGrid will have zero scroll position. Scrollbar 
in dataGrid will have scroll position which i've set.

I think it's a bug.






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

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

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

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




[flexcoders] Sliding Windows in Different Layers

2006-04-05 Thread mvbaffa
Hi everybody,

I would like to show a sliding panel, or title window, in a different 
layer. I am not an expert in flash but i know that we can put images 
or animations in different layers so that they can be shown overlaped.

I would like to show a properties windows in my flex application that 
slides over the screen without having to shink the other ones. So it 
must be over the other containers.

I suppose the this can be done using different layers. How can I do 
this in Flex 

Thanks in advance






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

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

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

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





Re: [flexcoders] convert string to date -

2006-04-05 Thread Oriol Gual



Just do this:var date:Date = new Date("22/5//2006") or var date:Date = new Date(2006,5,22)Remember that months go from 0 (January) to 11 (December) not 1 to 12.BTW, try to look at the documentation before asking, I think it's all quite good explained:
Date doc: http://livedocs.macromedia.com/labs/1/flex20beta2/langref//Date.html Flex 2.0 ActionScript and MXML Reference: 
http://www.macromedia.com/go/flex2_apirefSee you,Oriol2006/4/5, venkat eswar <[EMAIL PROTECTED]>:



hi,     how to convert a string format like "22-4-2006" to date in flex 2.0 ?
		New Yahoo! Messenger with Voice. 
Call regular phones from your PC and save big.





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

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






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

   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] Re: Listening to Databind events

2006-04-05 Thread mvbaffa
Thanks Matt

When will this be avaiable  Can we use now 

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> The event is going to be mx.events.PropertyChangeEvent which is in 
the
> ASDoc.
> 
> Matt
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of mvbaffa
> Sent: Tuesday, April 04, 2006 5:03 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Listening to Databind events
> 
> Hi all,
> 
> I would like to know how can I drive, or listen to, Databind 
events.
> 
> I have a bindable property defined like this:
> 
> [Bindable]
> public var clientDetail : ClientVO;
> 
> This property is updated by the parent container like this:
> 
> clientDetail="{ selectedClient }" />
> 
> I would like to execute a function or method in ClientEvent 
> component when the clientDetail variable is updated.
> 
> Excuse me if this is too simple but I could not find a way, except 
> by using predefined properties, to do this
> 
> Thanks in advance
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>







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

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

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

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





Re: [flexcoders] GENERAL actionscript question

2006-04-05 Thread Richard Turner-Jones
whoops, sorry, I left the public out of the function

public function checkEmailExists():void { ...

Richard


Richard Turner-Jones wrote:
> Looks like the parenthesis are in the wrong place
>
> Try:
>
> function checkEmailExists():void {
>if (srv.checkEmail({email:userEmailInput.text}) == true) {
>submitSignup.enabled = true;
>} else {
>submitSignup.enabled = false;
>}
> }
>
>
> or even better
>
> function checkEmailExists():void {
>submitSignup.enabled = 
> srv.checkEmail({email:userEmailInput.text});
> }
>
> Cheers,
> Richard
>
> Alexander Tsoukias wrote:
>> Hi all, I know this is not advanced, but I have a deadline for a FLEX 
>> app tomorrow and the client needs to see a login and signup sample.
>>
>> I have a CFC which has a method that checks if the email inputed 
>> already exists in the database.
>>
>> The cfc function returns TRUE or FALSE
>>
>> This is the actionscipt that I have:
>>
>> public function checkEmailExists():void {
>> if ((srv.checkEmail({email:userEmailInput.text})) == true){
>> submitSignup.enabled = true; }   else {
>> submitSignup.enabled = false;
>> }
>>   }
>> Is this correct? It doesn't seem to work.
>>
>>
>>
>>
>>
>>
>>
>> -- 
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Search Archives: 
>> http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! 
>> Groups Links
>>
>>
>>
>>  
>>
>>
>>
>>
>>   
>
>





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

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

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

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





[flexcoders] Re: Large XML Dataset?

2006-04-05 Thread wayneposner
--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> I had some of the same issues reading XML over HTTP.  If your XML is 
> dynamically generated by a server (via JSP, CF, ASP, etc.), you can 
> do what I did, which is to essentially pass your search values as 
> parameters within your HTTP request and have the server pass back 
> only the data that match those criteria.
> 
> Hope that helps,
> Doug
> 

Initially, the XML will be generated by a server, but after that, the 
server is completely out of the picture.  Unfortunately, the XML will 
then be on burnt to CD which may then be copied to some stand-alone 
PC.  There will be no server involved once the swf is running.  Any 
other ideas?

Wayne






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

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

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

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





[flexcoders] Vertical tabs

2006-04-05 Thread leo4beer
Hi all,

This is my first post to this list 
I was wondering if it's possible to create vertical tabs in Flex (I'm
on 1.5).

Thanks in advance,
Leo4Beer 






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

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

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

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





Re: [flexcoders] GENERAL actionscript question

2006-04-05 Thread Sonja Duijvesteijn



I'm not sure how Coldfusion gives results back, but i would assume the true or false is a string and not a boolean.         public function checkEmailExists():void {            if ((srv.checkEmail({email:userEmailInput.text
})) =="true"){            submitSignup.enabled = true;            }   else {            submitSignup.enabled = false;            }  }Also, what doesn't work?This line?  submitSignup.enabled
 = false;Or the if statement?Kind regardsSonja Duijvesteijn 






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



  









  1   2   >