[flexcoders] EDI Applications - with Flex as the Front-End

2006-09-11 Thread Mike Anderson
Hello All,

We just finalized our relationship with Wal-Mart - and if anybody on
this list knows, working with Wal-Mart as a Vendor is "EDI or Bust".
They are extremely strict regarding how they do business with their
vendors, and getting an EDI Application running ASAP, can stress out
even the most seasoned IT Professionals.

I am vaguely familiar with the EDI Standard (and there are many flavors
out there), and I do also understand that there is much homework to be
done on my end, before I can forge ahead with this project.

With that said, I would love to get a jumpstart on this - so if anybody
could chime in on this thread, and offer any experiences or resources
they have on this topic, I would be eternally grateful.

Thanks in advance, for anything you can offer -

Mike


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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] WebORB for PHP with Flex

2006-09-11 Thread Pete Capra





Hi there, 

 
I've just started 
using WebORB for PHP with Flex to enable Flash Remoting to PHP functions. So far 
I've found it's pretty neat. Has anyone else come across WebORB? I'd just like 
to know what people think about it.. Any comments or 
criticism?
 
Thanks,
 
Pete
 
Pete CapraInformation Systems CoordinatorCapra Ryan 
Online Learningp. (617) 3208 9455m. 0411 043 305f. (617) 3208 
9855a. PO Box 1744 Springwood Q 
4127www.capraryan.com[EMAIL PROTECTED] 

 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Binding the service result to HTTPservice

2006-09-11 Thread sinacapho
Dear all,
 I have some question about the data binding . I have write a
custom component that get the user detail --> Login_detail Class. The
Class if call some HTTPservice and then bind the result into a
application HTTPservice . I have bind one custom component attribute
to that service. But i find that the result is not what i have
expected. Maybe it is because the custom object attribute have not set
before the application httpservice is called. How i can solve this ?

thx
capho
 
 

http://www.adobe.com/2006/mxml";
xmlns:shared="shared_comp.*" creationComplete="init_form();">





http://xx";
method="POST" destination="DefaultHTTP">

{user_object.uinfo.userId}











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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




Re: [flexcoders] Flex with FMS (something like Breeze...)

2006-09-11 Thread greg h



Following up Rick's excellent post ...

As of FMS 2, I believe the sample apps need to be downloaded separately.  You can find them here:
www.adobe.com/devnet/flashmediaserver/sample_apps.html

Rick, was the "Broadcast Presentation" the sample app you were thinking of?

hth,

g
On 9/11/06, Rick Englert <[EMAIL PROTECTED]> wrote:







Hi 
David,
  
I assume you already know, but just in case... FMS ships with a sample that does 
exactly that ( I can't think of the name of it off the top of my head - actually 
it might have been a FCS sample) but obviously done in Flash, not Flex.  
You could, however, use that as a starting point to build the Flex front 
end.  You'd of course need to be aware of AS2/AS3 differences 
etc...
 
Rick
-Original Message-From: brownd_92 
[mailto:[EMAIL PROTECTED]]Sent: Monday, September 11, 2006 10:12 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 
with FMS (something like Breeze...)

  
  Hi there,Does anyone know of an instance where flex is being used in 
  conjunction with Media server?I am looking to do something that I can 
  upload a .swf presentation then click through the presentation (like you 
  would powerpoint) and everyone else see and hear what Im 
  doingCheersDavid


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] properties file

2006-09-11 Thread Diego Guebel
I was googling for a while looking for a method to load and manage  
properties file in AS3. I think I saw that before but I dont remember the  
url.
do you guys have any example?
Thanks, diego


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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Binding to static properties

2006-09-11 Thread Tim Hoff
Hi Daniel,

Sorry to stick my nose in here, but your last example looks exactly 
like Cairngorm's ModelLocator usage.  It's a good place to store 
application constants.  You might want to check it out to get an 
idea how a similar usage might work for you.

-TH

--- In flexcoders@yahoogroups.com, Daniel Wabyick <[EMAIL PROTECTED]> wrote:
>
> 
> There definitely isn't a must-have use-case, but it could provide 
for 
> some convenient syntax. In particular, I was hoping to create a 
> "ContentMap" class that would store localized string values in 
static 
> class properties.  The following syntax would be really nice to 
use:
> 
> 
> 
> Instead, I need to do something like the following ...
> 
> 
> 
> Like I said, its not too big of a deal, but it would be nice.
> 
> 
> 
> 
> Abdul Qabiz wrote:
> >
> > Why would want to do that?
> >
> > Can you give the use-case?
> >
> > -abdul
> >
> > On 9/8/06, *Daniel Wabyick* <[EMAIL PROTECTED] 
> > > wrote:
> >
> >
> > Does anyone know if its possible to bind to static 
properties of a
> > class? I can't seem to get this to work.
> >
> >
> >
>







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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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 to static properties

2006-09-11 Thread Daniel Wabyick

There definitely isn't a must-have use-case, but it could provide for 
some convenient syntax. In particular, I was hoping to create a 
"ContentMap" class that would store localized string values in static 
class properties.  The following syntax would be really nice to use:



Instead, I need to do something like the following ...



Like I said, its not too big of a deal, but it would be nice.




Abdul Qabiz wrote:
>
> Why would want to do that?
>
> Can you give the use-case?
>
> -abdul
>
> On 9/8/06, *Daniel Wabyick* <[EMAIL PROTECTED] 
> > wrote:
>
>
> Does anyone know if its possible to bind to static properties of a
> class? I can't seem to get this to work.
>
>
>  



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

<*> 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] dateValidator question...

2006-09-11 Thread Doug Arthur



Does anyone know why I can't seem to get the following code to work?

var dateValidator:DateValidator = new DateValidator();Alert.show
(dateValidator.validate(new Date()).type);
This shows up as invalid. I've tried setting the "validateAsString" property to true, and nothing seems to work...
- Doug

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Latest Screenshots - Flex Builder 2.0 on Mac OSX (Intel, OS 10.4.7)

2006-09-11 Thread Duane Nickull
It installed and works *really* well.  Note this is still pre-release:

http://technoracle.blogspot.com/2006/09/flex-builder-20-on-mac-osx-first-looks.html

;-)






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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

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




RE: [flexcoders] Flex with FMS (something like Breeze...)

2006-09-11 Thread Rick Englert





Hi 
David,
  
I assume you already know, but just in case... FMS ships with a sample that does 
exactly that ( I can't think of the name of it off the top of my head - actually 
it might have been a FCS sample) but obviously done in Flash, not Flex.  
You could, however, use that as a starting point to build the Flex front 
end.  You'd of course need to be aware of AS2/AS3 differences 
etc...
 
