RE: [flexcoders] Re: RPC result paging - please, help

2006-07-06 Thread Kelly Birr
Very cool!  Where were you 2 months ago when I wrote my code :)

- Kelly 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flashorbman
Sent: Thursday, July 06, 2006 10:23 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RPC result paging - please, help

Kelly and Dmitry,

Our implementation of FDS-like functionality for .NET can handle method
invocations returning .NET DataSet objects. On the client side, you would
use mx.data.DataService or you can just use the RemoteObject tag.

You can read more about it here:

http://www.themidnightcoders.com/articles/datamanagement-part2.htm

cheers,
Joe

--- In flexcoders@yahoogroups.com, "Kelly Birr" <[EMAIL PROTECTED]> wrote:
>
> Dmitry,
> 
> I've done it from ASP.NET to Flex 2.0 without FDS by caching the
Datasets in
> memory on the Application Server and sending pages to the UI as
requested.
> It works very well but it uses a lot of memory and CPU time on the
mid-tier
> servers and took a bit of code for the server-side threading
requirements.
> It may be worth trying FDS to save yourself the hassles of this sort 
> of implementation.
> 
> My approach was:
> 
> 1) Flex UI calls Web Service on server to request the list (dataset).
>   a) Server spins up background worker thread for list building
>   b) Server queries database and begins filling dataset on worker 
> thread
>   c) primary [request] thread waits for one full page of data to be 
> filled
> 
> 2) Once server has filled one full page of data it sends the
response to the
> client with the first page and a unique "PagingContextID" (guid).  The 
> background thread keeps filling the dataset.
> 
> 3) UI receives and displays the first page of data
> 
> 4) When the next page is needed the UI requests it via a 2nd web 
> service call that contains the unique "PagingContextID" as well as the
required page
> number.
> 
> 5) Server retrieves the complete dataset from memory, builds a
subset (page)
> and sends it back to the client UI.
> 
> 6) repeat as necessary...
> 
> If your using C# for you mid-tier I can send you some sample classes
that
> can help you get started.  Note that I use the term "dataset"
loosely, I'm
> using custom collections of business objects and not actual ADO.NET 
> Datasets.
> 
> - Kelly
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
> On Behalf Of Dmitry Miller
> Sent: Thursday, July 06, 2006 9:11 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: RPC result paging - please, help
> 
> David,
> 
> Thank you for your response. In the article that you have
recommended Data
> Services were used. I was wondering if there is a way to create my own 
> implementation of FDS using just RPC
> 
> 
> --- In flexcoders@yahoogroups.com, "David Mendels" 
> wrote:
> >
> > Hello,
> > 
> > Have you read this in the docs: http://snipurl.com/Flex_Paging
> > 
> > -David
> > Adobe
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
> > > Sent: Thursday, July 06, 2006 9:56 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] RPC result paging - please, help
> > > 
> > > Is there a way to do paging of RPC results? Is there a good 
> > > example for that?
> > > 
> > > Thanks,
> > > 
> > > --- Dmitry
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  Yahoo! Groups Sponsor 
> > > ~--> Great things are happening at Yahoo!
> > > Groups.  See the new email design.
> > > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
> > > --
> > > --~->
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > > 
> > >
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>






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



 






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

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

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

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





[flexcoders] Re: RPC result paging - please, help

2006-07-06 Thread flashorbman
Kelly and Dmitry,

Our implementation of FDS-like functionality for .NET can handle
method invocations returning .NET DataSet objects. On the client side,
you would use mx.data.DataService or you can just use the RemoteObject
tag.

You can read more about it here:

http://www.themidnightcoders.com/articles/datamanagement-part2.htm

cheers,
Joe

--- In flexcoders@yahoogroups.com, "Kelly Birr" <[EMAIL PROTECTED]> wrote:
>
> Dmitry,
> 
> I've done it from ASP.NET to Flex 2.0 without FDS by caching the
Datasets in
> memory on the Application Server and sending pages to the UI as
requested.
> It works very well but it uses a lot of memory and CPU time on the
mid-tier
> servers and took a bit of code for the server-side threading
requirements.
> It may be worth trying FDS to save yourself the hassles of this sort of
> implementation.
> 
> My approach was:
> 
> 1) Flex UI calls Web Service on server to request the list (dataset).
>   a) Server spins up background worker thread for list building
>   b) Server queries database and begins filling dataset on worker
> thread
>   c) primary [request] thread waits for one full page of data to be
> filled
> 
> 2) Once server has filled one full page of data it sends the
response to the
> client with the first page and a unique "PagingContextID" (guid).  The
> background thread keeps filling the dataset.
> 
> 3) UI receives and displays the first page of data
> 
> 4) When the next page is needed the UI requests it via a 2nd web service
> call that contains the unique "PagingContextID" as well as the
required page
> number.
> 
> 5) Server retrieves the complete dataset from memory, builds a
subset (page)
> and sends it back to the client UI.
> 
> 6) repeat as necessary...
> 
> If your using C# for you mid-tier I can send you some sample classes
that
> can help you get started.  Note that I use the term "dataset"
loosely, I'm
> using custom collections of business objects and not actual ADO.NET
> Datasets.
> 
> - Kelly
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Dmitry Miller
> Sent: Thursday, July 06, 2006 9:11 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: RPC result paging - please, help
> 
> David, 
> 
> Thank you for your response. In the article that you have
recommended Data
> Services were used. I was wondering if there is a way to create my own
> implementation of FDS using just RPC
> 
> 
> --- In flexcoders@yahoogroups.com, "David Mendels" 
> wrote:
> >
> > Hello,
> > 
> > Have you read this in the docs: http://snipurl.com/Flex_Paging
> > 
> > -David
> > Adobe
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
> > > Sent: Thursday, July 06, 2006 9:56 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] RPC result paging - please, help
> > > 
> > > Is there a way to do paging of RPC results? Is there a good example 
> > > for that?
> > > 
> > > Thanks,
> > > 
> > > --- Dmitry
> > > 
> > > 
> > > 
> > > 
> > > 
> > >  Yahoo! Groups Sponsor 
> > > ~--> Great things are happening at Yahoo!
> > > Groups.  See the new email design.
> > > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
> > > --
> > > --~->
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > > Yahoo! Groups Links
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > > 
> > >
> >
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>






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

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

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

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





RE: [flexcoders] Re: RPC result paging - please, help

2006-07-06 Thread Kelly Birr
Dmitry,

I've done it from ASP.NET to Flex 2.0 without FDS by caching the Datasets in
memory on the Application Server and sending pages to the UI as requested.
It works very well but it uses a lot of memory and CPU time on the mid-tier
servers and took a bit of code for the server-side threading requirements.
It may be worth trying FDS to save yourself the hassles of this sort of
implementation.

My approach was:

1) Flex UI calls Web Service on server to request the list (dataset).
a) Server spins up background worker thread for list building
b) Server queries database and begins filling dataset on worker
thread
c) primary [request] thread waits for one full page of data to be
filled

2) Once server has filled one full page of data it sends the response to the
client with the first page and a unique "PagingContextID" (guid).  The
background thread keeps filling the dataset.

3) UI receives and displays the first page of data

4) When the next page is needed the UI requests it via a 2nd web service
call that contains the unique "PagingContextID" as well as the required page
number.

5) Server retrieves the complete dataset from memory, builds a subset (page)
and sends it back to the client UI.

6) repeat as necessary...

If your using C# for you mid-tier I can send you some sample classes that
can help you get started.  Note that I use the term "dataset" loosely, I'm
using custom collections of business objects and not actual ADO.NET
Datasets.

- Kelly


-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Miller
Sent: Thursday, July 06, 2006 9:11 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: RPC result paging - please, help

David, 

Thank you for your response. In the article that you have recommended Data
Services were used. I was wondering if there is a way to create my own
implementation of FDS using just RPC


--- In flexcoders@yahoogroups.com, "David Mendels" <[EMAIL PROTECTED]>
wrote:
>
> Hello,
> 
> Have you read this in the docs: http://snipurl.com/Flex_Paging
> 
> -David
> Adobe
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
> > Sent: Thursday, July 06, 2006 9:56 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] RPC result paging - please, help
> > 
> > Is there a way to do paging of RPC results? Is there a good example 
> > for that?
> > 
> > Thanks,
> > 
> > --- Dmitry
> > 
> > 
> > 
> > 
> > 
> >  Yahoo! Groups Sponsor 
> > ~--> Great things are happening at Yahoo!
> > Groups.  See the new email design.
> > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
> > --
> > --~->
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >
>






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



 






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

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

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

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

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





[flexcoders] Re: RPC result paging - please, help

2006-07-06 Thread Dmitry Miller
David, 

Thank you for your response. In the article that you have 
recommended Data Services were used. I was wondering if there is a 
way to create my own implementation of FDS using just RPC


--- In flexcoders@yahoogroups.com, "David Mendels" <[EMAIL PROTECTED]> 
wrote:
>
> Hello,
> 
> Have you read this in the docs: http://snipurl.com/Flex_Paging
> 
> -David
> Adobe 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
> > Sent: Thursday, July 06, 2006 9:56 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] RPC result paging - please, help
> > 
> > Is there a way to do paging of RPC results? Is there a good 
> > example for that?
> > 
> > Thanks, 
> > 
> > --- Dmitry
> > 
> > 
> > 
> > 
> > 
> >  Yahoo! Groups Sponsor 
> > ~--> Great things are happening at Yahoo! 
> > Groups.  See the new email design.
> > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
> > --
> > --~-> 
> > 
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: 
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> >
>






--
Flexcoders Mailing 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] Run Flex (swf) offline

2006-07-06 Thread JesterXL
Yeah, baby!
http://forums.ultrashock.com/ff.htm?http://forums.ultrashock.com/forums/showthread.php?threadid=82610

Good stuff.

- Original Message - 
From: "Jianlong Chen" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 06, 2006 9:28 PM
Subject: [flexcoders] Run Flex (swf) offline


Hi all,

I just joined this group recently to find out more information about Flex 2, 
which seems to be
a very exciting platform to develop interactive web apps.

I have a question regarding deploying Flex (or Flex-compiled swf) in a 
offline environment.
Basically I like to know if it is possible to run Flex off a CD, not in a 
server environment,
drawing data from local XML files.

Thanks,
Steven





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








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

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

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

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

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





[flexcoders] Re: Beta 3 WebService Result

2006-07-06 Thread someguy7_7
Actually this is looking more like a bug. I have submitted an example
application to Adobe. All my items are all at the same level in the
xml but flex is interpretting it like the first item is the parent for
the rest of the items.

Here is the xml returned by my webservice. Flex interprets it like the
london item is the parent of the other 4 items. From what I can see
they are all at the same level. But then I am a newb to this xml stuff.


http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="urn:IPSWebServices">http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="ns2:SearchResponse"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns2="urn:IPSWebServices">

http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>
5


http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>4Cities/stlouis.jpg500375stlouis72.0true25018738575stlouis2006-02-152006-05-22http://www.w3.org/1999/XMLSchema"/>
http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>3Cities/rio.jpg500375rio72.0true250187158116rio2006-02-152006-02-15http://www.w3.org/1999/XMLSchema"/>
http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>2Cities/paris.jpg333500paris1000.0true166250147927paris2006-02-152006-02-15http://www.w3.org/1999/XMLSchema"/>
http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>1Cities/newyork.jpg500375newyork200.0true25018774842newyork2006-02-152006-02-15http://www.w3.org/1999/XMLSchema"/>
http://schemas.xmlsoap.org/soap/encoding/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>0Cities/london.jpg500375london180.0true25018756221london2006-02-152006-02-15http://www.w3.org/1999/XMLSchema"/>


Thanks
--- In flexcoders@yahoogroups.com, "Tom Jordahl" <[EMAIL PROTECTED]> wrote:
>
> 
> The important thing with tns1:string vs. s:string is that the
> namespace prefixes (tns1 and s) point to the XML Schema namespace:
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> 
> In general with Axis, 'tns1' points to something other than XML
> Schema, for instance (from a ColdFusion CFC web service):
>   xmlns:tns1="http://rpc.xml.coldfusion";
> 
> I hope that helps a little
> --
> Tom Jordahl
> Adobe
> 
> --- In flexcoders@yahoogroups.com, "someguy7_7"  wrote:
> >
> > Mine have type="s:string" as well. I also have a field called
> > totalresults that is at the same level as the items which is an
> > integer and seems to be fine. I am able to reference that using
> > lastResult.totalresults. The strings for category and categoryid are
> > the ones I am having problems with. 
> > --- In flexcoders@yahoogroups.com, "Kelly Birr"  wrote:
> > >
> > > The only difference I can see between your WSDL and mine is that
> > mine has
> > > type="s:string" in the simple string elements.   I've looked
> through my
> > > services and have found type="tns:whatever" in some places and
> flex does
> > > interpret those as more complex types.  
> > > 
> > > I can only assume this is what's happening to you.  If you have
> > control over
> > > your WSDL you may try type="s:string".  I had to do something
> > similar in my
> > > .NET web services to get the WSDL to read type="s:string" instead of
> > > type="s:dateTime" for date/time values so Flex would leave them as
> > strings
> > > and not convert them to Date objects and mess up the time zone.
> > > 
> > > - Kelly
> > > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > > Behalf Of someguy7_7
> > > Sent: Tuesday, July 04, 2006 10:32 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: Beta 3 WebService Result
> > > 
> > > Our webservices are written in J2EE 1.5 with Axis. I can get the
> > specific
> > > version of Axis if you think it matters. 
> > > 
> > > Here is part of wsdl that pertains to the question. Sorry about the
> > > formatting.
> > > 
> > > 
> > > 
> > >   
> > >   
> > >   
> > >> > type="tns1:int"/>
> > >> > nillable="true">
> > >   
> > >   
> > >> > type="tns1:string"/>
> > >> > name="categoryid"
> > > type="tns1:string"/>
> > >   
> > >   
> > >   
> > >   
> > >   
> > >   
> > > 
> > > 
> > > 
> > > 
> > > Thanks
>






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

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

[flexcoders] Alert launched from popup component replaces component?

2006-07-06 Thread stacey
Couple of things-
I have a mxml component that extends VBox . When i launch this component
as a popup using :

PopUpManager.createPopUp(parent,ManageEvents,true);

Now in this component I have some validation, as its basically a form
popped up on top of the app. So if you havent selected something it throws
an Alert using :

var alertWindow= Alert.show("Please select an event type" "Warning!",
1,this);


The alert window replaces the popped up component, rather than show on top
of it. I even tried PopUpManager.bringToFront ( alertWindow )- a
suggestion I was given. No go.

Am I missing something?

Also each time I launch the component - it retains the items from the last
time i launched and used it ( like populated text fields ), and you see
this visibly redraw. Anyways to get rid of that?

Thanks- Stacey




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

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

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

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

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




RE: [flexcoders] RPC result paging - please, help

2006-07-06 Thread David Mendels
Hello,

Have you read this in the docs: http://snipurl.com/Flex_Paging

-David
Adobe 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller
> Sent: Thursday, July 06, 2006 9:56 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] RPC result paging - please, help
> 
> Is there a way to do paging of RPC results? Is there a good 
> example for that?
> 
> Thanks, 
> 
> --- Dmitry
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> Great things are happening at Yahoo! 
> Groups.  See the new email design.
> http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


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

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

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

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

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




[flexcoders] modellocator and double bindings

2006-07-06 Thread Douglas Knudsen
Ok, before the big hoorah relase of FB 2 and cairngorm2 I had a app
that has a few forms in it bound to a VO hanging out in the
modellocator.  I used double bindings to display and update values in
the VO like this






things worked swell.  Then came the update to Flez 2 and cairngorm and
teh above double binding attack bombs.  The txtAddrss1 input box is
diplayed empty and gets updated as empty too.  Yuk!

THe approach I have found to work is to use a local var as a pointer
and bind to it.  wierd.  So this works
[Bindable]
localAddy: Address = mymodel.myVO.homeAddress;






Any thoughts?


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


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

<*> 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] Run Flex (swf) offline

2006-07-06 Thread Jianlong Chen
Hi all,

I just joined this group recently to find out more information about Flex 2, 
which seems to be 
a very exciting platform to develop interactive web apps. 

I have a question regarding deploying Flex (or Flex-compiled swf) in a offline 
environment. 
Basically I like to know if it is possible to run Flex off a CD, not in a 
server environment, 
drawing data from local XML files.

Thanks,
Steven





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

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

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

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





RE: [flexcoders] How Flex can be receive a Server Notification

2006-07-06 Thread David Mendels
Hi,

This is one of the core goals of Flex Data Services:
http://snipurl.com/FDS_DS

-David 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of mvbaffa
> Sent: Thursday, July 06, 2006 5:54 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] How Flex can be receive a Server Notification
> 
> Hi All,
> 
> I have a flex 2.0 application that need to be notified when 
> an event occurs at the server. 
> 
> I could start a timer at the flex client and poll 
> periodically the server, but this can be too heavy for 
> specific tasks. The better solution is to notified.
> 
> Maybe the solution is to listen to a socket and let the 
> server process connect to the flex client.
> 
> - Is this the best solution 
> - If yes where should I look for examples of socket 
> programming in actionscript 
> 
> Thanks in advance
> 
> 
> 
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> Yahoo! Groups gets a make over. See 
> the new email design.
> http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 


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

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

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

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

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





[flexcoders] RPC result paging - please, help

2006-07-06 Thread Dmitry Miller
Is there a way to do paging of RPC results? Is there a good example
for that?

Thanks, 

--- Dmitry





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

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

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

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

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





Re: CF/Flex wizards (was Re: [flexcoders] Re: any disadvantages to using FDS + CF vs

2006-07-06 Thread Douglas Knudsen
thanks for the info Tom.  The wizards are truly uber kewl.  They'd be
over-the-top if maybe they were xsl based with a mutable xsl template
and have the ability to act on multiple tables at once, maybe even
scriptable.  You know us developers, Hubris and all, eh?  We have to
have our code generated our way.  :)

DK

On 7/6/06, Tom Jordahl <[EMAIL PROTECTED]> wrote:
> --- In flexcoders@yahoogroups.com, "Douglas Knudsen"
> <[EMAIL PROTECTED]> wrote:
> > Speaking of these wizards, how can we modify the templates they are
> > generated from?
> > How difficult would it be to make them scriptable or add the ability
> > for them to act on mulitple tables?
>
> Hi Doug,
>
> The CFC wizards do not currently support this kind of customization.
> We designed them as a productivity tool to get users up and running
> quickly and to remove some of the tedium in coding value objects in AS
> and CFML.We fully expect that the resulting code would not be
> "final" and developers would edit them for their needs.
>
> --
> Tom Jordahl
> Adobe CF Team
>
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


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


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

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

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

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

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




Re: [flexcoders] Possible Flex Builder internal error

2006-07-06 Thread Clint Modien



Here is some debug info from eclipse on the error...eclipse.buildId=M20060628-1325java.version=1.4.2_09java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_USFramework arguments:  -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -showlocationErrorThu Jul 06 18:10:36 PDT 2006An internal error occurred during: "Retrieving labels".org.eclipse.swt.SWTException
: Invalid thread accessat org.eclipse.swt.SWT.error(SWT.java:3374)at org.eclipse.swt.SWT.error(SWT.java:3297)at org.eclipse.swt.SWT.error(SWT.java:3268)at org.eclipse.swt.widgets.Display.error(Display.java
:978)at org.eclipse.swt.widgets.Display.checkDevice(Display.java:638)at org.eclipse.swt.widgets.Display.getSystemColor(Display.java:1931)at com.adobe.flexbuilder.debug.ui.FlexDebugModelPresentation.getThreadForeground
(FlexDebugModelPresentation.java:817)at com.adobe.flexbuilder.debug.ui.FlexDebugModelPresentation.getForeground(FlexDebugModelPresentation.java:793)at org.eclipse.debug.internal.ui.LazyModelPresentation.getForeground
(LazyModelPresentation.java:362)at org.eclipse.debug.internal.ui.DelegatingModelPresentation.getForeground(DelegatingModelPresentation.java:327)at org.eclipse.debug.internal.ui.views.launch.DebugElementHelper.getForeground
(DebugElementHelper.java:108)at org.eclipse.debug.internal.ui.elements.adapters.AsynchronousDebugLabelAdapter.getForegrounds(AsynchronousDebugLabelAdapter.java:103)at org.eclipse.debug.internal.ui.viewers.provisional.AsynchronousLabelAdapter.computeLabels
(AsynchronousLabelAdapter.java:105)at org.eclipse.debug.internal.ui.elements.adapters.AsynchronousDebugLabelAdapter.computeLabels(AsynchronousDebugLabelAdapter.java:66)at org.eclipse.debug.internal.ui.viewers.provisional.AsynchronousLabelAdapter$2.run
(AsynchronousLabelAdapter.java:51)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)On 7/6/06, Clint Modien <
[EMAIL PROTECTED]> wrote:ya I just started getting the same error after upgrading to flex2 final... i wasn't getting the error in flex2 beta 3 though...
has anyone contacted you about it?On 7/5/06, 
Angus Johnson <[EMAIL PROTECTED]> wrote:














  



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

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

  

















__._,_.___





--
Flexcoders Mailing 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: swc too heavy

2006-07-06 Thread lyon.james
Have you created an empty flex application to see what it adds to the
size of a compiled swf?  IIRC, SWC size != SWF size





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

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

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

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





[flexcoders] Re: FDS on CFMX configuration problems

2006-07-06 Thread Jim
Well that is encouraging that you were able to get them working 
together. Are you using the Mulitserver (JRUN4) option for CFMX7? 
And if so, is your WEB-INF directory in a webroot? Did you have to 
do any tweaking to services-config.xml? Write us the technote that 
Adobe won't man...c'mon (grin).

Jim

--- In flexcoders@yahoogroups.com, João Fernandes 
<[EMAIL PROTECTED]> wrote:
>
> 
> The only problem that I see running seperated instances of FDS & 
CFMX is the fact that FDS doesn't ship with the remoting for CF so 
when you define CF remoting destinations(the "ColdFusion" one) it 
throws an error, so to be able to use a mix of remoting + data 
management you'll have to keep 2 xml files, one for FDS and one for 
compilation. If there is another way, I didn't find any 
documentation about it.
> 
> I have it running CFMX7+ FDS and now without issues but more 
documentation about this would be nice.
> 
> One of the issues about the technote is the fact that FDS and 
CFMX7 both uses a MessageBrokerServlet definition. I kept the CF 
(the Flex one couldn't load those CF remoting Classes)
> 
> João Fernandes
> 
> -Original Message-
> From: flexcoders@yahoogroups.com on behalf of Jim
> Sent: Thu 06-Jul-06 7:54 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: FDS on CFMX configuration problems
>  
> I tried the same thing (combining FDS with CFMX 7.0.2) using the 
> same technote and wasn't able to get it to work. I emailed an 
> insider at Adobe on the Coldfusion team I met at the CFObjective 
> conference and learned that they aren't very happy with that 
> technote and recommended that I run FDS and CFMX separately for 
now.
> 
> I haven't tried that yet, but apparently you did and it was 
> working, which is encouraging to me. I've spent three days trying 
to 
> get FDS working with a fresh installation of CFMX 7 Multiserver
> (JRun4) option. The WEB-INF directory installs in the nested 
> directories within the JRun4 folder, but the new CF/Flex Wizard 
> expects the WEB-INF to be in the webroot.
> 
> I've been having issues with the services-config.xml file. I found 
a 
> copy of the file Ben Forta uses on the sys-con website which has 
> worked so far.
> 
> But if you manage to combine FDS and CFMX 7 and get them working, 
> please share what you did.
> 
> Thanks,
> 
> Jim Pickering
> 
> --- In flexcoders@yahoogroups.com, "Tom Bray"  wrote:
> >
> > When I first started working with FDS, I used the standalone 
> version with
> > integrated JRun and had FB configured to launch FDS and direct 
its 
> logging
> > to the output pane in FB.  I was happy.
> > 
> > Now, I'm trying to configure FDS on top of CFMX and haven't had 
> much
> > success.  I used the instructions below at this link:
> > http://www.adobe.com/cfusion/knowledgebase/index.cfm?
> id=4f079a4d&pss=rss_flex_4f079a4d.
> > It would be very helpful if Adobe would expand upon those 
> instructions with
> > the steps for getting the sample apps up and running.
> > 
> > Also, the instructions for setting up debugging (
> > 
> 
http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debuggi
> ng)
> > need to be updated for the final release of FDS and I'd love to 
> see a
> > similar document for setting up debugging with FDS on CFMX.
> > 
> > In the meantime, I'm having errors that I don't know how to get 
> additional
> > information on.  I'm trying to get the notes sample app running, 
> and I get
> > this error:
> > 
> > [RPC Fault faultString="Send failed" 
> faultCode="Client.Error.MessageSend"
> > faultDetail="Channel.Connect.Failed error 
> NetConnection.Call.Failed: HTTP:
> > Status 500"]
> > 
> > Subscribing to the notes destination works, but sending a 
message 
> doesn't.
> > I obviously need more details to diagnose the problem, so an 
> explanation of
> > how to see that logging information would be awesome.
> > 
> > Thanks,
> > 
> > Tom
> >
>







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

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

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

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

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




Re: [flexcoders] Possible Flex Builder internal error

2006-07-06 Thread Clint Modien



ya I just started getting the same error after upgrading to flex2 final... i wasn't getting the error in flex2 beta 3 though...has anyone contacted you about it?On 7/5/06, 
Angus Johnson <[EMAIL PROTECTED]> wrote:













  



Has anyone else encountered this error in Eclipse (with the Flex Builder final). I'm using Eclipse 3.2 (M20060629-1905).Occurs during debug:An internal error occurred during: "
Retrieving labels".
Invalid thread accessI also occasionally get 'error removing compiler marker' on builds.Might be unrelated to Flex Builder itself just would like to know if someone has come across this before I start uninstalling plugins.
CheersAngus

  















__._,_.___





--
Flexcoders Mailing 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: DataGrid Totals Row

2006-07-06 Thread Lisa Nelson
Torey,

I'd be interested to see your "two datagrid" solution, as that is what I
am resorting to as well.  I bound the widths of the totals datagrid to
the widths of the main datagrid, but when I resize the widths in the
main datagrid, the column widths in the totals datagrid don't come along
for the ride.  I wonder if I will have to disable resizing of the
columns.

--Lisa
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Lisa Nelson
Sent: Thursday, July 06, 2006 14:05
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: DataGrid Totals Row

This is something I have been wanting as well.  The closest I have found
is the lockedRowCount property.  But you have to have your top row have
the totals.  If you set it to your dataprovider array collection's
length, then it freezes all the rows.  I don't know any way to get it to
freeze the bottom row.  

Also, I think there is a little gotcha with this if you allow the user
to sort the columns on the fly.  The frozen row doesn't stay there.  It
sorts along with the rest of them.

--Lisa 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Torey Maerz
Sent: Friday, June 30, 2006 5:26
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DataGrid Totals Row

I guess I am more interested in the sum of a particular column showing
at the bottom of the grid.  For example a list of items and how much
they cost and a totals row at the bottom that sums the items in the
list.


--- In flexcoders@yahoogroups.com, "Uday M. Shankar" <[EMAIL PROTECTED]>
wrote:
>
> If ur dataprovider takes in an array, maybe you can just get the
length of
> the array and get the number of rows. Not sure whether this is
the best
> way to do this... but this is one way  :-)
> 
>  
> 
> -Uday
> 
>  
> 
>   _
> 
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of Torey Maerz
> Sent: Thursday, June 29, 2006 11:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] DataGrid Totals Row
> 
>  
> 
> I have been looking around to find a good solution to a totals row
in a 
> datagrid for Flex 2 but have not really found anything that seems
to 
> work well. I will probably go down the route of having more than
one 
> grid and making sure that the columns, scroll and that type of
thing 
> line up. I am still curious about what others have done in this 
> situation. Is there anthing in Flex 2 that makes this easier?
>







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



 







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

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



 






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: TreeItemRenderer question

2006-07-06 Thread lownlazy000
I too had trouble with getting a checkBox to display consistantly in a
TreeItemRenderer. After many, many hours I have produced some code
that works very well. Perhaps the reason it works so well is because I
eventually looked in the TreeItemRenderer.as class and saw how Adobe
does it, and it was much simpler than I thought.

For this example to work the xml dataProvider much have a selected
attribute on every node:


   


This class adds a check box for each line, removes the leaf icons and
repositions the checkbox to suit. 

I hope this help someone save a bunch of time! :)

The renderer package code is:

package {

import flash.display.DisplayObject;
import flash.events.MouseEvent;
import flash.xml.*;

import mx.controls.CheckBox;
import mx.controls.Tree;
import mx.controls.listClasses.*;
import mx.controls.treeClasses.*;
import mx.core.IDataRenderer;
 

public class MyTreeItemRenderer extends TreeItemRenderer
{

protected var myCheckBox:CheckBox;
private var listOwner:Tree;
private var folderCbX:uint = 32;
private var leafCbX:uint = 40;
private var margin:uint = 15;


 
/**-
 * Constructor
 */

public function MyTreeItemRendererSmall()
{
super();
}

   
   /**---
   */
   
override protected function createChildren():void
{
super.createChildren();

   myCheckBox = new CheckBox();
   addChild(myCheckBox);
   myCheckBox.setStyle( "verticalAlign", "middle" );
   myCheckBox.addEventListener( MouseEvent.CLICK, CBToggleHandler  
);
}   


/**--
 * CheckBox Toggle Event Handler
 * Updates the dataProvider xml with the new CheckBox selected 
value
 */

private function CBToggleHandler(event:MouseEvent):void
{
 if(_data){
trace("do for all - selected: " + [EMAIL PROTECTED]);
if([EMAIL PROTECTED] == true){
[EMAIL PROTECTED] = "false";
} else {
[EMAIL PROTECTED] = "true";
}
}   
}


/*
 *  @private
 *  Storage for the data property.
 */
private var _data:Object;
   
   
/**--
 */

override public function set data(value:Object):void
{
_data = value;
super.data = value;
}
 
   
/*
 *  @private
 *  Storage for the listData property.
 */
private var _listData:TreeListData;


override public function set listData(value:BaseListData):void
{
_listData = TreeListData(value);
super.listData = value;
}
 
 
  /**
 */   
 
 override protected function commitProperties():void
{
super.commitProperties();

if (icon)
{
if(!TreeListData(listData).hasChildren)
{
removeChild(DisplayObject(icon));
icon = null;
}
}

if (_data)
{
var selected:Boolean = ([EMAIL PROTECTED] == 
true)? true : false;
myCheckBox.selected = selected;
}   
}


 /**--
 */

   override protected function
updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void
   {   
super.updateDisplayList(unscaledWidth, unscaledHeight);

if(_listData)
{
myCheckBox.x = (TreeListData(listData).hasChildren) ?
folderCbX : leafCbX;
myCheckBox.y = 2;
super.label.x = myCheckBox.x + myCheckBox.width + margin; 
 

Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Jeremy Lu




np, last time I did it I was using something like this:


...


so no need to add any namespace, but in your case  is surely needed, anyway, glad it's working now :-)


On 7/7/06, hank williams <[EMAIL PROTECTED]> wrote:













  



Hi jeremy,Thank
you very much. That was not it but it was close. The answer was not
that mx needed to be deleted but that it needed to match the parent
namespace. In other words it needed to be myComp.That is one I dont think I would have ever figured out!
RegardsHankOn 7/6/06, Jeremy Lu <
[EMAIL PROTECTED]> wrote:



Since you are extending DataGrid via a mxml way, you don't have to use "mx" namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago.




             
            
    mx:columns> 

Jeremy.







  















__._,_.___





--
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] SWF's not unloading

2006-07-06 Thread Jeremy Lu




Resource management and garbage collection is a lot different then it
used to be, here's a great post on it (from Grant Skinner's blog):

http://www.gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html

The point is, you should stop all playing sound, remove all listeners
from EventDispatcher and nullified the Display Object or loaded swfs.

I believe in the years to come, this issue will be brought up again and again :-)

Jeremy.

On 7/6/06, Angus Johnson <[EMAIL PROTECTED]> wrote:













  



Hi,I have a canvas called parentView into which I add SWF child objects via...parentView.addChild(mySWF);mySWF.load();No problems loading. When I want to change the contents of parentView and swap out the loaded SWF I run...
parentView.removeAllChildren();// get new mySWFparentView.addChild(mySWF);mySWF.load();Now
I have noticed that the previous SWF's don't seem to unload. I have an
example that runs a sound clip and I can still hear that playing even
if I have replaced mySWF content in the parent several times. I also
noticed that flash memory usage continues to increase with each load so
something is wrong. Debug correctly shows only one child loaded. SWFLoader class does't have an unload() method. removeAllChildren() should work right?CheersAngus


  















__._,_.___





--
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] Applet running on Flex (production version)

2006-07-06 Thread Jeremy Lu




One possible solution is to serve the image stream from applet thru a
socket, flex receive the stream and save in a ByteArray, then you could
display the image from ByteArray.


Jeremy.
 

Can someone please tell me how to display the image in a Flex window,
considering the image is coming as an output from an Applet? Or, is
there a way to run the applet inside a Flex window totally? I have tried
calling the Applet from the JS function directly, but it doesn't work.

Pls give your inputs.

Thanks
Rohan


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: ColdFusion vs. PHP as the back-end

2006-07-06 Thread Tom Jordahl
--- In flexcoders@yahoogroups.com, "Ville Walveranta" <[EMAIL PROTECTED]> wrote:
>
> *   If you want to go hardcore though, Java is your best option.
> 
> Why Java over PHP in this instance?  PHP is a very capable language,
albeit
> maybe a little "fragmented" due to it's nature. Perhpas the biggest
thing
> that bothers me in it is the lack of thread safety (which,
obviously, is not
> an issue with languages such as CF or Java that have been written from
> ground up, and that don't rely on a plethora of third party modules).


I would certainly say that ColdFusion is the clear choice given its
tight integration with all the Flex 2.0 features, including AMF3
support, value objects and FDS integration with DataManagement and
Messaging.  Not to mention the Eclipse Application Wizard and CFC<->AS
code writing wizards.

We put a lot of work in making ColdFusion *the* premier backend for
Flex 2.

I am (obviously) very baised, as I did a lot of that work.

--
Tom Jordahl
Adobe CF Team







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

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

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

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

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





RE: [flexcoders] How Flex can be receive a Server Notification

2006-07-06 Thread Tracy Spratt












You could use sockets, but FDS (Flex Data
Services) is designed for push and subscribe type data flow.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mvbaffa
Sent: Thursday, July 06, 2006 5:54
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How Flex can
be receive a Server Notification



 







Hi All,

I have a flex 2.0 application that need to be notified when an event 
occurs at the server. 

I could start a timer at the flex client and poll periodically the 
server, but this can be too heavy for specific tasks. The better 
solution is to notified.

Maybe the solution is to listen to a socket and let the server process 
connect to the flex client.

- Is this the best solution 
- If yes where should I look for examples of socket programming in 
actionscript 

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



   Visit your group "flexcoders" on the web. 
   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] How Flex can be receive a Server Notification

2006-07-06 Thread mvbaffa
Hi All,

I have a flex 2.0 application that need to be notified when an event 
occurs at the server. 

I could start a timer at the flex client and poll periodically the 
server, but this can be too heavy for specific tasks. The better 
solution is to notified.