Rick
-Original Message-From: brownd_92 
[mailto:[EMAIL PROTECTED]Sent: Monday, September 11, 2006 10:12 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Flex 
with FMS (something like Breeze...)

  
  Hi there,Does anyone know of an instance where flex is being used in 
  conjunction with Media server?I am looking to do something that I can 
  upload a .swf presentation then click through the presentation (like you 
  would powerpoint) and everyone else see and hear what Im 
  doingCheersDavid
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: Passing Const to custom component error

2006-09-11 Thread Bjorn Schultheiss





I like the idea of using constants and i'm impressed the 
way adobe has used them in the mx framework.
I would be suprised if you cannot use them in setting 
values in mxml.
 
Try an even simpler test.
I'd help more but i'm at work now.
Will be another 10h hours until i get home and back into 
Flex :P
 
Regards,
 
Bjorn 
Schultheiss
Senior Flash 
Developer
QDC 
Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom 
OrtegaSent: Tuesday, 12 September 2006 10:12 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Passing Const 
to custom component error


Thanks for your help on this.  It's frustrating when "good practices" 
don't work so good.  LOL  -Tom2
On 9/11/06, Bjorn 
Schultheiss < bjorn.schultheiss@qdc.net.au> 
wrote:

  
  
  
  
  
  
  I doubt 
  it,
   
  try debug 
  it in here
  
   
  > http://www.adobe.com/2006/mxml" 
  width="100%"> height="100%" label="Name" 
  xmlns:components="apps.common.components.*">> 
  > > > > tLabel id="nameTextLabel" 
  ls="{> ScreenLabelConstants.NAMEINFO_LABEL}" />> 
  
   
   
  
  I'll 
  run another test when i get home and get it 
  working.
   
  Regards,
   
  Bjorn 
  Schultheiss
  Senior Flash 
  Developer
  QDC 
  Technologies
   
  
  
  From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of 
  Tom OrtegaSent: Tuesday, 12 September 2006 12:09 
  AMTo: [EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Re: Passing 
  Const to custom component error
  
  
  
  I wish badly that you were correct, but alas, I fear not.I replaced 
  components with freedCom for both the namespace and directory names.  
  Compiled and passing a const into the FreedTextLabel still results in a null 
  value, while passing in a plain string value of "Name" works.  Even 
  passing a binding to a variable such as ls="{someVar}" where someVar is set to 
  the const will result in a null value being displayed. I did a bit of 
  debugging though and discovered this.  If I pass it a simple string 
  value, the setter gets fired.  If I pass it a reference to a var or 
  const, the setter doesn't fire.  Maybe the var reference doesn't register 
  as a true value assignment and thus doesn't fire/trigger the setter? 
  -Tom2
  On 9/11/06, bjorn.schultheiss  wrote: 
  




It's te components namespace you set in the component.The compiler 
doesn't like xmlns:components="apps.common.components.*"not 
sure why, perhaps components is a reserved word?!?Using getters and 
setters is good practice for use within components.Overall the code 
is fine.
--- In [EMAIL PROTECTED]ups.com, "Tom Ortega" 
<[EMAIL PROTECTED]..> wrote:>> I have this 
class:> package apps.common.asFiles> {> public 
class ScreenLabelConstants> {> public static const 
NAMEINFO_LABEL:String = "Name";> }> }> > I 
have this code in my app:> http://www.adobe.com/2006/mxml" 
width="100%"> height="100%" label="Name" 
xmlns:components="apps.common.components.*">> 
> > 
> > 
tLabel id="nameTextLabel" ls="{> 
ScreenLabelConstants.NAMEINFO_LABEL}" />> 
> > The FreedTextLabel has this:> 
> http://www.adobe.com/2006/mxml "> 
creationComplete="initFunc()" borderThickness="1" cornerRadius="0"> 
shadowDistance="0" width="80%">> > 
> > 
> 
> > > The problem is that it won't 
work. No data gets passed to my custom> component. Why is that? Is it 
because my app is binding the var to> constant value? Or because I'm 
using a setter/getter on the varreceiving> the reference?> 
> Thanks,> Tom2>


  
  
  
  

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: cairngorm: managing hundred of views

2006-09-11 Thread Diego Guebel
Hi Tim
I'm gonna check that out right away. Thanks for that, really appreciated.
Cheers, Diego.

On Tue, 12 Sep 2006 11:24:20 +1200, Tim Hoff <[EMAIL PROTECTED]> wrote:

>
> Hi Diego,
>
> I can't speak for Ralf, but the approach that I'm using is similar to
> the following example:
>
> http://www.cflex.net/showFileDetails.cfm?ObjectID=422&Object=File&Channe\
> lID=1
>  elID=1>
>
> I prefer to avoid ViewHelper/ViewLocator, but some here still like that
> method.  For me, using bound view states and views as components works
> just fine.   I do agree with Bjorn, that if extending a view for other
> purposes becomes a need (like a ShoppingCart being used as a WishList),
> the class should be instantiated in the ModelLocator.  For larger
> applications this is common.  But, not always necessary for medium and
> small applications.  From previous threads on this subject, the
> concensus seems to be; use whatever method that works for you.  Since
> most views reference the ModelLocator anyway, you have a lot of freedom
> in this area.
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Diego Guebel"
> <[EMAIL PROTECTED]> wrote:
>>
>> thank you all for the reply,
>> Can someone point me to the Steve approach?
>> I still wonder how do Tim and Ralf register the views, are you
> creating a
>> viewstack with all the views? for example: how are you managing the
>> visibility?
>> Thanks, Diego.
>>
>>
>> On Mon, 11 Sep 2006 17:51:34 +1200, Tim Hoff [EMAIL PROTECTED] wrote:
>>
>> > With views, the main thing to keep in mind is directory
>> > organization. Respectfully, I have a few differing ideas, than
>> > Steven, when it comes to views. But at Cairngorm's current
>> > iteration, "all" state == model (local and common). Organize the
>> > actual view classes in functional directory groups; for easy
>> > identification. In the ModelLocator, bind the state of the views
>> > accordingly. With hundreds of views, you will probably want to
>> > subclass the ModelLocator, into functional groups, to aid in
>> > organization. Ultimately, it boils down to each application's
>> > requirements. For me, I just try to keep things as simple and
>> > maintainable as possible; even when endless local state variables
>> > tend to clutter and complicate the ModelLocator. I'm calling this
>> > model happy. :)
>> >
>> > -TH
>> >
>> > --- In flexcoders@yahoogroups.com, "Bjorn Schultheiss"
>> > bjorn.schultheiss@ wrote:
>> >>
>> >> Good Question and I hope this thread gets a lot of posts.
>> >>
>> >> Personally I don't think that the modelLocator is always upto the
>> > job.
>> >> Don't get me wrong, in a data-driven application this methodology
>> > is
>> >> beautiful,
>> >> But my feeling is it will not satisfy all requirements.
>> >>
>> >> For example, say you have about 100 view states that are loaded in
>> > and
>> >> disposed of, at runtime, as required.
>> >> I don't think the ModelLocator is up to the task.
>> >> I think possibly a "ViewManager" of sorts is required that acts as
>> > a middle
>> >> tier between the Views and the ModelLocator.
>> >>
>> >> I don't have any concrete classes to show an example of what I
>> > mean as I
>> >> haven't developed such a solution as yet.
>> >> But I am at the beginning of a project that will require such
>> > consideration.
>> >>
>> >>
>> >> Regards,
>> >>
>> >> Bjorn Schultheiss
>> >> Senior Flash Developer
>> >> QDC Technologies
>> >>
>> >> -Original Message-
>> >> From: flexcoders@yahoogroups.com
>> > [mailto:[EMAIL PROTECTED] On
>> >> Behalf Of Diego Guebel
>> >> Sent: Monday, 11 September 2006 12:07 PM
>> >> To: flexcoders@yahoogroups.com
>> >> Subject: [flexcoders] cairngorm: managing hundred of views
>> >>
>> >> Hi there,
>> >> My questions is theoretical and best practice oriented, I just
>> > wonder what
>> >> is the best approach to manage hundreds of views since
>> >> viewhelper/viewlocator is out of fashion.
>> >> I was reading previous post but didn't find a good example or
>> > tutorial.
>> >> Can anyone put some light on this?
>> >>
>> >> Sorry if some of you receive this post twice, I think the first
>> > once was
>> >> moderated.
>> >> Thanks in advance. Diego.
>> >>
>> >>
>> >> --
>> >> Flexcoders Mailing 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

<*> 

Re: [flexcoders] Re: Passing Const to custom component error

2006-09-11 Thread Tom Ortega



Thanks for your help on this.  It's frustrating when "good practices" don't work so good.  LOL  -Tom2On 9/11/06, Bjorn Schultheiss <
[EMAIL PROTECTED]> wrote:













  






I doubt it,
 
try debug it in here
 
> http://www.adobe.com/2006/mxml" width="100%"> 
height="100%" label="Name" 
xmlns:components="apps.common.components.*">> 
> > > > > 

 
 
I'll run another test when i get home and get it 
working.
 
Regards,
 
Bjorn 
Schultheiss
Senior Flash 
Developer
QDC 
Technologies
 


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tom 
OrtegaSent: Tuesday, 12 September 2006 12:09 AMTo: 
[EMAIL PROTECTED]ups.comSubject: Re: [flexcoders] Re: Passing Const 
to custom component error


I wish badly that you were correct, but alas, I fear not.I replaced 
components with freedCom for both the namespace and directory names.  
Compiled and passing a const into the FreedTextLabel still results in a null 
value, while passing in a plain string value of "Name" works.  Even passing 
a binding to a variable such as ls="{someVar}" where someVar is set to the const 
will result in a null value being displayed. I did a bit of debugging 
though and discovered this.  If I pass it a simple string value, the setter 
gets fired.  If I pass it a reference to a var or const, the setter doesn't 
fire.  Maybe the var reference doesn't register as a true value assignment 
and thus doesn't fire/trigger the setter? -Tom2
On 9/11/06, bjorn.schultheiss <[EMAIL PROTECTED]
> 
wrote:

  
  
  
  
  
  It's te components namespace you set in the component.The compiler 
  doesn't like xmlns:components="apps.common.components.*"not sure 
  why, perhaps components is a reserved word?!?Using getters and setters 
  is good practice for use within components.Overall the code is 
  fine.
  --- In flexcoders@yahoogroups.com, "Tom Ortega" 
  <[EMAIL PROTECTED]> wrote:>> I have this class:> 
  package apps.common.asFiles> {> public class 
  ScreenLabelConstants> {> public static const 
  NAMEINFO_LABEL:String = "Name";> }> }> > I 
  have this code in my app:> http://www.adobe.com/2006/mxml" 
  width="100%"> height="100%" label="Name" 
  xmlns:components="apps.common.components.*">> 
  > > 
  > > 
  > 
  > > The FreedTextLabel has this:> 
  > http://www.adobe.com/2006/mxml
"> 
  creationComplete="initFunc()" borderThickness="1" cornerRadius="0"> 
  shadowDistance="0" width="80%">> > 
  > > > > 
  > > The problem is that it won't work. No data gets passed to my 
  custom> component. Why is that? Is it because my app is binding the var 
  to> constant value? Or because I'm using a setter/getter on the 
  varreceiving> the reference?> > Thanks,> 
  Tom2>
  
  


  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: issue with type=stacked for bar/column chart

2006-09-11 Thread suri_boston
Hi Ely, sorry for not being clear.
below is the code that is supposed to display a stacked bar chart. 
instead it displays a single bar with no stacking.

when i hange the type attribute of bar chart to "clustered", it 
displays the clustered bar chart just fine.

only thing i did different from normal stacked bar is removed values 
for Silver and Bronze for USA from medalsAC array collection and 
added mySilver a value > 100.

please let me know, if u need more info. thanks for you time.
-Suri




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



























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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Passing Const to custom component error

2006-09-11 Thread Bjorn Schultheiss





I doubt it,
 
try debug it in here
 
> http://www.adobe.com/2006/mxml" width="100%"> 
height="100%" label="Name" 
xmlns:components="apps.common.components.*">> 
> > > > tLabel id="nameTextLabel" 
ls="{> ScreenLabelConstants.NAMEINFO_LABEL}" />> 

 
 
I'll run another test when i get home and get it 
working.
 
Regards,
 
Bjorn 
Schultheiss
Senior Flash 
Developer
QDC 
Technologies
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Tom 
OrtegaSent: Tuesday, 12 September 2006 12:09 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Re: Passing Const 
to custom component error


I wish badly that you were correct, but alas, I fear not.I replaced 
components with freedCom for both the namespace and directory names.  
Compiled and passing a const into the FreedTextLabel still results in a null 
value, while passing in a plain string value of "Name" works.  Even passing 
a binding to a variable such as ls="{someVar}" where someVar is set to the const 
will result in a null value being displayed. I did a bit of debugging 
though and discovered this.  If I pass it a simple string value, the setter 
gets fired.  If I pass it a reference to a var or const, the setter doesn't 
fire.  Maybe the var reference doesn't register as a true value assignment 
and thus doesn't fire/trigger the setter? -Tom2
On 9/11/06, bjorn.schultheiss  
wrote:

  
  
  
  
  
  It's te components namespace you set in the component.The compiler 
  doesn't like xmlns:components="apps.common.components.*"not sure 
  why, perhaps components is a reserved word?!?Using getters and setters 
  is good practice for use within components.Overall the code is 
  fine.
  --- In [EMAIL PROTECTED]ups.com, "Tom Ortega" 
  <[EMAIL PROTECTED]..> wrote:>> I have this class:> 
  package apps.common.asFiles> {> public class 
  ScreenLabelConstants> {> public static const 
  NAMEINFO_LABEL:String = "Name";> }> }> > I 
  have this code in my app:> http://www.adobe.com/2006/mxml" 
  width="100%"> height="100%" label="Name" 
  xmlns:components="apps.common.components.*">> 
  > > 
  > > 
  tLabel id="nameTextLabel" ls="{> 
  ScreenLabelConstants.NAMEINFO_LABEL}" />> 
  > > The FreedTextLabel has this:> 
  > http://www.adobe.com/2006/mxml"> 
  creationComplete="initFunc()" borderThickness="1" cornerRadius="0"> 
  shadowDistance="0" width="80%">> > 
  > > > > 
  > > The problem is that it won't work. No data gets passed to my 
  custom> component. Why is that? Is it because my app is binding the var 
  to> constant value? Or because I'm using a setter/getter on the 
  varreceiving> the reference?> > Thanks,> 
  Tom2>
  
  

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: cairngorm: managing hundred of views

2006-09-11 Thread Tim Hoff