Maybe the solution is to listen to a socket and let the server process 
connect to the flex client.

- Is this the best solution 
- If yes where should I look for examples of socket programming in 
actionscript 

Thanks in advance






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] FlexFactory example

2006-07-06 Thread billy_d_white
I'm wanting to use Spring for my backend for Flex Data Services.  I
found the docs on using a class that implements the FlexFactory
interface, but the really is not enough detail in the docs to fully
understand how to fill out the FlexFactory implementation class.

Has anyone successfully used this class?  Do I create a single
FlexFactory class for all of my destinations that I want to use Spring
with?  Or do I create a FlexFactory impl for each destination?

Thanks
Bill






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] SWF's not unloading

2006-07-06 Thread Hilary Bridel



Hi Angus
I have an example of loading a swf in Flex 2 with code on my site.
 
http://www.bridel.org/
 
Let me know if it helps...
 
Hilary
 
-- 
On 7/6/06, Angus Johnson <[EMAIL PROTECTED]> wrote:


Hi,I have a canvas called parentView into which I add SWF child objects via...parentView.addChild(mySWF);mySWF.load();No problems loading. When I want to change the contents of parentView and swap out the loaded SWF I run... 
parentView.removeAllChildren();// get new mySWFparentView.addChild(mySWF);mySWF.load();Now I have noticed that the previous SWF's don't seem to unload. I have an example that runs a sound clip and I can still hear that playing even if I have replaced mySWF content in the parent several times. I also noticed that flash memory usage continues to increase with each load so something is wrong. Debug correctly shows only one child loaded. 
SWFLoader class does't have an unload() method. removeAllChildren() should work right?CheersAngus -- Hilary-- 

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



CF/Flex wizards (was Re: [flexcoders] Re: any disadvantages to using FDS + CF vs

2006-07-06 Thread Tom Jordahl
--- In flexcoders@yahoogroups.com, "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
> Speaking of these wizards, how can we modify the templates they are
> generated from?
> How difficult would it be to make them scriptable or add the ability
> for them to act on mulitple tables?

Hi Doug,

The CFC wizards do not currently support this kind of customization. 
We designed them as a productivity tool to get users up and running
quickly and to remove some of the tedium in coding value objects in AS
and CFML.We fully expect that the resulting code would not be
"final" and developers would edit them for their needs.

--
Tom Jordahl
Adobe CF Team







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

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

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

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

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





[flexcoders] Re: Working with CFC's

2006-07-06 Thread Tom Jordahl
--- In flexcoders@yahoogroups.com, "Bacardi Bryant" <[EMAIL PROTECTED]> wrote:
> Oops, as you can see, I'm new to the list as well. The problem is the
> results ARE NOT being loaded into the datagrid.
> Thanks,
> Bacardi Bryant

Bacardi,

There are several article on the Adopbe Developer Center that might
help, along with the CF 7.0.2 docucmentation.  I know there is a new
set of chapters "Using CF with Flex 2.0", but it isn't up on livedocs yet.

Try this article from Kyle to start:
  http://www.adobe.com/devnet/flex/articles/helloworld.html

--
Tom Jordahl
Adobe CF Team







 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] swc too heavy

2006-07-06 Thread kobi6810
Hi,

I have compiled my first component and was very surprise by its
size...255 KB.

It's just a login component which extends the panel class and is made
of a username & password textInput and a button. All theses components
are put in form.

this is the command i have used for compilation

compc.exe -source-path . ../libsrc -o ../lib/LoginBox.swc
-include-classes LoginBox

What did i make wrong ?

Thanks in advance.






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] Re: Beta 3 WebService Result

2006-07-06 Thread Tom Jordahl

The important thing with tns1:string vs. s:string is that the
namespace prefixes (tns1 and s) point to the XML Schema namespace:
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";

In general with Axis, 'tns1' points to something other than XML
Schema, for instance (from a ColdFusion CFC web service):
  xmlns:tns1="http://rpc.xml.coldfusion";

I hope that helps a little
--
Tom Jordahl
Adobe

--- In flexcoders@yahoogroups.com, "someguy7_7" <[EMAIL PROTECTED]> wrote:
>
> Mine have type="s:string" as well. I also have a field called
> totalresults that is at the same level as the items which is an
> integer and seems to be fine. I am able to reference that using
> lastResult.totalresults. The strings for category and categoryid are
> the ones I am having problems with. 
> --- In flexcoders@yahoogroups.com, "Kelly Birr"  wrote:
> >
> > The only difference I can see between your WSDL and mine is that
> mine has
> > type="s:string" in the simple string elements.   I've looked
through my
> > services and have found type="tns:whatever" in some places and
flex does
> > interpret those as more complex types.  
> > 
> > I can only assume this is what's happening to you.  If you have
> control over
> > your WSDL you may try type="s:string".  I had to do something
> similar in my
> > .NET web services to get the WSDL to read type="s:string" instead of
> > type="s:dateTime" for date/time values so Flex would leave them as
> strings
> > and not convert them to Date objects and mess up the time zone.
> > 
> > - Kelly
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> > Behalf Of someguy7_7
> > Sent: Tuesday, July 04, 2006 10:32 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Beta 3 WebService Result
> > 
> > Our webservices are written in J2EE 1.5 with Axis. I can get the
> specific
> > version of Axis if you think it matters. 
> > 
> > Here is part of wsdl that pertains to the question. Sorry about the
> > formatting.
> > 
> > 
> > 
> > 
> > 
> > 
> >  > type="tns1:int"/>
> >  > nillable="true">
> > 
> > 
> >  > type="tns1:string"/>
> >  > name="categoryid"
> > type="tns1:string"/>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Thanks







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

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

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

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

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





RE: [flexcoders] Re: DataGrid Totals Row

2006-07-06 Thread Lisa Nelson
This is something I have been wanting as well.  The closest I have found
is the lockedRowCount property.  But you have to have your top row have
the totals.  If you set it to your dataprovider array collection's
length, then it freezes all the rows.  I don't know any way to get it to
freeze the bottom row.  

Also, I think there is a little gotcha with this if you allow the user
to sort the columns on the fly.  The frozen row doesn't stay there.  It
sorts along with the rest of them.

--Lisa 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Torey Maerz
Sent: Friday, June 30, 2006 5:26
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DataGrid Totals Row

I guess I am more interested in the sum of a particular column showing
at the bottom of the grid.  For example a list of items and how much
they cost and a totals row at the bottom that sums the items in the
list.


--- In flexcoders@yahoogroups.com, "Uday M. Shankar" <[EMAIL PROTECTED]>
wrote:
>
> If ur dataprovider takes in an array, maybe you can just get the
length of
> the array and get the number of rows. Not sure whether this is
the best
> way to do this... but this is one way  :-)
> 
>  
> 
> -Uday
> 
>  
> 
>   _
> 
> From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On
> Behalf Of Torey Maerz
> Sent: Thursday, June 29, 2006 11:57 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] DataGrid Totals Row
> 
>  
> 
> I have been looking around to find a good solution to a totals row
in a 
> datagrid for Flex 2 but have not really found anything that seems
to 
> work well. I will probably go down the route of having more than
one 
> grid and making sure that the columns, scroll and that type of
thing 
> line up. I am still curious about what others have done in this 
> situation. Is there anthing in Flex 2 that makes this easier?
>







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



 







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

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

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

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

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




[flexcoders] Re: ItemRenderer with Button

2006-07-06 Thread g8torjoe
Thanks for the help everyone!  I love this group!!!

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Too funny.  Three heads are better than one. :)
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "Brendan Meutzner" 
>  wrote:
> >
> > Joe,
> > 
> > Scoping issues...
> > 
> > http://livedocs.macromedia.com/flex/2/docs/0843.html
> > 
> > Brendan
> > 
> > 
> > 
> > On 7/6/06, g8torjoe  wrote:
> > >
> > >   I have a dataGrid control with an itemRenderer containing a 
> button.
> > > The button has a click handler which is defined as a private 
> function
> > > in the script tags. Every time I try to compile I get an error:
> > > "1180: Call to a possibly undefined method orderItem." A 
PARTIAL
> > > piece of the code is below. I can't seem to figure out why 
this 
> is
> > > happening. Thanks
> > >
> > >  editable="false">
> > > 
> > >  > > dataField="PART_NO" editable="false" width="75" 
> sortable="true" />
> > >  > > dataField="PART_NAME" editable="false" width="450" />
> > > 
> > > 
> > > 
> > >  > > icon="@Embed('/assets/shoppingcart_add_16.png')" 
click="orderItem
> ()" />
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > > private function orderItem():void
> > > {
> > > var eventObj:CatalogEvent = new CatalogEvent("order");
> > > dispatchEvent(eventObj);
> > > }
> > >
> > >  
> > >
> >
>







--
Flexcoders Mailing 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] when I deploy samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy

2006-07-06 Thread Carson Hager





That's interesting. Those are all web apps and their 
classloaders should have no effect on each other. It's possible that the logging 
classes are simply included in a larger bundled JAR file used by JRun making it 
harder to locate them. I don't have JRun installed but you could search files 
looking for that string and it should be easy to find if they are 
there.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom BraySent: 
Thursday, July 06, 2006 1:25 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] when I deploy 
samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: 
Invalid class loader hierarchy


The only commons-logging jars came from deploying flex and samples.  I 
searched from the root of JRun and found four copies in the following 
locations:c:\JRun4\servers\default\flex\WEB-INF\libc:\JRun4\servers\default\flex\WEB-INF\flex\jars 
c:\JRun4\servers\default\samples\WEB-INF\libc:\JRun4\servers\default\samples\WEB-INF\flex\jarsI 
removed one of the copies from the samples app to get it to work.  
I'm using a fresh install of JRun expressly for deploying Flex, so I 
haven't added or modified anything from the default installation. 
-Tom
On 7/6/06, Carson 
Hager <[EMAIL PROTECTED]> 
wrote:

  
  
  
  
  
  
  Either 
  JRun doesn't normally come bundled with commons logging or they removed it 
  from the server level classloader in the bundling with FDS. Have you looked to 
  see where else commons logging is located?  It is likely in a directory 
  called lib or something to that effect on the server level well above the 
  location of your web applications.
  
   
   
  Carson
   
  
   Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  [EMAIL PROTECTED]Office:  
  866-CYNERGYMobile: 1.703.489.6466
   
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom 
  Bray
  Sent: Thursday, July 06, 2006 11:39 
  AMTo: flexcoders@yahoogroups.comSubject: Re: 
  [flexcoders] when I deploy samples in JRun, I get: 
  org.apache.commons.logging.LogConfigurationException: Invalid class loader 
  hierarchy
  
  
  
  I'm curious to know why FDS with integrated JRun doesn't have this problem 
  with the samples, yet it has the same jars in the same 
  place.Thanks,Tom
  On 7/6/06, Tom Bray 
  <[EMAIL PROTECTED]> 
  wrote: 
  Thanks, Carson.  I 
removed commons-logging.jar from samples/WEB-INF/lib and everything is 
working great now.  It's also in samples/WEB-INF/flex/jars.
-Tom

On 7/6/06, Carson 
Hager <[EMAIL PROTECTED]> wrote: 

  
  
  
  
  
  
  You 
  have commons logging classes in more than one place which is causing the 
  classloader to choke.  The likely cause of this is a commons logging 
  jar in the server level classpath.  If you don't need it there for 
  other applications, remove it and restart JRun.
   
   
  Carson
  
   Carson 
  HagerCynergy Systems, Inc.http://www.cynergysystems.com Email:  
  [EMAIL PROTECTED]Office:  
  866-CYNERGYMobile: 1.703.489.6466
   
  
  
  From: flexcoders@yahoogroups.com [mailto: 
  flexcoders@yahoogroups.com] On Behalf Of Tom 
  BraySent: Thursday, July 06, 2006 10:21 AMTo: flexcoders@yahoogroups.comSubject: 
  [flexcoders] when I deploy samples in JRun, I get: 
  org.apache.commons.logging.LogConfigurationException: Invalid class loader 
  hierarchy
  
  
  
  The most detailed instructions I've found for deploying FDS and the 
  samples on JRun is this:"For example, for JRun 4 u6, expand the 
  flex.war, samples.war, and flex-admin.war files to directories named flex, 
  samples, and flex-admin, respectively. Then copy these directories to the 
  root of your JRun server instance."I assume that means 
  this:C:\JRun4\servers\default\flexC:\JRun4\servers\default\flex-adminC:\JRun4\servers\default\samplesBut 
  there must be something else I have to do for the samples because I can't 
  deploy them without the following exceptions: 07/06 10:13:43 error 
  Could not pre-load servlet: 
  MessageBrokerServlet[1]org.apache.commons.logging.LogConfigurationException: 
  org.apache.commons.logging.LogConfigurationException: 
  org.apache.commons.logging.LogConfigurationExcept ion: Invalid class 
  loader hierarchy.  You have more than one version of 
  'org.apache.commons.logging.Log' visible, which is not allowed. 
  (Caused by org.apache.commons.logging.LogConfigurationException 
  : Invalid class loader hierarchy.  You have more than one versi

RE: [flexcoders] Re: FDS on CFMX configuration problems

2006-07-06 Thread João Fernandes

The only problem that I see running seperated instances of FDS & CFMX is the 
fact that FDS doesn't ship with the remoting for CF so when you define CF 
remoting destinations(the "ColdFusion" one) it throws an error, so to be able 
to use a mix of remoting + data management you'll have to keep 2 xml files, one 
for FDS and one for compilation. If there is another way, I didn't find any 
documentation about it.

I have it running CFMX7+ FDS and now without issues but more documentation 
about this would be nice.

One of the issues about the technote is the fact that FDS and CFMX7 both uses a 
MessageBrokerServlet definition. I kept the CF (the Flex one couldn't load 
those CF remoting Classes)

João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Jim
Sent: Thu 06-Jul-06 7:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: FDS on CFMX configuration problems
 
I tried the same thing (combining FDS with CFMX 7.0.2) using the 
same technote and wasn't able to get it to work. I emailed an 
insider at Adobe on the Coldfusion team I met at the CFObjective 
conference and learned that they aren't very happy with that 
technote and recommended that I run FDS and CFMX separately for now.

I haven't tried that yet, but apparently you did and it was 
working, which is encouraging to me. I've spent three days trying to 
get FDS working with a fresh installation of CFMX 7 Multiserver
(JRun4) option. The WEB-INF directory installs in the nested 
directories within the JRun4 folder, but the new CF/Flex Wizard 
expects the WEB-INF to be in the webroot.

I've been having issues with the services-config.xml file. I found a 
copy of the file Ben Forta uses on the sys-con website which has 
worked so far.

But if you manage to combine FDS and CFMX 7 and get them working, 
please share what you did.

Thanks,

Jim Pickering

--- In flexcoders@yahoogroups.com, "Tom Bray" <[EMAIL PROTECTED]> wrote:
>
> When I first started working with FDS, I used the standalone 
version with
> integrated JRun and had FB configured to launch FDS and direct its 
logging
> to the output pane in FB.  I was happy.
> 
> Now, I'm trying to configure FDS on top of CFMX and haven't had 
much
> success.  I used the instructions below at this link:
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?
id=4f079a4d&pss=rss_flex_4f079a4d.
> It would be very helpful if Adobe would expand upon those 
instructions with
> the steps for getting the sample apps up and running.
> 
> Also, the instructions for setting up debugging (
> 
http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debuggi
ng)
> need to be updated for the final release of FDS and I'd love to 
see a
> similar document for setting up debugging with FDS on CFMX.
> 
> In the meantime, I'm having errors that I don't know how to get 
additional
> information on.  I'm trying to get the notes sample app running, 
and I get
> this error:
> 
> [RPC Fault faultString="Send failed" 
faultCode="Client.Error.MessageSend"
> faultDetail="Channel.Connect.Failed error 
NetConnection.Call.Failed: HTTP:
> Status 500"]
> 
> Subscribing to the notes destination works, but sending a message 
doesn't.
> I obviously need more details to diagnose the problem, so an 
explanation of
> how to see that logging information would be awesome.
> 
> Thanks,
> 
> Tom
>








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

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

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

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

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

[flexcoders] Re: ItemRenderer with Button

2006-07-06 Thread Tim Hoff
Too funny.  Three heads are better than one. :)

-TH

--- In flexcoders@yahoogroups.com, "Brendan Meutzner" 
<[EMAIL PROTECTED]> wrote:
>
> Joe,
> 
> Scoping issues...
> 
> http://livedocs.macromedia.com/flex/2/docs/0843.html
> 
> Brendan
> 
> 
> 
> On 7/6/06, g8torjoe <[EMAIL PROTECTED]> wrote:
> >
> >   I have a dataGrid control with an itemRenderer containing a 
button.
> > The button has a click handler which is defined as a private 
function
> > in the script tags. Every time I try to compile I get an error:
> > "1180: Call to a possibly undefined method orderItem." A PARTIAL
> > piece of the code is below. I can't seem to figure out why this 
is
> > happening. Thanks
> >
> > 
> > 
> >  > dataField="PART_NO" editable="false" width="75" 
sortable="true" />
> >  > dataField="PART_NAME" editable="false" width="450" />
> > 
> > 
> > 
> >  > icon="@Embed('/assets/shoppingcart_add_16.png')" click="orderItem
()" />
> > 
> > 
> > 
> > 
> > 
> >
> > private function orderItem():void
> > {
> > var eventObj:CatalogEvent = new CatalogEvent("order");
> > dispatchEvent(eventObj);
> > }
> >
> >  
> >
>






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

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

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

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

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





[flexcoders] Re: Using and image as a link

2006-07-06 Thread Scott Romer
Can't you just set buttonMode to true on the image, and then the
handCursor automatically shows up?  (Seems to work for me...)

Just a thought.  I suppose both would work though.
-Scott

--- In flexcoders@yahoogroups.com, "Rob Rusher" <[EMAIL PROTECTED]> wrote:
>
> I suggest just adding a click event on you image object in which the
event
> handler uses the navigateToURL() method. You can find out how to use
> navigateToURL here:
>
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1010.html
> 
> You might also change the cursor to a hand on mouseover. I blogged
this a
> while back.
> http://www.robrusher.com/1/2006/01/Using-useHandCursor-in-Flex.cfm
> 
> HTH
> 
> On 7/6/06, Matt Horn <[EMAIL PROTECTED]> wrote:
> >
> >   Link is now LinkButton. Can you send me a link to any errors in
current
> > doc? Tnks,
> >
> >
> > matt horn
> > flex docs
> >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:flexcoders@yahoogroups.com
] On
> > Behalf Of Henry
> > > Sent: Thursday, July 06, 2006 2:31 PM
> > > To: flexcoders@yahoogroups.com 
> > > Subject: [flexcoders] Re: Using and image as a link
> > >
> > > Thanks for the information. I was looking online this morning
> > > after i posted hoping to find something and i ran across a
> > > mx:Link tag that actually inherited from the button tag. Did
> > > that tag get taken away in Flex 2.0? I tried it this morning
> > > and it would throw an error and not compile when used as
> > > listed in the documentation.
> > >
> > > tfth!
> > >
> > > henry iii
> > >
> > > --- In flexcoders@yahoogroups.com 
> > >  , "Matt Horn"
> >  wrote:
> > > >
> > > > You could use a button and define the skins to be the same
> > > graphic (so
> > > > it doesnt change like a button normally would when its
> > > state changes):
> > > >
> > > > Button {
> > > > upSkin:Embed("../assets/mygraphic.jpg");
> > > > downSkin:Embed("../assets/mygraphic.jpg");
> > > > overSkin:Embed("../assets/mygraphic.jpg");
> > > > }
> > > >
> > > > THen you just specify the click handler as you would with
> > > any button:
> > > >
> > > > 
> > > >
> > > > Just dont specify a label for the button. That will muck up
> > > the sizing
> > > > of the button and the text will bleed through your image.
> > > >
> > > > hth,
> > > >
> > > > matt horn
> > > > flex docs
> > > >
> > > >
> > > > > -Original Message-
> > > > > From: flexcoders@yahoogroups.com 
> > > > > 
> > > > > [mailto:flexcoders@yahoogroups.com

> > > > >  ] On
Behalf Of
> > Henry
> > > > > Sent: Thursday, July 06, 2006 8:37 AM
> > > > > To: flexcoders@yahoogroups.com 
> > > 
> > > > > Subject: [flexcoders] Using and image as a link
> > > > >
> > > > > I have been trying to get and image to go to a URL on a
> > > click. I am
> > > > > sure that I am making this harder than it should be.
> > > However i would
> > > > > like to know how you guys/gals might be doing this. I was
> > > trying to
> > > > > use an actionscript function that is predefined in Flash,
> > > but that
> > > > > does not seem to work.
> > > > >
> > > > > Do I need to create my own actionscript for this?, or is there
> > > > > something i am missing that is super simple?
> > > > >
> > > > > Thanks so much for your help!
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> -- 
> Regards,
> Rob Rusher
> 
> Adobe Certified Breeze, ColdFusion MX and Flex 2 Instructor
> m: 303-885-7044
> im: robrusher
>






--
Flexcoders Mailing 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] ItemRenderer with Button

2006-07-06 Thread Brendan Meutzner



Joe,Scoping issues...http://livedocs.macromedia.com/flex/2/docs/0843.htmlBrendan
On 7/6/06, g8torjoe <[EMAIL PROTECTED]> wrote:













  



I have a dataGrid control with an itemRenderer containing a button. 
The button has a click handler which is defined as a private function
in the script tags.  Every time I try to compile I get an error:
"1180: Call to a possibly undefined method orderItem."  A PARTIAL
piece of the code is below.  I can't seem to figure out why this is
happening.  Thanks


  
  
dataField="PART_NO" editable="false" width="75" sortable="true" />
  
dataField="PART_NAME" editable="false" width="450" />
  

	
	  
icon="@Embed('/assets/shoppingcart_add_16.png')" click="orderItem()" />		
	

  
  	


private function orderItem():void
{
  var eventObj:CatalogEvent = new CatalogEvent("order");
  dispatchEvent(eventObj);
}


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: ItemRenderer with Button

2006-07-06 Thread Tim Hoff
Scope issue: Since your itemRenderer is a child, you have to 
reference the parent.

Change: 

TO: 

-TH


--- In flexcoders@yahoogroups.com, "g8torjoe" <[EMAIL PROTECTED]> wrote:
>
> I have a dataGrid control with an itemRenderer containing a 
button. 
> The button has a click handler which is defined as a private 
function
> in the script tags.  Every time I try to compile I get an error:
> "1180: Call to a possibly undefined method orderItem."  A PARTIAL
> piece of the code is below.  I can't seem to figure out why this is
> happening.  Thanks
> 
> 
>   
>dataField="PART_NO" editable="false" width="75" sortable="true" />
>dataField="PART_NAME" editable="false" width="450" />
>   
> 
>   
>  icon="@Embed('/assets/shoppingcart_add_16.png')" click="orderItem
()" />  
>   
> 
>   
>  
> 
> 
> private function orderItem():void
> {
>   var eventObj:CatalogEvent = new CatalogEvent("order");
>   dispatchEvent(eventObj);
> }
>







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

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

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

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

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





[flexcoders] Re: ItemRenderer with Button

2006-07-06 Thread Doug Lowder
Scoping issue.  See 
http://livedocs.macromedia.com/flex/2/langref/mxml/component.html

You may be able to access orderItem from within your item renderer 
component by making the function public and calling 
outerDocument.orderItem().

--- In flexcoders@yahoogroups.com, "g8torjoe" <[EMAIL PROTECTED]> wrote:
>
> I have a dataGrid control with an itemRenderer containing a 
button. 
> The button has a click handler which is defined as a private 
function
> in the script tags.  Every time I try to compile I get an error:
> "1180: Call to a possibly undefined method orderItem."  A PARTIAL
> piece of the code is below.  I can't seem to figure out why this is
> happening.  Thanks
> 
> 
>   
>dataField="PART_NO" editable="false" width="75" sortable="true" />
>dataField="PART_NAME" editable="false" width="450" />
>   
> 
>   
>  icon="@Embed('/assets/shoppingcart_add_16.png')" click="orderItem
()" />  
>   
> 
>   
>  
> 
> 
> private function orderItem():void
> {
>   var eventObj:CatalogEvent = new CatalogEvent("order");
>   dispatchEvent(eventObj);
> }
>







--
Flexcoders Mailing 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] Binding in Flex 2.0, Cairngorm 2.0

2006-07-06 Thread Moishe Groger





Sorry, nevermind my second question - I found the code 
below in the docs.  I would still really appreciate help with properly 
resetting the validators.
 
Moishe Groger
 
// Override the setter method. 
override public function set data(value:Object):void { 
if(value != null) {
// Use super to set the value in the base class. 
super.data = ""
// Determine the icon based on whether the item is on sale.
if (value.SalePrice == true) 
onSale.source="http://myCompany.com/icons/saleIcon.jpg";
else 
onSale.source="http://myCompany.com/icons/noSaleIcon.jpg";
}
// Dispatch the dataChange event.
dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Moishe 
GrogerSent: Thursday, July 06, 2006 4:56 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Binding in Flex 
2.0, Cairngorm 2.0


Right... I guess it depends on your definition of "works". I don't 
thinkthe behavior my form is exhibiting looks very professional, imho. 
:-)I'm also having some problems with data binding in itemRenderers. I 
need torun a function whenever the data object changes. I tried calling 
thefunction on dataChange, creationComplete and initialize but the 
functionstill does not run if the data changes before that area of the 
applicationhas been created. What is the correct event to listen 
for?Thanks,Moishe Groger-Original Message-From: 
[EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of Tom ChivertonSent: Thursday, July 06, 2006 8:44 AMTo: [EMAIL PROTECTED]ups.comSubject: 
Re: [flexcoders] Binding in Flex 2.0, Cairngorm 2.0On Thursday 06 July 
2006 07:32, mgrogero wrote:> ModelLocator. Is that why this method of 
resetting the form doesn't > work anymore?It's not like it 
doesn't work - it's just it red-outlines all the requiredfields straight 
away. --Tom 
ChivertonThis 
email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a 
limited liability partnership registered in England andWales under 
registered number OC307980 whose registered office address is atSt James's 
Court Brown Street Manchester M2 2JF. A list of members isavailable for 
inspection at the registered office. Any reference to apartner in relation 
to Halliwells LLP means a member of Halliwells LLP.Regulated by the Law 
Society.CONFIDENTIALITYThis email is intended only for the use 
of the addressee named above and maybe confidential or legally privileged. 
If you are not the addressee youmust not read it and must not use any 
information contained in nor copy itnor inform any person other than 
Halliwells LLP or the addressee of itsexistence or contents. If you have 
received this email in error pleasedelete it and notify Halliwells LLP IT 
Department on 0870 365 8008.For more information about Halliwells LLP 
visit www.halliwells.com. Yahoo! 
Groups Sponsor ~-->Something is new at 
Yahoo! Groups. Check out the enhanced email design.http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM--~-> 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: WebService & Cairngorm 2 Example

2006-07-06 Thread Tim Hoff
Agreed, no problem here.

-TH

--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" 
<[EMAIL PROTECTED]> wrote:
>
> Just read the article, seems much cleaner, something definitely 
considering.
>  
> Also don't think its much of bother going from 1.x to 2.0, there 
are many changes to make upgrading anyways :)
>  
> Dimitrios Gianninas
> RIA Developer
> Optimal Payments Inc.
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Webster
> Sent: Thursday, July 06, 2006 3:53 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] Re: WebService & Cairngorm 2 Example
> 
> 
> 
> Darron makes some very fair points; our reasoning for the current 
Cairngorm implementation was driven from some findings we had during 
the beta, which no longer seem to apply.  We'll have some discussion 
internally to reinforce our decisions, but Darron's approach seems a 
sensible and valid one that we may likely end up bringing into the 
main codebase.   
>  
> How would folks feel about us making that change ?  We're always 
very reticent of API changes for backward compatibility.would 
folks be ok with this one ?
>  
> Steven
>  
>Steven Webster
> Practice Director (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6108
> m: +44 (0) 7917 428 947 
> [EMAIL PROTECTED] 
> 
>  
> 
> 
> 
> 
>   From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
>   Sent: 06 July 2006 16:07
>   To: flexcoders@yahoogroups.com
>   Subject: [flexcoders] Re: WebService & Cairngorm 2 Example
>   
>   
> 
>   Darron Schall just posted a great article about Cairngorm's 
Responder
>   interface and what he considers to be a better alternative.
>   
>   http://www.darronschall.com/weblog/archives/000234.cfm 
 
>   
>   
> 
>  
> 
> -- 
> WARNING
> ---
> This electronic message and its attachments may contain 
confidential, proprietary or legally privileged information, which 
is solely for the use of the intended recipient.  No privilege or 
other rights are waived by any unintended transmission or 
unauthorized retransmission of this message.  If you are not the 
intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete 
it and all attachments from your system.  The reading, distribution, 
copying or other use of this message or its attachments by 
unintended recipients is unauthorized and may be unlawful.  If you 
have received this e-mail in error, please notify the sender.
> 
> AVIS IMPORTANT
> --
> Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés 
destinés au seul usage du destinataire visé.  L'expéditeur original 
ne renonce à aucun privilège ou à aucun autre droit si le présent 
message a été transmis involontairement ou s'il est retransmis sans 
son autorisation.  Si vous n'êtes pas le destinataire visé du 
présent message ou si vous l'avez reçu par erreur, veuillez cesser 
immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la 
copie ou tout autre usage du présent message ou de ses pièces 
jointes par des personnes autres que le destinataire visé ne sont 
pas autorisés et pourraient être illégaux.  Si vous avez reçu ce 
courrier électronique par erreur, veuillez en aviser l'expéditeur.
>







--
Flexcoders Mailing 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] conversion to flex2 final *hell*

2006-07-06 Thread hank williams



So i have not wanted to do it. because I just knew it wouldnt work right. And I wanted to remain productive. But finally I had to give in and install flex2 final because I have a problem that is almost certainly a flex2 beta3 problem.
So The first thing I did was uninstall beta 3. Then I uninstalled flash player 9 beta.Then I ran the new installer. Everything goes smoothly.I try to run my app. There is a problem. After 30 minutes or so trying to figure out what is going wrong I look at the error output a little more closely.
I am failing in DataGrid code. But what DataGrid code? Beta3. The path is to beta3 code So I go to my eclipse folder and I realize that I still have the beta3 SDK on my computer and Flex is obviously confused. And why not. I'm confused too. I guess the uninstaller only partially uninstalls. So now I am in some halfway nether world with absolutely no clue as to what to do. I guess I will just try to manually delete everything on my computer that has anything to do with flex. But I doubt that will work because windows installs always leave little uhh... droppings throughout your computer. In your registry and elsewhere. Usually the uninstaller is the only think that has a shot of getting you clean. But that didnt work. So now I am stuck.
I guess I'll just start hacking and pray.How hard is it to make an uninstaller do the right thing?Damn!Hank

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Binding in Flex 2.0, Cairngorm 2.0

2006-07-06 Thread Moishe Groger
Right... I guess it depends on your definition of "works".  I don't think
the behavior my form is exhibiting looks very professional, imho.  :-)

I'm also having some problems with data binding in itemRenderers.  I need to
run a function whenever the data object changes.  I tried calling the
function on dataChange, creationComplete and initialize but the function
still does not run if the data changes before that area of the application
has been created.  What is the correct event to listen for?

Thanks,
Moishe Groger

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, July 06, 2006 8:44 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Binding in Flex 2.0, Cairngorm 2.0

On Thursday 06 July 2006 07:32, mgrogero wrote:
> ModelLocator.  Is that why this method of resetting the form doesn't 
> work anymore?

It's not like it doesn't work - it's just it red-outlines all the required
fields straight away. 

--
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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



 








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

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

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

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

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




Re: [flexcoders] Applet running on Flex (production version)

2006-07-06 Thread John Dowdell
I think that project description may boil down to the question "How can 
I display a Java applet within a SWF in my audience's various browsers?" 
(If I'm understanding the wrong question from the project description, 
then please advise.)

If I'm looking at the correct question, then there is no direct answer, 
because web browsers can allocate a rectangular area of the screen to 
browser extensions like plugins and applets. Browser technology does not 
offer a way to literally put an applet inside a plugin's display.

That said, though, there may be ways to get an effect similar to what 
you wish:

a)  You could *try* WMODE overlay support, but this varies with browser, 
and even when it worked would probably be a little strange, to try to 
overlay an applet atop a plugin.

b)  Another technique to give the appearance of an applet within a SWF 
would be to put a frame of SWF around the applet: four individual SWFs, 
placed seamlessly together, with the applet in the center. That's five 
engines running simultaneously, though, and could also be strange in 
some browsers.

c)  Other possibilities would depend on what communication abilities 
your scanning applet possesses -- it could send image data to the server 
which is then dynamically loaded by a single SWF, or might be able to 
pass numeric image data to the browser which then passes it to the SWF 
which then uses imaging techniques to create the image from the data, etc.

I'm guessing we're talking about getting image data from a desktop 
photoscanner here, where the user might put in a photo and see the 
material in their web browser. If so, then it seems simple to just use 
the applet in the regular way, either in the same HTML page or in its 
own popup window... most users would find it natural to see and approve 
a photoscan in a new window, I think. But at this point I can't offer 
design tips on the project; all I know is that browsers do not tend to 
let you display an applet within a plugin. Maybe one of the above paths 
could lead you where you wish...?

jd




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


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

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

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

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

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





[flexcoders] Re: WebService & Cairngorm 2 Example

2006-07-06 Thread ben.clinkinbeard
Although I am quite the Flex noob, Darron's approach does seem to make
more sense to me. As I see it, it feels more like a traditional
Observer, offers the convenience of multiple responders and, as he
pointed out, uses an element of the Flex framework itself exactly as
intended.

At this point, the general community doesn't have much/anything
heavily relying on Cairngorm 2 since it is so new. I think its a good
change and a good time to make it.

Ben





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

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

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

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

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





[flexcoders] ItemRenderer with Button

2006-07-06 Thread g8torjoe
I have a dataGrid control with an itemRenderer containing a button. 
The button has a click handler which is defined as a private function
in the script tags.  Every time I try to compile I get an error:
"1180: Call to a possibly undefined method orderItem."  A PARTIAL
piece of the code is below.  I can't seem to figure out why this is
happening.  Thanks


  
  
  
  


   


  
   


private function orderItem():void
{
  var eventObj:CatalogEvent = new CatalogEvent("order");
  dispatchEvent(eventObj);
}





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

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

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

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

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




[flexcoders] Re: Cairngorm Responder interface changes

2006-07-06 Thread Tim Hoff
I'd appreciate the callback approach, so that you could choose to 
update bound state on the model or update control settings locally.  
That seems like a logical balance.  Inho (.015), not all state needs 
to be controled by the model.  If I wanted to clear a TextInput 
field or reset a RadioButtonGroup, based on the result of a command 
call, currently I'd have to clutter-up the ModelLocator with 
redundant state variables for these controls.  When, in fact, the 
state of these individual controls is irrelevant to the state of the 
application.  Yes, if the state of individual controls is needed in 
other parts of the application, it would be necessary to maintain 
state variables.  But, if the controls are isolated inside a view 
component, they can be more efficiently controled within the 
component itself.

Wish list: eventListener (responder) back to the gesture origin.