Hi Diego,
I can't speak for Ralf, but the approach that I'm using is similar to the following example:
http://www.cflex.net/showFileDetails.cfm?ObjectID=422&Object=File&ChannelID=1 
I prefer to avoid ViewHelper/ViewLocator, but some here still like that method.  For me, using bound view states and views as components works just fine.   I do agree with Bjorn, that if extending a view for other purposes becomes a need (like a ShoppingCart being used as a WishList), the class should be instantiated in the ModelLocator.  For larger applications this is common.  But, not always necessary for medium and small applications.  From previous threads on this subject, the concensus seems to be; use whatever method that works for you.  Since most views reference the ModelLocator anyway, you have a lot of freedom in this area.
-TH--- In flexcoders@yahoogroups.com, "Diego Guebel" <[EMAIL PROTECTED]> wrote:>> thank you all for the reply,> Can someone point me to the Steve approach?> I still wonder how do Tim and Ralf register the views, are you creating a > viewstack with all the views? for example: how are you managing the > visibility?> Thanks, Diego.> > > On Mon, 11 Sep 2006 17:51:34 +1200, Tim Hoff [EMAIL PROTECTED] wrote:> > > With views, the main thing to keep in mind is directory> > organization. Respectfully, I have a few differing ideas, than> > Steven, when it comes to views. But at Cairngorm's current> > iteration, "all" state == model (local and common). Organize the> > actual view classes in functional directory groups; for easy> > identification. In the ModelLocator, bind the state of the views> > accordingly. With hundreds of views, you will probably want to> > subclass the ModelLocator, into functional groups, to aid in> > organization. Ultimately, it boils down to each application's> > requirements. For me, I just try to keep things as simple and> > maintainable as possible; even when endless local state variables> > tend to clutter and complicate the ModelLocator. I'm calling this> > model happy. :)> >> > -TH> >> > --- In flexcoders@yahoogroups.com, "Bjorn Schultheiss"> > bjorn.schultheiss@ wrote:> >>> >> Good Question and I hope this thread gets a lot of posts.> >>> >> Personally I don't think that the modelLocator is always upto the> > job.> >> Don't get me wrong, in a data-driven application this methodology> > is> >> beautiful,> >> But my feeling is it will not satisfy all requirements.> >>> >> For example, say you have about 100 view states that are loaded in> > and> >> disposed of, at runtime, as required.> >> I don't think the ModelLocator is up to the task.> >> I think possibly a "ViewManager" of sorts is required that acts as> > a middle> >> tier between the Views and the ModelLocator.> >>> >> I don't have any concrete classes to show an example of what I> > mean as I> >> haven't developed such a solution as yet.> >> But I am at the beginning of a project that will require such> > consideration.> >>> >>> >> Regards,> >>> >> Bjorn Schultheiss> >> Senior Flash Developer> >> QDC Technologies> >>> >> -Original Message-> >> From: flexcoders@yahoogroups.com> > [mailto:[EMAIL PROTECTED] On> >> Behalf Of Diego Guebel> >> Sent: Monday, 11 September 2006 12:07 PM> >> To: flexcoders@yahoogroups.com> >> Subject: [flexcoders] cairngorm: managing hundred of views> >>> >> Hi there,> >> My questions is theoretical and best practice oriented, I just> > wonder what> >> is the best approach to manage hundreds of views since> >> viewhelper/viewlocator is out of fashion.> >> I was reading previous post but didn't find a good example or> > tutorial.> >> Can anyone put some light on this?> >>> >> Sorry if some of you receive this post twice, I think the first> > once was> >> moderated.> >> Thanks in advance. Diego.> >>> >>> >> --> >> Flexcoders Mailing List> >> FAQ:> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> >> Search Archives: http://www.mail-archive.com/flexcoders%> > 40yahoogroups.com> >> Yahoo! Groups Links> >>> >> >> >> >> >> >> > --> > Flexcoders Mailing List> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com> > Yahoo! Groups Links> >> >> >> >> >> >> >> >> >>

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings

Re: [flexcoders] Public getter, private setter?

2006-09-11 Thread Michael Schmalle



Well,It seems it could be debated both ways. So good luck to them.Peace, MikeOn 9/11/06, Matt Chotin <
[EMAIL PROTECTED]> wrote:












  













Actually on a second review I've
been told that the engineer misunderstood the question.  The bug is in the
spec, mixed visibility is intended not to be allowed (at the moment).  They're
going to discuss this further at the ECMAScript 4 Committee meeting.

 

Anyway, you at least know what works and doesn't
work currently J


 

Matt

 









From: [EMAIL PROTECTED]
ups.com [mailto:[EMAIL PROTECTED]
ups.com] On Behalf Of Michael Schmalle
Sent: Saturday, September 09, 2006
3:58 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Public
getter, private setter?



 







Hah!

So in my post a couple days ago...

> This is just a guess but, I would be willing to bet this is a Player bug. 

I was right. hehe

Peace, Mike



On 9/8/06, Matt
Chotin <[EMAIL PROTECTED]>
wrote:














So actually we
investigated further and it turns out this is a bug.  The engineer on the
language team said that using mixed visibility is supposed to be allowed (I was
wrong, this happens occasionally).  We have a bug filed.  Thanks
for pointing it out Thunder! J
 


 


Matt


 











From:
[EMAIL PROTECTED] ups.com
[mailto:[EMAIL PROTECTED]
 ups.com] On Behalf Of Christian Edward Gruber
Sent: Friday, September 08, 2006
6:42 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Public
getter, private setter?








 








Hey Paul,

 I can't speak for Adobe, but in many other languages,
accessors/mutators are simply conventions, not actual language
constructs.  Java, for example, has no understanding that a method is an
accessor.  It is merely a "bean" convention that getFoo/setFoo
are getters and settors for Foo.  So in many languages there is infinite
freedom, but less language support.  .NET, by contrast, is probably what
you are comparing to with it's properties and property accessors.  It
might be useful to compare languages from a "desirability"
standpoint, but it's often not helpful because languages are implemented
differently, and each has its own implementation challenges.

It's hard to say why Adobe went this way, but if accessors are more carefully
managed by the language, it may be a much easier implementation to pair their
access levels.

regards,
Christian.

Paul Andrews wrote: 








Matt, what has made Adobe depart from what is
standard behaviour in other languages. I'm having trouble understanding any
reason for this than perhaps an implementation issue (ie, we would have
preferred to support independent visibility but we preferred to get it out the
door without delay, since this is a relatively minor issue).






 






Paul








- Original Message - 






From: 
Matt
Chotin 






To: 
flexcoders@yahoogroups.com 






Sent: Friday, September
08, 2006 4:48 AM






Subject: RE:
[flexcoders] Public getter, private setter?






 






It's intentional right
now that a getter/setter pair must have a matching visibility modifier.
 You can't change whether a variable is visible to the compiler based on
whether it's being read or being written.  While we understand the
use-case (and debated it internally ourselves) this is the approach we're
taking right now.


 


 










 




-- 




christian
gruber + process coach and architect


Israfil
Consulting Services Corporation


email
 [EMAIL PROTECTED] +
bus 905.640.1119 + mob 416.998.6023




























-- 
What goes up, does come down. 










  













-- What goes up, does come down.

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Re: Remote Object Destinations

2006-09-11 Thread Jeff Vroom












I think some folks are talking about the
flex builder bug where it caches the services-config.xml file unless that file
is explicitly added to the project (apparently FB only monitors files in the
project for changes).   It is also possible that you are not pointing your
compiler environment to the services-config.xml file in the first place.  The
path to this is an option in the project configuration, or an option to the
compiler settable on the command line or through the flex-config.xml.  

 

Finally, you can see which destinations your
application was compiled with by dumping out the value of the String “xml”
property on the class:  mx.messaging.config.ServerConfig.   This is the subset
of the server’s configuration which gets compiled into the client.

 

Jeff

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of lyon.james
Sent: Monday, September 11, 2006
2:22 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Remote
Object Destinations



 







This happens to me every time we edit our
services-config.xml. For
me, it means a reboot, but your problem might be caused by something
different than what affects our projects.

--- In [EMAIL PROTECTED]ups.com,
"Jeremy Rottman" ...>
wrote:
>
> Nope even with cleaning the project, I still get this error. Does it
> matter that I am not using FDS? If I use the desination ColdFusion,
> everything works fine. But to better organize my project, I want to be
> able to have custom destinations setup.
>






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Remote Object Destinations

2006-09-11 Thread lyon.james
This happens to me every time we edit our services-config.xml.  For
me, it means a reboot, but your problem might be caused by something
different than what affects our projects.


--- In flexcoders@yahoogroups.com, "Jeremy Rottman" <[EMAIL PROTECTED]>
wrote:
>
> Nope even with cleaning the project, I still get this error. Does it
> matter that I am not using FDS? If I use the desination ColdFusion,
> everything works fine. But to better organize my project, I want to be
> able to have custom destinations setup.
>






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: How to refresh a tree

2006-09-11 Thread lyon.james
My problem isn't solved by your suggestion unfortunately.  My tree
shows the correct data but still doesn't update the scrollbar
appropriately.  And at times children nodes will overlap parent nodes
further down the list.

I've been calling validateDisplayList on the tree, but should I call
it on something else?



--- In flexcoders@yahoogroups.com, Marcel Fahle <[EMAIL PROTECTED]> wrote:
>
>   Hey Guys,
> 
> my problem was, that the tree was reacting weird when scrolling
> around after adding data to its dataprovider (XMLListCollection)
> using setChildren. (When the user clicks a branch node, it's childnodes
> should be loaded from my streamingserver (=returns XML))
> 
> I found out, that the problem was, that the tree wasn't "prepared"
> for the "arrival" of new childnodes..
> The nodes (branchNodes) where I wanted to add children later gave
> me the return valueof false on asking hasChildren()
> And there lies the problem: The tree doesn't expect new children
> and reacts a little bit weird (which maybe belongs to the uncorrect use
> of measure, as you said, Mike).
> 
> Anyway, I solved my problem like this:
> When first generating my DataProvider I added on each empty branch
> node a single node with just the label "loading...", what makes the
> datadescriptor return true on hasChildren.
> When the subenodes are loaded, I just delete the "loading..." node,
> as you can see on these screenshots:
> 
> http://marcelfahle.com/labs/flex2/screens/cptreeproblem1.jpg
> http://marcelfahle.com/labs/flex2/screens/cptreeproblem2.jpg
> http://marcelfahle.com/labs/flex2/screens/cptreeproblem3.jpg
> 
> Using this "hack" everything works good for me..
> If anybody wants to see it in action, just drop me a line off-list..
> 
> 
> Michael Schmalle wrote:
> 
> > Hi,
> >
> > There is some issues with the Tree and XML dtat provider collections.
> >
> > One thing I can suggest is;
> >
> > Add an event listener to the divider bar release, I can't remeber
what 
> > it is, in that handler call
> >
> > myTree.invalidateList();
> >
> > Give it a try and let me know.
> >
> > I have the same issues with using itemRenderers and changing some 
> > internal data specific things. After I am done with my process, I 
> > called invalidateList() and it did a nice redraw quickly.
> >
> > There probably is just an update isse and measure() is not being 
> > called correctly.
> >
> > Peace, Mike
> >
> > On 8/23/06, *e baggg* < [EMAIL PROTECTED] > 
> > wrote:
> >
> > I too have had problems with XML nodes in tree. One thing that
> > eliminated a lot of the issues was reassigning the dataProvider of
> > the tree explictly (right after you update the node.
> >
> > so...
> > [Bindable]
> > private var xmlN : XML 
> > private function updateTreeDataProvider : void {
> >  //code that updates xmlN
> >treeNav.dataProvider= xmlN;
> > }
> >
> >  >
> >
> > */Marcel Fahle <[EMAIL PROTECTED]
> > >/* wrote:
> >
> > Hi Dave,
> >
> > did you found a solution on that?
> > I've got a similar problem here.
> >
> > Marcel
> >
> > Dave Bobby wrote:
> >
> >> This is flaky, might be a bug.
> >>
> >> root
> >> -a
> >> --aa
> >> --ab
> >> --ac
> >> -b
> >> -c
> >> --ca
> >> --cb
> >> --cc
> >>
> >> say the last server retrieval got ca, cb and cc. but the tree
> >> did not
> >> show a scrollbar. this tree is in a vDivided box, so when i
> >> move the
> >> divider upto b, i see a scrollbar, but when i move divider to
> >> cb or
> >> cc, ca-cb and cc disappear and no scrollbar.
> >>
> >> bug? or am i doing something wrong? i think that the tree
> >> should be
> >> refreshing when i do such operations.
> >>
> >> thanks.
> >>
> >> --- In flexcoders@yahoogroups.com
> >> , "Dave Bobby"
> >>  wrote:
> >>>
> >>> I am trying to append data retrieved to selectedItems in the
> >> tree
> >>> represented by an XMLListCollection. During the trace I see
> >> that
> >> the
> >>> retrieived items have been added to the XMLListCollection
> >> correctly
> >>> and this collection in Bindable.
> >>>
> >>> But the tree itself behaves wierd. Sometimes it shows the
> >> scrollbars,
> >>> sometimes not. Sometimes, when I scroll up and down, it
> >> collates
> >>> different nodes to different parents visually.
> >>>
> >>> Any ideas?
> >>>
> >>> Thanks.
> >>>
> >>> Dave.
> >>>
> >>
> >
> >
> > __
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com 
> >
> >
> >
> >
> > -- 
> > What goes up, does come down.
> >
>






--
Fle

Re: [flexcoders] fds/jms messaging. detecting client disconnection.

2006-09-11 Thread Tom Bray



Aldo,Here's some sample code that I used to know when a client disconnected.  The FlexSession.sessionDestroyed event corresponds to a disconnection    public FlexSessionTest()    {                
FlexSession.addSessionCreatedListener(this);    }    public void sessionCreated( FlexSession session )    {        session.addSessionDestroyedListener(this);        System.out.println( "sessionCreated!" );
    }                public void sessionDestroyed( FlexSession session )    {        System.out.println( "sessionDestroyed!" );    }HTH,Tom
On 9/11/06, Aldo Bucchi <[EMAIL PROTECTED]> wrote:













  



hi all,

I am building a java app that uses fds to pub/subs flex clients to a
set of jms topics and queues and I need a way to obtain a "connected
client list" on the java side... the traditional way would be to
create a topic to ping clients on a given interval.

alternatively, is there any fds low level message that indicates a
client disconnection??

Thanks,
Aldo

-- 
: Aldo Bucchi :
mobile (56) 8 429 8300

  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] issue with type=stacked for bar/column chart

2006-09-11 Thread Ely Greenfield





 
 
 
Hi Suri. Can you give a little more detail than 'doesn't 
work.'?
 
Thanks,
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
suri_bostonSent: Monday, September 11, 2006 11:22 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
issue with type=stacked for bar/column chart


the below code works if the type of the chart is clustered but it doesn't 
work, if it is stacked. any one have a clue? if i change mySilver value 
from 200 to 20, then it works. i am guessing the autoadjust is not working 
in some cases. thanks for your time,-Suri?>http://www.adobe.com/2006/mxml" 
>height="100%" 
width="100%" layout="horizontal">paddingLeft="5" paddingRight="5" 
showDataTips="true" dataProvider="{medalsAC}" 
type="stacked">"Country"/>"Silver"/>displayName="mySilver"/>"Gold"/>"Bronze"/>"{column1}"/>
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: cairngorm: managing hundred of views

2006-09-11 Thread Diego Guebel
thank you all for the reply,
Can someone point me to the Steve approach?
I still wonder how do Tim and Ralf register the views, are you creating a  
viewstack with all the views? for example: how are you managing the  
visibility?
Thanks, Diego.


On Mon, 11 Sep 2006 17:51:34 +1200, Tim Hoff <[EMAIL PROTECTED]> wrote:

> With views, the main thing to keep in mind is directory
> organization.  Respectfully, I have a few differing ideas, than
> Steven, when it comes to views.  But at Cairngorm's current
> iteration, "all" state == model (local and common).  Organize the
> actual view classes in functional directory groups; for easy
> identification.  In the ModelLocator, bind the state of the views
> accordingly.  With hundreds of views, you will probably want to
> subclass the ModelLocator, into functional groups, to aid in
> organization.  Ultimately, it boils down to each application's
> requirements.  For me, I just try to keep things as simple and
> maintainable as possible; even when endless local state variables
> tend to clutter and complicate the ModelLocator.  I'm calling this
> model happy. :)
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Bjorn Schultheiss"
> <[EMAIL PROTECTED]> wrote:
>>
>> Good Question and I hope this thread gets a lot of posts.
>>
>> Personally I don't think that the modelLocator is always upto the
> job.
>> Don't get me wrong, in a data-driven application this methodology
> is
>> beautiful,
>> But my feeling is it will not satisfy all requirements.
>>
>> For example, say you have about 100 view states that are loaded in
> and
>> disposed of, at runtime, as required.
>> I don't think the ModelLocator is up to the task.
>> I think possibly a "ViewManager" of sorts is required that acts as
> a middle
>> tier between the Views and the ModelLocator.
>>
>> I don't have any concrete classes to show an example of what I
> mean as I
>> haven't developed such a solution as yet.
>> But I am at the beginning of a project that will require such
> consideration.
>>
>>
>> Regards,
>>
>> Bjorn Schultheiss
>> Senior Flash Developer
>> QDC Technologies
>>
>> -Original Message-
>> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
>> Behalf Of Diego Guebel
>> Sent: Monday, 11 September 2006 12:07 PM
>> To: flexcoders@yahoogroups.com
>> Subject: [flexcoders] cairngorm: managing hundred of views
>>
>> Hi there,
>> My questions is theoretical and best practice oriented, I just
> wonder what
>> is the best approach to manage hundreds of views since
>> viewhelper/viewlocator is out of fashion.
>> I was reading previous post but didn't find a good example or
> tutorial.
>> Can anyone put some light on this?
>>
>> Sorry if some of you receive this post twice, I think the first
> once was
>> moderated.
>> Thanks in advance. Diego.
>>
>>
>> --
>> Flexcoders Mailing 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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Datagrid with a dropdown column!

2006-09-11 Thread Joan Lafferty












Anurag,

 

Yes, as someone pointed out before, you can use a custom
itemRenderer. Yours would look something like the code provided below. Notice
that if you want the ComboBox to be editable, you should specify that
renderIsEditor=”true” and specify the editorDataField.

 


sortableColumns="true" dataProvider="{_model}"
editable="true">



dataField="skillName" editable="false"/> 


dataField="ratingId" rendererIsEditor=”true”
editorDataField=”selectedItem” >

   


   





 


  
 beginner

  
 intermediate

  
 expert

 


   





 









 

Joan









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sahay17
Sent: Monday, September 11, 2006
2:38 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Datagrid
with a dropdown column!



 







Hi all,
I am having a datagrid "skillDG" with 2 datagridcolumn as
"skillName" 
and "ratingId" which is picking data from arraycollection.


sortableColumns="true" dataProvider="{_model}"
editable="true">



dataField="skillName" editable="false"/> 


dataField="ratingId" /> 





But now i want that my datafieldcolumn "ratingId" to be a dropdown 
with skills namely beginner,intermediate and expert. Is it possible?

Thanks and Regards,
Anurag.






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] fds/jms messaging. detecting client disconnection.

2006-09-11 Thread Aldo Bucchi
hi all,

I am building a java app that uses fds to pub/subs flex clients to a
set of jms topics and queues and I need a way to obtain a "connected
client list" on the java side... the traditional way would be to
create a topic to ping clients on a given interval.

alternatively, is there any fds low level message that indicates a
client disconnection??

Thanks,
Aldo

-- 
: Aldo Bucchi :
mobile (56) 8 429 8300


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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] background color of a text?

2006-09-11 Thread Joan Lafferty












Here is an example of a custom component
subclassing Label to give it a burgundy backgroundColor:

 

package {

 

    import mx.controls.Label;

    import flash.display.Graphics;

 

    public class MyLabel extends Label {

     

     override protected function
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

     {

        super.updateDisplayList(unscaledWidth,
unscaledHeight);

        

        var
g:Graphics = graphics;

    g.clear();

    g.beginFill(0xCC0033);

    g.drawRect(0,
0, unscaledWidth, unscaledHeight);

        g.endFill();

    }

  }

}

 

Hope this helps.

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel Freiman
Sent: Monday, September 11, 2006
7:15 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
background color of a text?



 







My guess is that each control acts a little
differently, but if it's not listed as a style or property in the docs for the
control you want, then you can usually extend the class and set the background
color of the UITextField that's actually rendering the text. 



On 9/9/06, oktay nba
<[EMAIL PROTECTED]com> wrote:







hi;





how can i give a background color to a text control (like
the anything usage
in html) or label?





 





oktay









 






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Localizing application

2006-09-11 Thread Diego Guebel
João,
Thanks for the link, really appreciated
Diego

On Tue, 12 Sep 2006 01:56:09 +1200, João Fernandes  
<[EMAIL PROTECTED]> wrote:

> Diego, take a look here
>
> http://weblogs.macromedia.com/arayne/archives/2006/08/internationalis.cfm#mo
> re
>
> João Fernandes
>
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Diego Guebel
> Sent: segunda-feira, 11 de Setembro de 2006 3:50
> To: Flex coders
> Subject: [flexcoders] Localizing application
>
> Hi there,
> Based on the flex documentation I have to compile one swf per each
> language, is that right?
> I'd like to be able to switch between languages during runtime. isn't  
> that
> possible?
> Thanks, Diego.
>
>
> --
> Flexcoders Mailing 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! ID required)
>
> mailto:[EMAIL PROTECTED]
>
>
>
>




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

<*> 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: Remote Object Destinations

2006-09-11 Thread Jeremy Rottman
Nope even with cleaning the project, I still get this error. Does it
matter that I am not using FDS? If I use the desination ColdFusion,
everything works fine. But to better organize my project, I want to be
able to have custom destinations setup.





--
Flexcoders Mailing 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] Public getter, private setter?

2006-09-11 Thread Matt Chotin












Actually on a second review I’ve
been told that the engineer misunderstood the question.  The bug is in the
spec, mixed visibility is intended not to be allowed (at the moment).  They’re
going to discuss this further at the ECMAScript 4 Committee meeting.

 

Anyway, you at least know what works and doesn’t
work currently J

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Schmalle
Sent: Saturday, September 09, 2006
3:58 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Public
getter, private setter?



 







Hah!

So in my post a couple days ago...

> This is just a guess but, I would be willing to bet this is a Player bug. 

I was right. hehe

Peace, Mike



On 9/8/06, Matt
Chotin <[EMAIL PROTECTED]com>
wrote:













So actually we
investigated further and it turns out this is a bug.  The engineer on the
language team said that using mixed visibility is supposed to be allowed (I was
wrong, this happens occasionally).  We have a bug filed.  Thanks
for pointing it out Thunder! J 

 

Matt

 









From:
[EMAIL PROTECTED] ups.com
[mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Christian Edward Gruber
Sent: Friday, September 08, 2006
6:42 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Public
getter, private setter?







 







Hey Paul,

 I can't speak for Adobe, but in many other languages,
accessors/mutators are simply conventions, not actual language
constructs.  Java, for example, has no understanding that a method is an
accessor.  It is merely a "bean" convention that getFoo/setFoo
are getters and settors for Foo.  So in many languages there is infinite
freedom, but less language support.  .NET, by contrast, is probably what
you are comparing to with it's properties and property accessors.  It
might be useful to compare languages from a "desirability"
standpoint, but it's often not helpful because languages are implemented
differently, and each has its own implementation challenges.

It's hard to say why Adobe went this way, but if accessors are more carefully
managed by the language, it may be a much easier implementation to pair their
access levels.

regards,
Christian.

Paul Andrews wrote: 







Matt, what has made Adobe depart from what is
standard behaviour in other languages. I'm having trouble understanding any
reason for this than perhaps an implementation issue (ie, we would have
preferred to support independent visibility but we preferred to get it out the
door without delay, since this is a relatively minor issue).





 





Paul







- Original Message - 





From: Matt
Chotin 





To: [EMAIL PROTECTED]ups.com 





Sent: Friday, September
08, 2006 4:48 AM





Subject: RE:
[flexcoders] Public getter, private setter?





 





It's intentional right
now that a getter/setter pair must have a matching visibility modifier.
 You can't change whether a variable is visible to the compiler based on
whether it's being read or being written.  While we understand the
use-case (and debated it internally ourselves) this is the approach we're
taking right now.

 

 









 



-- 



christian
gruber + process coach and architect

Israfil
Consulting Services Corporation

email
 [EMAIL PROTECTED]net +
bus 905.640.1119 + mob 416.998.6023




























-- 
What goes up, does come down. 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] Remote Object Destinations

2006-09-11 Thread João Fernandes












Jeremy,

 

 try  menu Project >
Clean. 

 

João Fernandes

 

 









From:
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Rottman
Sent: segunda-feira, 11 de
Setembro de 2006 20:14
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote
Object Destinations



 







I am using remote objects to collect data from my db
and pass it to my
flex front end. I built a test app to make sure that I am getting
connectivity from flex to my cf server. I have also added the the
destination RETS to the services-config.xml file. 

I have had this problem previously, and restarting fb would clear it
up because the services-config.xml file was cached. Now not even this
will do it. I know my destination is correct because I have
included/output it in my flex app.

This is the error that I get.

faultCode:Server.Processing faultString:'No destination 'RETS' exists
in service flex.messaging.services.RemotingService' faultDetail:'null'

but in my output from my Services.xml file, I have this. I can clearly
see that I have the destination RETS set in my services-config.xml file. 


flashremoting-service
messageTypes="flex.messaging.messages.RemotingMessage">


/>


>

/>


flashremoting-service>

>
http://beta.homesmartagent.com/flex2gateway/"/>

falseenabled>





Here is the full desination from my services-config.xml file.


/>


com.RetsSearch



falsemappings>

level>remote




e>falseforce-cfc-lowercase>


lowercase>falsequery-lowercase>


lowercase>falsestruct-lowercase>









__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] calendar component

2006-09-11 Thread Alistair McLeod
Hi,

We're still working on the calendar component. I will post to my blog
(and here) when it is ready for release.

Regards,

Ali
--


Alistair McLeod
Technical Leader (Rich Internet Applications and LiveCycle)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
p: +44 (0) 131 338 6108
[EMAIL PROTECTED], http://weblogs.macromedia.com/amcleod
 
 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bghoward3
Sent: 11 September 2006 19:59
To: flexcoders@yahoogroups.com
Subject: [flexcoders] calendar component

i recently read that an open sourced calendar componet was close to
being released

http://weblogs.macromedia.com/amcleod/archives/2006/08/fade_to_gray_ef.
cfm

i can not find any other info on this topic, has anyone seen or heard
anything about it and if it is available yet?

thanks 






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






 




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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] calendar component

2006-09-11 Thread bghoward3
i recently read that an open sourced calendar componet was close to 
being released

http://weblogs.macromedia.com/amcleod/archives/2006/08/fade_to_gray_ef.
cfm

i can not find any other info on this topic, has anyone seen or heard 
anything about it and if it is available yet?

thanks 






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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Remote Object Destinations

2006-09-11 Thread Jeremy Rottman
I am using remote objects to collect data from my db and pass it to my
flex front end. I built a test app to make sure that I am getting
connectivity from flex to my cf server. I have also added the the
destination RETS to the services-config.xml file. 

I have had this problem previously, and restarting fb would clear it
up because the services-config.xml file was cached. Now not even this
will do it. I know my destination is correct because I have
included/output it in my flex app.

This is the error that I get.

faultCode:Server.Processing faultString:'No destination 'RETS' exists
in service flex.messaging.services.RemotingService' faultDetail:'null'

but in my output from my Services.xml file, I have this. I can clearly
see that I have the destination RETS set in my services-config.xml file. 


  

  

  


  

  

  
  

  http://beta.homesmartagent.com/flex2gateway/"/>
  
false
  

  



Here is the full desination from my services-config.xml file.





com.RetsSearch



false

remote




false

   
false

   
false










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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Can someone help me understand this price info and what I get for it?

2006-09-11 Thread Eric D Anderson












Hi,

 

The info that Matt provides below is
totally accurate.  I would only add; please reach out to us if you have a
compelling reason to use our technology and would like to explore custom
pricing options.  

 

Feel free to reach out to me directly ([EMAIL PROTECTED]) as I don’t frequent
the list as much as I should. J

 

Eric

Adobe Systems.

  

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Sunday, September 10, 2006
7:59 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Can
someone help me understand this price info and what I get for it?



 









Per application means a conceptual application.  Each one of
our samples is an application.  While the component explorer is made up of
over 100 small application.mxml files it is still conceptually 1
application because it’s delivered through that one URL. 

 

So for departmental it doesn’t matter how many CPUs you
actually have, you are limited to 100 concurrent users across the whole cluster
for a given application 
(section 3.1.2 in the EULA doesn’t say per CPU it says per CPU
group/cluster).  If you want to support more than 100 concurrent
users you will need to use the enterprise license.

 

HTH,

Matt

 









From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of David Brown
Sent: Friday, September 08, 2006
4:02 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Can someone
help me understand this price info and what I get for it?



 







Flex Data
Services (Departmental license) : $6,000 per CPU, with a
limit of 100 concurrent users per cluster

Q3: How do you measure concurrent users in the Flex Data Services
departmental license?

A: Concurrent users will be counted by the number of unique IP
connections to the CPU and/or CPU cluster

We have two hardware load balanced servers both with two cpu's in
them. They are not clustered in anyway.

Does this mean I can have 200 concurrent users (100 for one server and
100 for the other server) because each server has 2 cpu's and is 12k each.

Or does this mean that I can have 400 concurrent users (100 per cpu
per box) so 2 cpus one server and 2 cpu's the other gives me 400?

The EULA also reads:
http://www.adobe.com/products/eulas/pdfs/AdobeFlexSDK-DataServices2_0.pdf#search=%22flex%20data%20services%20departmental%22
About 100 per application per cpu.. But this is beyond me.

Any help. Thanks

David














__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] Re: Using Auth.cfc from CF Wizard

2006-09-11 Thread envidobi
Nimer,
Thanks for your help! I'm a big fan of your books btw!
So i tried to put your CFLOGIN code in play, but i can still get to the
main a pplication. Wouldn't the CFLOGIN have to within the IF statement?
Becuase if the user isn't found in the database then there is no need to
set CFLOGIN at all right? Also, i think what i get confused with flex is
with events. If my auth.cfc method login sends a value of FALSE as the
return value, then wouldn't my on Fault event come into play? Or would
it just be the Result variable? If so, wouldn't i have to put a more
detialed if statment within the login_result function of Login.mxml?

Here is the code from that file:


http://www.adobe.com/2006/mxml";  xmlns="*"
width="100%" height="100%" creationComplete="initApp()">

 
[Event("forgotpassword")]
[Event("loginSuccessful")]
 

 
 
 

 

 

 

 

  
 
 
 
 
 
 
 
 

 
 
 
 




So should there be something like this:
 private function login_result(event:ResultEvent):void
 {
 // login successful, remember the user.
 if( Boolean(event.result) && event.result == true)
 {
 if( this.rememberLogin.selected )
 {
 this.lso.data['user'] = this.user.text;
 this.lso.data['password'] = this.password.text;
 }
 else
 {
 this.lso.data['user'] = null;
 this.lso.data['password'] = null;
 }

 this.dispatchEvent( new Event('loginSuccessful') );
 }
 else
 {
 // login didn't work. show message
 errorMessage("Login unsuccessful");
 this.currentState='login';"

 }
 }

Like i said i get really confused with events, and i've been reading a
ton but its still fuzzy to me at this point, but i need to have this
application secure. Greatly appreciate your help! :)
thanks again
David







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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] FDS: Trouble Pushing Data To the Client

2006-09-11 Thread Jeff Vroom












Hi John,

 

I think the first thing is to see the
stack trace of the ClassCastException you are getting.  If you go to
WEB-INF/flex/services-config.xml, search for level= and change that to Debug,
then make sure the  tag below that has both Message.* and
DataService.* in it, it will give you some nice diagnostics on the server side
and should include the stack trace for that exception.

 

It looks from the error like this is
happening in your assembler’s sync method.   That would abort whatever
update operation you are trying to perform.

 

Jeff 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of John Crosby
Sent: Monday, September 11, 2006
8:56 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS: Trouble
Pushing Data To the Client



 









We are having some trouble pushing data back to the client
based on the results of a server side operation. 

Basically after updating some 'preference' data, we need to get the newly
generated information for the preference changes. The updates seem to be
working, but when we try to refresh the data on the client with
DataServiceTransaction.refreshFill() or updateItem() the problems
ensue. 

Here are some of the details:

Client Side code to retreive the data (ServiceNames is a list of enumerated
values for our destination names) :





// LOAN APPLICATION
loanAppReference = service.getDataService(ServiceNames.LOAN_APPLICATION).getItem({loanID:
model.user.activeLoanNumber}, model.loanApplication);
service.getDataService(ServiceNames.LOAN_APPLICATION).addEventListener(ResultEvent.RESULT,
onLoanApplicationResult);
service.getDataService(ServiceNames.LOAN_APPLICATION).addEventListener(FaultEvent.FAULT,
onLoanApplicationFault);






Server Side Code that we have tried to push data to the client






// RefreshFill

DataServiceTransaction dst =
DataServiceTransaction.getCurrentDataServiceTransaction( );
dst.refreshFill( "aims.finding", null ); dst.commit( );





 





List loanID = new ArrayList();
loanID.add( newPrefs.getLoanID( ) );
dst.refreshFill( "aims.loanApplication", loanID ); 





dst.commit( );






This doesn't see to have any effect.





 







// updateItem

Map loanID = new HashMap();





 





loanID.put( "loanID", newPrefs.getLoanID( ) );
Object updatedFindings = (Object) new FindingAssembler( ).getFinding( loanID );





 





dst.updateItem( "aims.loanApplication",
updatedFindings, null, null );





dst.commit( );





 






Receive The Following Error:





[RPC Fault faultString="Could not invoke sync
method on data adapter for destination 'aims.borrowerPreference' due to
the following error: class java.lang.ClassCastException:java.lang.String."
faultCode="Server.Processing" faultDetail="null"]





 





Although the aims.borrowerPreferences
destination doesn't have anything to do with the aims.finding destination that
we are trying to update.
~

So this is where we stand. If you could point us in the direction of a
solution, or something else to try we'd much very happy!

Thanks in advance for any help thrown our way.

John.








__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






RE: [flexcoders] validators in datagrid colmun

2006-09-11 Thread Stephen Gilson





There is an example in the doc for this 
situation:
 
http://livedocs.macromedia.com/flex/2/docs/0873.html
 
Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of KumarSent: 
Monday, September 11, 2006 2:44 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] validators in 
datagrid colmun



Hi All  Below is the simple data grid I want to apply some like numeric validators on some particular column of data grid. Is there any example for this..! 
                                    
            &!
 nbsp;ThanksKP

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



Re: [flexcoders] Re: Can someone help me understand this price info and what I get for it?

2006-09-11 Thread Paul Andrews
I think the list price is more of an initial negotiation point rather than
set in stone tablets. There's no cost involved in talking your project over
with adobe and seeing how things turn out. I have yet to experience any
major vendor actually sell something to a big project and remain firm on
price. How good are your negotiating skills?

Paul

- Original Message - 
From: "David Brown" <[EMAIL PROTECTED]>
To: 
Sent: Monday, September 11, 2006 5:12 PM
Subject: [flexcoders] Re: Can someone help me understand this price info and
what I get for it?


> Thanks for the answer.  Not what I wanted to hear ;)
>
> Well I can't see us paying 80,000 (20k per cpu times 2 cpu's times 2
> servers)
>
> So that sell is out.
>
> David
>
> --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
> >
> > Per application means a conceptual application.  Each one of our
> samples
> > is an application.  While the component explorer is made up of
> over 100
> > small application.mxml files it is still conceptually 1 application
> > because it's delivered through that one URL.
> >
> >
> >
> > So for departmental it doesn't matter how many CPUs you actually
> have,
> > you are limited to 100 concurrent users across the whole cluster
> for a
> > given application
> > (section 3.1.2 in the EULA doesn't say per CPU it says per CPU
> > group/cluster).  If you want to support more than 100 concurrent
> users
> > you will need to use the enterprise license.
> >
> >
> >
> > HTH,
> >
> > Matt
> >
> >
> >
> > 
> >
> > From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of David Brown
> > Sent: Friday, September 08, 2006 4:02 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Can someone help me understand this price
> info and
> > what I get for it?
> >
> >
> >
> > Flex Data Services (Departmental license) : $6,000 per CPU, with a
> > limit of 100 concurrent users per cluster
> >
> > Q3: How do you measure concurrent users in the Flex Data Services
> > departmental license?
> >
> > A: Concurrent users will be counted by the number of unique IP
> > connections to the CPU and/or CPU cluster
> >
> > We have two hardware load balanced servers both with two cpu's in
> > them. They are not clustered in anyway.
> >
> > Does this mean I can have 200 concurrent users (100 for one server
> and
> > 100 for the other server) because each server has 2 cpu's and is
> 12k
> > each.
> >
> > Or does this mean that I can have 400 concurrent users (100 per cpu
> > per box) so 2 cpus one server and 2 cpu's the other gives me 400?
> >
> > The EULA also reads:
> > http://www.adobe.com/products/eulas/pdfs/AdobeFlexSDK-
> DataServices2_0.pd
> > f#search=%22flex%20data%20services%20departmental%22
> >  DataServices2_0.p
> > df#search=%22flex%20data%20services%20departmental%22>
> > About 100 per application per cpu.. But this is beyond me.
> >
> > Any help. Thanks
> >
> > David
> >
>
>
>
>
>
>
> --
> Flexcoders Mailing 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! ID required)
>
> mailto:[EMAIL PROTECTED]
>
>
>
>
>
>
>




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

<*> 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] issue with type=stacked for bar/column chart

2006-09-11 Thread suri_boston
the below code works if the type of the chart is clustered but it 
doesn't work, if it is stacked. any one have a clue? 

if i change mySilver value from 200 to 20, then it works. i am 
guessing the autoadjust is not working in some cases. 

thanks for your time,
-Suri



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






















   








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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Video Controller

2006-09-11 Thread greg h



Andrew and Adbul,

For some good, light-hearted fun you may want to check this out:
www.adobe.com/devnet/tip/001.html

This is a Flash 5 "Tip of the Week" from Macromedia themselves with a
streaming demo of how to "create your own Macromedia Flash controller
for a QuickTime movie".  I am not making this stuff up. 
(Funnier still, please note that they published this pre-Captivate-like demo
in QuickTime.  lol)

It has been said that necessity is the mother of invention, and before
FLV, Flash developers did some amazing things to get the interactivity
of Flash integrated with true video on the net.  Should it be anyone's *first*
choice today?  N!

Unless maybe like this guy who posted last year
that he has "over 10,000 videos I already have captured and rendered as
wmv".  Then, rather than re-encode his video library as FLVs, it
might make sense to "do 1 flash movie and then 'float' the windows media player embed over the top of the flash movie.
" 
It is really a business decision between re-encoding existing video
versus creating your own Flex/Flash video player using some of the old
school Flash techniques that are out there.


I came into Flash with MX 2004, aka Flash Player 6.  So I am with
you all the way that FLV is the way to go.  The closest I ever
came to non-FLV
video in Flash was a legacy site that embedded each video on the site
in individual SWFs and then created their own player in Flash that used
loadMovie() to play each single video SWF on-demand.  At the time
my first reaction was "Why?", but when I
sat back and considered the options that were available pre-FLV, I
understood.

So if it makes sense for KP to use Flex to play, or should I say control playback of, his existing videos encoded in .mov,.mpeg,wmv,etc. it can be done.  He will just have create his own custom player ;-)

 
And KP, if you know what to google for, there is are still a lot of
Flash how-to related links out there.  (Note:  many large
commercial sites have now converted their video libraries to FLV and
thus have taken down their old content integrating Flash with WMV and
Quicktime.)

For more "Geez!  I can't believe they did that!" fun check out these too:

  Flash 4!  March 24, 2000 Making Interactive QuickTime Video, 

  May 8, 2002 How to simulate video in Macromedia Flash, Macromedia Technote!  (Look Ma!  No video, but it looks like video!)

  
  Jan 6, 2006 Windows media player embed in div over flash movie?
 (runnable prototype)


Oh, and THANK YOU MACROMEDIA FOR FLV  ... AND ESPECIALLY FOR FLV WITH On2

Oh yeah, AND FOR FLEX 2 TOO!  :-)

g
 On 9/11/06, Abdul Qabiz <[EMAIL PROTECTED]
> wrote:



Hi,Adobe Flash Player can only player .flv
files, you can however covert other videos types (.avi, .wmv etc) to
.flv using Open Source tool FFMPEG.Conversion takes depending on the length and compression of the video files. Some of the conversions might not work properly..
You also have to take care of different licensing issues..-abdulOn 9/11/06, 
greg h <[EMAIL PROTECTED]
> wrote:












  



KP,

You are correct that the Flex 2 mx.controls.VideoDisplay and the 

flash.media.Video that it utilizes are FLV only (either streaming via FMS or progressive).

Regarding running video files with different formats
(.mov,.mpeg,wmv,etc.), yes that was commonplace with Flash prior to the
introduction of the FLV format with Flash Player 6.

I came up with the following after googling:  Flash Quicktime
Integrating Flash and QuickTime for Dynamic Media Delivery

If you can integrate Flash with the playback of other video formats,
surely you can do it with Flex 2.  But I advise that you should
not expect components from Adobe for supporting streaming formats other
than FLV.  Not with FLV now so ubiquitous, and with the solid
quality with the FLV On2 codec introduced with Flash 8.

If others do not post with more here about integrating Flex in players
for other video formats, you might try posting also on the Flashcoders list. 


hth,

gOn 9/11/06, KP <


[EMAIL PROTECTED]> wrote:















Hi All,

 

I want to run video files with format (.mov,.mpeg,wmv)
etc.

 

But what I found when I tried to use video controller that
is present in flex components it supports only flv formats files.

 

Is there any way of running video files with different formats.

 

Please Help.

 

Thanks

KP











  




















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software

[flexcoders] Anybody use the AS3 downloaded from labs.adobe.com?

2006-09-11 Thread hastyarkxu
Hi all,

  I just found that there is no 'comments' related methods and classes 
exist in that package.

  Does someone meet the same problem?

Ark






--
Flexcoders Mailing 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] FDS: Trouble Pushing Data To the Client

2006-09-11 Thread John Crosby



We are having some trouble pushing data back to the client based on the results of a server side operation. Basically after updating some 'preference' data, we need to get the newly generated information for the preference changes. The updates seem to be working, but when we try to refresh the data on the client with DataServiceTransaction.refreshFill() or updateItem() the problems ensue. Here are some of the details:Client Side code to 
retreive the data (ServiceNames is a list of enumerated values for our destination names) :

// LOAN 
APPLICATIONloanAppReference = 
service.getDataService(ServiceNames.LOAN_APPLICATION).getItem({loanID: 
model.user.activeLoanNumber}, 
model.loanApplication);service.getDataService(ServiceNames.LOAN_APPLICATION).addEventListener(ResultEvent.RESULT, 
onLoanApplicationResult);service.getDataService(ServiceNames.LOAN_APPLICATION).addEventListener(FaultEvent.FAULT, 
onLoanApplicationFault);

Server Side Code that we have tried to push data to the client
// 
RefreshFillDataServiceTransaction dst 
=DataServiceTransaction.getCurrentDataServiceTransaction( ); 
dst.refreshFill( "aims.finding", null ); dst.commit( );
 
List loanID = new ArrayList();loanID.add( 
newPrefs.getLoanID( ) );dst.refreshFill( "aims.loanApplication", loanID ); 

dst.commit( );
This doesn't see to have any effect.
 
// 
updateItemMap loanID = new 
HashMap();
 
loanID.put( "loanID", newPrefs.getLoanID( ) ); 
Object updatedFindings = (Object) new FindingAssembler( ).getFinding( loanID 
);
 
dst.updateItem( "aims.loanApplication", 
updatedFindings, null, null );
dst.commit( );
 
Receive The 
Following Error:

[RPC Fault faultString="Could not invoke sync 
method on data adapter for destination 'aims.borrowerPreference' due to the 
following error: class 
java.lang.ClassCastException:java.lang.String."faultCode="Server.Processing" 
faultDetail="null"]
 
Although the aims.borrowerPreferences destination 
doesn't have anything to do with the aims.finding destination that we are trying 
to update.~So this is where we stand. If you could point us in the direction of a solution, or something else to try we'd much very happy!Thanks in advance for any help thrown our way.John.

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Multiple XML loads?

2006-09-11 Thread Tracy Spratt












I am not sure I understand “because
you don't know which feed to pull at runtime”.

 

Using AS code you can change the URL of
the HTTPService call and invoke send() at will.

 

If you need to keep track of which result
goes with which send, you can use the ACT pattern, that allows you to set and
retrieve data in an AsyncToken.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jamie O
Sent: Monday, September 11, 2006
9:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple XML
loads?



 







Hi all,

I'm about a week into learning Flex, liking a lot of what I'm seeing
for how things have been built. Reminds me of "wy back" when
Visual Basic was one of the larger tools on the market for front-end
based applications in that all the components and presentation
manipulation are right there.

I have one conceptual/programming question right now I'm struggling
with. Say in the blogreader sample app tutorial, you wanted to have
several buttons to read several different RSS or XML feeds. My
attempts using HTTPService have failed because you don't know which
feed to pull at runtime or been able to use a variable in the
HTTPService url. Other attempts have been equally unsuccessful.

Put the code from that tutorial in below for reference.
Any help thanks!

8"?>
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="feedRequest.send()">

id="feedRequest" 
url="" goes here"
useProxy="false"/>

title="{feedRequest.lastResult.rss.channel.title}">

dataProvider="{feedRequest.lastResult.rss.channel.item}">

/>
>



htmlText="{dgPosts.selectedItem.description}" />

click="navigateToURL(new URLRequest(dgPosts.selectedItem.link));"
/>









__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






Re: [flexcoders] Localizing application

2006-09-11 Thread Daniel Wabyick

Hey João,

Thanks for the code sample ... Very helpful. In particular, I like how 
you bind the a function to an event, I was trying to figure out how to 
do that ... I like it how it magically adds the class in as an event 
listener.

[Bindable(event="languageChange")]
public function getString( key : String ) : String
{
var value : String = activeLanguage.languageKeyValues[ key ];
   
if ( value == null )
{
throw new Error( "No value in languange bundle for key " 
+ key );
}
   
return value;
}
}

Best,
-Daniel



João Fernandes wrote:
>
> Diego, take a look here
>
> http://weblogs.macromedia.com/arayne/archives/2006/08/internationalis.cfm#mo 
> 
> re
>
> João Fernandes
>
> -Original Message-
> From: flexcoders@yahoogroups.com  
> [mailto:flexcoders@yahoogroups.com 
> ] On
> Behalf Of Diego Guebel
> Sent: segunda-feira, 11 de Setembro de 2006 3:50
> To: Flex coders
> Subject: [flexcoders] Localizing application
>
> Hi there,
> Based on the flex documentation I have to compile one swf per each
> language, is that right?
> I'd like to be able to switch between languages during runtime. isn't 
> that
> possible?
> Thanks, Diego.
>
> --
> Flexcoders Mailing 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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Can someone help me understand this price info and what I get for it?

2006-09-11 Thread David Brown
Thanks for the answer.  Not what I wanted to hear ;)

Well I can't see us paying 80,000 (20k per cpu times 2 cpu's times 2 
servers)

So that sell is out.

David

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Per application means a conceptual application.  Each one of our 
samples
> is an application.  While the component explorer is made up of 
over 100
> small application.mxml files it is still conceptually 1 application
> because it's delivered through that one URL. 
> 
>  
> 
> So for departmental it doesn't matter how many CPUs you actually 
have,
> you are limited to 100 concurrent users across the whole cluster 
for a
> given application 
> (section 3.1.2 in the EULA doesn't say per CPU it says per CPU
> group/cluster).  If you want to support more than 100 concurrent 
users
> you will need to use the enterprise license.
> 
>  
> 
> HTH,
> 
> Matt
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of David Brown
> Sent: Friday, September 08, 2006 4:02 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Can someone help me understand this price 
info and
> what I get for it?
> 
>  
> 
> Flex Data Services (Departmental license) : $6,000 per CPU, with a
> limit of 100 concurrent users per cluster
> 
> Q3: How do you measure concurrent users in the Flex Data Services
> departmental license?
> 
> A: Concurrent users will be counted by the number of unique IP
> connections to the CPU and/or CPU cluster
> 
> We have two hardware load balanced servers both with two cpu's in
> them. They are not clustered in anyway.
> 
> Does this mean I can have 200 concurrent users (100 for one server 
and
> 100 for the other server) because each server has 2 cpu's and is 
12k
> each.
> 
> Or does this mean that I can have 400 concurrent users (100 per cpu
> per box) so 2 cpus one server and 2 cpu's the other gives me 400?
> 
> The EULA also reads:
> http://www.adobe.com/products/eulas/pdfs/AdobeFlexSDK-
DataServices2_0.pd
> f#search=%22flex%20data%20services%20departmental%22
>  df#search=%22flex%20data%20services%20departmental%22> 
> About 100 per application per cpu.. But this is beyond me.
> 
> Any help. Thanks
> 
> David
>






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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 cancel down arrow on a combobox

2006-09-11 Thread Peter Watson












Hi – here’s a sub-class of
mx:ComboBox that implements your functionality.

 

 

myCombo.as

***

 

// custom comboBox - ignores up/down arrow
keystrokes 

import mx.controls.ComboBox;

 

class myComboBox extends
mx.controls.ComboBox

{   

    public function myComobBox(){

    }

    public function
keyDown(key:Object):Void{

    if(key.code ==
Key.DOWN || key.code == Key.UP){

    return;

    }

    else{

    super.keyDown(key);

    }

    }

}

 

 

regards,

peter

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of shemeshkale
Sent: Sunday, September 10, 2006
5:21 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: how to
cancel down arrow on a combobox



 







Jason, tnx.
it seems pretty easy, BUT!!!
i m using flex 1.5 !
tried the preventDefault() but its not working here.

?

--- In [EMAIL PROTECTED]ups.com,
"Jason Hawryluk" <[EMAIL PROTECTED]> wrote:
>
> Listen to the key events and prevent the default
> 
> Paste below in a new application to test
> 
> 
> 
> 
> 
> 
> "{ComboDS.children()}"
labelField="@label"
> keyUp="DisableKey(event);" keyDown="DisableKey(event);"
/>
> 
> hope this helps
> 
> Jason






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   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] My Adobe Developer Derby Xbox 360 Charity Auction

2006-09-11 Thread Rich Tretola
Hey all,

Sorry to be off topic but it is for a good cause so please don't flame me.

I just wanted to pass the word along that I have put my xBox 360 that
was part of the Adobe Flex Developer Derby up for auction with 100% of
the proceeds going to Toys for Tots.  It is new and hasn't been
opened.

Here is the post:
http://www.everythingflex.com/blog/1/2006/09/My-Adobe-Xbox-360-Charity-Auction.cfm

Here is the auction:
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=330027238013

The auction runs for 10 days so please spread the word as I would like
to see as big a donation as possible.

Thanks,
Rich


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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Video Controller

2006-09-11 Thread Abdul Qabiz



Hi,Adobe Flash Player can only player .flv files, you can however covert other videos types (.avi, .wmv etc) to .flv using Open Source tool FFMPEG.Conversion takes depending on the length and compression of the video files. Some of the conversions might not work properly..
You also have to take care of different licensing issues..-abdulOn 9/11/06, greg h <[EMAIL PROTECTED]
> wrote:












  



KP,

You are correct that the Flex 2 mx.controls.VideoDisplay and the 

flash.media.Video that it utilizes are FLV only (either streaming via FMS or progressive).

Regarding running video files with different formats
(.mov,.mpeg,wmv,etc.), yes that was commonplace with Flash prior to the
introduction of the FLV format with Flash Player 6.

I came up with the following after googling:  Flash Quicktime
Integrating Flash and QuickTime for Dynamic Media Delivery

If you can integrate Flash with the playback of other video formats,
surely you can do it with Flex 2.  But I advise that you should
not expect components from Adobe for supporting streaming formats other
than FLV.  Not with FLV now so ubiquitous, and with the solid
quality with the FLV On2 codec introduced with Flash 8.

If others do not post with more here about integrating Flex in players
for other video formats, you might try posting also on the Flashcoders list. 


hth,

gOn 9/11/06, KP <
[EMAIL PROTECTED]> wrote:















Hi All,

 

I want to run video files with format (.mov,.mpeg,wmv)
etc.

 

But what I found when I tried to use video controller that
is present in flex components it supports only flv formats files.

 

Is there any way of running video files with different formats.

 

Please Help.

 

Thanks

KP











  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



RE: [flexcoders] Video Controller

2006-09-11 Thread Andrew Trice












If you want to play the video inside of
Flex, you will need to convert it to FLV… hands down.  A lot of people on
this newsgroup mention FFmpeg for video conversion (http://ffmpeg.mplayerhq.hu/).  You might
want to look at that.  

 

-Andy

 



_

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Blog: http://www.cynergysystems.com/blogs/page/andrewtrice

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of greg h
Sent: Monday, September 11, 2006
11:13 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Video
Controller



 







KP,

You are correct that the Flex 2 mx.controls.VideoDisplay
and the flash.media.Video
that it utilizes are FLV only (either streaming via FMS or progressive).

Regarding running video files with different formats (.mov,.mpeg,wmv,etc.),
yes that was commonplace with Flash prior to the introduction of the FLV format
with Flash Player 6.

I came up with the following after googling:  Flash Quicktime
Integrating
Flash and QuickTime for Dynamic Media Delivery

If you can integrate Flash with the playback of other video formats, surely you
can do it with Flex 2.  But I advise that you should not expect components
from Adobe for supporting streaming formats other than FLV.  Not with FLV
now so ubiquitous, and with the solid quality with the FLV On2 codec introduced
with Flash 8.

If others do not post with more here about integrating Flex in players for
other video formats, you might try posting also on the Flashcoders
list. 

hth,

g



On 9/11/06, KP

wrote:







Hi
All,

 

I
want to run video files with format (.mov,.mpeg,wmv) etc.

 

But
what I found when I tried to use video controller that is present in flex
components it supports only flv formats files.

 

Is
there any way of running video files with different formats.

 

Please
Help.

 

Thanks

KP









 






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___






[flexcoders] ibatis

2006-09-11 Thread gordofeatherfoot
Anyone know how to integrate the ibatis persistence framework with
flex 2.0 and FDS?

 

Thanks for your help,

T.







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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Order of drawing/rendering in a custom AS component

2006-09-11 Thread jeremyrichman
Hi Mike,

Thanks -- the only thing is, those methods do not (for me) control 
the ordering of drawing, i.e. not which one is on top.  They do 
control the z-order, but not the drawing order.

I recall someone's earlier post that while ActionScript 2 did allow 
an easy way to control the drawing order, i.e. which items are on top 
of which other ones, that ActionScript3 does not and that I have to 
override the updateDisplayList function, but I'm not sure what 
updateDisplayList does _now_ that I would have to duplicate while 
adding my own functionality.

Any help appreciated.

Jeremy

--- In flexcoders@yahoogroups.com, "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> getChildAt()
> getChildByName()
> getChildIndex()
> 
> all IDisplayObjectContainer interface methods and properties.
> 
> &
> 
> setChildAt()
> 
> work great for setting depth along with the property numChildren
> 
> [0] == top
> numChildren - 1 == bottom
> 
> 
> Peace, Mike
> 
> On 9/1/06, jeremyrichman <[EMAIL PROTECTED]> wrote:
> >
> >   I've been trying to do just this -- the z-order as you say has
> > nothing to do with the order of drawing, i.e. what ends up on top.
> > What function do I need to override or create in order to control 
the
> > drawing order? (I've tried updateDisplayList but haven't been able
> > to make that work.)
> >
> > Thanks,
> >
> > Jeremy
> >
> > --- In flexcoders@yahoogroups.com , "Ralf
> > Bokelberg"
> >
> >  wrote:
> > >
> > > The z-order is determined by the position in the display list of
> > their parent.
> > > Unless you control the drawing by yourself, this is not 
necessarily
> > > the order in which things are drawn.
> > >
> > > Cheers,
> > > Ralf
> > >
> > > On 8/8/06, RBullotta  wrote:
> > > > Is there a "z-order" to drawing when multiple 
IDisplayComponents
> > are
> > > > contained in another component? What I'm trying to do is 
control
> > the
> > > > order in which they are rendered so that I can use 
Graphics.xxx
> > > > drawing primitives on top of the other objects...
> > > >
> > > > Any help appreciated.
> > > >
> > > > - Rick
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Flexcoders Mailing List
> > > > FAQ:
> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > > Search Archives: http://www.mail-archive.com/flexcoders%

> > 40yahoogroups.com
> > > > Yahoo! Groups Links
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Ralf Bokelberg 
> >
> > > Flex & Flash Consultant based in Cologne/Germany
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> What goes up, does come down.
>







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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Video Controller

2006-09-11 Thread greg h



KP,

You are correct that the Flex 2 mx.controls.VideoDisplay and the 
flash.media.Video that it utilizes are FLV only (either streaming via FMS or progressive).

Regarding running video files with different formats
(.mov,.mpeg,wmv,etc.), yes that was commonplace with Flash prior to the
introduction of the FLV format with Flash Player 6.

I came up with the following after googling:  Flash Quicktime
Integrating Flash and QuickTime for Dynamic Media Delivery

If you can integrate Flash with the playback of other video formats,
surely you can do it with Flex 2.  But I advise that you should
not expect components from Adobe for supporting streaming formats other
than FLV.  Not with FLV now so ubiquitous, and with the solid
quality with the FLV On2 codec introduced with Flash 8.

If others do not post with more here about integrating Flex in players
for other video formats, you might try posting also on the Flashcoders list. 

hth,

gOn 9/11/06, KP <[EMAIL PROTECTED]> wrote:















Hi All,

 

I want to run video files with format (.mov,.mpeg,wmv)
etc.

 

But what I found when I tried to use video controller that
is present in flex components it supports only flv formats files.

 

Is there any way of running video files with different formats.

 

Please Help.

 

Thanks

KP











__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Binding a function to a MXML property

2006-09-11 Thread dreuimar
Hey everyone,

I have a VBox:


That will display the contents of the VBox if there are entries in the
contacts array collection.

Now, if I have a function:

private function showVBox() : Boolean
{
  return (model.clientModel.selectedClient.contacts.length > 0);
}

It doesn't keep changing the visibility state whenever a client
changes, as it does with what I have in the first example. Any idea
how I can make this work, so that I can clear up my MXML?

Brennan





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Need help using XML files without embedding them in SWF

2006-09-11 Thread greggohlke
Right now I use several XML files in my Flex 2 app and they are being 
embedded in the SWF file. I define them in an  tag like this:



As you can see by the relative pathing the files are in the same file 
structure as the final SWF. How can I decouple these files so they are 
not embedded in the swf but are read at runtime? Since they are config 
files it would be useful to change them without having to recompile 
the app to get them re-embedded. Should I be using a URLLoader or 
HTTPService instead?







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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Datagrid with a dropdown column!

2006-09-11 Thread Hasan Otuome






Hi Anurag,

Yes, it's possible. What you want is an itemRenderer or itemEditor for
that specific DataGrid column or columns. Here's a couple of links that
should point you in the right direction:

http://livedocs.macromedia.com/flex/2/langref/mx/controls/DataGrid.html

http://thesourcecode.org/?p=15

HTH...

P E A C E

Hasan
hasan.otuome.com
www.marxmedia.net
thesourcecode.org
Adobe Certified Professional (Flash MX2004 Developer)


sahay17 wrote:

  
  
  
  
  Hi all,
I am having a datagrid "skillDG" with 2 datagridcolumn as "skillName" 
and "ratingId" which is picking data from arraycollection.
  

sortableColumns= "true" dataProvider= "{_model} " editable="true" >



dataField="skillNam e" editable="false" /> 
  

dataField="ratingId " /> 
  



  
But now i want that my datafieldcolumn "ratingId" to be a dropdown 
with skills namely beginner,intermedia te and expert. Is it possible?
  
Thanks and Regards,
Anurag.
  
  
  
  


__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___




Re: [flexcoders] background color of a text?

2006-09-11 Thread Daniel Freiman



My guess is that each control acts a little differently, but if it's not listed as a style or property in the docs for the control you want, then you can usually extend the class and set the background color of the UITextField that's actually rendering the text.
On 9/9/06, oktay nba <[EMAIL PROTECTED]> wrote:



hi;
how can i give a background color to a text control (like the anything usage in html) or label?
 
oktay






__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Flex with FMS (something like Breeze...)

2006-09-11 Thread brownd_92
Hi there,
Does anyone know of an instance where flex is being used in 
conjunction with Media server?
I am looking to do something that I can upload a .swf presentation 
then click through the presentation (like you would powerpoint) and 
everyone else see and hear what Im doing

Cheers

David






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Passing Const to custom component error

2006-09-11 Thread Tom Ortega



I wish badly that you were correct, but alas, I fear not.I replaced components with freedCom for both the namespace and directory names.  Compiled and passing a const into the FreedTextLabel still results in a null value, while passing in a plain string value of "Name" works.  Even passing a binding to a variable such as ls="{someVar}" where someVar is set to the const will result in a null value being displayed.
I did a bit of debugging though and discovered this.  If I pass it a simple string value, the setter gets fired.  If I pass it a reference to a var or const, the setter doesn't fire.  Maybe the var reference doesn't register as a true value assignment and thus doesn't fire/trigger the setter?
-Tom2On 9/11/06, bjorn.schultheiss <[EMAIL PROTECTED]> wrote:













  



It's te components namespace you set in the component.
The compiler doesn't like xmlns:components="apps.common.components.*"
not sure why, perhaps components is a reserved word?!?

Using getters and setters is good practice for use within components.

Overall the code is fine.

--- In flexcoders@yahoogroups.com, "Tom Ortega" <[EMAIL PROTECTED]> wrote:
>
> I have this class:
> package apps.common.asFiles
> {
> public class ScreenLabelConstants
> {
> public static const NAMEINFO_LABEL:String = "Name";
> }
> }
> 
> I have this code in my app:
> http://www.adobe.com/2006/mxml" width="100%"
> height="100%" label="Name" xmlns:components="apps.common.components.*">
> 
> 
> 
> 
> 
> 
> 
> The FreedTextLabel has this:
> 
> http://www.adobe.com/2006/mxml"
> creationComplete="initFunc()" borderThickness="1" cornerRadius="0"
> shadowDistance="0" width="80%">
> 
> 
> 
> 
> 
> 
> 
> The problem is that it won't work.  No data gets passed to my custom
> component.  Why is that?  Is it because my app is binding the var to
> constant value?  Or because I'm using a setter/getter on the var
receiving
> the reference?
> 
> Thanks,
> Tom2
>


  















__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: cairngorm: managing hundred of views

2006-09-11 Thread dreuimar
The technique I use is probably a bit unorthodox.

I have view stack that holds every screen possible in the application.
In Cairngorm, each screen that has a helper (based off ViewHelper)
registers itself. I modified this process to have a BaseHelper class
that extends ViewHelper, and the helper classes for each view extend
BaseHelper. Now, in BaseHelper I have each view register itself in a
collection in the model, along with whether it's a system screen
(login page, main menu, etc), whether the view has any requirements
before being switched to or exited from. I do this by having a Screen
VO with different properties (application title string [for menu at
top], page title string, whether it's a system screen, and a boolean
of if it's accessible, which defaults to false.)

Each view helper implements IEnterExit, an interface that has four
methods: enter(), exit(), setup() and destruct(). I really only use
the first three in my application.

The command that switches state will reference the view that's being
called by the collection that the BaseHelper registered it's parent
with. It can then perform any enter or exit logic on the screen being
entered and the screen being left.

I also have in the relational database what screens each user is
permitted to see.

My applications process is this:

Application begins, each view registers itself with both the
ViewLocator and the BaseHelper's collection. Since the login view is
the first in the stack, it is shown. Upon successful login, the user's
available screens are filtered through the application's total
screens, and a final collection of Screen VO objects are put in this
collection. Each screen the user has accessed to switches the access
from false to true.

So to switch screens I have full flexibility in being able to search
through available screens per user, along with showing certain ones
(my main menu shows every available screen that isn't a system
screen.) Switching screens becomes as easy as dispatching a cairngorm
switch screen event with the screen you want to access, for instance:

CairngormEventDispatcher.getInstance().dispatchEvent(new
SwitchScreenEvent("mainmenu"));

or, if you're like me:

CairngormEventDispatcher.getInstance().dispatchEvent(new
SwitchScreenEvent( Constants.MAINMENU ));

And in the BaseState's registration, it takes the screen's page title
from that same constants file. So Constants.MAINMENU : String might
equal "Welcome to the Application's Main Menu", and this is the same
string being dispatched.

Sorry if this is incoherent and sloppy.

Brennan


--- In flexcoders@yahoogroups.com, "bjorn.schultheiss"
<[EMAIL PROTECTED]> wrote:
>
> True indeed.
> 
> But when dealing with 100+ screens, surely not all view related logic
> can be contained on a traditional Model.
> I think Cairngorm leave alot of freedom in terms of how you implement
> the view. DataBinding is an efficient way of updating the view with
> business logic. But there is still the requirement of using a view
> framework. The mx framework offers a awesome components and extending
> the existing viewstack, box, etc, you can achieve good managable code.
> But i think there are various view specific patterns to use
> inconjuction with cairngorm.
> 
> A key flex advantage in my opinion is that used with cairngorm 2, the
> difficulty of handling client data has been totally removed. This
> leaves more time available for enhanced the view and providing Awesome
> GUI's. I cant wait for Blaze and Robert Penner's AS3 Animation
> contribution.
> 
> My current 100+ View Screen app that i'm working on is in AS2, i would
> so love to be using AS3 instead.
> 
> Regards,
> Bjorn
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
>  wrote:
> >
> > Maybe the provided examples are a little bit misleading, because they
> > are too simple. On the other hand, who is able to create an example
> > with hundreds of views :)  But the point is, ModelLocator is just
> > that, a locator  for the model and not the model itself. If you have a
> > view or a group of views, which needs multiple properties of your
> > model, you should create a class for that and add an instance of this
> > class to the ModelLocator.
> > 
> > Cheers,
> > Ralf.
> > 
> > On 9/11/06, Tim Hoff  wrote:
> > > With views, the main thing to keep in mind is directory
> > > organization.  Respectfully, I have a few differing ideas, than
> > > Steven, when it comes to views.  But at Cairngorm's current
> > > iteration, "all" state == model (local and common).  Organize the
> > > actual view classes in functional directory groups; for easy
> > > identification.  In the ModelLocator, bind the state of the views
> > > accordingly.  With hundreds of views, you will probably want to
> > > subclass the ModelLocator, into functional groups, to aid in
> > > organization.  Ultimately, it boils down to each application's
> > > requirements.  For me, I just try to keep things as simple and
> > > maintainable as possible;

[flexcoders] Multiple XML loads?

2006-09-11 Thread Jamie O
Hi all,

I'm about a week into learning Flex, liking a lot of what I'm seeing
for how things have been built. Reminds me of "wy back" when
Visual Basic was one of the larger tools on the market for front-end
based applications in that all the components and presentation
manipulation are right there.

I have one conceptual/programming question right now I'm struggling
with. Say in the blogreader sample app tutorial, you wanted to have
several buttons to read several different RSS or XML feeds. My
attempts using HTTPService have failed because you don't know which
feed to pull at runtime or been able to use a variable in the
HTTPService url. Other attempts have been equally unsuccessful.

Put the code from that tutorial in below for reference.
Any help thanks!


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




















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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Localizing application

2006-09-11 Thread João Fernandes
Diego, take a look here

http://weblogs.macromedia.com/arayne/archives/2006/08/internationalis.cfm#mo
re

João Fernandes

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Diego Guebel
Sent: segunda-feira, 11 de Setembro de 2006 3:50
To: Flex coders
Subject: [flexcoders] Localizing application

Hi there,
Based on the flex documentation I have to compile one swf per each  
language, is that right?
I'd like to be able to switch between languages during runtime. isn't that  
possible?
Thanks, Diego.


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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Custom TreeItemRenderer to display a label followed by an icon/image?

2006-09-11 Thread wayneposner
Hi all...

I've been playing around with the code that's been floating around 
to put render a checkbox next to each item in a tree control, but 
I'm not having any luck accomplishing the task of getting an image 
to display after a label in a tree control.

I'm using a shared object to store information about different items 
in a tree and I'd like to put a little "comments" icon next to an 
item in the tree that has a shared object associated with it.  

I can't change the branch/leaf icons I'm already using custom icons 
and they must remain as they are.  Can the labelFunction be used to 
return an object containing my label and my icon instead of just a 
string?

If not, can someone point me in the direction with a few lines of 
code from the updateDisplayList function that will help me 
accomplish my task?

Thanks!
Wayne






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

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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Video Controller

2006-09-11 Thread KP










Hi All,

 

I want to run video files with format (.mov,.mpeg,wmv)
etc.

 

But what I found when I tried to use video controller that
is present in flex components it supports only flv formats files.

 

Is there any way of running video files with different formats.

 

Please Help.

 

Thanks

KP




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  YAHOO! GROUPS LINKS



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

2006-09-11 Thread Alfredo Laguia





 
__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Re: cairngorm: managing hundred of views

2006-09-11 Thread bjorn.schultheiss
True indeed.

But when dealing with 100+ screens, surely not all view related logic
can be contained on a traditional Model.
I think Cairngorm leave alot of freedom in terms of how you implement
the view. DataBinding is an efficient way of updating the view with
business logic. But there is still the requirement of using a view
framework. The mx framework offers a awesome components and extending
the existing viewstack, box, etc, you can achieve good managable code.
But i think there are various view specific patterns to use
inconjuction with cairngorm.

A key flex advantage in my opinion is that used with cairngorm 2, the
difficulty of handling client data has been totally removed. This
leaves more time available for enhanced the view and providing Awesome
GUI's. I cant wait for Blaze and Robert Penner's AS3 Animation
contribution.

My current 100+ View Screen app that i'm working on is in AS2, i would
so love to be using AS3 instead.

Regards,
Bjorn



--- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
<[EMAIL PROTECTED]> wrote:
>
> Maybe the provided examples are a little bit misleading, because they
> are too simple. On the other hand, who is able to create an example
> with hundreds of views :)  But the point is, ModelLocator is just
> that, a locator  for the model and not the model itself. If you have a
> view or a group of views, which needs multiple properties of your
> model, you should create a class for that and add an instance of this
> class to the ModelLocator.
> 
> Cheers,
> Ralf.
> 
> On 9/11/06, Tim Hoff <[EMAIL PROTECTED]> wrote:
> > With views, the main thing to keep in mind is directory
> > organization.  Respectfully, I have a few differing ideas, than
> > Steven, when it comes to views.  But at Cairngorm's current
> > iteration, "all" state == model (local and common).  Organize the
> > actual view classes in functional directory groups; for easy
> > identification.  In the ModelLocator, bind the state of the views
> > accordingly.  With hundreds of views, you will probably want to
> > subclass the ModelLocator, into functional groups, to aid in
> > organization.  Ultimately, it boils down to each application's
> > requirements.  For me, I just try to keep things as simple and
> > maintainable as possible; even when endless local state variables
> > tend to clutter and complicate the ModelLocator.  I'm calling this
> > model happy. :)
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Bjorn Schultheiss"
> >  wrote:
> > >
> > > Good Question and I hope this thread gets a lot of posts.
> > >
> > > Personally I don't think that the modelLocator is always upto the
> > job.
> > > Don't get me wrong, in a data-driven application this methodology
> > is
> > > beautiful,
> > > But my feeling is it will not satisfy all requirements.
> > >
> > > For example, say you have about 100 view states that are loaded in
> > and
> > > disposed of, at runtime, as required.
> > > I don't think the ModelLocator is up to the task.
> > > I think possibly a "ViewManager" of sorts is required that acts as
> > a middle
> > > tier between the Views and the ModelLocator.
> > >
> > > I don't have any concrete classes to show an example of what I
> > mean as I
> > > haven't developed such a solution as yet.
> > > But I am at the beginning of a project that will require such
> > consideration.
> > >
> > >
> > > Regards,
> > >
> > > Bjorn Schultheiss
> > > Senior Flash Developer
> > > QDC Technologies
> > >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Diego Guebel
> > > Sent: Monday, 11 September 2006 12:07 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] cairngorm: managing hundred of views
> > >
> > > Hi there,
> > > My questions is theoretical and best practice oriented, I just
> > wonder what
> > > is the best approach to manage hundreds of views since
> > > viewhelper/viewlocator is out of fashion.
> > > I was reading previous post but didn't find a good example or
> > tutorial.
> > > Can anyone put some light on this?
> > >
> > > Sorry if some of you receive this post twice, I think the first
> > once was
> > > moderated.
> > > Thanks in advance. Diego.
> > >
> > >
> > > --
> > > Flexcoders Mailing 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! ID required)
> >
> > mailto:[EMAIL PROTECTED]
> >
> >
> >
> >
> >
> >
> >
> 
> 
> -- 
> Ralf Bokelberg <[EMAIL PROTECTED]>
> Flex & Flash Consultant based in Cologne/Germany
>







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

[flexcoders] CustomListRenderer Item update problem

2006-09-11 Thread matt wicks










Hi all, 

 

Wonder if anyone can help on this –

 

I have a tile list with a Cutsom  itemRenderer
– initially this displays fine (I am dragging and dropping data over it
from a data grid), but I then want to update the data in one field (email). The
back end fetched he appropriate data ondragdrop and then calls a function which
updates the arrayColection which is  the dataprovider. What then happened is
that the email text field in the itemrendere should update – which it
does BUT only for the second, third etc tiles and not for the first – its
driving me nuts and any help would be gratefully received !!

 

Below : the tile l Tile LIST FUNCTIONS

private function
completedrop(event:DragEvent):void{

    

    dTarget
= TileList(event.currentTarget)

    var
items:Array = event.dragSource.dataForFormat("items") as Array;

    currentDropIndex=
dTarget.calculateDropIndex(event)

    

    for
(var i:uint = 0; i < items.length; i++) {

    var
filename:String = createFileName(items[i].URL)

 

 

    //
ceates a Remote Object

    this.parentApplication.searchData.web_data_call(filename);

    //
this is not called at this point but data is saved

    loadedData[currentDropIndex]
= items[i];

    

    }   

    

    }   

 

 

 

    //triggered
when the RemoteObject result handler is called

    public
function renderItem(dataw:Object):void {

    //
add in the new data if it exists

    if
(dataw.am==1) {

    loadedData[currentDropIndex].ACP_NATIONAL
= dataw.ACP_National;

    loadedData[currentDropIndex].EMAIL
= dataw.email1;   

    loadedData[currentDropIndex].MOBILE
= dataw.mobile;

    }   

    IList(dTarget.dataProvider).setItemAt(loadedData[currentDropIndex],currentDropIndex);

    

 

    }   

 

 

 



 



 

And the  intem rendered

 

 

 

……

 









    







 

 

Thanks in advanced

 

Matt




__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___





[flexcoders] Re: How can I keep one component in front of all other components?

2006-09-11 Thread hastyarkxu
Hi,

  But I have two thing that not very clear:
1. The component that always on top are not created by SystemManger, 
it is the grandson of , how can I swap this instance 
with the Poped up instance which is the child of system manager.

2. Is the component created by System Manager always be the child of 
it? I don't know because when I create a popup, I have to assgin a 
parent to it? Doesn't this parent not really the component's parent?
The system manager always be it's parent?

--- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> PopUpManager create pop-ups via SystemManager, which had a children 
list,
> and all DisplayObjectContainer( like SystemManager) has a 
setChildIndex()
> method to let you swap each child's depth, that's where you can 
start to
> implement.
> 
> 
> 
> 
> 
> On 9/11/06, hastyarkxu <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >   I want to keep one component always in front. It looks like 
the 'task
> > bar' in windows. no matter how many windows you opened, task bar 
is
> > always on top of all the windows.
> >
> >   I want to keep it in front even the other components are poped 
up by
> > the popup manager.
> >
> >   What should I do then? (I think the z-order is useless because 
other
> > component is created by popup manager..)
> >
> > regards,
> >
> > Ark
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing 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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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 with a dropdown column!

2006-09-11 Thread sahay17
Hi all,
I am having a datagrid "skillDG" with 2 datagridcolumn as "skillName" 
and "ratingId" which is picking data from arraycollection.






 





But now i want that my datafieldcolumn "ratingId" to be a dropdown 
with skills namely beginner,intermediate and expert. Is it possible?

Thanks and Regards,
Anurag.





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Binding drop down according to value of a data field!

2006-09-11 Thread sahay17
Hi all,
I m having a datagrid which has a column "Rating" as a drop down.The 
dataprovider _model is an arraycollection. Now what I want is that if 
the datafield "ratingId" is 'B' I should populate "Beginner" in the 
drop down. Similarly if I ve "ratingId" as 'I', I should 
populate "Intermediate" in the drop down.Similarly if I 
ve  "ratingId" as 'E', I should populate "Expert" in the drop 
down.How to bind the drop down as such? Or is there a better way of 
doing this?

-
DROP DOWN:-


Beginner
Intermediate
Expert
 


-
DATA GRID







 



  

Thanks,
Anurag.






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Passing Const to custom component error

2006-09-11 Thread bjorn.schultheiss
It's te components namespace you set in the component.
The compiler doesn't like xmlns:components="apps.common.components.*"
not sure why, perhaps components is a reserved word?!?

Using getters and setters is good practice for use within components.

Overall the code is fine.

--- In flexcoders@yahoogroups.com, "Tom Ortega" <[EMAIL PROTECTED]> wrote:
>
> I have this class:
> package apps.common.asFiles
> {
> public class ScreenLabelConstants
> {
> public static const NAMEINFO_LABEL:String = "Name";
> }
> }
> 
> I have this code in my app:
> http://www.adobe.com/2006/mxml"; width="100%"
> height="100%" label="Name" xmlns:components="apps.common.components.*">
> 
> 
> 
> 
> 
> 
> 
> The FreedTextLabel has this:
> 
> http://www.adobe.com/2006/mxml";
> creationComplete="initFunc()" borderThickness="1" cornerRadius="0"
> shadowDistance="0" width="80%">
> 
> 
> 
> 
> 
> 
> 
> The problem is that it won't work.  No data gets passed to my custom
> component.  Why is that?  Is it because my app is binding the var to
> constant value?  Or because I'm using a setter/getter on the var
receiving
> the reference?
> 
> Thanks,
> Tom2
>






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: How would I do something like this....

2006-09-11 Thread rafael
Hi,

I did the same GridTree but with the Flash Components V2 and now I would like 
port my 
app to Flex. But I use another way, I put the datagrid immediately at the right 
side of the 
tree. This work fine and I think is a more ease solution, because your base is 
the tree and 
not the datagrid, then you can manage more ease the xml data and don't need to 
deal with 
itemrenderer in the datagrid, only the checkboxes in the tree.

Now, I'm really newbie with Flex and I can't get the length of the only visible 
items in the 
tree :(

Really stupid, but this is my first time with flex, I can't see nothing in the 
Tree and XML 
classes.

thanks in advance

Rafael



--- In flexcoders@yahoogroups.com, "jeremy lu" <[EMAIL PROTECTED]> wrote:
>
> well, just flip thru my gridtree component (http://tinyurl.com/grcfs)
> developed two months ago (which is still in a mess), it's around 2000 lines
> of code (after refactoring it three times) and lot of algorithm behind to
> handle following function:
> 
> addNode
> removeNode
> cutNode
> copyNode
> pasteNode
> indent/outdent code
> 
> I think the first methods Anatole mentioned will definitely be a b***h to
> tackel with, for the nature of List-based component is a little bit tricky
> then it looks (all the list items are dynamically generated and draw on the
> screen, this will cause some trouble)
> 
> I'm currently implementing gridtree using item renderer for the first
> column, it's pretty much the same work to extends gridbase and "inject" the
> tree grid code into it so the API would be more compatible, by using this
> method I could easily feed a non-xml structure (ie:resultset from java/php)
> to the component and let it draw the hierarchy and set indent/outdent of
> each node.
> 
> now I'm thinking maybe I should draw those lines and plus sign instead of a
> simple arrowhead, so it's more like VS2005  :-)
> 
> FYI, the component took a whole weekend for prototyping  and
> concept-proofing, *but*, it took almost one and a half month for debugging
> and refactoring to stablize the code and become really usable in the
> on-going product/project.
> 
> originally I want to open-source the component but later on this become one
> of my assigned  day-job project (so I can fulltime developing it with the
> approval of my employer), but anyway, I would love to answer any related
> questions.
> 
> jeremy.
> 
> 
> On 4/23/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
> >
> > Depends on your requirements:
> > For generic case it is 3 step process:
> > 1. Wait for beta 3 that supposely comes with the source code.
> > 2. Study the code for data grid header, treeview, datagrid, etc
> > 3. Write your own code for the control inherited on the top of BaseGrid,
> > with automatic wrapper for the first column - 1500-2000 lines in total to
> > support generic case
> >
> > For quick and dirty :
> > Create first column as cell renderer. I believe I posted code in this
> > group for Flex 1.5 tree cell renderer that allowed to add nodes lines to
> > the regular tree - you just paint it within item - still about 200 lines of
> > code for core functionality, another 100 lines for cascade retrieve/grouped
> > sort on the header clicks, 2-3 days of work altogether
> >
> > Have not seen anything in the public domain, just few developed "for hire"
> > in consulting gigs.
> >
> > HTH,
> > Anatole
> >
>






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: How can I keep one component in front of all other components?

2006-09-11 Thread hastyarkxu
But I think the problem is the component that should always be in 
front are not created by SystemManger. It is the grandson of 
. How can I swap it with the SystemManager created 
component?

Thanks

Ark

--- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> PopUpManager create pop-ups via SystemManager, which had a 
children list,
> and all DisplayObjectContainer( like SystemManager) has a 
setChildIndex()
> method to let you swap each child's depth, that's where you can 
start to
> implement.
> 
> 
> 
> 
> 
> On 9/11/06, hastyarkxu <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> >   I want to keep one component always in front. It looks like 
the 'task
> > bar' in windows. no matter how many windows you opened, task bar 
is
> > always on top of all the windows.
> >
> >   I want to keep it in front even the other components are poped 
up by
> > the popup manager.
> >
> >   What should I do then? (I think the z-order is useless because 
other
> > component is created by popup manager..)
> >
> > regards,
> >
> > Ark
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing 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] Passing Const to custom component error

2006-09-11 Thread Tom Ortega



I have this class:package apps.common.asFiles{    public class ScreenLabelConstants    {    public static const NAMEINFO_LABEL:String = "Name";    }}I have this code in my app:
http://www.adobe.com/2006/mxml" width="100%" height="100%" label="Name" xmlns:components="apps.common.components.*
">                            The FreedTextLabel has this:
http://www.adobe.com/2006/mxml" creationComplete="initFunc()" borderThickness="1" cornerRadius="0" shadowDistance="0" width="80%">        
The problem is that it won't work.  No data gets passed to my custom component.  Why is that?  Is it because my app is binding the var to constant value?  Or because I'm using a setter/getter on the var receiving the reference?
Thanks,Tom2

__._,_.___





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

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___