-TH

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> ...or you can have Commands support callbacks, and thus no need 
for state 
> variables, nor a need for your Commands to update those variables.
> 
> - Original Message - 
> From: "Steven Webster" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 06, 2006 3:57 PM
> Subject: RE: [flexcoders] Re: Cairngorm Responder interface changes
> 
> 
> Agreed.  Developers *have* to take responsibility for creating
> application-specific classes.  If your application has "10 million 
state
> variables", then having a StateMachine / StateManager seems like a
> logical refactoring to aim for.  If however, your application 
has "a
> decent number of states", no reason they can't be held in a single 
State
> class kept on the model (our typical solution), and if you only 
have 2
> or 3 states, even the State class can be overkill.
> 
> Just my $.02
> 
> Steven
> 
>   Steven Webster
> Practice Director (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6108
> m: +44 (0) 7917 428 947
> [EMAIL PROTECTED]
> 
> 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
> > Sent: 06 July 2006 16:01
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Re: Cairngorm Responder interface 
changes
> >
> > On Thursday 06 July 2006 14:49, JesterXL wrote:
> > > Just what I need, 10 billion more state variables to keep
> > track of...
> >
> > Point taken, but they don't all have to be flat i.e. direct
> > properties of the model.
> > You can have model.viewHelpers.* , model.thingsAboutFoo.* etc.
> >
> > --
> > Tom Chiverton
> >
> > 
> >
> > This email is sent for and on behalf of Halliwells LLP.
> >
> > Halliwells LLP is a limited liability partnership registered
> > in England and Wales under registered number OC307980 whose
> > registered office address is at St James's Court Brown Street
> > Manchester M2 2JF.  A list of members is available for
> > inspection at the registered office. Any reference to a
> > partner in relation to Halliwells LLP means a member of
> > Halliwells LLP. Regulated by the Law Society.
> >
> > CONFIDENTIALITY
> >
> > This email is intended only for the use of the addressee
> > named above and may be confidential or legally privileged.
> > If you are not the addressee you must not read it and must
> > not use any information contained in nor copy it nor inform
> > any person other than Halliwells LLP or the addressee of its
> > existence or contents.  If you have received this email in
> > error please delete it and notify Halliwells LLP IT
> > Department on 0870 365 8008.
> >
> > For more information about Halliwells LLP visit 
www.halliwells.com.
> >
> >
> >
> >  Yahoo! Groups Sponsor
> > ~--> See what's inside the new Yahoo!
> > Groups email.
> > http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
> > --
> > --~->
> >
> > --
> > Flexcoders Mailing List
> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>







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

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

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

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




RE: [flexcoders] Re: WebService & Cairngorm 2 Example

2006-07-06 Thread Dimitrios Gianninas





Just read the article, seems much cleaner, something 
definitely considering.
 
Also don't think its much of bother going from 1.x to 2.0, 
there are many changes to make upgrading anyways :)
 
Dimitrios 
Gianninas
RIA Developer
Optimal 
Payments Inc.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Steven 
WebsterSent: Thursday, July 06, 2006 3:53 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: WebService 
& Cairngorm 2 Example



Darron makes some very fair points; our reasoning for the 
current Cairngorm implementation was driven from some findings we had during the 
beta, which no longer seem to apply.  We'll have some discussion internally 
to reinforce our decisions, but Darron's approach seems a sensible and valid one 
that we may likely end up bringing into the main codebase.   

 
How would folks feel about us making that change ?  
We're always very reticent of API changes for backward compatibility.would 
folks be ok with this one ?
 
Steven
 


  
  

  


  
  

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

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  ben.clinkinbeardSent: 06 July 2006 16:07To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: WebService 
  & Cairngorm 2 Example
  
  
  Darron Schall just posted a great article about Cairngorm's 
  Responderinterface and what he considers to be a better 
  alternative.http://www.darronschall.com/weblog/archives/000234.cfm

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

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] Pivot Tables

2006-07-06 Thread digitalnovanet
Anyone ever seen a flex or flash based Pivot Table?  If not, anyone
have an idea how it can be made?





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

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

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

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

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





[flexcoders] Re: Chart watermark won't go away in SDK

2006-07-06 Thread vanhoese
I also tried that and still no go.  I still think it's related to 
the mxmlc build.

-Andy

--- In flexcoders@yahoogroups.com, James Ward <[EMAIL PROTECTED]> wrote:
>
> Try to also clear your browser's cache.
> 
> -James
> 
> 
> On Wed, 2006-07-05 at 20:17 +, vanhoese wrote:
> > I followed the instructions from the readme_charting.htm for the 
> > standalone Flex SDK. I also removed the generated cache file 
that is 
> > created when I call mxmlc from the java command through ANT. the 
new 
> > compiled swf still has watermarked charts. Is seems like 
something is 
> > still cached. Has anybody had success installing the serial key 
after 
> > you had used the charting trial? 
> > 
> > Here's my OS and java versions:
> > > uname -a
> > SunOS utopia 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-V240
> > > java -version
> > java version "1.4.2_06"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-
b03)
> > Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
> > > 
> > 
> > 
> > 
> > 
> >
>







 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] when I deploy samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy

2006-07-06 Thread Tom Bray



The only commons-logging jars came from deploying flex and samples.  I searched from the root of JRun and found four copies in the following locations:c:\JRun4\servers\default\flex\WEB-INF\libc:\JRun4\servers\default\flex\WEB-INF\flex\jars
c:\JRun4\servers\default\samples\WEB-INF\libc:\JRun4\servers\default\samples\WEB-INF\flex\jarsI removed one of the copies from the samples app to get it to work.  I'm using a fresh install of JRun expressly for deploying Flex, so I haven't added or modified anything from the default installation.
-TomOn 7/6/06, Carson Hager <[EMAIL PROTECTED]> wrote:













  






Either JRun doesn't normally come bundled with commons 
logging or they removed it from the server level classloader in the bundling 
with FDS. Have you looked to see where else commons logging is located?  It 
is likely in a directory called lib or something to that effect on the server 
level well above the location of your web applications.
 
 
Carson
 

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


From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Bray
Sent: 
Thursday, July 06, 2006 11:39 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] when I deploy 
samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: 
Invalid class loader hierarchy


I'm curious to know why FDS with integrated JRun doesn't have this problem 
with the samples, yet it has the same jars in the same 
place.Thanks,Tom
On 7/6/06, Tom Bray 
<[EMAIL PROTECTED]> wrote:

  Thanks, Carson.  I removed commons-logging.jar from 
  samples/WEB-INF/lib and everything is working great now.  It's also in 
  samples/WEB-INF/flex/jars.
  -Tom
  
  On 7/6/06, Carson 
  Hager <[EMAIL PROTECTED]> wrote:
  





You have 
commons logging classes in more than one place which is causing the 
classloader to choke.  The likely cause of this is a commons logging 
jar in the server level classpath.  If you don't need it there for 
other applications, remove it and restart JRun.
 
 
Carson

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


From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Tom 
BraySent: Thursday, July 06, 2006 10:21 AMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] 
when I deploy samples in JRun, I get: 
org.apache.commons.logging.LogConfigurationException: Invalid class loader 
hierarchy



The most detailed instructions I've found for deploying FDS and the 
samples on JRun is this:"For example, for JRun 4 u6, expand the 
flex.war, samples.war, and flex-admin.war files to directories named flex, 
samples, and flex-admin, respectively. Then copy these directories to the 
root of your JRun server instance."I assume that means 
this:C:\JRun4\servers\default\flexC:\JRun4\servers\default\flex-adminC:\JRun4\servers\default\samplesBut 
there must be something else I have to do for the samples because I can't 
deploy them without the following exceptions: 07/06 10:13:43 error 
Could not pre-load servlet: 
MessageBrokerServlet[1]org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationExcept ion: Invalid class 
loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused 
by org.apache.commons.logging.LogConfigurationException : 
Invalid class loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused 
by org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException : Invalid class 
loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. 
(Caused by org.apache.commons.logging.LogConfigurationException: Invalid 
class loader hierarchy.  You have more than one version of 'org. 
apache.commons.logging.Log' visible, which is not 
allowed.))    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)    
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance 
(LogFactoryImpl.java:235)    
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)    
at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)    
at 
org.apache.commons.httpclient.params.DefaultHttpParams.(DefaultHttpParams.java:

Re: [flexcoders] Re: ColdFusion vs. PHP as the back-end

2006-07-06 Thread Impudent1
So what does one do then if they are making an application for release?

I have people wanting php vs .net for the simple fact they can put in on 
any server on any os freely. As well, from the tests I have seen, php 
seems to be a lot faster given similar server loads.

So to me it seems to come down to easy/quickness of development at a 
cost. Or go free and have more control but potentially longer deployment 
times?

Impudent1
LeapFrog Productions


 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Re: WebService & Cairngorm 2 Example

2006-07-06 Thread Steven Webster





Darron makes some very fair points; our reasoning for the 
current Cairngorm implementation was driven from some findings we had during the 
beta, which no longer seem to apply.  We'll have some discussion internally 
to reinforce our decisions, but Darron's approach seems a sensible and valid one 
that we may likely end up bringing into the main codebase.   

 
How would folks feel about us making that change ?  
We're always very reticent of API changes for backward compatibility.would 
folks be ok with this one ?
 
Steven
 


  
  

  


  
  

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

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
  ben.clinkinbeardSent: 06 July 2006 16:07To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: WebService 
  & Cairngorm 2 Example
  
  
  Darron Schall just posted a great article about Cairngorm's 
  Responderinterface and what he considers to be a better 
  alternative.http://www.darronschall.com/weblog/archives/000234.cfm
__._,_.___





--
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: Using and image as a link

2006-07-06 Thread Rob Rusher



I suggest just adding a click event on you image object in which the event handler uses the navigateToURL() method. You can find out how to use navigateToURL here:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=1010.htmlYou might also change the cursor to a hand on mouseover. I blogged this a while back. 
http://www.robrusher.com/1/2006/01/Using-useHandCursor-in-Flex.cfmHTHOn 7/6/06, 
Matt Horn <[EMAIL PROTECTED]> wrote:













  



Link is now LinkButton. Can you send me a link to any errors in current
doc? Tnks,

matt horn
flex docs 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com] On Behalf Of Henry
> Sent: Thursday, July 06, 2006 2:31 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Using and image as a link
> 
> Thanks for the information. I was looking online this morning 
> after i posted hoping to find something and i ran across a 
> mx:Link tag that actually inherited from the button tag. Did 
> that tag get taken away in Flex 2.0? I tried it this morning 
> and it would throw an error and not compile when used as 
> listed in the documentation. 
> 
> tfth!
> 
> henry iii
> 
> --- In flexcoders@yahoogroups.com 
> flexcoders%40yahoogroups.com> , "Matt Horn" <[EMAIL PROTECTED]> wrote:

> >
> > You could use a button and define the skins to be the same 
> graphic (so 
> > it doesnt change like a button normally would when its 
> state changes):
> > 
> > Button {
> > upSkin:Embed("../assets/mygraphic.jpg");
> > downSkin:Embed("../assets/mygraphic.jpg");
> > overSkin:Embed("../assets/mygraphic.jpg");
> > }
> > 
> > THen you just specify the click handler as you would with 
> any button:
> > 
> > 
> > 
> > Just dont specify a label for the button. That will muck up 
> the sizing 
> > of the button and the text will bleed through your image.
> > 
> > hth,
> > 
> > matt horn
> > flex docs
> > 
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > > flexcoders%40yahoogroups.com>
> > > [mailto:flexcoders@yahoogroups.com 
> > > flexcoders%40yahoogroups.com> ] On Behalf Of Henry

> > > Sent: Thursday, July 06, 2006 8:37 AM
> > > To: flexcoders@yahoogroups.com 
> flexcoders%40yahoogroups.com>
> > > Subject: [flexcoders] Using and image as a link
> > > 
> > > I have been trying to get and image to go to a URL on a 
> click. I am 
> > > sure that I am making this harder than it should be. 
> However i would 
> > > like to know how you guys/gals might be doing this. I was 
> trying to 
> > > use an actionscript function that is predefined in Flash, 
> but that 
> > > does not seem to work.
> > > 
> > > Do I need to create my own actionscript for this?, or is there 
> > > something i am missing that is super simple?
> > > 
> > > Thanks so much for your help!
> > > 
> > > 
> > > 
> > > 
> > >
> >
> 
> 
> 
>  
> 

  













-- -- Regards,Rob RusherAdobe Certified Breeze, ColdFusion MX and Flex 2 Instructorm: 303-885-7044im: robrusher

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Using and image as a link

2006-07-06 Thread Henry
HAHA, it would help if I were to look in the correct documentation.  I
just noticed i googled up into the version 1.5 of this.  Thanks a ton
for the help.  If i find any error in the documentation, I will let
you guys know.  You guys rock!



--- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
>
> Link is now LinkButton. Can you send me a link to any errors in current
> doc? Tnks,
> 
> matt horn
> flex docs 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Henry
> > Sent: Thursday, July 06, 2006 2:31 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Using and image as a link
> > 
> > Thanks for the information. I was looking online this morning 
> > after i posted hoping to find something and i ran across a 
> > mx:Link tag that actually inherited from the button tag. Did 
> > that tag get taken away in Flex 2.0? I tried it this morning 
> > and it would throw an error and not compile when used as 
> > listed in the documentation. 
> > 
> > tfth!
> > 
> > henry iii
> > 
> > --- In flexcoders@yahoogroups.com 
> >  , "Matt Horn"  wrote:
> > >
> > > You could use a button and define the skins to be the same 
> > graphic (so 
> > > it doesnt change like a button normally would when its 
> > state changes):
> > > 
> > > Button {
> > > upSkin:Embed("../assets/mygraphic.jpg");
> > > downSkin:Embed("../assets/mygraphic.jpg");
> > > overSkin:Embed("../assets/mygraphic.jpg");
> > > }
> > > 
> > > THen you just specify the click handler as you would with 
> > any button:
> > > 
> > > 
> > > 
> > > Just dont specify a label for the button. That will muck up 
> > the sizing 
> > > of the button and the text will bleed through your image.
> > > 
> > > hth,
> > > 
> > > matt horn
> > > flex docs
> > > 
> > > 
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com 
> > > > 
> > > > [mailto:flexcoders@yahoogroups.com 
> > > >  ] On Behalf Of Henry
> > > > Sent: Thursday, July 06, 2006 8:37 AM
> > > > To: flexcoders@yahoogroups.com 
> > 
> > > > Subject: [flexcoders] Using and image as a link
> > > > 
> > > > I have been trying to get and image to go to a URL on a 
> > click. I am 
> > > > sure that I am making this harder than it should be. 
> > However i would 
> > > > like to know how you guys/gals might be doing this. I was 
> > trying to 
> > > > use an actionscript function that is predefined in Flash, 
> > but that 
> > > > does not seem to work.
> > > > 
> > > > Do I need to create my own actionscript for this?, or is there 
> > > > something i am missing that is super simple?
> > > > 
> > > > Thanks so much for your help!
> > > > 
> > > > 
> > > > 
> > > > 
> > > >
> > >
> > 
> > 
> > 
> >  
> >
>







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

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

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

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

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





Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-06 Thread JesterXL
...or you can have Commands support callbacks, and thus no need for state 
variables, nor a need for your Commands to update those variables.

- Original Message - 
From: "Steven Webster" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 06, 2006 3:57 PM
Subject: RE: [flexcoders] Re: Cairngorm Responder interface changes


Agreed.  Developers *have* to take responsibility for creating
application-specific classes.  If your application has "10 million state
variables", then having a StateMachine / StateManager seems like a
logical refactoring to aim for.  If however, your application has "a
decent number of states", no reason they can't be held in a single State
class kept on the model (our typical solution), and if you only have 2
or 3 states, even the State class can be overkill.

Just my $.02

Steven

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



> -Original Message-
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
> Sent: 06 July 2006 16:01
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: Cairngorm Responder interface changes
>
> On Thursday 06 July 2006 14:49, JesterXL wrote:
> > Just what I need, 10 billion more state variables to keep
> track of...
>
> Point taken, but they don't all have to be flat i.e. direct
> properties of the model.
> You can have model.viewHelpers.* , model.thingsAboutFoo.* etc.
>
> --
> Tom Chiverton
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered
> in England and Wales under registered number OC307980 whose
> registered office address is at St James's Court Brown Street
> Manchester M2 2JF.  A list of members is available for
> inspection at the registered office. Any reference to a
> partner in relation to Halliwells LLP means a member of
> Halliwells LLP. Regulated by the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee
> named above and may be confidential or legally privileged.
> If you are not the addressee you must not read it and must
> not use any information contained in nor copy it nor inform
> any person other than Halliwells LLP or the addressee of its
> existence or contents.  If you have received this email in
> error please delete it and notify Halliwells LLP IT
> Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
>
>  Yahoo! Groups Sponsor
> ~--> See what's inside the new Yahoo!
> Groups email.
> http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
> --
> --~->
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>



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








 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Re: Using and image as a link

2006-07-06 Thread Matt Horn
Link is now LinkButton. Can you send me a link to any errors in current
doc? Tnks,

matt horn
flex docs 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Henry
> Sent: Thursday, July 06, 2006 2:31 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Using and image as a link
> 
> Thanks for the information. I was looking online this morning 
> after i posted hoping to find something and i ran across a 
> mx:Link tag that actually inherited from the button tag. Did 
> that tag get taken away in Flex 2.0? I tried it this morning 
> and it would throw an error and not compile when used as 
> listed in the documentation. 
> 
> tfth!
> 
> henry iii
> 
> --- In flexcoders@yahoogroups.com 
>  , "Matt Horn" <[EMAIL PROTECTED]> wrote:
> >
> > You could use a button and define the skins to be the same 
> graphic (so 
> > it doesnt change like a button normally would when its 
> state changes):
> > 
> > Button {
> > upSkin:Embed("../assets/mygraphic.jpg");
> > downSkin:Embed("../assets/mygraphic.jpg");
> > overSkin:Embed("../assets/mygraphic.jpg");
> > }
> > 
> > THen you just specify the click handler as you would with 
> any button:
> > 
> > 
> > 
> > Just dont specify a label for the button. That will muck up 
> the sizing 
> > of the button and the text will bleed through your image.
> > 
> > hth,
> > 
> > matt horn
> > flex docs
> > 
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > > 
> > > [mailto:flexcoders@yahoogroups.com 
> > >  ] On Behalf Of Henry
> > > Sent: Thursday, July 06, 2006 8:37 AM
> > > To: flexcoders@yahoogroups.com 
> 
> > > Subject: [flexcoders] Using and image as a link
> > > 
> > > I have been trying to get and image to go to a URL on a 
> click. I am 
> > > sure that I am making this harder than it should be. 
> However i would 
> > > like to know how you guys/gals might be doing this. I was 
> trying to 
> > > use an actionscript function that is predefined in Flash, 
> but that 
> > > does not seem to work.
> > > 
> > > Do I need to create my own actionscript for this?, or is there 
> > > something i am missing that is super simple?
> > > 
> > > Thanks so much for your help!
> > > 
> > > 
> > > 
> > > 
> > >
> >
> 
> 
> 
>  
> 


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

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

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

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

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




RE: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-06 Thread Steven Webster
Agreed.  Developers *have* to take responsibility for creating
application-specific classes.  If your application has "10 million state
variables", then having a StateMachine / StateManager seems like a
logical refactoring to aim for.  If however, your application has "a
decent number of states", no reason they can't be held in a single State
class kept on the model (our typical solution), and if you only have 2
or 3 states, even the State class can be overkill.

Just my $.02

Steven

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

 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
> Sent: 06 July 2006 16:01
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: Cairngorm Responder interface changes
> 
> On Thursday 06 July 2006 14:49, JesterXL wrote:
> > Just what I need, 10 billion more state variables to keep 
> track of...
> 
> Point taken, but they don't all have to be flat i.e. direct 
> properties of the model.
> You can have model.viewHelpers.* , model.thingsAboutFoo.* etc.
> 
> --
> Tom Chiverton
> 
> 
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells LLP is a limited liability partnership registered 
> in England and Wales under registered number OC307980 whose 
> registered office address is at St James's Court Brown Street 
> Manchester M2 2JF.  A list of members is available for 
> inspection at the registered office. Any reference to a 
> partner in relation to Halliwells LLP means a member of 
> Halliwells LLP. Regulated by the Law Society.
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use of the addressee 
> named above and may be confidential or legally privileged.  
> If you are not the addressee you must not read it and must 
> not use any information contained in nor copy it nor inform 
> any person other than Halliwells LLP or the addressee of its 
> existence or contents.  If you have received this email in 
> error please delete it and notify Halliwells LLP IT 
> Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit www.halliwells.com.
> 
> 
> 
>  Yahoo! Groups Sponsor 
> ~--> See what's inside the new Yahoo! 
> Groups email.
> http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
> --
> --~-> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 


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

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

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

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

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





RE: [flexcoders] Menu - handle sub-menu clicks

2006-07-06 Thread Deepa Subramaniam












What build of Flex are you using? I see
MenuEvent.ITEM_CLICK  being dispatched for sub-menu selections as well as root
menu selections.

 

If you could post a bit of code that
reproduces your issue, that would help too.

 

-deepa

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of chrislee943
Sent: Wednesday, July 05, 2006
4:27 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Menu -
handle sub-menu clicks



 







Hello all,

There is a need to handle MenuEvent.ITEM_CLICK for sub-menus of the
standard Menu component. Basically I need this for a case when there
is a huge amount of data to show in the menu and click on sub-menu
would show a new menu from the current level. So event must contain at
least id of current menu item. And seems like only ITEM_CLICK contains
this info. But ITEM_CLICK is not dispatched for sub-menu clicks.

Thank you in advance,

Dmitry.






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] datagrid.selectedItem.image (don't work)

2006-07-06 Thread Deepa Subramaniam












If your DataGrid is consuming e4x XML as
its dataProvider, then the selectedItem value will be an e4x XML node. Is ‘imagen’
an attribute of the selected node or a child? If its an attribute then you’ll
need to do: source=[EMAIL PROTECTED]
in your Image tag. If imagen is a child node, you probably need to dot down
correctly to it. Trace out selectedItem and you’ll see the structure of the
XML and then formulate an _expression_ accordingly.

 

-deepa 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of tonyx_788
Sent: Thursday, July 06, 2006 9:33
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
datagrid.selectedItem.image (don't work)



 







i'm using e4x
2questions
everything else works great but the images won't show when using
e4x,if i use http it'll display the image ok
anyone knows why?

and the datatip willshow everything on the xml, when hover the
datagrid why?

...
"{xlc}" height="419"
editable="false" width="150" id="datagrid"
scroll="true"
change="xlc,cargarDatos.refresh()" x="0"
y="0">

"true"

dataTipField="name"/>


..


visible="true" scaleContent="true"
source="{datagrid.selectedItem.imagen}" horizontalAlign="center"/>







__._,_.___





--
Flexcoders Mailing 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: FDS on CFMX configuration problems

2006-07-06 Thread Jim
I tried the same thing (combining FDS with CFMX 7.0.2) using the 
same technote and wasn't able to get it to work. I emailed an 
insider at Adobe on the Coldfusion team I met at the CFObjective 
conference and learned that they aren't very happy with that 
technote and recommended that I run FDS and CFMX separately for now.

I haven't tried that yet, but apparently you did and it was 
working, which is encouraging to me. I've spent three days trying to 
get FDS working with a fresh installation of CFMX 7 Multiserver
(JRun4) option. The WEB-INF directory installs in the nested 
directories within the JRun4 folder, but the new CF/Flex Wizard 
expects the WEB-INF to be in the webroot.

I've been having issues with the services-config.xml file. I found a 
copy of the file Ben Forta uses on the sys-con website which has 
worked so far.

But if you manage to combine FDS and CFMX 7 and get them working, 
please share what you did.

Thanks,

Jim Pickering

--- In flexcoders@yahoogroups.com, "Tom Bray" <[EMAIL PROTECTED]> wrote:
>
> When I first started working with FDS, I used the standalone 
version with
> integrated JRun and had FB configured to launch FDS and direct its 
logging
> to the output pane in FB.  I was happy.
> 
> Now, I'm trying to configure FDS on top of CFMX and haven't had 
much
> success.  I used the instructions below at this link:
> http://www.adobe.com/cfusion/knowledgebase/index.cfm?
id=4f079a4d&pss=rss_flex_4f079a4d.
> It would be very helpful if Adobe would expand upon those 
instructions with
> the steps for getting the sample apps up and running.
> 
> Also, the instructions for setting up debugging (
> 
http://labs.adobe.com/wiki/index.php/Flex_Enterprise_Services:Debuggi
ng)
> need to be updated for the final release of FDS and I'd love to 
see a
> similar document for setting up debugging with FDS on CFMX.
> 
> In the meantime, I'm having errors that I don't know how to get 
additional
> information on.  I'm trying to get the notes sample app running, 
and I get
> this error:
> 
> [RPC Fault faultString="Send failed" 
faultCode="Client.Error.MessageSend"
> faultDetail="Channel.Connect.Failed error 
NetConnection.Call.Failed: HTTP:
> Status 500"]
> 
> Subscribing to the notes destination works, but sending a message 
doesn't.
> I obviously need more details to diagnose the problem, so an 
explanation of
> how to see that logging information would be awesome.
> 
> Thanks,
> 
> Tom
>







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

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

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

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

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




[flexcoders] [Flex 1.5] Question about RSL and Custom Components

2006-07-06 Thread Pablo Apanasionek





Hey 
folks,
 
I happen to have 
something in hands that has me a bit disoriented:
 
1) MXML file 
(let's call it A) using RSL file and some normal mx. components plus some custom 
components (done exclusively with other mx. components)
2) RSL file has 
the mx. components and the custom ones (this I've already proven to be 
unimportant, but just telling you)
3) When A loads, 
it first calls some initialization methods, some data services, then call 
internationalization method which sets labels according to user language (this 
is done in another control using XML file, on initialize event, to avoid the 
small time showing no labels)
 
Thing is: after A 
being loaded, all components (label, button, combo, etc) shows its label/text in 
the correct way, except  a custom component (.as) containing nothing but an 
extension of mx.containers.FormItem and a label. This remains "unlabeled". The 
other custom components (.mxml) are labeled correctly too.
 
Mystery shows up 
when I remove the "rsl" tag of A, then all controls (mx./.as/.mxml) are labeled 
correctly.
 
Any 
clue?
 
Thanks in 
advance!
 
--Pablo Gustavo 
Apanasionek
__._,_.___





--
Flexcoders Mailing 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] when I deploy samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy

2006-07-06 Thread Carson Hager





Either JRun doesn't normally come bundled with commons 
logging or they removed it from the server level classloader in the bundling 
with FDS. Have you looked to see where else commons logging is located?  It 
is likely in a directory called lib or something to that effect on the server 
level well above the location of your web applications.
 
 
Carson
 

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


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom BraySent: 
Thursday, July 06, 2006 11:39 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] when I deploy 
samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: 
Invalid class loader hierarchy


I'm curious to know why FDS with integrated JRun doesn't have this problem 
with the samples, yet it has the same jars in the same 
place.Thanks,Tom
On 7/6/06, Tom Bray 
<[EMAIL PROTECTED]> wrote:

  Thanks, Carson.  I removed commons-logging.jar from 
  samples/WEB-INF/lib and everything is working great now.  It's also in 
  samples/WEB-INF/flex/jars.
  -Tom
  
  On 7/6/06, Carson 
  Hager <[EMAIL PROTECTED]> wrote:
  





You have 
commons logging classes in more than one place which is causing the 
classloader to choke.  The likely cause of this is a commons logging 
jar in the server level classpath.  If you don't need it there for 
other applications, remove it and restart JRun.
 
 
Carson

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


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom 
BraySent: Thursday, July 06, 2006 10:21 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
when I deploy samples in JRun, I get: 
org.apache.commons.logging.LogConfigurationException: Invalid class loader 
hierarchy



The most detailed instructions I've found for deploying FDS and the 
samples on JRun is this:"For example, for JRun 4 u6, expand the 
flex.war, samples.war, and flex-admin.war files to directories named flex, 
samples, and flex-admin, respectively. Then copy these directories to the 
root of your JRun server instance."I assume that means 
this:C:\JRun4\servers\default\flexC:\JRun4\servers\default\flex-adminC:\JRun4\servers\default\samplesBut 
there must be something else I have to do for the samples because I can't 
deploy them without the following exceptions: 07/06 10:13:43 error 
Could not pre-load servlet: 
MessageBrokerServlet[1]org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationExcept ion: Invalid class 
loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused 
by org.apache.commons.logging.LogConfigurationException : 
Invalid class loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused 
by org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException : Invalid class 
loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. 
(Caused by org.apache.commons.logging.LogConfigurationException: Invalid 
class loader hierarchy.  You have more than one version of 'org. 
apache.commons.logging.Log' visible, which is not 
allowed.))    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)    
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance 
(LogFactoryImpl.java:235)    
at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)    
at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)    
at 
org.apache.commons.httpclient.params.DefaultHttpParams.(DefaultHttpParams.java:53)    
at 
flex.messaging.services.http.HTTPProxyAdapter.(HTTPProxyAdapter.java:111)    
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native 
Method)    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)    
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java 
:27)    at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)    
at 
java.lang.Class.newInstance0(Class.java:350)    
at 
java.lang.Class.newInstance(Class.java:303)    

[flexcoders] Re: Legend not Updating

2006-07-06 Thread Brendan Meutzner



Nobody else has tried this yet?  On 7/5/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote:
Hi,I'm creating my the series for my Chart instance dynamically.  When I change the yField value for a series it isn't updating the associated legend which uses my Chart instance as it's dataProvider.  Do I actually have to destroy and recreate the series for the Legend to update?
Brendan



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Problem auto Refresh in datagrid

2006-07-06 Thread tonyx_788

the problem is that everytime i click on any name or scroll on the
datagrid it refreshes to fast
anyone know something so it wll go slower









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

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

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

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

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





RE: [flexcoders] iFrame

2006-07-06 Thread Kelly Birr
Here is the code I'm using for IFrames in Flex2, I have no idea if posing
code like this is appropriate for this list or not.  If not, would someone
please let me know.

This is basically just a port of the Flex 1.5 sample from
http://coenraets.com/viewarticle.jsp?articleId=95 put into a Flex 2.0
ActionScript Class.  It works properly as-is in IE6 but to work in FireFox
it requires WMode=Opaque in the Player's EMBED tag.

This code is strictly experimental. I am not using it in production and no
warranty is expressed or implied.

- Kelly

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of redwylie
Sent: Thursday, July 06, 2006 9:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] iFrame

Does anyone have any insight as to why the iFrame demos no longer compile

This is the error

1046: Type was not found or was not a compile-time constant: iFrame

thanks






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

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



 





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

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

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

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

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


IFrame.as
Description: Binary data

function moveIFrame(x,y,w,h) {
var frameRef=document.getElementById("myFrame");
frameRef.style.left=x;
frameRef.style.top=y;
frameRef.width=w;
frameRef.height=h;
}

function hideIFrame(){
document.getElementById("myFrame").style.visibility="hidden";
}

function showIFrame(){
document.getElementById("myFrame").style.visibility="visible";
}

function loadIFrame(url){
top.frames["myFrame"].location.href=url;
}






Re: [flexcoders] when I deploy samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy

2006-07-06 Thread Tom Bray



I'm curious to know why FDS with integrated JRun doesn't have this problem with the samples, yet it has the same jars in the same place.Thanks,TomOn 7/6/06, 
Tom Bray <[EMAIL PROTECTED]> wrote:
Thanks, Carson.  I removed commons-logging.jar from samples/WEB-INF/lib and everything is working great now.  It's also in samples/WEB-INF/flex/jars.-Tom
On 7/6/06, 
Carson Hager <[EMAIL PROTECTED]> wrote:














  






You have commons logging classes in more than one place 
which is causing the classloader to choke.  The likely cause of this is a 
commons logging jar in the server level classpath.  If you don't need it 
there for other applications, remove it and restart JRun.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: 
Thursday, July 06, 2006 10:21 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] when I deploy samples 
in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid 
class loader hierarchy


The most detailed instructions I've found for deploying FDS and the samples 
on JRun is this:"For example, for JRun 4 u6, expand the flex.war, 
samples.war, and flex-admin.war files to directories named flex, samples, and 
flex-admin, respectively. Then copy these directories to the root of your JRun 
server instance."I assume that means 
this:C:\JRun4\servers\default\flexC:\JRun4\servers\default\flex-adminC:\JRun4\servers\default\samplesBut 
there must be something else I have to do for the samples because I can't deploy 
them without the following exceptions: 07/06 10:13:43 error Could not 
pre-load servlet: 
MessageBrokerServlet[1]org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationExcept ion: Invalid class loader 
hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by 
org.apache.commons.logging.LogConfigurationException 
: Invalid class loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException : Invalid class loader 
hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused 
by org.apache.commons.logging.LogConfigurationException: Invalid class 
loader hierarchy.  You have more than one version of 'org. 
apache.commons.logging.Log' visible, which is not 
allowed.))    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)    
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance 
(LogFactoryImpl.java:235)    at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)    
at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)    
at 
org.apache.commons.httpclient.params.DefaultHttpParams.(DefaultHttpParams.java:53)    
at 
flex.messaging.services.http.HTTPProxyAdapter.(HTTPProxyAdapter.java:111)    
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native 
Method)    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)    
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java 
:27)    at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)    
at 
java.lang.Class.newInstance0(Class.java:350)    
at 
java.lang.Class.newInstance(Class.java:303)    
at flex.messaging.util.ClassUtil.createDefaultInstance 
(ClassUtil.java:71)    at 
flex.messaging.Destination.createAdapter(Destination.java:277)    
at 
flex.messaging.Destination.initDestination(Destination.java:103)    
at flex.messaging.services.HTTPProxyService.createDestination 
(HTTPProxyService.java:78)    at 
flex.messaging.services.AbstractService.createDestinations(AbstractService.java:82)    
at 
flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java 
:187)    at 
flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:84)    
at 
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105)    
at 
jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1200)    
at 
jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:791)    
at jrun.servlet.WebApplicationService.postStart 
(WebApplicationService.java:293)    
at 
jrun.deployment.DeployerService.initModules(DeployerService.java:711)    
at 
jrun.deployment.DeployerService.createWatchedDeployment(Dep

[flexcoders] Re: Using and image as a link

2006-07-06 Thread Henry
Thanks for the information.  I was looking online this morning after i
posted hoping to find something and i ran across a mx:Link tag that
actually inherited from the button tag.  Did that tag get taken away
in Flex 2.0?  I tried it this morning and it would throw an error and
not compile when used as listed in the documentation.  

tfth!

henry iii


--- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
>
> You could use a button and define the skins to be the same graphic (so
> it doesnt change like a button normally would when its state changes):
> 
>   Button {
>   upSkin:Embed("../assets/mygraphic.jpg");
>   downSkin:Embed("../assets/mygraphic.jpg");
>   overSkin:Embed("../assets/mygraphic.jpg");
>   }
> 
> THen you just specify the click handler as you would with any button:
> 
>   
> 
> Just dont specify a label for the button. That will muck up the sizing
> of the button and the text will bleed through your image.
> 
> hth,
> 
> matt horn
> flex docs
>  
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Henry
> > Sent: Thursday, July 06, 2006 8:37 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Using and image as a link
> > 
> > I have been trying to get and image to go to a URL on a 
> > click. I am sure that I am making this harder than it should 
> > be. However i would like to know how you guys/gals might be 
> > doing this. I was trying to use an actionscript function that 
> > is predefined in Flash, but that does not seem to work. 
> > 
> > Do I need to create my own actionscript for this?, or is 
> > there something i am missing that is super simple? 
> > 
> > Thanks so much for your help!
> > 
> > 
> > 
> >  
> >
>






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

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

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

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

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





Re: [flexcoders] when I deploy samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy

2006-07-06 Thread Tom Bray



Thanks, Carson.  I removed commons-logging.jar from samples/WEB-INF/lib and everything is working great now.  It's also in samples/WEB-INF/flex/jars.-TomOn 7/6/06, 
Carson Hager <[EMAIL PROTECTED]> wrote:













  






You have commons logging classes in more than one place 
which is causing the classloader to choke.  The likely cause of this is a 
commons logging jar in the server level classpath.  If you don't need it 
there for other applications, remove it and restart JRun.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tom BraySent: 
Thursday, July 06, 2006 10:21 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] when I deploy samples 
in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid 
class loader hierarchy


The most detailed instructions I've found for deploying FDS and the samples 
on JRun is this:"For example, for JRun 4 u6, expand the flex.war, 
samples.war, and flex-admin.war files to directories named flex, samples, and 
flex-admin, respectively. Then copy these directories to the root of your JRun 
server instance."I assume that means 
this:C:\JRun4\servers\default\flexC:\JRun4\servers\default\flex-adminC:\JRun4\servers\default\samplesBut 
there must be something else I have to do for the samples because I can't deploy 
them without the following exceptions: 07/06 10:13:43 error Could not 
pre-load servlet: 
MessageBrokerServlet[1]org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationExcept ion: Invalid class loader 
hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by 
org.apache.commons.logging.LogConfigurationException 
: Invalid class loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException : Invalid class loader 
hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused 
by org.apache.commons.logging.LogConfigurationException: Invalid class 
loader hierarchy.  You have more than one version of 'org. 
apache.commons.logging.Log' visible, which is not 
allowed.))    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)    
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance 
(LogFactoryImpl.java:235)    at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)    
at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)    
at 
org.apache.commons.httpclient.params.DefaultHttpParams.(DefaultHttpParams.java:53)    
at 
flex.messaging.services.http.HTTPProxyAdapter.(HTTPProxyAdapter.java:111)    
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native 
Method)    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)    
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java 
:27)    at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)    
at 
java.lang.Class.newInstance0(Class.java:350)    
at 
java.lang.Class.newInstance(Class.java:303)    
at flex.messaging.util.ClassUtil.createDefaultInstance 
(ClassUtil.java:71)    at 
flex.messaging.Destination.createAdapter(Destination.java:277)    
at 
flex.messaging.Destination.initDestination(Destination.java:103)    
at flex.messaging.services.HTTPProxyService.createDestination 
(HTTPProxyService.java:78)    at 
flex.messaging.services.AbstractService.createDestinations(AbstractService.java:82)    
at 
flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java 
:187)    at 
flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:84)    
at 
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105)    
at 
jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1200)    
at 
jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:791)    
at jrun.servlet.WebApplicationService.postStart 
(WebApplicationService.java:293)    
at 
jrun.deployment.DeployerService.initModules(DeployerService.java:711)    
at 
jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242) 
    at 
jrun.deployment.DeployerService.deploy(DeployerService.java:430)    
at 
jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)  

[flexcoders] DataGrid with dependent columns... recommendation on implementation?

2006-07-06 Thread Scott Romer
Hi All - 

We have a dataGrid setup with an ArrayCollection as the dataProvider.
 In addition, we are making this dataGrid editable with ComboBoxes.  
Does anyone have any recommendations as to what would be a GREAT
approach to setup this with dependent columns?

i.e. Depending on what you choose from column 1, column 2's options
are changed.. similar with column 3 depending on column 2...

We have an implementation running, but has been troublesome with
workarounds for this and that.. so I am wondering if anyone wanted to
share ideas with alternate strategies..  

For instance, itemUpdated events are not listened to while editing the
same row when you tab through the columns.  This means that the
renderers are not updated while you tab.  If we extend the
ArrayCollection to override the enable/disableAutoUpdate methods, then
the rows are going to jump during sorting.  (This was the whole reason
that the itemUpdated events were queued..)

Looking for thoughts/ideas..
-Scott





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

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

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

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

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





[flexcoders] Re: Mixing and image and shapes

2006-07-06 Thread mudwump_vx
Thanks. I did not go in that direction at all, so I am glad that I
posted for help. This is exactly the type of thing I wanted to do.

--- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
>
> I think what you want to do is create a new UIComponent (in this case, a
> graphics object), and then call addChild to add it to the display list
> (so it will show up). Hopefully, this example will get you started:
> 
> 
> http://www.adobe.com/2006/mxml";
> backgroundImage="@Embed('../resources/bird.gif')">
> 
> 
> 
> 
> hth,
> 
> matt horn
> flex docs 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of mudwump_vx
> > Sent: Wednesday, July 05, 2006 10:49 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Mixing and image and shapes
> > 
> > I am a newbie at Flex, Flash and ActionScript, so please bear 
> > with me. I am trying to mix a background image (loaded via 
> > ) with placing a scalable circle on top of the 
> > image using ActionScript, but I can not figure out how to do 
> > this after two days of going through the documentation. I can 
> > get the image on the canvas just fine, but I am wrapped up 
> > trying to figure out how to incorporate the drawcircle(). I 
> > know it must be simple, but I can't figure out the right combination.
> > Can anyone help me? Thanks ahead of time.
> > 
> > 
> > 
> >  
> >
>






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

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

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

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

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




Re: [flexcoders] Download files

2006-07-06 Thread Joan Tan
Title: Re: [flexcoders] Download files





A couple of things to look out for.

#1 Make sure that your FileReference object is always in scope, otherwise when it goes out of scope, the download just cancels itself and you don’t get an error out. 
#2 If you try to download something not on your server, you get a security error.

Here is a simple example of a Flex app that downloads. Enter a url on your server in the TextInput to download.  I took most of this code from the FileReference.download ASDocs.  By the way, if you defined your FileReference inside the function, it doesn’t work (I believe this is due to #1). Good luck. 














On 7/6/06 8:57 AM, "Ingeniero Javier Cruz" <[EMAIL PROTECTED]> wrote:

 
 
 

Hello, I've a little problem 

I've to build an application that takes a file from the server an then let the user to download the file. An already read about the FileReference and FileReferenceList classes but I can't make my app works. I made a mxml application that define a Script section in witch I create a FileReference object but when a test the application it doesn't work.
I'd like to prube with a servlet but I don't know how to start.

If somebody can, please help me I will thank for a long long time. Or, if someone knows about a site with examples that can help me, I'll thank too.


 
 Horóscopos  , Salud y belleza  , Chistes  , Consejos de amor  .
 El contenido más divertido para tu celular está en
Yahoo! Móvil  
 




__._,_.___





--
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] Mixing and image and shapes

2006-07-06 Thread Matt Horn
I think what you want to do is create a new UIComponent (in this case, a
graphics object), and then call addChild to add it to the display list
(so it will show up). Hopefully, this example will get you started:


http://www.adobe.com/2006/mxml";
backgroundImage="@Embed('../resources/bird.gif')">




hth,

matt horn
flex docs 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of mudwump_vx
> Sent: Wednesday, July 05, 2006 10:49 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Mixing and image and shapes
> 
> I am a newbie at Flex, Flash and ActionScript, so please bear 
> with me. I am trying to mix a background image (loaded via 
> ) with placing a scalable circle on top of the 
> image using ActionScript, but I can not figure out how to do 
> this after two days of going through the documentation. I can 
> get the image on the canvas just fine, but I am wrapped up 
> trying to figure out how to incorporate the drawcircle(). I 
> know it must be simple, but I can't figure out the right combination.
> Can anyone help me? Thanks ahead of time.
> 
> 
> 
>  
> 


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

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

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

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

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





[flexcoders] datagrid.selectedItem.image (don't work)

2006-07-06 Thread tonyx_788
i'm using e4x
2questions
everything else works great but the images won't show when using
e4x,if i use http it'll display the image ok
anyone knows why?

and the datatip willshow everything on the xml, when hover the
datagrid why?

...





..









 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





RE: [flexcoders] Using and image as a link

2006-07-06 Thread Matt Horn
You could use a button and define the skins to be the same graphic (so
it doesnt change like a button normally would when its state changes):

Button {
upSkin:Embed("../assets/mygraphic.jpg");
downSkin:Embed("../assets/mygraphic.jpg");
overSkin:Embed("../assets/mygraphic.jpg");
}

THen you just specify the click handler as you would with any button:



Just dont specify a label for the button. That will muck up the sizing
of the button and the text will bleed through your image.

hth,

matt horn
flex docs
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Henry
> Sent: Thursday, July 06, 2006 8:37 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Using and image as a link
> 
> I have been trying to get and image to go to a URL on a 
> click. I am sure that I am making this harder than it should 
> be. However i would like to know how you guys/gals might be 
> doing this. I was trying to use an actionscript function that 
> is predefined in Flash, but that does not seem to work. 
> 
> Do I need to create my own actionscript for this?, or is 
> there something i am missing that is super simple? 
> 
> Thanks so much for your help!
> 
> 
> 
>  
> 


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

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

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

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

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





RE: [flexcoders] How to get client IP Address?

2006-07-06 Thread Matt Horn
I think the best way is to get the IP addy with whatever language you use in 
the wrapper (JSP, ASP, PHP, etc) and then pass it to the app as a flashvar 
variable.

hth,

matt horn
flex docs 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Luís Gustavo Sanabio
> Sent: Thursday, July 06, 2006 2:01 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] How to get client IP Address?
> 
> I use a PHP request to do this.
> 
> 
> 2006/7/6, Cleiton Luiz Coradelli <[EMAIL PROTECTED]>: 
> 
>   There is any way to get the client IP Address in Flex?
>
>   TIA
>
>
>   
>   .
>
>   
> 
> 
>  
> 


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

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

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

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

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




RE: [flexcoders] Re: Convert XML to Array(Collection)

2006-07-06 Thread Tracy Spratt












Is there a way to do this XMLList ==
ArrayCollection Type conversion in AS3?  I have been able to do it using a for
loop, but am wondering if there is some casting that can be used.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of theflashist
Sent: Wednesday, July 05, 2006
11:09 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Convert
XML to Array(Collection)



 







You
can use the XML as an external data model that the Array Collection can use
like




The value for source is the name of the model (xmldata), the name of the XML's root node (items in this example) and the child node
that the array will be based on (item).

HTH...

P E A C E

Hasan
www.marxmedia.net 
hasan.otuome.com 
thesourcecode.org 


--- In flexcoders@yahoogroups.com,
Michael van Leest <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I need to display XML data in a datagrid, but using the XML directly as 
> data provider doesn't work.
> Is there a easy way to convert a XML Object to an Array or 
> ArrayCollection?? Or do I need to loop over the nodes and
"manual" 
> create a Array for the datagrid?
> 
> Any info is appreciated.
> 
> Thanks, Michael
>






__._,_.___





--
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] How to get client IP Address?

2006-07-06 Thread Luís Gustavo Sanabio



I use a PHP request to do this.
2006/7/6, Cleiton Luiz Coradelli <[EMAIL PROTECTED]>:



There is any way to get the client IP Address in Flex?
 
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



   Visit your group "flexcoders" on the web. 
   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] Batch PDF Printing possible yet?

2006-07-06 Thread wayneposner
Howdy all...

Is the following possible:

I've got a tree where each node represents a single page pdf file.  
I'd like to loop through the tree, get each PDF file and send it to 
the printer without having to click OK or Print more than once for the 
entire job.  

I know there are some solutions out there that will print the pdf into 
an swf which can then be printed from within the flash player, but 
those will not work as each PDF contains embded 3D objects.  Only 
Acrobat and/or Reader currently know how to handle the 3D object.

So basically, I need to somehow, programatically, invoke the Acrobat 
print function from within the flash UI.  Doable???

Thanks!
Wayne





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

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

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

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

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




RE: [flexcoders] when I deploy samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy

2006-07-06 Thread Carson Hager





You have commons logging classes in more than one place 
which is causing the classloader to choke.  The likely cause of this is a 
commons logging jar in the server level classpath.  If you don't need it 
there for other applications, remove it and restart JRun.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom BraySent: 
Thursday, July 06, 2006 10:21 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] when I deploy samples 
in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid 
class loader hierarchy


The most detailed instructions I've found for deploying FDS and the samples 
on JRun is this:"For example, for JRun 4 u6, expand the flex.war, 
samples.war, and flex-admin.war files to directories named flex, samples, and 
flex-admin, respectively. Then copy these directories to the root of your JRun 
server instance."I assume that means 
this:C:\JRun4\servers\default\flexC:\JRun4\servers\default\flex-adminC:\JRun4\servers\default\samplesBut 
there must be something else I have to do for the samples because I can't deploy 
them without the following exceptions: 07/06 10:13:43 error Could not 
pre-load servlet: 
MessageBrokerServlet[1]org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationExcept ion: Invalid class loader 
hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by 
org.apache.commons.logging.LogConfigurationException 
: Invalid class loader hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by 
org.apache.commons.logging.LogConfigurationException: 
org.apache.commons.logging.LogConfigurationException : Invalid class loader 
hierarchy.  You have more than one version of 
'org.apache.commons.logging.Log' visible, which is not allowed. (Caused 
by org.apache.commons.logging.LogConfigurationException: Invalid class 
loader hierarchy.  You have more than one version of 'org. 
apache.commons.logging.Log' visible, which is not 
allowed.))    at 
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)    
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance 
(LogFactoryImpl.java:235)    at 
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)    
at 
org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)    
at 
org.apache.commons.httpclient.params.DefaultHttpParams.(DefaultHttpParams.java:53)    
at 
flex.messaging.services.http.HTTPProxyAdapter.(HTTPProxyAdapter.java:111)    
at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native 
Method)    at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)    
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java 
:27)    at 
java.lang.reflect.Constructor.newInstance(Constructor.java:494)    
at 
java.lang.Class.newInstance0(Class.java:350)    
at 
java.lang.Class.newInstance(Class.java:303)    
at flex.messaging.util.ClassUtil.createDefaultInstance 
(ClassUtil.java:71)    at 
flex.messaging.Destination.createAdapter(Destination.java:277)    
at 
flex.messaging.Destination.initDestination(Destination.java:103)    
at flex.messaging.services.HTTPProxyService.createDestination 
(HTTPProxyService.java:78)    at 
flex.messaging.services.AbstractService.createDestinations(AbstractService.java:82)    
at 
flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java 
:187)    at 
flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:84)    
at 
flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105)    
at 
jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1200)    
at 
jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:791)    
at jrun.servlet.WebApplicationService.postStart 
(WebApplicationService.java:293)    
at 
jrun.deployment.DeployerService.initModules(DeployerService.java:711)    
at 
jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242) 
    at 
jrun.deployment.DeployerService.deploy(DeployerService.java:430)    
at 
jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)    
at jrun.deployment.DeployerService.run 
(DeployerService.java:891)    at 
jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)    
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)  

[flexcoders] iFrame

2006-07-06 Thread redwylie
Does anyone have any insight as to why the iFrame demos no longer compile

This is the error

1046: Type was not found or was not a compile-time constant: iFrame

thanks






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

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

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

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

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





RE: [flexcoders] FlexPrintJob and large DataGrids?

2006-07-06 Thread Stephen Gilson





Sorry for the delay in responding, but there is an example 
in the released doc that does just what you are looking for:
 
http://livedocs.macromedia.com/flex/2/docs/0997.html 
 
Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
djbrown_rotonewsSent: Tuesday, June 20, 2006 4:40 
PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
FlexPrintJob and large DataGrids?


I've got a large DataGrid that the user needs to scroll (vertically) 
through to view completely. When I go to print this, I only get the 
portion that is currently displayed to print out (I'm using the dataGrid 
itself as the UI component to print, so that's not the issue). Any 
ideas?Here's the relevant snippets:public function 
printGrid(e:Event):void {import mx.printing.FlexPrintJob;var 
myPrintJob:FlexPrintJob = new 
FlexPrintJob();myPrintJob.start();myPrintJob.addObject(dgBags, 
FlexPrintJobScaleType.SHOW_ALL);myPrintJob.send();}dataProvider="{bags_xml}">
__._,_.___





--
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] when I deploy samples in JRun, I get: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy

2006-07-06 Thread Tom Bray



The most detailed instructions I've found for deploying FDS and the samples on JRun is this:"For example, for JRun 4 u6, expand the flex.war, samples.war, and
flex-admin.war files to directories named flex, samples, and
flex-admin, respectively. Then copy these directories to the root of
your JRun server instance."I assume that means this:C:\JRun4\servers\default\flexC:\JRun4\servers\default\flex-adminC:\JRun4\servers\default\samplesBut there must be something else I have to do for the samples because I can't deploy them without the following exceptions:
07/06 10:13:43 error Could not pre-load servlet: MessageBrokerServlet[1]org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationExcept
ion: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException
: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused by org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException
: Invalid class loader hierarchy.  You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of 'org.
apache.commons.logging.Log' visible, which is not allowed.))    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance
(LogFactoryImpl.java:235)    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)    at 
org.apache.commons.httpclient.params.DefaultHttpParams.(DefaultHttpParams.java:53)    at flex.messaging.services.http.HTTPProxyAdapter.(HTTPProxyAdapter.java:111)    at sun.reflect.NativeConstructorAccessorImpl.newInstance0
(Native Method)    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java
:27)    at java.lang.reflect.Constructor.newInstance(Constructor.java:494)    at java.lang.Class.newInstance0(Class.java:350)    at java.lang.Class.newInstance(Class.java:303)    at flex.messaging.util.ClassUtil.createDefaultInstance
(ClassUtil.java:71)    at flex.messaging.Destination.createAdapter(Destination.java:277)    at flex.messaging.Destination.initDestination(Destination.java:103)    at flex.messaging.services.HTTPProxyService.createDestination
(HTTPProxyService.java:78)    at flex.messaging.services.AbstractService.createDestinations(AbstractService.java:82)    at flex.messaging.config.MessagingConfiguration.createServices(MessagingConfiguration.java
:187)    at flex.messaging.config.MessagingConfiguration.configureBroker(MessagingConfiguration.java:84)    at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:105)    at 
jrun.servlet.WebApplicationService.loadServlet(WebApplicationService.java:1200)    at jrun.servlet.WebApplicationService.preloadServlets(WebApplicationService.java:791)    at jrun.servlet.WebApplicationService.postStart
(WebApplicationService.java:293)    at jrun.deployment.DeployerService.initModules(DeployerService.java:711)    at jrun.deployment.DeployerService.createWatchedDeployment(DeployerService.java:242)
    at jrun.deployment.DeployerService.deploy(DeployerService.java:430)    at jrun.deployment.DeployerService.checkWatchedDirectories(DeployerService.java:179)    at jrun.deployment.DeployerService.run
(DeployerService.java:891)    at jrunx.scheduler.SchedulerService.invokeRunnable(SchedulerService.java:230)    at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)    at 
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have
 more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more than one version of '
org.apache.commons.logging.Log' visible, which is not allowed.)    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance
(LogFactoryImpl.java:529)    ... 30 moreCaused by: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy.  You have more

[flexcoders] How to get client IP Address?

2006-07-06 Thread Cleiton Luiz Coradelli





There is any way to get the client IP Address in 
Flex?
 
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



   Visit your group "flexcoders" on the web. 
   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] Modal Immunity

2006-07-06 Thread Evan Gifford










Anyone know a way to specify a component as “Modal
Immune”?

 

That is … so that the modal blur/transparency does not
affect it?

 

Thanks a bunch, Flex Rocks!! :^)

-Evan




__._,_.___





--
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] ColdFusion vs. PHP as the back-end

2006-07-06 Thread Ville Walveranta












Ø  
If
you want to go hardcore though, Java is your best option.

Why Java over PHP in this instance?  PHP
is a very capable language, albeit maybe a little “fragmented” due
to it’s nature. Perhpas the biggest thing that bothers me in it is the lack
of thread safety (which, obviously, is not an issue with languages such as CF
or Java that have been written from ground up, and that don’t rely on a
plethora of third party modules).

 

Ville

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn Schultheiss
Sent: Thursday, July 06, 2006
01:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ColdFusion
vs. PHP as the back-end



 









I’m using a CF backend in my personal flex joints.

It’s very easy to set-up and the wizards are a nice touch
for the UI guys.

 

If you want to go hardcore though, Java is your best option.

 

I don’t need Php, I’m not poor.

 



Regards,



 

Bjorn Schultheiss



Senior Flash Developer



QDC Technologies











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Ville Walveranta
Sent: Thursday, 6 July 2006 9:44
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ColdFusion
vs. PHP as the back-end



 









I started my
quest to explore Flex rather recently; I never did much with v1.5, mostly
because the cost involved to launch any commercial solution created with it.
Now, with 2.0 it’s pretty exciting to see everything that is now, rather
easily (and inexpensively!), possible to do. 

 

But one
thing I’m not quite clear on yet: what is the difference, or benefit
from, between basic remoting as is possible with PHP/CF/ASP.NET, and the
extended interaction with ColdFusion which makes it possible to “pass
actual instances of Actionscript Classes and have them map directly into a CFC
Instances – and vice versa” (a quote from Tim Buntel’s blog)?


 

Thanks for
any insights!

 

Ville

 


















__._,_.___





--
Flexcoders Mailing 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: Handle result/fault from webservice call in Cairngorm 2

2006-07-06 Thread ben.clinkinbeard
Thanks Tom, I have actually gotten my head around this and seen some
great example code thanks to Jesse and Darron.

http://groups.yahoo.com/group/flexcoders/messages/42307?threaded=1&m=e&var=1&tidx=1
http://www.darronschall.com/weblog/archives/000234.cfm

Ben






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





Re: [flexcoders] Re: How to properly subclass a component using mxml

2006-07-06 Thread JesterXL





You're missing the namespace to map 
mx:
xmlns:mx="http://www.adobe.com/2006/mxml"
 
Put that in your root tag.
 
- Original Message - 
From: hank williams 
To: flexcoders@yahoogroups.com 
Sent: Thursday, July 06, 2006 12:51 PM
Subject: [flexcoders] Re: How to properly subclass a component using 
mxml
One guess I have is that there are issues regarding using mxml to 
populate an *inherited* field. In this case "columns" is not a component, but a 
field which contains an Array of of DataGridColumn 
objects. But the error that flex gives indicates that it thinks "columns" is 
supposed to be a compoent because the error message is "could not resolve 
 to a component implementation." Is it just the fact 
that columns doesnt have a capital letter that should tell the compiler that 
this is a field and not a component? Should it just be looking first for fields 
first and then components?This seems like a relatively basic issue. 
Someone out there must know!? Hank
On 7/6/06, hank 
williams <[EMAIL PROTECTED]> 
wrote:

  I want to create a subclass of DataGrid. So far what I have done is to 
  create a new MXML component that is based on DataGrid.The problem is 
  that if I try to use the new component as if it was a dataGrid, certain things 
  dont work. For example: 
   
              
          
           
  in the above 
  example, it doesnt like me using the columns construct to define the columns. 
  In order to define columns in this way I need to put then in the actual 
  BetterDataGrid component as opposed to in this instance. This makes it doggone 
  hard to use BetterDataGrid as a generic "better dataGrid" since I cannot 
  define its behavior on an instance by instance basis. I am sure what I 
  am doing wrong here is simple, but I dont know what.Any insight 
  appreciated.
  Hank 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Stephen Gilson





The namespace should be the same for the child tags. Try 
this:
 
 
        
            
         

Stephen
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Thursday, July 06, 2006 12:07 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] How to properly 
subclass a component using mxml


Nope there are no children.Also, the specific error message is "could 
not resolve  to a component implementation."It provides 
the same error message when trying to add a dataprovider too. 
Hank
On 7/6/06, Tobias 
Patton <[EMAIL PROTECTED]> 
wrote:

  
  
  
  This is just a shot 
  in the dark:
   
  Does your subclass of 
  DataGrid have any children defined? I've never come across this myself, but 
  I've read in various places that if a component has children in its 
  definition, it's not possible to add children when instantiating 
  it.
   
  Tobias.
   
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Thursday, July 06, 2006 7:50 
  AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How to properly 
  subclass a component using mxml
   
  
  
  
  
  I want to 
  create a subclass of DataGrid. So far what I have done is to create a new MXML 
  component that is based on DataGrid.The problem is that if I try to 
  use the new component as if it was a dataGrid, certain things dont work. For 
  example:  
              
          
           
  in the above 
  example, it doesnt like me using the columns construct to define the columns. 
  In order to define columns in this way I need to put then in the actual 
  BetterDataGrid component as opposed to in this instance. This makes it doggone 
  hard to use BetterDataGrid as a generic "better dataGrid" since I cannot 
  define its behavior on an instance by instance basis. I am sure what I 
  am doing wrong here is simple, but I dont know what.Any insight 
  appreciated.Hank
  
  

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Showing data in Datagrid

2006-07-06 Thread Tracy Spratt












You need to use a labelFunction.

/>

 

private function lfShowPOS(item:Object, , column:DataGridColumn):void{

  var sLabel:String = ""

  var sHeaderText:String =
column.headerText;   //you could probaly also use index, or dataField

  switch (sHeaderText)  {

    case "X Pos":

  sLabel = item.position.x;

  break;

    case "Y Pos":

  sLabel = item.position.y;

  break;               

    }

    return sLabel;
}

 

Tracy









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of zorelake
Sent: Thursday, July 06, 2006 5:09
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Showing data
in Datagrid



 







Hi all! I've just started with Flex and I have some
doubts I hope 
you could solve.

I have a Datagrid filled with the result of a Java Method 
(getRestaurants). This method returns a list of Restaurant objects 
with the fields "name" and "adress".

/>

/> 

I have no problems doing this, but I need to show another property 
called "position". This property is an instance of a Position class, 
whose properties are "x" and "y".

I mean:

Restaurant {
name: String;
address: String;
position: Position; // Contains x and y
}

In order to show "x" and "y" in the Datagrid, I'd need
something 
like this:



but it doesn´t work. I've tried in several ways, but with no results.
I've checked the field "position" and it contains the correct 
values. So, I only need to show them!!.How could I do this?

I'd be very pleased if you could help me!
Thanks in advance!

P.S: Sorry for my English :)






__._,_.___





--
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] How to properly subclass a component using mxml

2006-07-06 Thread hank williams



Hi jeremy,Thank you very much. That was not it but it was close. The answer was not that mx needed to be deleted but that it needed to match the parent namespace. In other words it needed to be myComp.That is one I dont think I would have ever figured out!
RegardsHankOn 7/6/06, Jeremy Lu <[EMAIL PROTECTED]> wrote:



Since you are extending DataGrid via a mxml way, you don't have to use "mx" namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago.



             
            
    mx:columns> 
Jeremy.







__._,_.___





--
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] How to properly subclass a component using mxml

2006-07-06 Thread JesterXL





A few things.  First, to subclass anything, it 
needs to be the top tag.  So, to subclass the datagrid, it'd 
be:
 

http://www.adobe.com/2006/mxml">
 

 
Secondly, say you save that file to 
"BetterDataGrid.mxml" in com.yourpackage.  To extend that, you'd 
go:
 




 
If you want to use your BetterDataGrid, you'd go:
 

 
Make sense?
 
- Original Message - 
From: hank williams 
To: flexcoders@yahoogroups.com 
Sent: Thursday, July 06, 2006 12:07 PM
Subject: Re: [flexcoders] How to properly subclass a component using 
mxml
Nope there are no children.Also, the specific error 
message is "could not resolve  to a component 
implementation."It provides the same error message when trying to add a 
dataprovider too. Hank
On 7/6/06, Tobias 
Patton <[EMAIL PROTECTED]> 
wrote:

  
  
  
  This is just a shot 
  in the dark:
   
  Does your subclass of 
  DataGrid have any children defined? I've never come across this myself, but 
  I've read in various places that if a component has children in its 
  definition, it's not possible to add children when instantiating 
  it.
   
  Tobias.
   
  
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Thursday, July 06, 2006 7:50 
  AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How to properly 
  subclass a component using mxml
   
  
  
  
  
  I want to 
  create a subclass of DataGrid. So far what I have done is to create a new MXML 
  component that is based on DataGrid.The problem is that if I try to 
  use the new component as if it was a dataGrid, certain things dont work. For 
  example:  
              
          
           
  in the above 
  example, it doesnt like me using the columns construct to define the columns. 
  In order to define columns in this way I need to put then in the actual 
  BetterDataGrid component as opposed to in this instance. This makes it doggone 
  hard to use BetterDataGrid as a generic "better dataGrid" since I cannot 
  define its behavior on an instance by instance basis. I am sure what I 
  am doing wrong here is simple, but I dont know what.Any insight 
  appreciated.Hank
  
   
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: cant set alpha for scrollbar

2006-07-06 Thread hank williams



Ok just thought I would try again here since this message has probably scrolled off most peoples screensI am trying to dim a scrollbar by setting its alpha value.I have tried to change every field that has the work alpha in it and nothing seems to work. I have even put a scrollbar inside a canvas and tried to set the alpha of the canvas. It cant be that scrollbars cant be alpha'd can it? Tell me it aint so.
On 7/6/06, hank williams <[EMAIL PROTECTED]> wrote:
Is it possible to set the alpha for a scrollbar? Setting its alpha seems to have no effect.Hank



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] file uploads

2006-07-06 Thread Clint Tredway



Thanks Phil... that helped alot. I was basically doing the same thing but I must have had something out of order. Now I can finish this project :)On 7/6/06, 
Phil Marston <[EMAIL PROTECTED]> wrote:













  







Hi Clint,

I've just this very moment solved that one!  :-)  I couldn't get what
was going on either, but this is what I did:
For the sake of trying it out a created a new application to do it.
I left all the imports and var declarations where they were, but put
all the rest of the method calls and functions inside another function
and then called that function using the creationComplete application
tag attribute.
see below

"http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="initApplication()">
    
        
    



Clint Tredway wrote:
code from the docs. I am just trying to get a file upload
working so I can make sure I understand it correctly.
  
  On 7/5/06, Carson
Hager <
[EMAIL PROTECTED]> wrote:
  






What code are you referring to?
 
 
 
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:flexcoders@yahoogroups.com]
On Behalf Of Clint Tredway
Sent: Tuesday, July 04, 2006 11:32 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] file uploads





I am using the code from the docs and Flex Builder is telling
this 1120: Access of undefined property fileRef.   and that the
selectHandler and completeHandler are undefined properties as well. I
am declaring the var fileRef, so i dont get why its doing this... very
frustrating... 


-- 
diabetic? http://www.diabetesforums.com

Bill Cosby - A word to the wise ain't necessary - it's the stupid ones
that need the advice. 


 




  
  
  
  
  
-- 
diabetic? http://www.diabetesforums.com
Bill Cosby - A word to the wise ain't necessary - it's the stupid ones
that need the advice.
  


-- __ Phil Marston Learning TechnologistLearning Technology Unit Edward Wright G33, University of Aberdeen, Aberdeen, AB24 3QY, UK
[EMAIL PROTECTED] Tel: +44(0)1224 273329 / +44(0)7798 723660 
http://www.abdn.ac.uk/diss/ltu/pmarston/
http://www.abdn.ac.uk/diss/ltu/
__The University of Aberdeen Open Day 29th August 2006Booking is essential
www.abdn.ac.uk/openday
email [EMAIL PROTECTED]
or call 0800 027 1495




  













-- diabetic? http://www.diabetesforums.comBill Cosby - A word to the wise ain't necessary - it's the stupid ones that need the advice.

__._,_.___





--
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] How to properly subclass a component using mxml

2006-07-06 Thread Tracy Spratt












I think since you are using a namespace
for the component you must also use it for the columns array:



 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Thursday, July 06, 2006
12:28 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] How to
properly subclass a component using mxml



 








Since you are extending DataGrid via a mxml way, you don't have to use
"mx" namespace. 

Try removing the red text and see if it works, this is how I create extended
datagrid several months ago.

















 
             
             
    mx:columns>























 




Jeremy. 



 






__._,_.___





--
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] Download files

2006-07-06 Thread Ingeniero Javier Cruz



Hello, I've a little problem I've to build an application that takes a file from the server an then let the user to download the file. An already read about the FileReference and FileReferenceList classes but I can't make my app works. I made a mxml application that define a Script section in witch I create a FileReference object but when a test the application it doesn't work.I'd like to prube with a servlet but I don't know how to start.If somebody can, please help me I will thank for a long long time. Or, if someone knows about a site with examples that can help me, I'll thank too. 
		 
Horóscopos, Salud y belleza, Chistes, Consejos de amor. 
El contenido más divertido para tu celular está enYahoo! Móvil
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: How to properly subclass a component using mxml

2006-07-06 Thread hank williams



One guess I have is that there are issues regarding using mxml to populate an *inherited* field. In this case "columns" is not a component, but a field which contains an Array of of 
DataGridColumn 
objects. But the error that flex gives indicates that it thinks "columns" is supposed to be a compoent because the error message is "could not resolve  to a component implementation." 
Is it just the fact that columns doesnt have a capital letter that should tell the compiler that this is a field and not a component? Should it just be looking first for fields first and then components?This seems like a relatively basic issue. Someone out there must know!?
HankOn 7/6/06, hank williams <[EMAIL PROTECTED]> wrote:
I want to create a subclass of DataGrid. So far what I have done is to create a new MXML component that is based on DataGrid.The problem is that if I try to use the new component as if it was a dataGrid, certain things dont work. For example:
                         
    in the above example, it doesnt like me using the columns construct to define the columns. In order to define columns in this way I need to put then in the actual BetterDataGrid component as opposed to in this instance. This makes it doggone hard to use BetterDataGrid as a generic "better dataGrid" since I cannot define its behavior on an instance by instance basis.
I am sure what I am doing wrong here is simple, but I dont know what.Any insight appreciated.Hank



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] what are people using for as3 documentation generation?

2006-07-06 Thread Jeremy Lu



add me to that "no-dice" list :-)On 7/6/06, Steve Cox <[EMAIL PROTECTED]> wrote:













  














I think
we're all after the same thing mate. At the minute there is nothing I am
aware of. Rumor is Adobe has something they may release at some point… When who knows. I've tried a couple, but same results
as you I'm afraid.

 

 

 

-Original Message-
From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf
Of Paul BH
Sent: 06 July 2006 14:43
To: flexcoders@yahoogroups.com
Subject: [flexcoders] what are
people using for as3 documentation generation?

 







Hi All,
looking for doc generating tools for AS3/mxml, preferrably with the
ability to provide intermediate XML output...

just wondering what people are using? I tried VisDoc on some as3
files, but no dice...










  















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] How to properly subclass a component using mxml

2006-07-06 Thread Jeremy Lu



Since you are extending DataGrid via a mxml way, you don't have to use "mx" namespace. Try removing the red text and see if it works, this is how I create extended datagrid several months ago.

             
            
    mx:columns> Jeremy.


__._,_.___





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



  






__,_._,___



  1   2   >