[Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in Dat

2006-07-03 Thread polestar11
--- In flexcoders@yahoogroups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> Looks like now you want to use the arrayCollection.collectionChange
event to
> trap it.

The thing is that I need the dataChange event to fire as soon as data
has been updated in that particular view. In my actual code the
arrayCollection sits in my Model and the arrayCollection changed event
would not be captured in the particular view.

Am I not using the dataChange event correctly? In what instances does
it work?

Regards
Tracy






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

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

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

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

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





RE: [flexcoders] result & fault event errors:

2006-07-03 Thread Carson Hager





Sorry. In the GA release, this has become an array of 
IResponder objects called responders.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: Monday, July 03, 2006 8:15 PMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] result & 
fault event errors:



I don't believe AsyncToken has the resultHandler() method. 
It does however have a property called responder (mx.rpc.IResponder) which has 
result(Object) and fault(Object) methods.  The responder property must be 
set prior to invoking it.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua 
GarnettSent: Monday, July 03, 2006 6:16 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] result & 
fault event errors:


I believe you need to change the references to event.call to 
event.token.--Josh
On 7/3/06, lownlazy000 < [EMAIL PROTECTED]> 
wrote: 
After upgrading to Flex 2 
  full-version I keep recieving this error: 1119: Access of possibly 
  undefined property call through a referencewith static type 
  mx.rpc.events:FaultEvent.for both these 
  lines:result="event.call.resultHandler(event)"fault=" 
  event.call.faultHandler(event)"The above lines are straight out of a 
  Cairngorm 2 beta 3 example. Cananyone tell me why?Thanks in 
  advance,Russell 
  Munro Yahoo! Groups 
  Sponsor ~--> Great things are happening at Yahoo! 
  Groups.  See the new email design.http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM~-> 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links<*> To visit your group on the web, go 
  to:http://groups.yahoo.com/group/flexcoders/ 
  <*> To unsubscribe from this group, send an email 
  to:[EMAIL PROTECTED]<*> 
  Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/


__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] result & fault event errors:

2006-07-03 Thread Carson Hager





I don't believe AsyncToken has the resultHandler() method. 
It does however have a property called responder (mx.rpc.IResponder) which has 
result(Object) and fault(Object) methods.  The responder property must be 
set prior to invoking it.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Joshua 
GarnettSent: Monday, July 03, 2006 6:16 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] result & 
fault event errors:


I believe you need to change the references to event.call to 
event.token.--Josh
On 7/3/06, lownlazy000 < [EMAIL PROTECTED]> 
wrote:
After upgrading to Flex 2 
  full-version I keep recieving this error: 1119: Access of possibly 
  undefined property call through a referencewith static type 
  mx.rpc.events:FaultEvent.for both these 
  lines:result="event.call.resultHandler(event)"fault=" 
  event.call.faultHandler(event)"The above lines are straight out of a 
  Cairngorm 2 beta 3 example. Cananyone tell me why?Thanks in 
  advance,Russell 
  Munro Yahoo! Groups 
  Sponsor ~--> Great things are happening at Yahoo! 
  Groups.  See the new email design.http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM~-> 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links<*> To visit your group on the web, go 
  to:http://groups.yahoo.com/group/flexcoders/ 
  <*> To unsubscribe from this group, send an email 
  to:[EMAIL PROTECTED]<*> 
  Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Question on HTTPS proxy access issues on Websphere

2006-07-03 Thread ehogberg
Loaded using the JSP MXML tag.  Transmitted to the browser client via
HTTPS, as the entire portal is accessed over SSL.

https-url configured to the URI of the originating portlet (which was
quite a trick to figure out, if you know anything about how WPS
formats URLS... {grin}.  I have not set the http url; I can certainly
try that.  Given that all portal access is done via HTTPS, would the
http-url proxy even be consulted on calls?


Thanks,

-E-

--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> How was the SWF loaded? Did you configure the http-url and https-url in
> flex-config.xml?
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of ehogberg
> Sent: Monday, July 03, 2006 2:08 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Question on HTTPS proxy access issues on Websphere
> 
>  
> 
> Hi all:
> 
> Running into some strangeness with Flex 1.5 HTTP services. Any help
> is appreciated.
> 
> We are hosting a Flex application within a Websphere Portal Server
> portlet. The Flex application is attempting to call a series of
> HTTP-based services (REST, not SOAP) on a separate Websphere server. 
> These services are called via HTTPS, we've set protocol=https on the
> service definitions, and have also set the https proxy url in Flex
> config to the absolute URL of the Flex portlet. Finally, note that
> the portal itself is accessed using HTTPS.
> 
> At first glance, we've appeared to have configured everything 'by the
> book'. However, when the services are called we get the standard
> "can't access HTTPS urls when accessing proxy via HTTP' message. Any
> ideas why we would be getting this error when both the service
> definitions' protocol properties and the overall HTTPS service proxy
> are set properly?
> 
> -Eric-
>







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

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

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

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

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





[flexcoders] Re: Update Flash Player from 8.5 to 9, TypeError: Error #1009 happened

2006-07-03 Thread junhufr
Still, the flex 2 is not stable. Many changes found between FB2Beta3
and production version Flex 2. Could anyone list some changes ?

--- In flexcoders@yahoogroups.com, "junhufr" <[EMAIL PROTECTED]> wrote:
>
> I'm working on Flex Builder 2 Beta 3 currently. Today, I just update to
> production version Flex Builder 2, then when I run my code:
> 
> TypeError: Error #1009: Cannot access a property or method of a null
> object reference.
>   at mx.containers::Panel/mx.containers:Panel::layoutChrome()
>   at mx.core::Container/mx.core:Container::updateDisplayList()
>   at mx.containers::Panel/mx.containers:Panel::updateDisplayList()
>   at mx.core::UIComponent/validateDisplayList()
>   at mx.core::Container/validateDisplayList()
>   at mx.managers::LayoutManager/::validateDisplayList()
>   at mx.managers::LayoutManager/::doPhasedInstantiation()
>   at Function/http://adobe.com/AS3/2006/builtin::apply()
>   at mx.core::UIComponent/::callLaterDispatcher2()
>   at mx.core::UIComponent/::callLaterDispatcher()
> 
> Any help is appreciated.
>






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

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

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

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

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





Re: [flexcoders] result & fault event errors:

2006-07-03 Thread Joshua Garnett



I believe you need to change the references to event.call to event.token.--JoshOn 7/3/06, lownlazy000 <
[EMAIL PROTECTED]> wrote:After upgrading to Flex 2 full-version I keep recieving this error:
1119: Access of possibly undefined property call through a referencewith static type mx.rpc.events:FaultEvent.for both these lines:result="event.call.resultHandler(event)"fault="
event.call.faultHandler(event)"The above lines are straight out of a Cairngorm 2 beta 3 example. Cananyone tell me why?Thanks in advance,Russell Munro Yahoo! Groups Sponsor ~-->
Great things are happening at Yahoo! Groups.  See the new email design.http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM~->
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Flash player support for printer resolutions > 300DPI?

2006-07-03 Thread Jack W. Caldwell





Is this Flash in a native mode or a Flex app running in 
Flash Player 9?
 
If you are telling me that a Flex 2 app running in Flash 
Player 9 can
not print to a typically configured laser printer, then we 
have problems.
 
What printers out there . . . print at 300 
DPI?
 
No user is going to want to "drop down" to 300 DPI and most 
won't
even know how to do it.
 
Somebody tell me we are missing 
something?
 
Thanks,
 
Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
alex_aka_joeSent: Monday, July 03, 2006 5:20 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flash player support 
for printer resolutions > 300DPI?


From tests I have done, it appears that flash player 9 is not capableof 
sending data to the printer with a resolution greater than 300 DPI.Scaling 
an image to a size such that pixels are smaller than thisresults in printing 
artifacts.http://www.adobe.com/support/documentation/en/flashplayer/8/releasenotes.htmlindicates 
that this is the case for flash player 8 too. Can anyone confirm this 
for me or is anyone aware of any plans forfuture releases of flash player to 
support 600 or 1200 
DPI?
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: result & fault event errors:

2006-07-03 Thread Tim Hoff
I think that call was changed to token.

-TH

--- In flexcoders@yahoogroups.com, "lownlazy000" <[EMAIL PROTECTED]> 
wrote:
>
> After upgrading to Flex 2 full-version I keep recieving this error:
> 
> 1119: Access of possibly undefined property call through a 
reference 
> with static type mx.rpc.events:FaultEvent.
> 
> for both these lines:
> result="event.call.resultHandler(event)"
> fault="event.call.faultHandler(event)"
> 
> The above lines are straight out of a Cairngorm 2 beta 3 example. 
Can 
> anyone tell me why? 
> 
> Thanks in advance,
> 
> Russell Munro
>






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

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

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

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

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




RE: [flexcoders] Re: Beta 3 WebService Result

2006-07-03 Thread Kelly Birr
If you set makeObjectsBindable="false" and resultFormat="object" in the
webservice tag you should get arrays of objects.



- Kelly 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of someguy7_7
Sent: Monday, July 03, 2006 2:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Beta 3 WebService Result

I am finally getting back to this issue. I have since moved to Flex 2.0
released version. Is there no way for me to use resultFormat="object" if the
resulting data contains Object Arrays? Or in flex 2.0 are we required to use
e4x?  

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Either way,
> 
> Change the resultFormat:
> 
> 
> 
> Or, cast lastResult to an XML var.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "someguy7_7" 
> wrote:
> >
> > Do you mean change the operation.resultFormat to "xml"? Or somehow 
> > cast the lastResult of the operation to a variable typed to "XML"?
> > 
> > Brian
> > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > >
> > > The default return type from a web service call is object().  If
> you
> > > cast this to XML, you should be able to get the same
> funtionality.
> > > 
> > > -TH
> > > 
> > > --- In flexcoders@yahoogroups.com, "Brian McPheeters" 
> > >  wrote:
> > > >
> > > > We are porting an application from 1.5 to 2.0 Beta 3. The app
> > > connects
> > > > to a couple different web services to populate a ListView. In
> the
> > > 1.5
> > > > version the result from the web service is an object that I
> can
> > > pull
> > > > data for the list view from using the result xml element
> names. 
> > > >  
> > > > Ex: currentitem.category, currentitem.categoryid
> > > >  
> > > > But in 2.0 Beta 3 the result is interpreted by flex as an
> Array.
> > > > currentitem = Array (@38cceb21). This causes me to index into
> the
> > > array
> > > > to get the values. 
> > > >  
> > > > Ex: currentitem[0],currentitem[1]
> > > >  
> > > > Both apps are using the exact same webservices. Do I need to
> > > somehow
> > > > cast the result from the webservice to an object? Any ideas on
> > > what is
> > > > causing this and how to get it so I can reference by element
> name
> > > in 2.0
> > > > Beta 3?
> > > >  
> > > > Thanks
> > > > Brian
> > > >
> > >
> >
>







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



 





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

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

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

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

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





[flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Tim Hoff
Yes, I agree.  If you look at the post that I sent to Ralf, you'll 
see that there is a lot of AS in the ViewHelper.  I started with a 
script tag inside the view and moved it to a ViewHelper for 
readability.  That way if I needed to change the way the view 
looked, I would edit the view.  If I wanted to change the 
functionality, I would edit the ViewHelper.  I don't know, it seems 
like apples and oranges.  I'm just interested in different opinions 
here.  I appreciate your feedback.

-TH

--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" 
<[EMAIL PROTECTED]> wrote:
>
> Hey Tim,
> 
> You wrote "like setFocus(), filtering a DataGrid, updating a
> search parameter VO with view component values prior to executing a
> search command" 
> 
> Those kinds of things I do in an AS script block for the 
particuliar component. Like Jesse mentioned, I too used to created 
ViewHelpers that used to just have all the code related to a 
particuliar view, when in fact I should have simply put everything 
in a script block and it would have done exactly the same thing. 
> 
> The other thing to remember in Flex development is that you are 
creating components (most of which are views), so make sure you 
creating the smallest possible component so you, so the code in the 
script block isn't actually that much. Plus it makes the component 
reusable and easy to maintain.
> 
> Hope that helps,
> 
> Dimitrios
> Optimal Payments Inc.
> 
> 
> -Original Message-
> From: flexcoders@yahoogroups.com on behalf of Tim Hoff
> Sent: Mon 7/3/2006 5:01 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Cairngorm2:  ViewLocator - ViewHelper
>  
> Thanks for the responses guys,
> 
> Dimitrios: 
> Yes, the majority of my views are updated through binding to the 
> ModelLocator.  However, there are certain functions that are soley 
> view-related (like setFocus(), filtering a DataGrid, updating a 
> search parameter VO with view component values prior to executing 
a 
> search command), that imo don't merit creating a command to 
> perform.  These kind of functions could just be located in a 
script 
> tag inside the view.  But, if the functions are numerous, the code 
> becomes more readable if a seperate class is used.
> 
> Bjorn:
> I agree that a command shouldn't interrogate a view.  That would 
> defeat the encapsulation.  For the most part though, the command 
> should update the ModelLocator and the ModelLocator should update 
> the view.
> 
> Jesse:
> As always, you crack me up.  In the situations that I mentioned 
> above, I assume that you are using a ViewLocator - uid approach.  
> This is probably more efficient and centralized than using 
> ViewHelpers.  Besides, I really don't want to deal with Satan 
> spawn.  Care to share a small sample of your approach?
> 
> All in all, this isn't a huge issue.  Out of my current 300 views, 
> I've only found the need to use three ViewHelpers.  My questions 
are 
> more theoretical and best practice oriented.  Good stuff to know 
> when scalability is an issue.  Also, I'm still not sure what Alex 
> Uhlmann meant by "the ViewHelper adds and removes itself from the 
> ViewLocator".  Guess I need to take a trip back to the Cairngorm 
> source.
> 
> Thanks again for your answers.  I was hoping that Steven or 
> Alistaire had time to chime in here, but I realize that they are 
> very busy these days.
> 
> Cheers,
> Tim Hoff
> 
> 
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > ViewHelpers == spawn of satan.  Nothing here but bloated 
> code.  "Seperation 
> > of concerns" doesn't count here; it's just something they say to 
> make 
> > themselves feel better by using them.
> > 
> > ViewLocators, to me are only justified in extreme use cases.  
> Having other 
> > View's, or even Commands specifically telling other views to do 
> certain 
> > things are bad practice, but I have seen times where there is 
just 
> no other 
> > way.  The rest of the time, databinding and combinations of 
> getter / setters 
> > should accomplish what you want.  While their use should be 
> discouraged, 
> > I'll be the first to admit they are useful and lifesavers when 
you 
> need 
> > them.
> > 
> > 
> > - Original Message - 
> > From: "Tim Hoff" 
> > To: 
> > Sent: Monday, July 03, 2006 6:05 AM
> > Subject: [flexcoders] Cairngorm2: ViewLocator - ViewHelper
> > 
> > 
> > I've recently been toying with the concepts of ViewHelper vs.
> > ViewLocator.  Alex Ulmann posted, "the ViewHelper adds and 
removes
> > itself from the ViewLocator", in his Cairngorm 2 (for Flex 2) -
> > Overview and Migration Path.  I haven't seen any examples yet 
that
> > illustrate this method.  Understandably, the example pool and
> > documentation for this kind of thing is small but growing.  So, 
I 
> was
> > wondering if the authors of Cairngorm had any advise/guidance 
for 
> this
> > topic.  Of course it's a matter of scale, but in an enterprise
> > application, what is recommende

[flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread der_kotty
I agree. These justifications do not convince me either. Thanks for
your response, JesterXL. Very helpful :) 


--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> The justifications listed here are pretty weak.
>
http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for.cfm
> 
> RemoteObject, WebService, and HTTPRequest all return ResultEvent & 
> FaultEvent events.  It's also cake to have stubs return ResultEvent & 
> FaultEvents for testing services before they are written.  Finally,
who the 
> heck is using Cairngorm 2 without the the Flex framework?
> 
> To me, the last argument is the only thing that is even remotely 
> justifiable.
> 
> 
> 
> - Original Message - 
> From: "der_kotty" <[EMAIL PROTECTED]>
> To: 
> Sent: Sunday, July 02, 2006 8:30 PM
> Subject: [flexcoders] Cairngorm Responder interface changes
> 
> 
> Hi,
> 
> I was just wondering why the com.adobe.cairngorm.business.Responder
> interface has been changed since it has been released on Adobe Labs.
> In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
> parameters of the onFault and onResult handlers were typed events
> (ResultEvent and FaultEvent).
> 
> Why have the parameters been changed to '*'? Where is the sense in
> that?  To my opinion this is not really best practice but maybe
> there's a really good reason for that? Does anyone know?
> 
> 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
>







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

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

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

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





[flexcoders] Re: Beta 3 WebService Result

2006-07-03 Thread someguy7_7
I am finally getting back to this issue. I have since moved to Flex
2.0 released version. Is there no way for me to use
resultFormat="object" if the resulting data contains Object Arrays? Or
in flex 2.0 are we required to use e4x?  

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Either way, 
> 
> Change the resultFormat:
> 
> 
> 
> Or, cast lastResult to an XML var.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "someguy7_7"  
> wrote:
> >
> > Do you mean change the operation.resultFormat to "xml"? Or somehow
> > cast the lastResult of the operation to a variable typed to "XML"?
> > 
> > Brian
> > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > >
> > > The default return type from a web service call is object().  If 
> you 
> > > cast this to XML, you should be able to get the same 
> funtionality.
> > > 
> > > -TH
> > > 
> > > --- In flexcoders@yahoogroups.com, "Brian McPheeters" 
> > >  wrote:
> > > >
> > > > We are porting an application from 1.5 to 2.0 Beta 3. The app 
> > > connects
> > > > to a couple different web services to populate a ListView. In 
> the 
> > > 1.5
> > > > version the result from the web service is an object that I 
> can 
> > > pull
> > > > data for the list view from using the result xml element 
> names. 
> > > >  
> > > > Ex: currentitem.category, currentitem.categoryid
> > > >  
> > > > But in 2.0 Beta 3 the result is interpreted by flex as an 
> Array.
> > > > currentitem = Array (@38cceb21). This causes me to index into 
> the 
> > > array
> > > > to get the values. 
> > > >  
> > > > Ex: currentitem[0],currentitem[1]
> > > >  
> > > > Both apps are using the exact same webservices. Do I need to 
> > > somehow
> > > > cast the result from the webservice to an object? Any ideas on 
> > > what is
> > > > causing this and how to get it so I can reference by element 
> name 
> > > in 2.0
> > > > Beta 3?
> > > >  
> > > > Thanks
> > > > Brian
> > > >
> > >
> >
>







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

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

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

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




RE: [flexcoders] Re: How to integrate Flash and Flex well done ?

2006-07-03 Thread Tom Versweyveld | VERSO










Just don’t expect everything to run
smoothly, if you load flash 8 content (with code) into a 9player swf, you can
get all kinds of weird memory issues… http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=54e2eda3

 

Grtz,

tom

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Bjorn Schultheiss
Sent: dinsdag 20 juni 2006 1:42
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: How
to integrate Flash and Flex well done ?



 

Here’s a nice article on Flash
Swf’s within Flex2/AS3

http://www.asserttrue.com/articles/2006/05/23/autocompleted-autocomplete-embed-legacy-swf-as3-0-project-example-updated-for-beta-3

 

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes
Sent: Tuesday, 20 June 2006 7:31
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: How
to integrate Flash and Flex well done ?



 







I'm very new at this, so I gave you all the info I
really have.  As Tim said, in the *future*, SWFs created for Flash 9 and
up will likely be very friendly with Flex.  But the help is pretty clearly
stating that right now anything made for 8 and below can only talk using
LocalConnection.  But who knows, maybe the docs are incomplete/wrong on
that part.  Like I said, I'm very new at this... 



On 6/19/06, roberto.rosenthal
<
[EMAIL PROTECTED]> wrote:











Jason, thanks for the
prompt reply... But that doesn't really help,
does it ? How strange.. I just spoke today with James Ward, a Flex
Evangelist, and he assure me that the future for Flash developers was
to build customs components (SWC) to interact with Flex... and also
sugest me to ask the flexcoders group about this issue (what I'm doing).

Anyhow, do you know where I can learn how to do that ? Meaning: build
a custom SWC component with Flash and use it as a Flex component tag.

I really appreciate it,
Roberto Rosenthal 
















-- 
Jason 















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Update Flash Player from 8.5 to 9, TypeError: Error #1009 happened

2006-07-03 Thread junhufr
I'm working on Flex Builder 2 Beta 3 currently. Today, I just update to
production version Flex Builder 2, then when I run my code:

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at mx.containers::Panel/mx.containers:Panel::layoutChrome()
at mx.core::Container/mx.core:Container::updateDisplayList()
at mx.containers::Panel/mx.containers:Panel::updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.core::Container/validateDisplayList()
at mx.managers::LayoutManager/::validateDisplayList()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()

Any help is appreciated.






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

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

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

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




[flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread lownlazy000
I got arround this issue by changing the interface to read:
public function onResult(event:ResultEvent = null):void
(dont forget the ResultEvent Import)

This is much like cairngorm 2beta3 as far as I am aware (fyi: this 
strange change is an issue already raised in flexcoders.)






--
Flexcoders Mailing 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] result & fault event errors:

2006-07-03 Thread lownlazy000
After upgrading to Flex 2 full-version I keep recieving this error:

1119: Access of possibly undefined property call through a reference 
with static type mx.rpc.events:FaultEvent.

for both these lines:
result="event.call.resultHandler(event)"
fault="event.call.faultHandler(event)"

The above lines are straight out of a Cairngorm 2 beta 3 example. Can 
anyone tell me why? 

Thanks in advance,

Russell Munro






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

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

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

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

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





[flexcoders] E4X (PLEASE READ ANY CLUE WILL HELP)

2006-07-03 Thread tonyx_788



HIIL'TRY TO EXPLAIN THIS AND I HOPE I HAVE ANY ANSWER, TO KNOW WHAT TODO THE CODE AT THE END OF THE MESSAGE IS FROM AN OPENOFFICE DOCUMENT (SOMETHING LIKE MS WORD) I'M TRYING TO DEVELOP AN APPLICATION THAT CAN READ ITI ALREADY HAVE ONE APP WICH HAS 2 XML FILES AS DATAPROVIDERSTHIS IS IT (FLEX2 B1)    creationComplete="srv.send()">                                                    source="{srv.result.*}"        filterFunction="filtrar" />                                                        editable="false" width="150" id="datagrid" scroll="true" change="xlc.refresh(),cargarDatos.refresh()" x="0" y="0">                                                                                                 wordWrap="true" y="0" styleName="main.css">                                                                                                                                                        change="xlc.refresh()"  text="Buscar" backgroundColor="#f0eff1"/>                THIS APP LOADS A XML FILE AND USING E4X  IT SEARCHES TROUHGT IT(IT HAS A COUPLE OF ERRORS I'M WORKING ON, BUT STILL WORKS)THIS IS PART OF ONE OF THE XMLS:            A orillas de una laguna.                FOTOS/A orillas de una laguna.jpg        VIDEOS/lema.flv        AUDIO/1.mp3        OTROS/Discurso por el instituto.pdf    *THE QUESTIONS ARE:IS IT POSSIBLE TO USE THE OPENOFFICE DOCUMENT INSTEAD OF DOING THE CHANGE TO XML BY TIPYING ALL OVER AGAINIF SO WHERE CAN I FIND SOME DOCS ABOUT ITI KNOW THE DOCUMENT IS IN XML BUT IT HAS A LOT OF XSLT THAT I'M NOT SURE FLASH COULD READHOPE MY QUESTIONS ARE NOT TO HARD TO ANSWER, CAUSE THEY ARE FOR ME* -    -                        - -      -         -      - - -          - - -             -      -      -      -      -      -        - - -               -   Abdo Andrade, Alberto. -   Médico cirujano. Nació en Tabasco, el 13 de mayo de 1957. Forma parte del Cuerpo Académico de Ciencias Médicas Especializadas de la   dacs   . Trabaja en las Líneas de Generación y Aplicación del Conocimiento denominadas "Prevención y tratamiento especializado de las enfermedades de mayor incidencia en la población".           

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Dimitrios Gianninas
Hey Tim,

You wrote "like setFocus(), filtering a DataGrid, updating a
search parameter VO with view component values prior to executing a
search command" 

Those kinds of things I do in an AS script block for the particuliar component. 
Like Jesse mentioned, I too used to created ViewHelpers that used to just have 
all the code related to a particuliar view, when in fact I should have simply 
put everything in a script block and it would have done exactly the same thing. 

The other thing to remember in Flex development is that you are creating 
components (most of which are views), so make sure you creating the smallest 
possible component so you, so the code in the script block isn't actually that 
much. Plus it makes the component reusable and easy to maintain.

Hope that helps,

Dimitrios
Optimal Payments Inc.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Tim Hoff
Sent: Mon 7/3/2006 5:01 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Cairngorm2:  ViewLocator - ViewHelper
 
Thanks for the responses guys,

Dimitrios: 
Yes, the majority of my views are updated through binding to the 
ModelLocator.  However, there are certain functions that are soley 
view-related (like setFocus(), filtering a DataGrid, updating a 
search parameter VO with view component values prior to executing a 
search command), that imo don't merit creating a command to 
perform.  These kind of functions could just be located in a script 
tag inside the view.  But, if the functions are numerous, the code 
becomes more readable if a seperate class is used.

Bjorn:
I agree that a command shouldn't interrogate a view.  That would 
defeat the encapsulation.  For the most part though, the command 
should update the ModelLocator and the ModelLocator should update 
the view.

Jesse:
As always, you crack me up.  In the situations that I mentioned 
above, I assume that you are using a ViewLocator - uid approach.  
This is probably more efficient and centralized than using 
ViewHelpers.  Besides, I really don't want to deal with Satan 
spawn.  Care to share a small sample of your approach?

All in all, this isn't a huge issue.  Out of my current 300 views, 
I've only found the need to use three ViewHelpers.  My questions are 
more theoretical and best practice oriented.  Good stuff to know 
when scalability is an issue.  Also, I'm still not sure what Alex 
Uhlmann meant by "the ViewHelper adds and removes itself from the 
ViewLocator".  Guess I need to take a trip back to the Cairngorm 
source.

Thanks again for your answers.  I was hoping that Steven or 
Alistaire had time to chime in here, but I realize that they are 
very busy these days.

Cheers,
Tim Hoff


--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> ViewHelpers == spawn of satan.  Nothing here but bloated 
code.  "Seperation 
> of concerns" doesn't count here; it's just something they say to 
make 
> themselves feel better by using them.
> 
> ViewLocators, to me are only justified in extreme use cases.  
Having other 
> View's, or even Commands specifically telling other views to do 
certain 
> things are bad practice, but I have seen times where there is just 
no other 
> way.  The rest of the time, databinding and combinations of 
getter / setters 
> should accomplish what you want.  While their use should be 
discouraged, 
> I'll be the first to admit they are useful and lifesavers when you 
need 
> them.
> 
> 
> - Original Message - 
> From: "Tim Hoff" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, July 03, 2006 6:05 AM
> Subject: [flexcoders] Cairngorm2: ViewLocator - ViewHelper
> 
> 
> I've recently been toying with the concepts of ViewHelper vs.
> ViewLocator.  Alex Ulmann posted, "the ViewHelper adds and removes
> itself from the ViewLocator", in his Cairngorm 2 (for Flex 2) -
> Overview and Migration Path.  I haven't seen any examples yet that
> illustrate this method.  Understandably, the example pool and
> documentation for this kind of thing is small but growing.  So, I 
was
> wondering if the authors of Cairngorm had any advise/guidance for 
this
> topic.  Of course it's a matter of scale, but in an enterprise
> application, what is recommended as best practice for the use of
> ViewLocator and/or ViewHelpers?  I'm sure that there are 
forthcoming
> books that cover this area, but feedback here might promote better
> understanding.
> 
> Best regards,
> Tim Hoff
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>






-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message. 

[flexcoders] Flash player support for printer resolutions > 300DPI?

2006-07-03 Thread alex_aka_joe
>From tests I have done, it appears that flash player 9 is not capable
of sending data to the printer with a resolution greater than 300 DPI.
Scaling an image to a size such that pixels are smaller than this
results in printing artifacts.

http://www.adobe.com/support/documentation/en/flashplayer/8/releasenotes.html
 indicates that this is the case for flash player 8 too. 

Can anyone confirm this for me or is anyone aware of any plans for
future releases of flash player to support 600 or 1200 DPI?

 






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

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

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

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

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





[flexcoders] How to config Data Management Services use JDBC connect with MS SQL 2005?

2006-07-03 Thread stevenxiu
Folks,

Microsoft released JDBC driver for SQL 2005
http://www.microsoft.com/sql/technologies/jdbc/default.mspx 

I want to intergrade this JDBC driver with FDS builded in Jrun4 server 
and config it as an adapeter for Data Management Services to 
communicate with SQL2005 server. My Flex application then can use 
datagrid to display and modify SQL2005 server tables and enjoy the 
features which Data Management Services support.

Unfortunately, I am .NET based user and know little about the Java 
based configuration settings. I am wondering if someone can teach me 
step by step from Jrun4 server setting for installing JDBC driver to 
Data Management Services destination/ channel settings. A sample will 
be great appreciated.

Steve






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

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

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

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

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





[flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Tim Hoff



Hi Ralf,
Here is a paired-down version of one of my ViewHelpers.  Sorry about the formatting, it didn't copy over well.  The searchView has a search text field, a RadioButtonGroup to select the search type, and two DateFields that can be used alone or in conjunction with the search field (depending on the search type selected).  Some of this can be accomplished with validators.  But, as you can see, there are different combinations of search options that need to be validated against each other.  The functions like clearSearchDates() and searchFocus() are the ones that really seem to not require the creation of a command.  Any advise is welcome.  Also, in a case like this, would it be better to create a variable model:ModelLocator = new ModelLocator.getInstance();.  It seems that using getInstance() for each of the individual variable is redundant and maybe slower.
Thank you,Tim Hoff
package org.ets.main.code.view.sideView.search { import flash.events.Event; import mx.utils.StringUtil import mx.controls.Alert; import mx.events.CloseEvent; import org.nevis.cairngorm.view.ViewHelper; import org.nevis.cairngorm.control.CairngormEvent; import org.ets.main.code.control.ApplicationController;  import org.ets.main.code.control.SearchEvent; import org.ets.main.code.model.ModelLocator; import org.ets.main.code.vo.SearchOptionsVO; import org.ets.main.code.vo.SearchSummaryVO;
 public class SearchViewHelper extends ViewHelper  {  public function SearchViewHelper()   {   super();  }    // public function validateSearchOptions():void  {ModelLocator.getInstance().statusMessage = "";   view.txtSearch.errorString = "";   view.searchFromDate.errorString = "";   view.searchToDate.errorString = "";        // From and To Dates   if (ModelLocator.getInstance().alertStatus == false)   {   if (view.radiogroupSearchOptions.selection.value == ModelLocator.SEARCH_TYPE_DATE_RANGE)    {  if ((view.searchToDate.text == ModelLocator.SEARCH_TO_DATE_LABEL) || (view.searchToDate.text == ""))   { ModelLocator.getInstance().statusMessage = ModelLocator.MESSAGE_SEARCH_DATES_REQUIRED; view.searchFromDate.errorString = ModelLocator.MESSAGE_SEARCH_DATES_REQUIRED; view.searchToDate.errorString = ModelLocator.MESSAGE_SEARCH_DATES_REQUIRED;   } else if ((view.searchFromDate.text == ModelLocator.SEARCH_FROM_DATE_LABEL) || (view.searchFromDate.text == ""))      {    ModelLocator.getInstance().statusMessage = ModelLocator.MESSAGE_SEARCH_FROM_DATE_REQUIRED;    view.searchFromDate.errorString = ModelLocator.MESSAGE_SEARCH_FROM_DATE_REQUIRED;     }   }        if ((view.searchToDate.text != ModelLocator.SEARCH_TO_DATE_LABEL) &&  (view.searchToDate.text != "") && (view.searchFromDate.text != "") && (view.searchFromDate.text != ModelLocator.SEARCH_FROM_DATE_LABEL))     {    if (view.searchToDate.selectedDate < view.searchFromDate.selectedDate)     {    ModelLocator.getInstance().statusMessage = ModelLocator.MESSAGE_SEARCH_FROM_DATE_LT_TO_DATE;     view.searchFromDate.errorString = ModelLocator.MESSAGE_SEARCH_FROM_DATE_LT_TO_DATE;    }    }      // txtSearch String   if (view.radiogroupSearchOptions.selection.value != ModelLocator.SEARCH_TYPE_DATE_RANGE)    {    var txtSearch : String = StringUtil.trim(view.txtSearch.text);   if (txtSearch == "")     {    view.txtSearch.text = "";ModelLocator.getInstance().statusMessage = ModelLocator.MESSAGE_SEARCH_STRING_REQUIRED;    view.txtSearch.errorString = ModelLocator.getInstance().statusMessage     }    }     // Search or Display Error Message   if (ModelLocator.getInstance().statusMessage == "") {    search();  } else {    ModelLocator.getInstance().alertStatus == true    Alert.show(ModelLocator.getInstance().statusMessage,ModelLocator.getInstance().sideViewTitle, Alert.OK, null,    alertListener, null, Alert.OK);   }      } // alertStatus == false    }
// public function search():void  {    var searchOptionsVO : SearchOptionsVO = new SearchOptionsVO();    var searchSummaryVO : SearchSummaryVO = new SearchSummaryVO();    var searchMessage : String;    searchMessage = view.radiogroupSearchOptions.selection.label;       if (view.radiogroupSearchOptions.selection.value == ModelLocator.SEARCH_TYPE_DATE_RANGE)      {  searchMessage += " ";  searchMessage += view.searchFromDate.text; searchMessage += " to ";      searchMessage += view.searchToDate.text;     } else {       searchMessage += " = ";       searchMessage += view.txtSearch.text.toUpperCase();   if ((view.searchToDate.text != ModelLocator.SEARCH_TO_DATE_LABEL) && (view.sea

[flexcoders] Server push from ColdFusion without FDS?

2006-07-03 Thread Greg Fuller
I know that if you have ColdFusion, you get the remoting without
having to install FDS. I'm wondering if there is a way to do
server-to-client-push without FDS.  This may be wishful thinking, but
here's the source of my speculation:

 In one article
(http://www.adobe.com/devnet/flex/articles/cf_flex_print.html),  Ben
Forta says that ColdFusion has been updated to have "… a new Flex
Messaging gateway which makes it possible to do push from ColdFusion
to client-side Flex via a single CFML function.  In other article. Ben
states that "In addition to these improvements, we have created a
brand new ColdFusion adapter that allows ColdFusion to push data to
the Flash client at runtime."

 The way I'm reading these statements in context, they don't seem to
be qualified with a requirement for FDS, in the same way that cf
remoting does not require FDS.  Incidentally, in the first article,
FDS is mentioned when referring to data sync through CF:  "There is a
new ColdFusion adapter which can be used to perform data
synchronization via FDS."

 So the question is:  Can you perform server-to-client-push without
installing FDS?  Which is the same as asking (I think): Is
server-to-client-push built into the cf adaptor, like remoting?  Or am
I only dreaming?

-Greg


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

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

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

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

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





[flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Tim Hoff
No apologies necessary Steven.  I appreciate you taking the time to 
respond at all.

Safe travels,
-TH

--- In flexcoders@yahoogroups.com, "Steven Webster" <[EMAIL PROTECTED]> 
wrote:
>
> Tim,
>  
> I've been in Ireland all of last week, and will be in France until 
the
> end of this coming week ... so my apologies that I've not been
> responding to your posts as you might otherwise hope; picked a 
great
> time to be out of office so much !  However, looks like the 
community as
> well as my fellow Adobe Consultants are keeping you somewhat on the
> straight and narrow ... normal service (for me at least) shall be
> resumed end of the week.
>  
> Best of luck,
>  
> Steven
>  
>Steven Webster
> Practice Director (Rich Internet Applications)
> Adobe Consulting
> Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh, EH12 9DQ, UK
> p: +44 (0) 131 338 6108
> m: +44 (0) 7917 428 947 
> [EMAIL PROTECTED] 
> 
>  
> 
> 
> 
> 
>   From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of Tim Hoff
>   Sent: 03 July 2006 22:02
>   To: flexcoders@yahoogroups.com
>   Subject: [flexcoders] Re: Cairngorm2: ViewLocator - 
ViewHelper
>   
>   
> 
>   Thanks for the responses guys,
>   
>   Dimitrios: 
>   Yes, the majority of my views are updated through binding to 
the
> 
>   ModelLocator. However, there are certain functions that are
> soley 
>   view-related (like setFocus(), filtering a DataGrid, 
updating a 
>   search parameter VO with view component values prior to
> executing a 
>   search command), that imo don't merit creating a command to 
>   perform. These kind of functions could just be located in a
> script 
>   tag inside the view. But, if the functions are numerous, the
> code 
>   becomes more readable if a seperate class is used.
>   
>   Bjorn:
>   I agree that a command shouldn't interrogate a view. That 
would 
>   defeat the encapsulation. For the most part though, the 
command 
>   should update the ModelLocator and the ModelLocator should
> update 
>   the view.
>   
>   Jesse:
>   As always, you crack me up. In the situations that I 
mentioned 
>   above, I assume that you are using a ViewLocator - uid 
approach.
> 
>   This is probably more efficient and centralized than using 
>   ViewHelpers. Besides, I really don't want to deal with Satan 
>   spawn. Care to share a small sample of your approach?
>   
>   All in all, this isn't a huge issue. Out of my current 300
> views, 
>   I've only found the need to use three ViewHelpers. My 
questions
> are 
>   more theoretical and best practice oriented. Good stuff to 
know 
>   when scalability is an issue. Also, I'm still not sure what 
Alex
> 
>   Uhlmann meant by "the ViewHelper adds and removes itself from
> the 
>   ViewLocator". Guess I need to take a trip back to the 
Cairngorm 
>   source.
>   
>   Thanks again for your answers. I was hoping that Steven or 
>   Alistaire had time to chime in here, but I realize that they 
are
> 
>   very busy these days.
>   
>   Cheers,
>   Tim Hoff
>   
>   --- In flexcoders@yahoogroups.com
>  , "JesterXL"  
wrote:
>   >
>   > ViewHelpers == spawn of satan. Nothing here but bloated 
>   code. "Seperation 
>   > of concerns" doesn't count here; it's just something they 
say
> to 
>   make 
>   > themselves feel better by using them.
>   > 
>   > ViewLocators, to me are only justified in extreme use 
cases. 
>   Having other 
>   > View's, or even Commands specifically telling other views 
to
> do 
>   certain 
>   > things are bad practice, but I have seen times where there 
is
> just 
>   no other 
>   > way. The rest of the time, databinding and combinations of 
>   getter / setters 
>   > should accomplish what you want. While their use should be 
>   discouraged, 
>   > I'll be the first to admit they are useful and lifesavers 
when
> you 
>   need 
>   > them.
>   > 
>   > 
>   > - Original Message - 
>   > From: "Tim Hoff" 
>   > To:   >
>   > Sent: Monday, July 03, 2006 6:05 AM
>   > Subject: [flexcoders] Cairngorm2: ViewLocator - ViewHelper
>   > 
>   > 
>   > I've recently been toying with the concepts of ViewHelper 
vs.
>   > ViewLocator. Alex Ulmann posted, "the ViewHelper adds and
> removes
>   > itself from the ViewLocator", in his Cairngorm 2 (for Flex 
2)
> -
>   > Overview and Migration Path. I haven't seen any examples 
yet
> that
>   > illustrate this method. Understandably, the example pool 
and
>   > documentation for this kind of thing is small but growing. 
So,
> I 
>   was
>   > wondering if the authors of Cairngorm had an

RE: [flexcoders] (without Cairngorm) Data binding will not be able to detect assignments...

2006-07-03 Thread Tracy Spratt












Try:

[Bindable]

var currClient:Client;

 

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Derek Stottlemyer
Sent: Monday, July 03, 2006 1:34
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] (without
Cairngorm) Data binding will not be able to detect assignments...



 







Hello all,
I have the same problem without Cairngorm. I'm trying to bind a Class
property to a Label as well...

extending the Class as an ObjectProxy or not doesn't make a difference. I've
also tried moving [Binding] above public var fullname to no avail.

Can anyone offer a suggestion?

Thanks,
Derek

MY MXML

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



//This is the line that gives me trouble. I get an alert that "Data
Binding
will not be able to detect assignments to 'currClient'" When
compiled, this
label is blank.

//This label shows "show Joe Smith" as expected.



MY CLASS(Client);

package
import mx.utils.ObjectProxy;
[Bindable]
public class Client extends ObjectProxy
{
public var fullname:String;

function Client(x:XML):void{
fullname=x.fname+" "+x.lname;
}
public function Showname():String{
return fullname;
}
}
}






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






Re: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Ralf Bokelberg
Also, whenever you are able to isolate a cohesive set of properties
and methods from your view, you can extract it into a separate class
which represents something real (what a pity that flexbuilder isn't
capable to do this automatically).

Tim, can you provide a code example, which necessarily needs a
ViewHelper (or can benefit from it substantially)?


Cheers,
Ralf.

On 7/3/06, JesterXL <[EMAIL PROTECTED]> wrote:
> Speaking for Steven, but the reason they espoused using ModelLocator over
> ViewHelpers was a few reasons.  First off, many people felt the need to
> create ViewHelpers for every View.  This was ridicolous; no View could ever
> do anything useful but instantiate GUI components, and register for events.
> You had no clue WHAT that View could do.  Suddenly you're code base
> basically doubled for extremely little gain.


--
Flexcoders Mailing 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] (without Cairngorm) Data binding will not be able to detect assignments...

2006-07-03 Thread Derek Stottlemyer
Hello all,
I have the same problem without Cairngorm. I'm trying to bind a Class
property to a Label as well...

extending the Class as an ObjectProxy or not doesn't make a difference. I've
also tried moving [Binding] above public var fullname to no avail.

Can anyone offer a suggestion?

Thanks,
Derek


MY MXML


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



//This is the line that gives me trouble. I get an alert that "Data Binding
will not be able to detect assignments to 'currClient'"  When compiled, this
label is blank.

//This label shows "show Joe Smith" as expected.



MY CLASS(Client);

package
import mx.utils.ObjectProxy;
[Bindable]
public class Client extends ObjectProxy
{
public var fullname:String;

function Client(x:XML):void{
fullname=x.fname+" "+x.lname;
}
public function Showname():String{
return fullname;
}
}
}







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

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

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

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

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





Re: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread JesterXL
You don't use static's in Cairngorm 2's ModelLocator.  Use instance level 
vars.  So:

public static var name:String;

should be:

public var name:String;


- Original Message - 
From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
To: 
Sent: Monday, July 03, 2006 12:00 PM
Subject: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to 
detect assignments...


Whoops. Updated code, which now produces an error concerning "Access
of a possibly undefined property 'name' through a reference with
static type TestModel. My label tag now looks like this:



And the TestModel class is updated to look like the sample in the
documentation:

package
{
import com.adobe.cairngorm.model.ModelLocator;

[Bindable]
public class TestModel implements ModelLocator
{
public static var name:String;
private static var modelLocator : TestModel;

public static function getInstance() : TestModel
{
if ( modelLocator == null )
modelLocator = new TestModel();

return modelLocator;
}

public static function initialize():void
{
name = "Some text";
}
}
}






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










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

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

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

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

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





Re: [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton

2006-07-03 Thread sinatosk



thanks that worked ;)ok thats the PopUpButton partially fixed... now for PopUpMenuButtonI'm gonna rephrase the PopUpMenuButton problem I mentioned above...When I first open the menu... I'm accessing the root menu... When I hover over one of those items for the time then move my mouse over another item in root menu ( not sub menus ). The menu closes on it's own. If I redo all of this again but this time I go into sub menus and then hover over the parent or root menu of the sub menu I just entered into... the menu also closes on it's own.
There hope that is explained better :pOn 03/07/06, Benoit Hediard <[EMAIL PROTECTED]> wrote:













  






I've also encountered this issue (event dispatched 
twice).
 
Here is a workaround :
private function itemClickHandler(event:MenuEvent):void 
{
    if (event.index != -1) { // Workaround 
to ignore the second event
    
...
    }
}
 
Benoit Hediard


De : flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] De la part de 
sinatoskEnvoyé : dimanche 2 juillet 2006 
21:41À : flexcoders@yahoogroups.comObjet : 
[flexcoders] F2.0 final - Possbile bug with PopUpButton and 
PopUpMenuButton
4 days after the release I come to update my Flex Application from 
Beta 3 to Final and the 2 main components I used seem to be bugged. not very 
good at explaining things to bare with me please :pPopUpButton   
 - Every time I select an item... 
the "itemClick" event gets dispatched twice. it just pops with with 2 Alert 
dialogs every time I select an 
itemPopUpMenButton    - When I put my mouse over 
an item for the first time works fine... but soon as I hover over another 
menu item in the main level... the menu closes automatically and also if I Hover 
over an item that is a sub menu I can keep going in and in until there are 
no more children... or I could just go in once... and then soon as I hover over 
another item... again the menu just closes. Both times this is without click on 
any items in the menu I've posted the code belowFlex code 
being:http://www.adobe.com/2006/mxml " 
layout="absolute">    
    
    
        paddingTop="10" 
paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" 
width="411">        
text="Button label contains the name of the last selected menu item." 
/>     
    
            
        
    
    
    
                     
    
 
    
 
    
    
    
    
         
    
     
         
        paddingTop="10" paddingLeft="10" 
paddingRight="10" x="10" y="205" height="143" width="271"> 
        
text="Click the down arrow to open the 
menu."/>    
    
dataProvider="{treeDP2}" 
    
labelField="@label"    
itemClick="itemClickHandler2(event);"/>    
Flex code end;Is it 
possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 
9.0.16.0 ( without debug ) 

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Steven Webster





Tim,
 
I've been in Ireland all of last week, and will be in 
France until the end of this coming week ... so my apologies that I've not been 
responding to your posts as you might otherwise hope; picked a great time to be 
out of office so much !  However, looks like the community as well as my 
fellow Adobe Consultants are keeping you somewhat on the straight and narrow ... 
normal service (for me at least) shall be resumed end of the 
week.
 
Best of luck,
 
Steven
 


  
  

  


  
  

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

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Tim 
  HoffSent: 03 July 2006 22:02To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Re: Cairngorm2: 
  ViewLocator - ViewHelper
  
  
  Thanks for the responses guys,Dimitrios: Yes, the majority of 
  my views are updated through binding to the ModelLocator. However, there 
  are certain functions that are soley view-related (like setFocus(), 
  filtering a DataGrid, updating a search parameter VO with view component 
  values prior to executing a search command), that imo don't merit creating 
  a command to perform. These kind of functions could just be located in a 
  script tag inside the view. But, if the functions are numerous, the code 
  becomes more readable if a seperate class is used.Bjorn:I 
  agree that a command shouldn't interrogate a view. That would defeat the 
  encapsulation. For the most part though, the command should update the 
  ModelLocator and the ModelLocator should update the 
  view.Jesse:As always, you crack me up. In the situations that I 
  mentioned above, I assume that you are using a ViewLocator - uid approach. 
  This is probably more efficient and centralized than using 
  ViewHelpers. Besides, I really don't want to deal with Satan spawn. 
  Care to share a small sample of your approach?All in all, this isn't a 
  huge issue. Out of my current 300 views, I've only found the need to use 
  three ViewHelpers. My questions are more theoretical and best practice 
  oriented. Good stuff to know when scalability is an issue. Also, I'm still 
  not sure what Alex Uhlmann meant by "the ViewHelper adds and removes 
  itself from the ViewLocator". Guess I need to take a trip back to the 
  Cairngorm source.Thanks again for your answers. I was hoping that 
  Steven or Alistaire had time to chime in here, but I realize that they are 
  very busy these days.Cheers,Tim Hoff--- In [EMAIL PROTECTED]ups.com, 
  "JesterXL" <[EMAIL PROTECTED].> wrote:>> ViewHelpers == 
  spawn of satan. Nothing here but bloated code. "Seperation > of 
  concerns" doesn't count here; it's just something they say to make 
  > themselves feel better by using them.> > ViewLocators, 
  to me are only justified in extreme use cases. Having other > 
  View's, or even Commands specifically telling other views to do certain 
  > things are bad practice, but I have seen times where there is just 
  no other > way. The rest of the time, databinding and combinations 
  of getter / setters > should accomplish what you want. While their 
  use should be discouraged, > I'll be the first to admit they are 
  useful and lifesavers when you need > them.> > 
  > - Original Message - > From: "Tim Hoff" 
  <[EMAIL PROTECTED]>> To: <[EMAIL PROTECTED]ups.com>> 
  Sent: Monday, July 03, 2006 6:05 AM> Subject: [flexcoders] Cairngorm2: 
  ViewLocator - ViewHelper> > > I've recently been toying 
  with the concepts of ViewHelper vs.> ViewLocator. Alex Ulmann posted, 
  "the ViewHelper adds and removes> itself from the ViewLocator", in 
  his Cairngorm 2 (for Flex 2) -> Overview and Migration Path. I haven't 
  seen any examples yet that> illustrate this method. Understandably, the 
  example pool and> documentation for this kind of thing is small but 
  growing. So, I was> wondering if the authors of Cairngorm had any 
  advise/guidance for this> topic. Of course it's a matter of scale, 
  but in an enterprise> application, what is recommended as best practice 
  for the use of> ViewLocator and/or ViewHelpers? I'm sure that there are 
  forthcoming> books that cover this area, but feedback here might 
  promote better> understanding.> > Best regards,> 
  Tim Hoff> > > > > > > 
  --> Flexcoders Mailing List> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
  Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com> 
  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
  

[flexcoders] Re: FLV can't load in to videoDisplay component from remote machine

2006-07-03 Thread Jason
I am having this same problem, but I am just playing videos off my
local computer.  I have a listBox with several items in it.  When you
selct on of the items it loads a new video into my VideoDisplay
component.  Some times it has an error, other times it does not.  I
think it is a sync issue, but I am not sure how to solve it.  Anyone
make any progress on this issue?

Error: 1000: No bitrate match
at mx.controls.videoClasses::VideoPlayer/seek()
at mx.controls::VideoDisplay/::autoPlaying()
at mx.controls::VideoDisplay/set source()
at VideoSelection/videoSelectListFunc()
at VideoSelection/__videoSelectList_change()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.controls.listClasses::ListBase/mx.controls.listClasses:ListBase::mouseUpHandler()
at mx.controls::List/mx.controls:List::mouseUpHandler()

--jason

--- In flexcoders@yahoogroups.com, Bhavin Padhiyar <[EMAIL PROTECTED]> wrote:
>
> hi abdul,
>   Actually problem is that videodisplay is not accepting  source
value when I host application to remote server.
>
>   Even I set crossdomain policy on server.
>
>   Is there any security problem or what ??
>   
>   
>   
> Abdul Qabiz <[EMAIL PROTECTED]> wrote:   
Have you set hardcoded value for the bitrate? 
> 
> -abdul
> 
> 
> On 6/21/06, Bhavin Padhiyar <[EMAIL PROTECTED]  > wrote:   
hi Tom 
>   It is givinging me error of no bitrate match
>   
>   Error: 1000: No bitrate match
>   at   mx.controls.videoClasses::VideoPlayer/play()
>   at mx.controls::VideoDisplay/play()
> at Support/::toggle()
>   at Support/___Button1_click()
>   
>   
>   
>   
>   
> 
>   
> 
> Tom Chiverton <[EMAIL PROTECTED]> wrote:On Tuesday 20 June 2006
15:16, Bhavin Padhiyar wrote:
> >   I try   out with some other examples that also give same kind of
error even
> > in flexstore example of adobe having same error.
> 
> What error is that then ?
> 
> -- 
> Tom Chiverton
> 
>   
> 
> This email is sent for and on behalf of Halliwells LLP.
> 
> Halliwells  LLP is a limited liability partnership registered in
England and Wales  under registered number OC307980 whose registered
office address is at  St James's Court Brown Street Manchester M2 2JF.
A list of members is  available for inspection at the registered
office. Any reference to a  partner in relation to Halliwells LLP
means a member of Halliwells LLP.  Regulated by the Law Society.  
> 
> CONFIDENTIALITY
> 
> This email is intended only for the use  of the addressee named
above and may be confidential or legally  privileged. If you are not
the addressee you must not read it and must  not use any information
contained in nor copy it nor inform any person  other than Halliwells
LLP or the addressee of its existence or  contents. If you have
received this email in error please delete it and  notify Halliwells
LLP IT Department on 0870 365 8008.
> 
> For more information about Halliwells LLP visit   www.halliwells.com.
> 
> We are pleased to announce that Halliwells LLP has been voted AIM
Lawyer of the Year at the 2005 Growth Company Awards  
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ:   http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:  
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
>  
> 
> -
> Do you Yahoo!?
>Get on board. You're invited to try the new Yahoo! Mail Beta.  
>   
> 
> 
>   
> 
> 
> 
> 
>   
>   
> 
> 
>   
> -
> Do you Yahoo!?
>  Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.
>









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

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

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

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

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





[flexcoders] AS3 :: SoundChannel for NetStream?

2006-07-03 Thread Hasan Otuome






In AS2 we had...

someMovieClip.attachAudio(someNetStream);

var sound:Sound = new Sound(someMovieClip);

but that's not an option anymore because attachAudio() was removed. The
docs mention using DisplayList via addChild() but weren't explicit
about it.

Searching has turned up similiar questions but no answers. Thanks in
advance for any help...


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___




Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread JesterXL
Don't have Flex 2 open in front of me ( client hearts 1.5 ), but you can I 
think do:

public function onResult(event:* = null):void
{
ResultEvent(event).result
// or...
var yourEvent:ResultEvent = event as ResultEvent;
}

I can't remember if you can cast in the function signature as:

public function onResult ( event:* as ResultEvent = null )

...but, either way, you can also do what I do; keep your own build of 
Cairngorm locally!  I've yet to work on a project where the team didn't 
modify their build of Cairngorm to suit their needs.


- Original Message - 
From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
To: 
Sent: Monday, July 03, 2006 3:00 PM
Subject: [flexcoders] Re: Cairngorm Responder interface changes


Ah ha. Actually, I had to change them to

public function onResult(event:* = null):void
public function onFault(event:* = null):void

so that they matched the signature exactly. I guess my confusion was
in that I was viewing the :* as meaning the developer could specify
whatever type they wanted. I was seeing * as a kind of superclass when
that is in fact not the case. I have to agree with Jester; I don't
really see the point of this change.

Thanks for your help,
Ben

--- In flexcoders@yahoogroups.com, "Clint Modien" <[EMAIL PROTECTED]> wrote:
>
> you need to change these lines
>
> public function onResult(event:ResultEvent):void
> public function onFault(event:FaultEvent):void
>
> to this...
>
> public function onResult(event:*):void
> public function onFault(event:*)void
>
> On 7/3/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:
> >
> >   Can someone explain why it is telling me I've implemented the
> > Responder methods with an incompatible signature?
> >
> > public function onResult(event:ResultEvent):void
> > public function onFault(event:FaultEvent):void
> >
> > The signatures shown in the docs are
> >
> > public function onResult(event:* = null):void
> > public function onFault(event:* = null):void
> >
> > What am I missing here?
> >
> > Thanks,
> > Ben
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > "der_kotty"  wrote:
> > >
> > > Hi,
> > >
> > > I was just wondering why the com.adobe.cairngorm.business.Responder
> > > interface has been changed since it has been released on Adobe Labs.
> > > In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
> > > parameters of the onFault and onResult handlers were typed events
> > > (ResultEvent and FaultEvent).
> > >
> > > Why have the parameters been changed to '*'? Where is the sense in
> > > that? To my opinion this is not really best practice but maybe
> > > there's a really good reason for that? Does anyone know?
> > >
> > > 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











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

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

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

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

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




Re: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread JesterXL
Speaking for Steven, but the reason they espoused using ModelLocator over 
ViewHelpers was a few reasons.  First off, many people felt the need to 
create ViewHelpers for every View.  This was ridicolous; no View could ever 
do anything useful but instantiate GUI components, and register for events. 
You had no clue WHAT that View could do.  Suddenly you're code base 
basically doubled for extremely little gain.

Secondly, most people utilized ViewHelpers with ViewLocator instead of the 
actual View's.  While this was nice, no one ever implemented strong typing, 
thus defeating the purpose of casting as ViewHelper describing what the View 
could do.

Third, you wrote more code for no gain.  Some people would even put code in 
both the MXML View and ViewHelper, further compounding the issue of "what's 
really being seperated here".

In all fairness, I come from a Flash background where you wrote classes. 
These classes were your View.  You can do the same thing in Flex; write your 
class to extend Canvas instead of using a root Canvas tag; same thing.  To 
me, organizing code is 2nd nature.  MXML + embedded Script tags were just a 
wonderful next step.  My code changes never broke my GUI changes and vice 
versa.  For some reason, it seems people can't fathom the thought of 
ActionScript in MXML files.  That's just absurd; you can see what the GUI is 
AND does in the same.  Go look at the source code; all kinds of controls 
draw themselves and perform actions.  This isn't rocket science, it's a 
fuggin' form for crying out loud.

The other option of using an external script file for the script tag is just 
as bad.  You have to define controls and other buttons again, defeating the 
use of the ID control concept which helps shield your code from being broken 
when you change your GUI.  :: que Carlos Mencia duh dah d ::

Bottom line, MXML components are extremely portable and encapsulated with 
ActionScript inside them.  Granted, there are still people who will write 
"components" with ModelLocator's littered amongst them vs. expousing public 
properties and methods to set the data instead... but that's the developers 
fault, not MXML's.

MXML is just a class... it's ok to write properties and methods in a 
class...  seriously, it's ok.  :: whips out a bag of teddy bears to hand out 
just in case ::

- Original Message - 
From: "Tim Hoff" <[EMAIL PROTECTED]>
To: 
Sent: Monday, July 03, 2006 5:01 PM
Subject: [flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper


Thanks for the responses guys,

Dimitrios:
Yes, the majority of my views are updated through binding to the
ModelLocator.  However, there are certain functions that are soley
view-related (like setFocus(), filtering a DataGrid, updating a
search parameter VO with view component values prior to executing a
search command), that imo don't merit creating a command to
perform.  These kind of functions could just be located in a script
tag inside the view.  But, if the functions are numerous, the code
becomes more readable if a seperate class is used.

Bjorn:
I agree that a command shouldn't interrogate a view.  That would
defeat the encapsulation.  For the most part though, the command
should update the ModelLocator and the ModelLocator should update
the view.

Jesse:
As always, you crack me up.  In the situations that I mentioned
above, I assume that you are using a ViewLocator - uid approach.
This is probably more efficient and centralized than using
ViewHelpers.  Besides, I really don't want to deal with Satan
spawn.  Care to share a small sample of your approach?

All in all, this isn't a huge issue.  Out of my current 300 views,
I've only found the need to use three ViewHelpers.  My questions are
more theoretical and best practice oriented.  Good stuff to know
when scalability is an issue.  Also, I'm still not sure what Alex
Uhlmann meant by "the ViewHelper adds and removes itself from the
ViewLocator".  Guess I need to take a trip back to the Cairngorm
source.

Thanks again for your answers.  I was hoping that Steven or
Alistaire had time to chime in here, but I realize that they are
very busy these days.

Cheers,
Tim Hoff


--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> ViewHelpers == spawn of satan.  Nothing here but bloated
code.  "Seperation
> of concerns" doesn't count here; it's just something they say to
make
> themselves feel better by using them.
>
> ViewLocators, to me are only justified in extreme use cases.
Having other
> View's, or even Commands specifically telling other views to do
certain
> things are bad practice, but I have seen times where there is just
no other
> way.  The rest of the time, databinding and combinations of
getter / setters
> should accomplish what you want.  While their use should be
discouraged,
> I'll be the first to admit they are useful and lifesavers when you
need
> them.
>
>
> - Original Message - 
> From: "Tim Hoff" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, 

[flexcoders] FlexUnit, Web Service

2006-07-03 Thread bchirgwin

I have a web service I am trying to write and test a web service using 
FlexUnit.

I write the test that FlexUnit I add the a testsuite, but I can't test 
(assert) the results, because the web service doesn't immediately 
return a response. I have dispatched an event and tried asserting 
results in the dispatched event, but this causes an error in the 
console as asserts are being performed outside of a test.

Any help would be appreciated.












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

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

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

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

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





[flexcoders] Get A nodes from html-xml

2006-07-03 Thread Jesús Iglesias





Hi, 
 
I have a htmltext wich I cast to XML. Now I need to 
read all of the  A tags of the html,something like myxml.*.A, but nothing 
seems to work.
 
Do you know how to read all links?
 
Thanks
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread Tim Hoff
Thanks for the responses guys,

Dimitrios: 
Yes, the majority of my views are updated through binding to the 
ModelLocator.  However, there are certain functions that are soley 
view-related (like setFocus(), filtering a DataGrid, updating a 
search parameter VO with view component values prior to executing a 
search command), that imo don't merit creating a command to 
perform.  These kind of functions could just be located in a script 
tag inside the view.  But, if the functions are numerous, the code 
becomes more readable if a seperate class is used.

Bjorn:
I agree that a command shouldn't interrogate a view.  That would 
defeat the encapsulation.  For the most part though, the command 
should update the ModelLocator and the ModelLocator should update 
the view.

Jesse:
As always, you crack me up.  In the situations that I mentioned 
above, I assume that you are using a ViewLocator - uid approach.  
This is probably more efficient and centralized than using 
ViewHelpers.  Besides, I really don't want to deal with Satan 
spawn.  Care to share a small sample of your approach?

All in all, this isn't a huge issue.  Out of my current 300 views, 
I've only found the need to use three ViewHelpers.  My questions are 
more theoretical and best practice oriented.  Good stuff to know 
when scalability is an issue.  Also, I'm still not sure what Alex 
Uhlmann meant by "the ViewHelper adds and removes itself from the 
ViewLocator".  Guess I need to take a trip back to the Cairngorm 
source.

Thanks again for your answers.  I was hoping that Steven or 
Alistaire had time to chime in here, but I realize that they are 
very busy these days.

Cheers,
Tim Hoff


--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> ViewHelpers == spawn of satan.  Nothing here but bloated 
code.  "Seperation 
> of concerns" doesn't count here; it's just something they say to 
make 
> themselves feel better by using them.
> 
> ViewLocators, to me are only justified in extreme use cases.  
Having other 
> View's, or even Commands specifically telling other views to do 
certain 
> things are bad practice, but I have seen times where there is just 
no other 
> way.  The rest of the time, databinding and combinations of 
getter / setters 
> should accomplish what you want.  While their use should be 
discouraged, 
> I'll be the first to admit they are useful and lifesavers when you 
need 
> them.
> 
> 
> - Original Message - 
> From: "Tim Hoff" <[EMAIL PROTECTED]>
> To: 
> Sent: Monday, July 03, 2006 6:05 AM
> Subject: [flexcoders] Cairngorm2: ViewLocator - ViewHelper
> 
> 
> I've recently been toying with the concepts of ViewHelper vs.
> ViewLocator.  Alex Ulmann posted, "the ViewHelper adds and removes
> itself from the ViewLocator", in his Cairngorm 2 (for Flex 2) -
> Overview and Migration Path.  I haven't seen any examples yet that
> illustrate this method.  Understandably, the example pool and
> documentation for this kind of thing is small but growing.  So, I 
was
> wondering if the authors of Cairngorm had any advise/guidance for 
this
> topic.  Of course it's a matter of scale, but in an enterprise
> application, what is recommended as best practice for the use of
> ViewLocator and/or ViewHelpers?  I'm sure that there are 
forthcoming
> books that cover this area, but feedback here might promote better
> understanding.
> 
> Best regards,
> Tim Hoff
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%
40yahoogroups.com
> Yahoo! Groups Links
>







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

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

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

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

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




[flexcoders] Re: Anybody knows how SQLAdmin sample make connection with MS-SQL server?

2006-07-03 Thread stevenxiu
Hi Tim,

Thanks for showing me the direction and it is great for my starting.


Steve
--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> Sorry Steve,
> 
> Part 2 of the .Net WebService article is a better example, related 
to
> your question.
> 
> http://weblogs.asp.net/astopford/articles/106476.aspx
> 
> 
> -TH
> 
> 
> --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> >
> >
> > Hi Steve,
> >
> > Here are a couple of links to get you moving in the right 
direction. A
> > SQL Server database can be accessed directly with an HTTP 
parameter
> > string and FOR XML output. But this method isn't recommended due 
to
> the
> > possibility of SQL injection. Most SQL Server based applications
> > implement a middle tier (like ASP.NET) to seperate the database 
from
> > business and security logic. On the Flex side, you can use 
WebService,
> > HTTPService, or RemoteObject. WebService is the most generic, but 
also
> > the slowest. HTTPService is faster than WebService because SOAP 
isn't
> > involved. RemoteObject is the method of choice for performance,
> because
> > serialized data (AMF) is sent across the wire. I hope that this 
helps
> > you get started.
> >
> > -TH
> >
> > WebService:
> > http://weblogs.asp.net/astopford/articles/105551.aspx
> > 
> >
> > Remoting:
> > http://weblogs.asp.net/astopford/articles/111692.aspx
> > 
> >
> > WebOrb (FDS for .NET):
> > http://www.themidnightcoders.com/index.htm
> > 
> >
> >
> > --- In flexcoders@yahoogroups.com, "stevenxiu" stevenxiu@ wrote:
> > >
> > > Hi All,
> > >
> > > I am new to Flex and saw a very cool sample
> > > http://www.kevinkaz.com/flex2/
> > >
> > > How does the application connect to MS-SQL server? I have 
searched
> > many
> > > forums and never got luck to see a good answer about database
> > > connection .etc.
> > >
> > > Any expert please point me to the right way. A sample will be 
great
> > > appreciated.
> > >
> > >
> > > Steve
> > >
> >
>










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

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

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

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

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





RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan












Yes, we found that the containers like
HBox and Canvas are too heavyweight for just changing a backgroundColor, so
when you have hundreds of cells in a dataGrid, you’ll start to see a
serious performance issue. Subclassing Label is a lot more lightweight, but I
believe the lightest weight option is subclassing the DataGridItemRenderer.

 

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeremy Lu
Sent: Monday, July 03, 2006 11:06
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re:
coloring an entire cell in a DataGrid?



 








Ah, right, I always use HBox or Canvas as the base class for item renderer, 
so setting style on it is never a problemsorry for the confusion.






On 7/4/06, Joan Tan
<[EMAIL PROTECTED]> wrote:













I'm not sure what the
issue is for your specific case. What does the rest of your itemRenderer look
like? To use the backgroundColor style, the component that you are extending
needs to have this style. The default DataGrid itemRenderer doesn't, nor does Label
or Text. This is why we were using the beginFill/drawRect/endFill method of drawing in the
background.  Please ensure that your itemRenderer actually has a
backgroundColor style.  

 

Thanks,

Joan

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com






Subject:
[flexcoders] Re: coloring an entire cell in a DataGrid?







 







doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle("backgroundColor","red");
// that line causes my grid to be empty if I leave it 
// uncommented 

}

--- In flexcoders@yahoogroups.com,
"Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> in that data() block, I would just use:
> 
> this.setStyle("backgroundColor", "red");
> 
> to change the item renderer's background color.
> 
> see if this works.
> 
> Jeremy.
> 
> On 7/1/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote:
> >
> > any help? is there a more elegant way to do it inside of set 
data(),
> > or is the beginFill/drawRect/endFill method shown as good as it 
gets?
> >
> > --- In flexcoders@yahoogroups.com
,
> > "djbrown_rotonews"
> >
> >  wrote:
> > >
> > > Is the beginFill/drawRect/endFill the only way to do it inside 
of
> > > set data() as well, or is there an alternate way?
> > >
> > > --- In flexcoders@yahoogroups.com 
40yahoogroups.com>,
> > "Jeremy Lu"  wrote:
> > > >
> > > > Got it, thanks :-)
> > > >
> > > >
> > > >
> > > > On 6/27/06, Joan Tan  wrote:
> > > > >
> > > > > I believe that this was suggested to me by Alex. I
think
> > your
> > > way
> > > > > should work too though.
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *From:* flexcoders@yahoogroups.com 
40yahoogroups.com>
> > > [mailto:flexcoders@yahoogroups.com 
40yahoogroups.com>] *On
> > > > > Behalf Of *Jeremy Lu
> > > > > *Sent:* Monday, June 26, 2006 4:22 PM
> > > > > *To:* flexcoders@yahoogroups.com 
40yahoogroups.com>
> > > > > *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
> > > DataGrid?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > hi Joan,
> > > > >
> > > > > Just wondering is there any particular reason that you

don't
> > > change the
> > > > > background color in the data() setter like this:
> > > > >
> > > > > public function set data(value:Object
> > >
> > 
):void<
http://../../../specialTypes.html
> > > #void>
> > > > > {
> > > > >
> > > > > if( value.myColumnName > 50){
> > > > > //change bg to red
> > > > > }else{
> > > > > //change to other color
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > > Jeremy.
> > > > >
> > > > > On 6/27/06, *Joan Tan*  wrote:
> > > > >
> > > > > The "color" style of Text only affects the
text and the 
not the
> > > > > background. Text doesn't actually have a background
color 
so
> > you
> > > must create
> > > > > an itemRenderer with a backgroundColor and then set
it. 
This
> > > example was
> > > > > posted on another flexcoders thread entitled
"datagrid". 
This
> > > itemRenderer
> > > > > will turn the background of a row to red if the value
of 
the
> > > column
> > > > > "myColumnName" in that row is over 50.
> > > > >
> > > > >
> > > > >
> > > > > package {
> > > > >
> > > > >
> > > > >
> > > > > import mx.controls.Label;
> > > > >
> > > > > import mx.controls.dataGridClasses.*;
> > > > >
> > > > > import mx.controls.DataGrid;
> > > > >
> > > > > import flash.display.Graphics;
> > > > >
> > > > > import mx.styles.StyleManager;
> > > > >
> > > > >
> > > > >
> > > > > [Style(name="backgroundColor",
type="uint", format="Color",
> > > > > inherit="no")]
> > > > >
> > > > >
> > > > >
> > > > > public class BackgroundComp extends Label {
> > > > >
> > > > >
> > > > >
> > > > > override protected function updateDisplayL

RE: [flexcoders] Question on HTTPS proxy access issues on Websphere

2006-07-03 Thread Peter Farland












How was the SWF loaded? Did you configure
the http-url and https-url in flex-config.xml?

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of ehogberg
Sent: Monday, July 03, 2006 2:08
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Question on
HTTPS proxy access issues on Websphere



 







Hi all:

Running into some strangeness with Flex 1.5 HTTP services. Any help
is appreciated.

We are hosting a Flex application within a Websphere Portal Server
portlet. The Flex application is attempting to call a series of
HTTP-based services (REST, not SOAP) on a separate Websphere server. 
These services are called via HTTPS, we've set protocol=https on the
service definitions, and have also set the https proxy url in Flex
config to the absolute URL of the Flex portlet. Finally, note that
the portal itself is accessed using HTTPS.

At first glance, we've appeared to have configured everything 'by the
book'. However, when the services are called we get the standard
"can't access HTTPS urls when accessing proxy via HTTP' message. Any
ideas why we would be getting this error when both the service
definitions' protocol properties and the overall HTTPS service proxy
are set properly?

-Eric-






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] ServiceLocator - does it have to be MXML?

2006-07-03 Thread ben.clinkinbeard
Is it possible to implement your app's ServiceLocator in ActionScript?
I strongly prefer making WebService calls in AS so I would rather do
it this way. If this is not possible, I am hoping someone can explain
how a complex call would be made. I am not currently using a Delegate
(isn't Delegate.create not necessary in AS3?), so here is the code in
my Command class.

var service:AbstractService =
ServiceLocator.getInstance().getService("industryService");
service.GetDataByGrouping();

The problem is that neither the onResult nor onFault handlers are firing.

Here is the service as defined in my Services.mxml file:







RPRToolStaticData






The equivalent in AS, if you're interested is:

var ws:WebService = new WebService();
ws.loadWSDL([EMAIL PROTECTED] + "?WSDL"); 
ws.useProxy = false;
ws.addEventListener("result", onIndustryAndSizeIdsLoaded);
ws.addEventListener("fault", onIndustryAndSizeIdsFault);

var op:AbstractOperation;
op = ws['GetDataByGrouping'];

var args:Object = new Object;
args.groupingRequests = new Array();
args.groupingRequests.push({GroupName: "RPRToolStaticData"});

op.arguments = args;
op.send();

Thanks in advance,
Ben






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

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

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

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




RE: [flexcoders] app startup / load times

2006-07-03 Thread Ted Patrick












Hank,

 

Can you email or post source? [EMAIL PROTECTED]

 

I want to see what is going on first hand and post specific
optimizations. With source code the issue should be crystal clear. 

 

Happy to help…

 

Ted Patrick

Flex Evangelist

Adobe Systems Incorporated

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Monday, July 03, 2006 10:48
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] app
startup / load times



 







Thanks Ted.

But one problem. I dont have *anything* embedded in my app at this point. As I
said my app is 477k. Is there anything else that could explain it? Could I
really have enough code (written in a week) to explain the size? What is a more
"normal" small flex app size? 

Regards,
Hank






On 7/3/06, Ted
Patrick <[EMAIL PROTECTED]>
wrote:

Hank,

First off the size of your app seems rather large. Here are a few things to
check...

1. @Embed with Images - Embedding images directly adds to file size. Optimize
images before embedding them.
2. Font usage - Fonts embed all glyths into the SWF resulting in a larger files
in jumps of 30K. 

Use of Runtime Shared Libraries:

Typically you do not have one Flex app, you have several, and then they start
to multiply. RSL's allow you to package a set of components and assets into a
dll of sorts and reuse it across applications. The result is a single RSL
reused by many smaller Flex applications. The RSL is loaded via URL and cached
in the browser (make sure it gets cached!!) and much smaller flex apps load
this RSL at runtime. 

No RSL:
   App1.swf = 300K
App2.swf = 300K
App3.swf = 300K

RSL Usage:

   App1.swf = 20K
App2.swf = 20K
App3.swf = 20K
   Rsl.swf = 280K

http://www.powersdk.com/ted/2005/07/flex-shared-libraries-tips-and-tricks.php

http://www.adobe.com/devnet/flex/articles/rsl.html

Hope this helps...

Ted Patrick
Flex Evangelist
Adobe Systems Incorporated







From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: Sunday, July 02, 2006 7:37 PM 
To: flexcoders@yahoogroups.com
Subject: [flexcoders] app startup / load times

For the first time since I started playing with flex (a couple of
weeks) I checked out the size of my app, which is currently 477k. 

My app isnt that big, so I presume most of that is just the size of
the framework. I am just wondering what do people think about that in
terms of user start up time. For a user with a 500kbps connection that 
is about 8 seconds before the app is loaded. Are people doing loaders
to get things started? is there an accepted strategy for how to deal
with this?

There was another thread recently about how people shouldnt use flex 
for websites and one person provided aesthetic reasons. In my mind, if
there is a reason (and I am not arguing that there is) but if there is
a reason not to use it for websites it would be the file size. 10
seconds seems like a long time to make someone wait before they see
something. On the other hand perhaps I am underestimating the average
connection speed.

Anyway, like I said I would just like to get peoples thoughts on this issue. 

Hank



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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






[flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread ben.clinkinbeard
Ah ha. Actually, I had to change them to 

public function onResult(event:* = null):void
public function onFault(event:* = null):void

so that they matched the signature exactly. I guess my confusion was 
in that I was viewing the :* as meaning the developer could specify
whatever type they wanted. I was seeing * as a kind of superclass when
that is in fact not the case. I have to agree with Jester; I don't
really see the point of this change.

Thanks for your help,
Ben

--- In flexcoders@yahoogroups.com, "Clint Modien" <[EMAIL PROTECTED]> wrote:
>
> you need to change these lines
> 
> public function onResult(event:ResultEvent):void
> public function onFault(event:FaultEvent):void
> 
> to this...
> 
> public function onResult(event:*):void
> public function onFault(event:*)void
> 
> On 7/3/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:
> >
> >   Can someone explain why it is telling me I've implemented the
> > Responder methods with an incompatible signature?
> >
> > public function onResult(event:ResultEvent):void
> > public function onFault(event:FaultEvent):void
> >
> > The signatures shown in the docs are
> >
> > public function onResult(event:* = null):void
> > public function onFault(event:* = null):void
> >
> > What am I missing here?
> >
> > Thanks,
> > Ben
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > "der_kotty"  wrote:
> > >
> > > Hi,
> > >
> > > I was just wondering why the com.adobe.cairngorm.business.Responder
> > > interface has been changed since it has been released on Adobe Labs.
> > > In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
> > > parameters of the onFault and onResult handlers were typed events
> > > (ResultEvent and FaultEvent).
> > >
> > > Why have the parameters been changed to '*'? Where is the sense in
> > > that? To my opinion this is not really best practice but maybe
> > > there's a really good reason for that? Does anyone know?
> > >
> > > Cheers
> > > David
> > >
> >
> >  
> >
>







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

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

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

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

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





Re: [flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread Clint Modien



you need to change these lines
public function onResult(event:ResultEvent):void
public function onFault(event:FaultEvent):voidto this...
public function onResult(event:*):void
public function onFault(event:*)voidOn 7/3/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:













  



Can someone explain why it is telling me I've implemented the
Responder methods with an incompatible signature?

public function onResult(event:ResultEvent):void
public function onFault(event:FaultEvent):void

The signatures shown in the docs are

public function onResult(event:* = null):void
public function onFault(event:* = null):void

What am I missing here?

Thanks,
Ben

--- In flexcoders@yahoogroups.com, "der_kotty" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I was just wondering why the com.adobe.cairngorm.business.Responder
> interface has been changed since it has been released on Adobe Labs.
> In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
> parameters of the onFault and onResult handlers were typed events
> (ResultEvent and FaultEvent). 
> 
> Why have the parameters been changed to '*'? Where is the sense in
> that?  To my opinion this is not really best practice but maybe
> there's a really good reason for that? Does anyone know?
> 
> 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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Paul Ihrig



i would be very interested in this as well.trying to come up with an outline to collect data in the field for our  social workers.so they can update the db when they get internet access, after they have collected the data


__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Flex2 release version - PopUp mangager ..sizing popups

2006-07-03 Thread Rich Tretola
I have always set the width and height properties of the TitleWindows,
I don;t believe this has changed.



On 7/3/06, bhaq1972 <[EMAIL PROTECTED]> wrote:
> Hi
> can someone confirm this. i'm now having to set the widths and heights
> of the popups i create using PopUpManager.
> i never had to do this before. flex/flashplayer would do it for me.
>
>
> is this correct?
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


-- 
Rich Tretola

http://www.EverythingFlex.com


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

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

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

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

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





[flexcoders] Re: Cairngorm Responder interface changes

2006-07-03 Thread ben.clinkinbeard
Can someone explain why it is telling me I've implemented the
Responder methods with an incompatible signature?

public function onResult(event:ResultEvent):void
public function onFault(event:FaultEvent):void

The signatures shown in the docs are

public function onResult(event:* = null):void
public function onFault(event:* = null):void

What am I missing here?

Thanks,
Ben


--- In flexcoders@yahoogroups.com, "der_kotty" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I was just wondering why the com.adobe.cairngorm.business.Responder
> interface has been changed since it has been released on Adobe Labs.
> In Cairngorm 2.0 alpha (org.nevis.cairngorm.business.Responder) the
> parameters of the onFault and onResult handlers were typed events
> (ResultEvent and FaultEvent). 
> 
> Why have the parameters been changed to '*'? Where is the sense in
> that?  To my opinion this is not really best practice but maybe
> there's a really good reason for that? Does anyone know?
> 
> Cheers
> David
>






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

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

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

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

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





Re: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Jeremy Lu




Ah, right, I always use HBox or Canvas as the base class for item renderer, 
so setting style on it is never a problemsorry for the confusion.

On 7/4/06, Joan Tan <[EMAIL PROTECTED]> wrote:













  













I'm not sure what the issue is for
your specific case. What does the rest of your itemRenderer look like? To use
the backgroundColor style, the component that you are extending needs to have
this style. The default DataGrid itemRenderer doesn't, nor does Label or
Text. This is why we were using the beginFill/drawRect/endFill
method of drawing in the background.  Please ensure that your itemRenderer
actually has a backgroundColor style.  

 

Thanks,

Joan

 









From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com

Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?



 







doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle("backgroundColor","red");
// that line causes my grid to be empty if I leave it 
// uncommented 

}

--- In flexcoders@yahoogroups.com,
"Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> in that data() block, I would just use:
> 
> this.setStyle("backgroundColor", "red");
> 
> to change the item renderer's background color.
> 
> see if this works.
> 
> Jeremy.
> 
> On 7/1/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote:
> >
> > any help? is there a more elegant way to do it inside of set 
data(),
> > or is the beginFill/drawRect/endFill method shown as good as it 
gets?
> >
> > --- In flexcoders@yahoogroups.com
,
> > "djbrown_rotonews"
> >
> >  wrote:
> > >
> > > Is the beginFill/drawRect/endFill the only way to do it
inside 
of
> > > set data() as well, or is there an alternate way?
> > >
> > > --- In flexcoders@yahoogroups.com

40yahoogroups.com>,
> > "Jeremy Lu"  wrote:
> > > >
> > > > Got it, thanks :-)
> > > >
> > > >
> > > >
> > > > On 6/27/06, Joan Tan  wrote:
> > > > >
> > > > > I believe that this was suggested to me by Alex. I
think
> > your
> > > way
> > > > > should work too though.
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *From:* flexcoders@yahoogroups.com

40yahoogroups.com>
> > > [mailto:flexcoders@yahoogroups.com

40yahoogroups.com>] *On
> > > > > Behalf Of *Jeremy Lu
> > > > > *Sent:* Monday, June 26, 2006 4:22 PM
> > > > > *To:* flexcoders@yahoogroups.com

40yahoogroups.com>
> > > > > *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
> > > DataGrid?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > hi Joan,
> > > > >
> > > > > Just wondering is there any particular reason that you

don't
> > > change the
> > > > > background color in the data() setter like this:
> > > > >
> > > > > public function set data(value:Object
> > >
> > 
):void<
http://../../../specialTypes.html
> > > #void>
> > > > > {
> > > > >
> > > > > if( value.myColumnName > 50){
> > > > > //change bg to red
> > > > > }else{
> > > > > //change to other color
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > > Jeremy.
> > > > >
> > > > > On 6/27/06, *Joan Tan*  wrote:
> > > > >
> > > > > The "color" style of Text only affects the
text and the 
not the
> > > > > background. Text doesn't actually have a background
color 
so
> > you
> > > must create
> > > > > an itemRenderer with a backgroundColor and then set
it. 
This
> > > example was
> > > > > posted on another flexcoders thread entitled
"datagrid". 
This
> > > itemRenderer
> > > > > will turn the background of a row to red if the value
of 
the
> > > column
> > > > > "myColumnName" in that row is over 50.
> > > > >
> > > > >
> > > > >
> > > > > package {
> > > > >
> > > > >
> > > > >
> > > > > import mx.controls.Label;
> > > > >
> > > > > import mx.controls.dataGridClasses.*;
> > > > >
> > > > > import mx.controls.DataGrid;
> > > > >
> > > > > import flash.display.Graphics;
> > > > >
> > > > > import mx.styles.StyleManager;
> > > > >
> > > > >
> > > > >
> > > > > [Style(name="backgroundColor",
type="uint", format="Color",
> > > > > inherit="no")]
> > > > >
> > > > >
> > > > >
> > > > > public class BackgroundComp extends Label {
> > > > >
> > > > >
> > > > >
> > > > > override protected function updateDisplayList
> > > (unscaledWidth:Number,
> > > > >
> > > > >
> > > > >
> > > > > unscaledHeight:Number):void
> > > > >
> > > > > {
> > > > >
> > > > > super.updateDisplayList(unscaledWidth,
> > > unscaledHeight);
> > > > >
> > > > >
> > > > >
> > > > > var g:Graphics = graphics;
> > > > >
> > > > > g.clear();
> > > > >
> > > > > var grid1:DataGrid =
> > > > > DataGrid(DataGridListData(listData).owner);
> > > > >
> > > > > if (grid1.isItemSelected(data) ||
> > > > > grid1.isItemHighlighted(data))
> > > > >
> > > > > return;
> > > > >
> > > > > if (data.myColumnName > 50)
> > > > >
> > > > > 

[flexcoders] Question on HTTPS proxy access issues on Websphere

2006-07-03 Thread ehogberg
Hi all:

Running into some strangeness with Flex 1.5 HTTP services.  Any help
is appreciated.

We are hosting a Flex application within a Websphere Portal Server
portlet.  The Flex application is attempting to call a series of
HTTP-based services (REST, not SOAP) on a separate Websphere server. 
These services are called via HTTPS, we've set protocol=https on the
service definitions, and have also set the https proxy url in Flex
config to the absolute URL of the Flex portlet.  Finally, note that
the portal itself is accessed using HTTPS.

At first glance, we've appeared to have configured everything 'by the
book'.  However, when the services are called we get the standard
"can't access HTTPS urls when accessing proxy via HTTP' message.  Any
ideas why we would be getting this error when both the service
definitions' protocol properties and the overall HTTPS service proxy
are set properly?

-Eric-






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

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

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

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

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





Re: [flexcoders] app startup / load times

2006-07-03 Thread hank williams



Actually, I have to take it back. This answer doesnt quite get to the issue, and I realize I probably didnt fully make the question clear.The alternatives are not two flex apps or one. The choices are1. one flex app or
2. one flex app and a flash website. The issue is that I am not very good with making super cool graphics in basic flash. If I put my mind to it I can do it, but its not my strength. So needing to do two separate apps significantly increases the amount of time I am wasting doing something I am not particularly good at. In flex I could do something cool and I could do it quickly. So there is a time value of money issue here vs. will users get frustrated by the wait time. If I had the time and/or the skills to do a good flash site (or heck even a good html site) efficiently then I would probably just do it because it would be smaller. But this involves real world tradeoffs of time and resources so I need to know how acceptable people think a flex download is for a website.
RegardsHankOn 7/3/06, hank williams <[EMAIL PROTECTED]> wrote:
Ok, so it sounds like I have one vote for keeping it together and one vote for separateOn 7/3/06, Richard Kroll <

[EMAIL PROTECTED]> wrote:Hank,
Think of what you are trying to accomplish, and how each fits into your
overall business.  It seems to me as though you are trying to merge yourapplication with the more marketing related website that sells it.I wouldnt say I am *trying* to do anything other than ask what people think is a good idea on this front. From a work load perspective it would be easier as one app. But that *is* the question.
So it sounds like I have one vote for (bjorn) and one against - you.ThanksHank 

  Ifyou look at these two things as distinct entities, it makes much moresense to separate these into separate files with their own source code,progress bars, (potentially) domains, etc.  This would reduce the load
time for users just coming to check out your software, and have theadditional benefit of keeping your source for the app completelyseparate from the code you use to sell it.HTH,Rich
From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] OnBehalf Of hank williamsSent: Monday, July 03, 2006 9:01 AM
To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] app startup / load timesOn 7/3/06, Richard Kroll <
[EMAIL PROTECTED]
> wrote:> Hank,> One thing you have to keep in mind is that Flex 2.0 is tailored to web> *applications* instead of to web sites.This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that the"website" part of my stuff can open more quickly. Most applicationsstill need the website-ish stuff to tell the user why they should care
and what the app is.Basically I am wondering whether I really need to go through thatextra effort of making a separate thing in order to improve startupperformance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is reallyannoying to people I dont want to loose potential users because thestartup was too slow.Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoplesthoughts. I'm really hoping people will convince me not to worry aboutit, but I am open to being convinced that I need to do a two stagesite.
When a user starts up a typical> application, a 8-10 second delay prior to the application to start upis> not an unusually long delay for startup. Most Flex apps that I've seen> to date are starting up in the 3-5 second range, which I believe is
> completely acceptable.I agree that 3-5 seconds is totally ok. I have no idea what the realworld experience will be for most people and 8-10 seconds was just aguess based on file size and guesses about the low end of average
connection speeds.RegardsHank Yahoo! Groups Sponsor ~-->Something is new at Yahoo! Groups.  Check out the enhanced email design.

http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
 

Re: [flexcoders] FTP client in AS3?

2006-07-03 Thread Weyert de Boer
Michael Hansen wrote:
>
> I know you can allow XMLSocket access to ports below 1024 using a 
> policy file.
>

No idea, I always take my year of birth as the port number ;-)
>
>  



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

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

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

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

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




Re: [flexcoders] app startup / load times

2006-07-03 Thread hank williams



Thanks Ted.But one problem. I dont have *anything* embedded in my app at this point. As I said my app is 477k. Is there anything else that could explain it? Could I really have enough code (written in a week) to explain the size? What is a more "normal" small flex app size?
Regards,HankOn 7/3/06, Ted Patrick <[EMAIL PROTECTED]> wrote:
Hank,First off the size of your app seems rather large. Here are a few things to check...1. @Embed with Images - Embedding images directly adds to file size. Optimize images before embedding them.2. Font usage - Fonts embed all glyths into the SWF resulting in a larger files in jumps of 30K.
Use of Runtime Shared Libraries:Typically you do not have one Flex app, you have several, and then they start to multiply. RSL's allow you to package a set of components and assets into a dll of sorts and reuse it across applications. The result is a single RSL reused by many smaller Flex applications. The RSL is loaded via URL and cached in the browser (make sure it gets cached!!) and much smaller flex apps load this RSL at runtime.
No RSL:   App1.swf = 300KApp2.swf = 300KApp3.swf = 300KRSL Usage:   App1.swf = 20KApp2.swf = 20KApp3.swf = 20K   Rsl.swf = 280K
http://www.powersdk.com/ted/2005/07/flex-shared-libraries-tips-and-tricks.php
http://www.adobe.com/devnet/flex/articles/rsl.htmlHope this helps...Ted PatrickFlex EvangelistAdobe Systems IncorporatedFrom: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williamsSent: Sunday, July 02, 2006 7:37 PM
To: flexcoders@yahoogroups.comSubject: [flexcoders] app startup / load timesFor the first time since I started playing with flex (a couple ofweeks) I checked out the size of my app, which is currently 477k.
My app isnt that big, so I presume most of that is just the size ofthe framework. I am just wondering what do people think about that interms of user start up time. For a user with a 500kbps connection that
is about 8 seconds before the app is loaded. Are people doing loadersto get things started? is there an accepted strategy for how to dealwith this?There was another thread recently about how people shouldnt use flex
for websites and one person provided aesthetic reasons. In my mind, ifthere is a reason (and I am not arguing that there is) but if there isa reason not to use it for websites it would be the file size. 10
seconds seems like a long time to make someone wait before they seesomething. On the other hand perhaps I am underestimating the averageconnection speed.Anyway, like I said I would just like to get peoples thoughts on this issue.
Hank--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] app startup / load times

2006-07-03 Thread hank williams



Ok, so it sounds like I have one vote for keeping it together and one vote for separateOn 7/3/06, Richard Kroll <
[EMAIL PROTECTED]> wrote:Hank,Think of what you are trying to accomplish, and how each fits into your
overall business.  It seems to me as though you are trying to merge yourapplication with the more marketing related website that sells it.I wouldnt say I am *trying* to do anything other than ask what people think is a good idea on this front. From a work load perspective it would be easier as one app. But that *is* the question.
So it sounds like I have one vote for (bjorn) and one against - you.ThanksHank 
  Ifyou look at these two things as distinct entities, it makes much moresense to separate these into separate files with their own source code,progress bars, (potentially) domains, etc.  This would reduce the load
time for users just coming to check out your software, and have theadditional benefit of keeping your source for the app completelyseparate from the code you use to sell it.HTH,Rich
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of hank williamsSent: Monday, July 03, 2006 9:01 AM
To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] app startup / load timesOn 7/3/06, Richard Kroll <[EMAIL PROTECTED]
> wrote:> Hank,> One thing you have to keep in mind is that Flex 2.0 is tailored to web> *applications* instead of to web sites.This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that the"website" part of my stuff can open more quickly. Most applicationsstill need the website-ish stuff to tell the user why they should care
and what the app is.Basically I am wondering whether I really need to go through thatextra effort of making a separate thing in order to improve startupperformance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is reallyannoying to people I dont want to loose potential users because thestartup was too slow.Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoplesthoughts. I'm really hoping people will convince me not to worry aboutit, but I am open to being convinced that I need to do a two stagesite.
When a user starts up a typical> application, a 8-10 second delay prior to the application to start upis> not an unusually long delay for startup. Most Flex apps that I've seen> to date are starting up in the 3-5 second range, which I believe is
> completely acceptable.I agree that 3-5 seconds is totally ok. I have no idea what the realworld experience will be for most people and 8-10 seconds was just aguess based on file size and guesses about the low end of average
connection speeds.RegardsHank Yahoo! Groups Sponsor ~-->Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/


__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FTP client in AS3?

2006-07-03 Thread Weyert de Boer
Hi David,

You need to place this policy file in the root of the domain you want to 
access right? For example, if the ftp server on the other side is also 
running a webserver I can just ask for the crossdomain xml file through 
their webserver to access that server on a different port i.e. 21?

Yours,
Weyert
>
> The only proviso that I can think of is the security sandbox. You can 
> only connect to network resources in the same domain or with a 
> crossdomain policy file allowing the originating domain access.
>
> Getting the crossdomain file from an FTP server could be tricky. I am 
> not certain, but I imagine that would entail running an HTTP or 
> XMLSocket server from the same domain as the FTP server and loading 
> the crossdomain file that way (with Security.loadPolicyFile)
>


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

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

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

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

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





Re: [flexcoders] FTP client in AS3?

2006-07-03 Thread Michael Hansen



I know you can allow XMLSocket access to ports below 1024 using a policy file.Is the same true for binary sockets? cheers -mOn 7/3/06, 
David Clark <[EMAIL PROTECTED]> wrote:













  



The only proviso that I can think of is the security sandbox. You can only connect to network resources in the same domain or with a crossdomain policy file allowing the originating domain access.Getting the crossdomain file from an FTP server could be tricky. I am not certain, but I imagine that would entail running an HTTP or XMLSocket  server from the same domain as the FTP server and loading the crossdomain file that way (with 
Security.loadPolicyFile).-- david"Many people die at twenty five and aren't buried until they are seventy five". - Benjamin Franklin

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Cairngorm: Calling webservice operation with parameters

2006-07-03 Thread slangeberg



Make sure you have the operation defined in your Service (here, updateStatus):
 
   wsdl="http://path/to/service?wsdl"     id="attendanceDelegate"   result="event.token.resultHandler(event)" 
 useProxy="false">     
 
In your Delegate, call your WS such as (where updateStatus is the operation on my WS):
 
public function updateStatus( student:StudentVO ):void {   trace( "\n *** AttendanceDelegate.updateStatus( "+student );   var call:Object = service.updateStatus( student.id
, student.AT_ID, student.ATS_SID );   call.resultHandler = responder.onResult;   call.faultHandler = responder.onFault;  }
 
Scott 
On 7/3/06, Uwe Raddatz <[EMAIL PROTECTED]> wrote:






Hi,may someone tell me what's the right way to pass some parameters to a SOAP webservice call in Cairngorm (version 0.99)?What I need is similar to switching the login method call in the Login sample application from RemoteObject to SOAP webservice.
Thanks.ur-- Uwe Raddatz[EMAIL PROTECTED]
 -- : : ) Scott 

__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] FTP client in AS3?

2006-07-03 Thread David Clark



The only proviso that I can think of is the security sandbox. You can only connect to network resources in the same domain or with a crossdomain policy file allowing the originating domain access.Getting the crossdomain file from an FTP server could be tricky. I am not certain, but I imagine that would entail running an HTTP or XMLSocket  server from the same domain as the FTP server and loading the crossdomain file that way (with 
Security.loadPolicyFile).-- david"Many people die at twenty five and aren't buried until they are seventy five". - Benjamin Franklin

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
Duh, its right there in the example code. Thanks, my brain seems to be
running a bit slowly today :)

Much appreciated,
Ben

--- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]>
wrote:
>
> Ben,
> 
>  
> 
> Your variables inside your TestModel souldn't be static except for
your modelLocator holder. 
> 
> When you do myModelLocator.getInstance() this function returns an
unique instance  of your modelLocator.
> 
>  
> 
> João Fernandes
> Dep. Informática - Área de Desenvolvimento
> Cofina media
> 
> Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
> Tel (+351) 213 185 200 . Fax (+351) 213 540 370
> [EMAIL PROTECTED]  
> 
>  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of ben.clinkinbeard
> Sent: segunda-feira, 3 de Julho de 2006 17:00
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Cairngorm 2 - Data binding will not be
able to detect assignments...
> 
>  
> 
> Whoops. Updated code, which now produces an error concerning "Access
> of a possibly undefined property 'name' through a reference with
> static type TestModel. My label tag now looks like this:
> 
>  id="testLabel"/>
> 
> And the TestModel class is updated to look like the sample in the
> documentation:
> 
> package
> {
> import com.adobe.cairngorm.model.ModelLocator;
> 
> [Bindable]
> public class TestModel implements ModelLocator
> {
> public static var name:String;
> private static var modelLocator : TestModel;
> 
> public static function getInstance() : TestModel 
> {
> if ( modelLocator == null )
> modelLocator = new TestModel();
> 
> return modelLocator;
> }
> 
> public static function initialize():void
> {
> name = "Some text";
> }
> }
> }
>







--
Flexcoders Mailing 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] FTP client in AS3?

2006-07-03 Thread Weyert de Boer
Does anyone know if it's possible ot make FTP client using the binary 
sockets of Flash 9? I would suppose this is possible, because you only 
to send bytes in binary mode for the FTP protocol, if I recall correctly.


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

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

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

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

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





RE: [flexcoders] Re: coloring an entire cell in a DataGrid?

2006-07-03 Thread Joan Tan












I’m not sure what the issue is for
your specific case. What does the rest of your itemRenderer look like? To use
the backgroundColor style, the component that you are extending needs to have
this style. The default DataGrid itemRenderer doesn’t, nor does Label or
Text. This is why we were using the beginFill/drawRect/endFill
method of drawing in the background.  Please ensure that your itemRenderer
actually has a backgroundColor style.  

 

Thanks,

Joan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of djbrown_rotonews
Sent: Monday, July 03, 2006 7:21
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: coloring
an entire cell in a DataGrid?



 







doing so causes my datagrid to be empty. any ideas
why?

override public function set data(value:Object):void {
if (!value) return;
super.data="" 
//this.setStyle("backgroundColor","red");
// that line causes my grid to be empty if I leave it 
// uncommented 

}

--- In [EMAIL PROTECTED]ups.com,
"Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> in that data() block, I would just use:
> 
> this.setStyle("backgroundColor", "red");
> 
> to change the item renderer's background color.
> 
> see if this works.
> 
> Jeremy.
> 
> On 7/1/06, djbrown_rotonews ...> wrote:
> >
> > any help? is there a more elegant way to do it inside of set 
data(),
> > or is the beginFill/drawRect/endFill method shown as good as it 
gets?
> >
> > --- In [EMAIL PROTECTED]ups.com
40yahoogroups.com>,
> > "djbrown_rotonews"
> >
> > > wrote:
> > >
> > > Is the beginFill/drawRect/endFill the only way to do it
inside 
of
> > > set data() as well, or is there an alternate way?
> > >
> > > --- In [EMAIL PROTECTED]ups.com

40yahoogroups.com>,
> > "Jeremy Lu"  wrote:
> > > >
> > > > Got it, thanks :-)
> > > >
> > > >
> > > >
> > > > On 6/27/06, Joan Tan  wrote:
> > > > >
> > > > > I believe that this was suggested to me by Alex. I
think
> > your
> > > way
> > > > > should work too though.
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *From:* [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> > > [mailto:[EMAIL PROTECTED]ups.com

40yahoogroups.com>] *On
> > > > > Behalf Of *Jeremy Lu
> > > > > *Sent:* Monday, June 26, 2006 4:22 PM
> > > > > *To:* [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> > > > > *Subject:* Re: [flexcoders] Re: coloring an entire
cell in 
a
> > > DataGrid?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > hi Joan,
> > > > >
> > > > > Just wondering is there any particular reason that you

don't
> > > change the
> > > > > background color in the data() setter like this:
> > > > >
> > > > > public function set data(value:Object
> > >
> > 
):void > > #void>
> > > > > {
> > > > >
> > > > > if( value.myColumnName > 50){
> > > > > //change bg to red
> > > > > }else{
> > > > > //change to other color
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > > Jeremy.
> > > > >
> > > > > On 6/27/06, *Joan Tan*  wrote:
> > > > >
> > > > > The "color" style of Text only affects the
text and the 
not the
> > > > > background. Text doesn't actually have a background
color 
so
> > you
> > > must create
> > > > > an itemRenderer with a backgroundColor and then set
it. 
This
> > > example was
> > > > > posted on another flexcoders thread entitled
"datagrid". 
This
> > > itemRenderer
> > > > > will turn the background of a row to red if the value
of 
the
> > > column
> > > > > "myColumnName" in that row is over 50.
> > > > >
> > > > >
> > > > >
> > > > > package {
> > > > >
> > > > >
> > > > >
> > > > > import mx.controls.Label;
> > > > >
> > > > > import mx.controls.dataGridClasses.*;
> > > > >
> > > > > import mx.controls.DataGrid;
> > > > >
> > > > > import flash.display.Graphics;
> > > > >
> > > > > import mx.styles.StyleManager;
> > > > >
> > > > >
> > > > >
> > > > > [Style(name="backgroundColor",
type="uint", format="Color",
> > > > > inherit="no")]
> > > > >
> > > > >
> > > > >
> > > > > public class BackgroundComp extends Label {
> > > > >
> > > > >
> > > > >
> > > > > override protected function updateDisplayList
> > > (unscaledWidth:Number,
> > > > >
> > > > >
> > > > >
> > > > > unscaledHeight:Number):void
> > > > >
> > > > > {
> > > > >
> > > > > super.updateDisplayList(unscaledWidth,
> > > unscaledHeight);
> > > > >
> > > > >
> > > > >
> > > > > var g:Graphics = graphics;
> > > > >
> > > > > g.clear();
> > > > >
> > > > > var grid1:DataGrid =
> > > > > DataGrid(DataGridListData(listData).owner);
> > > > >
> > > > > if (grid1.isItemSelected(data) ||
> > > > > grid1.isItemHighlighted(data))
> > > > >
> > > > > return;
> > > > >
> > > > > if (data.myColumnName > 50)
> > > > >
> > > > > {
> > > > >
> > > > > g.beginFill(0xFF);
> > > > >
> > > > > g.drawRect(0, 0, unscaledWidth,
> > > unscaledHeight);
> > > > >
> > > > > g.endFill();
> > > > >
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > >
> > >

[flexcoders] Cairngorm: Calling webservice operation with parameters

2006-07-03 Thread Uwe Raddatz
Hi,

may someone tell me what's the right way to pass some parameters to a SOAP 
webservice call in Cairngorm (version 0.99)?

What I need is similar to switching the login method call in the Login sample 
application from RemoteObject to SOAP webservice.

Thanks.

ur

-- 
Uwe Raddatz
[EMAIL PROTECTED]


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

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

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

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

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





RE: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread João Fernandes











Ben,

 

Your variables inside your TestModel souldn’t be static except
for your modelLocator holder. 

When you do myModelLocator.getInstance() this function returns
an unique instance  of your modelLocator.

 



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

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



 





From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard
Sent: segunda-feira, 3 de Julho de 2006 17:00
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Cairngorm 2 - Data binding will not be able to
detect assignments...





 







Whoops. Updated code, which now produces an
error concerning "Access
of a possibly undefined property 'name' through a reference with
static type TestModel. My label tag now looks like this:


id="testLabel"/>

And the TestModel class is updated to look like the sample in the
documentation:

package
{
import com.adobe.cairngorm.model.ModelLocator;

[Bindable]
public class TestModel implements ModelLocator
{
public static var name:String;
private static var modelLocator : TestModel;

public static function getInstance() : TestModel 
{
if ( modelLocator == null )
modelLocator = new TestModel();

return modelLocator;
}

public static function initialize():void
{
name = "Some text";
}
}
}



 




__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] app startup / load times

2006-07-03 Thread Richard Kroll


Hank,
Think of what you are trying to accomplish, and how each fits into your
overall business.  It seems to me as though you are trying to merge your
application with the more marketing related website that sells it.  If
you look at these two things as distinct entities, it makes much more
sense to separate these into separate files with their own source code,
progress bars, (potentially) domains, etc.  This would reduce the load
time for users just coming to check out your software, and have the
additional benefit of keeping your source for the app completely
separate from the code you use to sell it.

HTH,
Rich


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Monday, July 03, 2006 9:01 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] app startup / load times

On 7/3/06, Richard Kroll <[EMAIL PROTECTED]> wrote:
> Hank,
> One thing you have to keep in mind is that Flex 2.0 is tailored to web
> *applications* instead of to web sites.

This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that the
"website" part of my stuff can open more quickly. Most applications
still need the website-ish stuff to tell the user why they should care
and what the app is.

Basically I am wondering whether I really need to go through that
extra effort of making a separate thing in order to improve startup
performance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is really
annoying to people I dont want to loose potential users because the
startup was too slow.

Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoples
thoughts. I'm really hoping people will convince me not to worry about
it, but I am open to being convinced that I need to do a two stage
site.

When a user starts up a typical
> application, a 8-10 second delay prior to the application to start up
is
> not an unusually long delay for startup. Most Flex apps that I've seen
> to date are starting up in the 3-5 second range, which I believe is
> completely acceptable.

I agree that 3-5 seconds is totally ok. I have no idea what the real
world experience will be for most people and 8-10 seconds was just a
guess based on file size and guesses about the low end of average
connection speeds.

Regards
Hank 


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

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

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

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

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




[flexcoders] Re: Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
Whoops. Updated code, which now produces an error concerning "Access
of a possibly undefined property 'name' through a reference with
static type TestModel. My label tag now looks like this:



And the TestModel class is updated to look like the sample in the
documentation:

package
{
import com.adobe.cairngorm.model.ModelLocator;

[Bindable]
public class TestModel implements ModelLocator
{
public static var name:String;
private static var modelLocator : TestModel;

public static function getInstance() : TestModel 
{
if ( modelLocator == null )
modelLocator = new TestModel();

return modelLocator;
}

public static function initialize():void
{
name = "Some text";
}
}
}





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

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

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

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

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





RE: [flexcoders] app startup / load times

2006-07-03 Thread Ted Patrick
Hank,

First off the size of your app seems rather large. Here are a few things to 
check...

1. @Embed with Images - Embedding images directly adds to file size. Optimize 
images before embedding them.
2. Font usage - Fonts embed all glyths into the SWF resulting in a larger files 
in jumps of 30K.

Use of Runtime Shared Libraries:

Typically you do not have one Flex app, you have several, and then they start 
to multiply. RSL's allow you to package a set of components and assets into a 
dll of sorts and reuse it across applications. The result is a single RSL 
reused by many smaller Flex applications. The RSL is loaded via URL and cached 
in the browser (make sure it gets cached!!) and much smaller flex apps load 
this RSL at runtime.

No RSL:
   App1.swf = 300K
App2.swf = 300K
App3.swf = 300K

RSL Usage:

   App1.swf = 20K
App2.swf = 20K
App3.swf = 20K
   Rsl.swf = 280K

http://www.powersdk.com/ted/2005/07/flex-shared-libraries-tips-and-tricks.php

http://www.adobe.com/devnet/flex/articles/rsl.html

Hope this helps...

Ted Patrick
Flex Evangelist
Adobe Systems Incorporated







From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank 
williams
Sent: Sunday, July 02, 2006 7:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] app startup / load times

For the first time since I started playing with flex (a couple of
weeks) I checked out the size of my app, which is currently 477k.

My app isnt that big, so I presume most of that is just the size of
the framework. I am just wondering what do people think about that in
terms of user start up time. For a user with a 500kbps connection that
is about 8 seconds before the app is loaded. Are people doing loaders
to get things started? is there an accepted strategy for how to deal
with this?

There was another thread recently about how people shouldnt use flex
for websites and one person provided aesthetic reasons. In my mind, if
there is a reason (and I am not arguing that there is) but if there is
a reason not to use it for websites it would be the file size. 10
seconds seems like a long time to make someone wait before they see
something. On the other hand perhaps I am underestimating the average
connection speed.

Anyway, like I said I would just like to get peoples thoughts on this issue.

Hank
 


--
Flexcoders Mailing 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: coloring an entire cell in a DataGrid?

2006-07-03 Thread djbrown_rotonews
doing so causes my datagrid to be empty. any ideas why?

   override public function set data(value:Object):void {
if (!value) return;
super.data=value;   
//this.setStyle("backgroundColor","red");
// that line causes my grid to be empty if I leave it 
// uncommented  

}

--- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> in that data() block, I would just use:
> 
> this.setStyle("backgroundColor", "red");
> 
> to change the item renderer's background color.
> 
> see if this works.
> 
> Jeremy.
> 
> On 7/1/06, djbrown_rotonews <[EMAIL PROTECTED]> wrote:
> >
> >   any help? is there a more elegant way to do it inside of set 
data(),
> > or is the beginFill/drawRect/endFill method shown as good as it 
gets?
> >
> > --- In flexcoders@yahoogroups.com ,
> > "djbrown_rotonews"
> >
> >  wrote:
> > >
> > > Is the beginFill/drawRect/endFill the only way to do it inside 
of
> > > set data() as well, or is there an alternate way?
> > >
> > > --- In flexcoders@yahoogroups.com ,
> > "Jeremy Lu"  wrote:
> > > >
> > > > Got it, thanks :-)
> > > >
> > > >
> > > >
> > > > On 6/27/06, Joan Tan  wrote:
> > > > >
> > > > > I believe that this was suggested to me by Alex. I think
> > your
> > > way
> > > > > should work too though.
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *From:* flexcoders@yahoogroups.com 
> > > [mailto:flexcoders@yahoogroups.com ] *On
> > > > > Behalf Of *Jeremy Lu
> > > > > *Sent:* Monday, June 26, 2006 4:22 PM
> > > > > *To:* flexcoders@yahoogroups.com 
> > > > > *Subject:* Re: [flexcoders] Re: coloring an entire cell in 
a
> > > DataGrid?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > hi Joan,
> > > > >
> > > > > Just wondering is there any particular reason that you 
don't
> > > change the
> > > > > background color in the data() setter like this:
> > > > >
> > > > > public function set data(value:Object
> > >
> > 
):void > > #void>
> > > > > {
> > > > >
> > > > > if( value.myColumnName > 50){
> > > > > //change bg to red
> > > > > }else{
> > > > > //change to other color
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > > Jeremy.
> > > > >
> > > > > On 6/27/06, *Joan Tan*  wrote:
> > > > >
> > > > > The "color" style of Text only affects the text and the 
not the
> > > > > background. Text doesn't actually have a background color 
so
> > you
> > > must create
> > > > > an itemRenderer with a backgroundColor and then set it. 
This
> > > example was
> > > > > posted on another flexcoders thread entitled "datagrid". 
This
> > > itemRenderer
> > > > > will turn the background of a row to red if the value of 
the
> > > column
> > > > > "myColumnName" in that row is over 50.
> > > > >
> > > > >
> > > > >
> > > > > package {
> > > > >
> > > > >
> > > > >
> > > > > import mx.controls.Label;
> > > > >
> > > > > import mx.controls.dataGridClasses.*;
> > > > >
> > > > > import mx.controls.DataGrid;
> > > > >
> > > > > import flash.display.Graphics;
> > > > >
> > > > > import mx.styles.StyleManager;
> > > > >
> > > > >
> > > > >
> > > > > [Style(name="backgroundColor", type="uint", format="Color",
> > > > > inherit="no")]
> > > > >
> > > > >
> > > > >
> > > > > public class BackgroundComp extends Label {
> > > > >
> > > > >
> > > > >
> > > > > override protected function updateDisplayList
> > > (unscaledWidth:Number,
> > > > >
> > > > >
> > > > >
> > > > > unscaledHeight:Number):void
> > > > >
> > > > > {
> > > > >
> > > > > super.updateDisplayList(unscaledWidth,
> > > unscaledHeight);
> > > > >
> > > > >
> > > > >
> > > > > var g:Graphics = graphics;
> > > > >
> > > > > g.clear();
> > > > >
> > > > > var grid1:DataGrid =
> > > > > DataGrid(DataGridListData(listData).owner);
> > > > >
> > > > > if (grid1.isItemSelected(data) ||
> > > > > grid1.isItemHighlighted(data))
> > > > >
> > > > > return;
> > > > >
> > > > > if (data.myColumnName > 50)
> > > > >
> > > > > {
> > > > >
> > > > > g.beginFill(0xFF);
> > > > >
> > > > > g.drawRect(0, 0, unscaledWidth,
> > > unscaledHeight);
> > > > >
> > > > > g.endFill();
> > > > >
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > > > *From:* flexcoders@yahoogroups.com 
> > > [mailto:flexcoders@yahoogroups.com ] *On
> > > > > Behalf Of *djbrown_rotonews
> > > > > *Sent:* Monday, June 26, 2006 10:13 AM
> > > > > *To:* flexcoders@yahoogroups.com 
> > > > > *Subject:* [flexcoders] Re: coloring an entire cell in a
> > > DataGrid?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I'm using an itemRenderer to set the text color via the
> > setStyle
> > > > > ("color",) construct, but it doesn't appear to be 
that
> > > simple
> > > > > for backgroundColor. Is the data() method part of th

Re: [flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Jeremy Lu




With all the new Collections (ie: ArrayCollection) and carefully designed structure, 
you can always start building offline/OCC application without any help from 3rd party.On 7/3/06, Timothy L. Colson <
[EMAIL PROTECTED]> wrote:












  



There was an offline / occassionally connected example for Flex 1.0...
but not in the 2.0 eval. My searches for offline and OCC are only
pulling up marketing hype saying that "Flex 2.0 enables offline/occ!".

So is there a current Flex 2.0 example of an offline/OCC client?

Thanks!
Tim


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Cairngorm2: ViewLocator - ViewHelper

2006-07-03 Thread JesterXL
ViewHelpers == spawn of satan.  Nothing here but bloated code.  "Seperation 
of concerns" doesn't count here; it's just something they say to make 
themselves feel better by using them.

ViewLocators, to me are only justified in extreme use cases.  Having other 
View's, or even Commands specifically telling other views to do certain 
things are bad practice, but I have seen times where there is just no other 
way.  The rest of the time, databinding and combinations of getter / setters 
should accomplish what you want.  While their use should be discouraged, 
I'll be the first to admit they are useful and lifesavers when you need 
them.


- Original Message - 
From: "Tim Hoff" <[EMAIL PROTECTED]>
To: 
Sent: Monday, July 03, 2006 6:05 AM
Subject: [flexcoders] Cairngorm2: ViewLocator - ViewHelper


I've recently been toying with the concepts of ViewHelper vs.
ViewLocator.  Alex Ulmann posted, "the ViewHelper adds and removes
itself from the ViewLocator", in his Cairngorm 2 (for Flex 2) -
Overview and Migration Path.  I haven't seen any examples yet that
illustrate this method.  Understandably, the example pool and
documentation for this kind of thing is small but growing.  So, I was
wondering if the authors of Cairngorm had any advise/guidance for this
topic.  Of course it's a matter of scale, but in an enterprise
application, what is recommended as best practice for the use of
ViewLocator and/or ViewHelpers?  I'm sure that there are forthcoming
books that cover this area, but feedback here might promote better
understanding.

Best regards,
Tim Hoff






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








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

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

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

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

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





[flexcoders] Cairngorm 2 - Data binding will not be able to detect assignments...

2006-07-03 Thread ben.clinkinbeard
That is the warning I get when trying to bind a label's text to a
static var on my ModelLocator. Isn't this the most basic concept of
ModelLocator? What am I doing wrong here?

My MXML:


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










TestModel.as:

package
{
import com.adobe.cairngorm.model.ModelLocator;

public class TestModel implements ModelLocator
{
public static var name:String;

public static function initialize():void
{
name = "Some text";
}
}
}





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

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

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

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





Re: [flexcoders] Re: Flash player is not a debugger?

2006-07-03 Thread Tom Chiverton
On Sunday 02 July 2006 18:25, Matt Chotin wrote:
> security fix was kicking in to prevent the debug player from being
> installed.  Can't really share how that fix works :-)

Lets hope you've also closed whatever security hole allowed you to do it :-)

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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

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

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

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




[flexcoders] Offline / OCC in 2.0?

2006-07-03 Thread Timothy L. Colson
There was an offline / occassionally connected example for Flex 1.0...
but not in the 2.0 eval. My searches for offline and OCC are only
pulling up marketing hype saying that "Flex 2.0 enables offline/occ!".

So is there a current Flex 2.0 example of an offline/OCC client?

Thanks!
Tim






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

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

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

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




RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread Shannon Hicks





Looks like now you want to use the 
arrayCollection.collectionChange event to trap it.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
polestar11Sent: Monday, July 03, 2006 9:54 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [Junk 
E-Mail - LOW] [flexcoders] DataChange event in DataGrid


--- In [EMAIL PROTECTED]ups.com, 
"Shannon Hicks" <[EMAIL PROTECTED]> wrote:> You need to cast your 
dataprovider as an arrayCollection, not an array.I updated the my array 
to an ArrayCollection type, but still no luck.The function 
doDataChange() is still not being called.public function 
updateData() {trace("*** UPDATE DATA")tempArray.source = 
[{col1:"Jack", col2:"Col2 A"}, {col1:"Col2 A",col2:"Col2 
B"},{col1:"Col3 A", col2:"Col3 B"}];tempArray.addItem({col1:"New 1", 
col2:"New 2"})}[Bindable]public var 
tempArray:ArrayCollection = newArrayCollection([{col1:"Col1 A", 
col2:"Col2 A"}, {col1:"Col2 A",col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 
B"}])
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread polestar11
--- In flexcoders@yahoogroups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
> You need to cast your dataprovider as an arrayCollection, not an array.

I updated the my array to an ArrayCollection type, but still no luck.
The function doDataChange() is still not being called.

public function updateData() {
 trace("*** UPDATE DATA")
 tempArray.source = [{col1:"Jack", col2:"Col2 A"}, {col1:"Col2 A",
col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 B"}];
 tempArray.addItem({col1:"New 1", col2:"New 2"})
}

[Bindable]
public var tempArray:ArrayCollection = new
ArrayCollection([{col1:"Col1 A", col2:"Col2 A"}, {col1:"Col2 A",
col2:"Col2 B"},{col1:"Col3 A", col2:"Col3 B"}])






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

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

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

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

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





[flexcoders] Flex2 release version - PopUp mangager ..sizing popups

2006-07-03 Thread bhaq1972
Hi 
can someone confirm this. i'm now having to set the widths and heights 
of the popups i create using PopUpManager.
i never had to do this before. flex/flashplayer would do it for me.


is this correct?






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

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

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

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

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





RE: [flexcoders] Re: DestinationLocator (Cairngorm 2)

2006-07-03 Thread João Fernandes










Thanks,

 

I look forward to see SecureRemoteDestinationLocator then.

 

Btw, what is the Delegate approach you’re using with
messaging and DataServices ?  

Are you setting result & fault handlers for each method
(fill,getItem,createItem,deleteItem)?

 

Thanks,

 



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

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



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Martin
Sent: segunda-feira, 3 de Julho de 2006 15:33
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: DestinationLocator (Cairngorm 2)





 







You are correct it should have a constructor
and a getInstance()
method. At the time of writing it I only wrote it to work with
SecureDestinationLocator so there was no need - or that's my excuse
and I am sticking with it ;).

I will update the code on my blog so DestinationLocator can be used on
it's own.

--- In flexcoders@yahoogroups.com,
João Fernandes <[EMAIL PROTECTED]>
wrote:
>
> After downloading this 2 files from Peter Martin's blog
(http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngorm_2_sec.cfm)
> 
> I converted my service to DestinationLocator. I got a lot of
getInstance() not found.
> 
> 
> 
> Shouldn't the DestinationLocator provided in the zip file have a
constructor and a getInstance() like the serviceLocator?
> 
> 
> 
> Regards,
> 
> 
> 
> João Fernandes
> Dep. Informática - Área de Desenvolvimento
> Cofina media
> 
> Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
> Tel (+351) 213 185 200 . Fax (+351) 213 540 370
> [EMAIL PROTECTED] 
>



 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





RE: [flexcoders] Re: ACcess SOAP fault code

2006-07-03 Thread Carson Hager





If you swap the status code, the fault handler will still 
be triggered and this time you will get the full fault.  That being said, I 
haven't tried this in the GA version of Flex 2. I'll be trying it this 
week.
 
 
Carson

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


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Thursday, June 22, 2006 12:52 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code



So if we swap the 500 status code for a 200, the fault 
handler won't be triggered?
 
This is sounding more and more useless each day! I guess 
the only way to do it is with try/catch and return our own object, and 
interrogate it after every call :-(


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Carson 
HagerSent: 21 June 2006 13:13To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code

The way it should work is for the fault handler to be 
triggered due to the fact that a SOAP fault was returned. At this point, the 500 
status code is what's triggering the fault.
 
 
Carson
 
   Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
  Email:  
[EMAIL PROTECTED] Office:  866-CYNERGY Mobile: 1.703.489.6466 
  
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: Wednesday, June 21, 2006 4:05 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: ACcess SOAP 
fault code


I wasn't thinking to use the fault handler, I was just planning on 
everyresponse being an object with an error property that will usually 
benull, and checking for it myself. Your idea would be much nicer, but 
Idoubt it's possible, since we're pretending everything worked 
fine.Maybe changing the status code in a HttpHandler would be a 
nicersolution after all! -Original Message-From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
OnBehalf Of z lSent: 21 June 2006 08:24To: [EMAIL PROTECTED]ups.comSubject: 
[flexcoders] Re: ACcess SOAP fault codeHi,Can someone explain to 
me that since you've caught the exception in yourcode, then how does the 
fault event handler in flex gets called?Generally speaking, what is the 
mechanism that triggers the fault eventin 
flex?Thanks,__Do 
You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection 
aroundhttp://mail.yahoo.com 
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives:http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__[Inbound Mail Scanned by 
MessageLabs]__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread Shannon Hicks





My bad... I was blind.
 
You need to cast your dataprovider as an arrayCollection, 
not an array.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
polestar11Sent: Monday, July 03, 2006 9:23 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
DataChange event in DataGrid


Hi thereI am trying to capture the dataChange event in a datagrid, 
but myassociated method is not being called when I change data in the 
grid.Here is the 
code:dataProvider="{tempArray}" 
x="656" y="447">  
Any help much 
appreciatedCheersTracy
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


Re: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread polestar11
--- In flexcoders@yahoogroups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> Exactly how are you changing the data?

Hi Shannon

The datagrid references a bindable variable, tempArray, as its
dataProvider. There is a button that updates the tempArray value when
clicked, which updates the data in the datagrid.

Regards
Tracy





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

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

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

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

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




RE: [flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip functions

2006-07-03 Thread Benoit Hediard
Indeed, I'm missed this one in the Flex 2 final changes from beta3...

Thanks!

Benoit Hediard 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de pasflex
Envoyé : lundi 3 juillet 2006 16:03
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip
functions

The method signature for a datatip function changed in from beta3 to
release, it used to take ChartItemEvent as an argument now it takes HitData.

--- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote:
>
> Error #1034: Echec de la contrainte de type: conversion de 
> mx.charts::[EMAIL PROTECTED] mx.charts.events.ChartItemEvent est
impossible
> at mx.charts.chartClasses::ChartBase/::invokeDTFunction()
> at mx.charts::HitData/get displayText() at 
> mx.charts.chartClasses::DataType/set data() at 
> mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
> ...
>  
> Here is another error I've never encountered since FP9 + Flex 2
Final.
> It is generated when doing a rollover on bar of a BarChart on our
app.
>  
> I'm going to try to isolate and reproduce the bug on a simple case.
>  
> Anyone else facing this issue?
> And found a workaround?
>  
> Benoit Hediard
>







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

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



 







--
Flexcoders Mailing 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: DestinationLocator (Cairngorm 2)

2006-07-03 Thread Peter Martin
You are correct it should have a constructor and a getInstance()
method. At the time of writing it I only wrote it to work with
SecureDestinationLocator so there was no need - or that's my excuse
and I am sticking with it ;).

I will update the code on my blog so DestinationLocator can be used on
it's own.

--- In flexcoders@yahoogroups.com, João Fernandes <[EMAIL PROTECTED]>
wrote:
>
> After downloading this 2 files from Peter Martin's blog
(http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngorm_2_sec.cfm)
> 
> I converted my service to DestinationLocator. I got a lot of
getInstance() not found.
> 
>  
> 
> Shouldn't the DestinationLocator provided in the zip file have a
constructor and a getInstance() like the serviceLocator?
> 
>  
> 
> Regards,
> 
>  
> 
> João Fernandes
> Dep. Informática - Área de Desenvolvimento
> Cofina media
> 
> Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
> Tel (+351) 213 185 200 . Fax (+351) 213 540 370
> [EMAIL PROTECTED] 
>






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

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

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

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

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




RE: [flexcoders] Error that is killing me.

2006-07-03 Thread Benoit Hediard
Try to put a breakpoint on VendorManager_Vendor_Display_Result() and launch
a debugging session :
- check that result returned by the cfc is correct on the client side,
- check that parentApplication.mainDisplay.vven.firstName exists.

Benoit Hediard

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de Jeremy Rottman
Envoyé : lundi 3 juillet 2006 16:16
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Error that is killing me.

I am working on my transaction app, and I have run into an error that I cant
figure out. In my cfc I am returning a struct that holds all my data that I
am trying to populate my flex form inputs with. The cfc is working
correctly, I know this because I can get a proper out put when I test the
function I am working with, however when I test it with my flex code I get
this error.

Any help with this would be greatly appreciated.

ReferenceError: Error #1069: Property firstName not found on String and
there is no default value.
 at
components.views.contacts::viewSearchVendor/::VendorManager_Vendor_Displ\
ay_Result()
 at
components.views.contacts::viewSearchVendor/__vendorDG_doubleClick()


Here is my as code I am using to call my cfc function. This function is
called when a user dbl clicks a record in my data grid.

//*VENDOR POPULATE
START***

// CALL POPULATE EDIT VENDOR
 private function VendorManager_Vendor_Display(UUID){
 VendorManager.Vendor_Display(UUID)
 }

// HANDLE POPULATE EDIT VENDOR RESULTS
 private function
VendorManager_Vendor_Display_Result(result):void{
 parentApplication.mainDisplay.vven.firstName.text =
result.firstName;
 parentApplication.mainDisplay.vven.lastName.text =
result.lastName;
 parentApplication.mainDisplay.vven.compName.text =
result.compName;
 parentApplication.mainDisplay.vven.address.text =
result.addrss;
 parentApplication.mainDisplay.vven.city.text = result.city;
 parentApplication.mainDisplay.vven.state.text = result.state;
 parentApplication.mainDisplay.vven.zip.text = result.zip;
 parentApplication.mainDisplay.vven.hPhone.text = result.hPhone;
 parentApplication.mainDisplay.vven.wPhone.text = result.wPhone;
 parentApplication.mainDisplay.vven.mPhone.text = result.mPhone;
 parentApplication.mainDisplay.vven.fax.text = result.fax;
 parentApplication.mainDisplay.vven.email.text = result.email;
 parentApplication.mainDisplay.vven.url.text = result.url;
 parentApplication.mainDisplay.vven.uuid.text = result.uuid;

 for (var i = 0;i < vendorTypeDP.length; i++)
 {
   if (vendorTypeDP[i].data == result.type)
  {
 parentApplication.mainDisplay.vven.type.selectedIndex = i;
   }
 }
 }

// HANDLE POPULTAE EDIT VENDOR ERRORS
 private function
VendorManager_Vendor_Display_Fault(event:FaultEvent):void{
 Alert.show("Test Error","Program Error");
 }


//*VENDOR POPULATE
END*


Here is my datagrid.

 
 
 
 
 
 
 
 
 



Here is my CFC function code.

 
 

 
 select * from tbl_smartPanel_vendors

 where fld_vendor_uid = 
 

 
 
 VendorInfo['firstName'] =
"#VendorDisplayQry.fld_vendor_firstname#";
 VendorInfo['lastName'] =
"#VendorDisplayQry.fld_vendor_lastname#";
 VendorInfo['compName'] =
"#VendorDisplayQry.fld_vendor_companyname#";
 VendorInfo['address'] =
"#VendorDisplayQry.fld_vendor_address#";
 VendorInfo['city'] =
"#VendorDisplayQry.fld_vendor_city#";
 VendorInfo['state'] =
"#VendorDisplayQry.fld_vendor_state#";
 VendorInfo['zip'] =
"#VendorDisplayQry.fld_vendor_zip#";
 VendorInfo['hPhone'] =
"#VendorDisplayQry.fld_vendor_homephone#";
 VendorInfo['wPhone'] =
"#VendorDisplayQry.fld_vendor_workphone#";
 VendorInfo['mPhone'] =
"#VendorDisplayQry.fld_vendor_mobilephone#";
 VendorInfo['fax'] =
"#VendorDisplayQry.fld_vendor_fax#";
 VendorInfo['email'] =
"#VendorDisplayQry.fld_vendor_email#";
 VendorInfo['url'] =
"#VendorDisplayQry.fld_vendor_url#";
 VendorInfo['type'] =
"#VendorDisplayQry.fld_vendor_type#";
 VendorInfo['uuid'] =
"#VendorDisplayQry.fld_vendor_UID#";
 
 
 









 Yahoo! Groups Sponsor ~-

RE: [Junk E-Mail - LOW] [flexcoders] DataChange event in DataGrid

2006-07-03 Thread Shannon Hicks





Exactly how are you changing the data? Perhaps I'm blind. I 
don't see the grid as editable, nor do I see any function changing the 
data.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
polestar11Sent: Monday, July 03, 2006 9:23 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
DataChange event in DataGrid


Hi thereI am trying to capture the dataChange event in a datagrid, 
but myassociated method is not being called when I change data in the 
grid.Here is the 
code:dataProvider="{tempArray}" 
x="656" y="447">  
Any help much 
appreciatedCheersTracy
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


[flexcoders] DataChange event in DataGrid

2006-07-03 Thread polestar11
Hi there

I am trying to capture the dataChange event in a datagrid, but my
associated method is not being called when I change data in the grid.

Here is the code:


 




  

 


Any help much appreciated
Cheers
Tracy






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

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

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

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

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





[flexcoders] DestinationLocator (Cairngorm 2)

2006-07-03 Thread João Fernandes










After downloading this 2 files from Peter
Martin’s blog (http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngorm_2_sec.cfm)

I converted my service to
DestinationLocator. I got a lot of getInstance() not found.

 

Shouldn’t the DestinationLocator
provided in the zip file have a constructor and a getInstance() like the
serviceLocator?

 

Regards,

 

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

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

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





[flexcoders] Error that is killing me.

2006-07-03 Thread Jeremy Rottman
I am working on my transaction app, and I have run into an error that I
cant figure out. In my cfc I am returning a struct that holds all my
data that I am trying to populate my flex form inputs with. The cfc is
working correctly, I know this because I can get a proper out put when I
test the function I am working with, however when I test it with my flex
code I get this error.

Any help with this would be greatly appreciated.

ReferenceError: Error #1069: Property firstName not found on String and
there is no default value.
 at
components.views.contacts::viewSearchVendor/::VendorManager_Vendor_Displ\
ay_Result()
 at
components.views.contacts::viewSearchVendor/__vendorDG_doubleClick()


Here is my as code I am using to call my cfc function. This function is
called when a user dbl clicks a record in my data grid.

//*VENDOR POPULATE
START***

// CALL POPULATE EDIT VENDOR
 private function VendorManager_Vendor_Display(UUID){
 VendorManager.Vendor_Display(UUID)
 }

// HANDLE POPULATE EDIT VENDOR RESULTS
 private function
VendorManager_Vendor_Display_Result(result):void{
 parentApplication.mainDisplay.vven.firstName.text =
result.firstName;
 parentApplication.mainDisplay.vven.lastName.text =
result.lastName;
 parentApplication.mainDisplay.vven.compName.text =
result.compName;
 parentApplication.mainDisplay.vven.address.text =
result.addrss;
 parentApplication.mainDisplay.vven.city.text = result.city;
 parentApplication.mainDisplay.vven.state.text =
result.state;
 parentApplication.mainDisplay.vven.zip.text = result.zip;
 parentApplication.mainDisplay.vven.hPhone.text =
result.hPhone;
 parentApplication.mainDisplay.vven.wPhone.text =
result.wPhone;
 parentApplication.mainDisplay.vven.mPhone.text =
result.mPhone;
 parentApplication.mainDisplay.vven.fax.text = result.fax;
 parentApplication.mainDisplay.vven.email.text =
result.email;
 parentApplication.mainDisplay.vven.url.text = result.url;
 parentApplication.mainDisplay.vven.uuid.text = result.uuid;

 for (var i = 0;i < vendorTypeDP.length; i++)
 {
   if (vendorTypeDP[i].data == result.type)
  {
 parentApplication.mainDisplay.vven.type.selectedIndex =
i;
   }
 }
 }

// HANDLE POPULTAE EDIT VENDOR ERRORS
 private function
VendorManager_Vendor_Display_Fault(event:FaultEvent):void{
 Alert.show("Test Error","Program Error");
 }


//*VENDOR POPULATE
END*


Here is my datagrid.

 
 
 
 
 
 
 
 
 



Here is my CFC function code.

 
 

 
 select * from tbl_smartPanel_vendors

 where fld_vendor_uid = 
 

 
 
 VendorInfo['firstName'] =
"#VendorDisplayQry.fld_vendor_firstname#";
 VendorInfo['lastName'] =
"#VendorDisplayQry.fld_vendor_lastname#";
 VendorInfo['compName'] =
"#VendorDisplayQry.fld_vendor_companyname#";
 VendorInfo['address'] =
"#VendorDisplayQry.fld_vendor_address#";
 VendorInfo['city'] =
"#VendorDisplayQry.fld_vendor_city#";
 VendorInfo['state'] =
"#VendorDisplayQry.fld_vendor_state#";
 VendorInfo['zip'] =
"#VendorDisplayQry.fld_vendor_zip#";
 VendorInfo['hPhone'] =
"#VendorDisplayQry.fld_vendor_homephone#";
 VendorInfo['wPhone'] =
"#VendorDisplayQry.fld_vendor_workphone#";
 VendorInfo['mPhone'] =
"#VendorDisplayQry.fld_vendor_mobilephone#";
 VendorInfo['fax'] =
"#VendorDisplayQry.fld_vendor_fax#";
 VendorInfo['email'] =
"#VendorDisplayQry.fld_vendor_email#";
 VendorInfo['url'] =
"#VendorDisplayQry.fld_vendor_url#";
 VendorInfo['type'] =
"#VendorDisplayQry.fld_vendor_type#";
 VendorInfo['uuid'] =
"#VendorDisplayQry.fld_vendor_UID#";
 
 
 









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

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

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

RE: [flexcoders] Flex 2 Final : Error #1009, in RadioButton/get labelPlacement()

2006-07-03 Thread Benoit Hediard





I've investigated this issue a little bit 
more.
It looks like there some problems with RadioButton when 
they are used in groups.
First display is generally correct, but when the display 
list is refreshed, it generates some bugs.

 
In our case, the RadioButton group is used in a 
popup, and even after the popup is deleted, some popup 
display routines are still 
executed.
 
When debugging is on, the error is generated in 
RadioButton.as, at line 172, because the property group is 
null :
if (_labelPlacement != "") {
    value = 
_labelPlacement;
} else if (_group && 
group.labelPlacement != "") { // L.172
    value = 
group.labelPlacement;
}
 
Workaround : always define labelPlacement 
in all your RadioButton (so that the group labelPlacement is never 
read).
 
I've also encountered a similar error in another case : 
RadioButton groups used inside a Repeater, with the groupName defined during the 
repeater execution (groupName="{theRepeater.currentIndex}").
First execution is correct, but the next ones generate 
an error.
 
When debugging is on, the error is generated 
in the RadioButton.as, at line 454, for the same reason (property 
group is null) :
var g:RadioButtonGroup = group:
g.addInstance(this); // 
L.454
 
I haven't found a workaround for this 
one.
 
It's too bad because all of this was working in previous 
beta but not on the final release ;).
 
Benoit Hediard


De : flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de Benoit 
HediardEnvoyé : lundi 3 juillet 2006 12:36À : 
flexcoders@yahoogroups.comObjet : [flexcoders] Flex 2 Final : 
Error #1009, in RadioButton/get labelPlacement()

Error #1009: Il est 
impossible d'accéder à la propriété ou la méthode d'une référence d'objet 
nul.
(in english, 
something like "it is not possible to access the property or the method of the 
null object reference")
at 
mx.controls::RadioButton/get labelPlacement()
at 
mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::layoutContents()
at 
mx.controls::Button/mx.controls:Button::updateDisplayList()
...
 
In Flex2 final, I'm 
getting this error regularly...
Not tried yet to 
reproduce it on a simple regular case, but it looks like pretty 
random.
I don't use the 
labelPlacement property in our app.
 
I've never 
encountered this error in previous beta, only since the FP9 / Flex2 
Final.
Looks like a very 
annoying low level framework error, related to the layout of 
RadioButtons.

 
Anyone else facing 
this issue?
And found a 
workaround?
 
Benoit 
Hediard 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Flex 2 Final : Error #1034, in ChartBase dataTip functions

2006-07-03 Thread pasflex
The method signature for a datatip function changed in from beta3 to 
release, it used to take ChartItemEvent as an argument now it takes 
HitData.

--- In flexcoders@yahoogroups.com, "Benoit Hediard" <[EMAIL PROTECTED]> wrote:
>
> Error #1034: Echec de la contrainte de type: conversion de
> mx.charts::[EMAIL PROTECTED] mx.charts.events.ChartItemEvent est 
impossible
> at mx.charts.chartClasses::ChartBase/::invokeDTFunction()
> at mx.charts::HitData/get displayText()
> at mx.charts.chartClasses::DataType/set data()
> at mx.charts.chartClasses::ChartBase/::updateDataTipToMatchHitSet()
> ...
>  
> Here is another error I've never encountered since FP9 + Flex 2 
Final.
> It is generated when doing a rollover on bar of a BarChart on our 
app.
>  
> I'm going to try to isolate and reproduce the bug on a simple case.
>  
> Anyone else facing this issue?
> And found a workaround?
>  
> Benoit Hediard
>







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

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

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

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

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




RE: [flexcoders] QTP 9 to test Flex 2.0

2006-07-03 Thread Shannon Hicks





From the QTP product page:
 
New Environment 
Support: Supports Web services, .NET 2.0, Firefox 1.5, Netscape 8, 
Macromedia Flex 2, Win XP 64 bit, Internet Explorer 7, and the latest ERP/CRM 
applications.
 
I attended a Load/Functionality testing session at CF 
United, and the speaker did say that QTP worked great with Flex. You do have to 
include a QTP-provided actionscript in your main app file, and take it out when 
you're done testing.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of DeepikaSent: 
Sunday, July 02, 2006 9:54 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] QTP 9 to test Flex 
2.0


I am trying to use QTP 9 to test flex 2.0.Does anyone have idea whether 
QTP 9 can support objects in aflex 2.0application or not? Do I have to buy 
some spl. support files frommacromedia for that?I had given this msg 
earlier also but not been able to get the proper response.
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 
6/30/2006
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/2006
 


Re: [flexcoders] change to mm.cfg setup in FP9?

2006-07-03 Thread Paul BH



yep  - tried using the standalone player:C:\Program Files\Adobe\Flex Builder 2 Plug-in\Player\debug\saflashplayer.exeand both IE and FF plugins (debug)also tried removing the outputfilename parameter (at your suggestion) so that any trace output would go to the default location /me/flashlog.txt
still no dicethe only way I can see my trace is when I do debug as>flex app and then I see the trace in the console.if anyone can offer any other clues I'd be really grateful (or even just confirm that it works for them!)
taPBHOn 7/2/06, Johannes Nel <[EMAIL PROTECTED]> wrote:













  



make certain its the debug player you have installed otherwise it does not trace.On 6/30/06, 
Paul BH <[EMAIL PROTECTED]
> wrote:hi all - having some trouble setting up log file tracing using FP9

standalone debug player...Ive done this a load of times befre, but this time round I just cantget it to workmy mm.cfg file is in the root of my user filder and loks like this:TraceOutputFileName=c:/logs/flashlog.txt
ErrorReportingEnable=1TraceOutputFileEnable=1MaxWarnings=0pretty simple, but it just doesnt want to work for me...anyone have any pointers on any gotchas I might have overlooked?ta

PBH Yahoo! Groups Sponsor ~-->Yahoo! Groups gets a make over. See the new email design.

http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders Mailing ListFAQ: 

http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
-- j:pn http://www.lennel.org

  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re[2]: [flexcoders] Re: Flash player is not a debugger?

2006-07-03 Thread Andriy Panas
Hello Matt,


> We have a security fix that doesn’t allow you to downgrade your
> player to a minor version.  

  Sorry for ongoing continuation of this story, may be I am not in sync,
but I wonder then how Plugin Switcher tool does its job 
(http://www.pluginswitcher.de/).

  By the help of Plugin Switcher, I can easlily downgrade my Flash
player versions in all major browsers, Flash IDE and standalone
projector players too.


-- 
Best regards,
 Andriymailto:[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/
 




Re: [flexcoders] app startup / load times

2006-07-03 Thread Tom Chiverton
On Monday 03 July 2006 14:01, hank williams wrote:
> world experience will be for most people and 8-10 seconds was just a
> guess based on file size and guesses about the low end of average

It's not like it's sat there appearing to be locked up or something for 10 
seconds - there's a progress bar to let people know it is actually doing 
something.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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



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

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

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

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





[flexcoders] Can Flash 8 use FDS messages (JMS)?

2006-07-03 Thread Luís Gustavo Sanabio



Hi,
 
    I want to build a chat (one a one) application but I would like to comunicate with FLASH 8 too.
    Can I use the Flash Remoting to comunicate with FDS 2  JMS?
 
thanks,
Gustavo
 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] app startup / load times

2006-07-03 Thread hank williams
On 7/3/06, Richard Kroll <[EMAIL PROTECTED]> wrote:
> Hank,
> One thing you have to keep in mind is that Flex 2.0 is tailored to web
> *applications* instead of to web sites.

This is the rub. I am doing an application, but I am debating as to
whether to put the intro stuff into a separate flash app so that the
"website" part of my stuff can open more quickly. Most applications
still need the website-ish stuff to tell the user why they should care
and what the app is.

Basically I am wondering whether I really need to go through that
extra effort of making a separate thing in order to improve startup
performance. I *really* dont want to. I am lazy. And flex would allow
me to do that intro so much easier. But if the startup time is really
annoying to people I dont want to loose potential users because the
startup was too slow.

Now that flex is mainstream, I am sure lots of people are dealing with
or thinking about similar issues so I just wanted to get peoples
thoughts. I'm really hoping people will convince me not to worry about
it, but I am open to being convinced that I need to do a two stage
site.


 When a user starts up a typical
> application, a 8-10 second delay prior to the application to start up is
> not an unusually long delay for startup.  Most Flex apps that I've seen
> to date are starting up in the 3-5 second range, which I believe is
> completely acceptable.

I agree that 3-5 seconds is totally ok. I have no idea what the real
world experience will be for most people and 8-10 seconds was just a
guess based on file size and guesses about the low end of average
connection speeds.

Regards
Hank

I'm not saying that people will not use flex to
> create websites, but I think that a lot of the power that is offered by
> the platform will not be used, and will potentially bloat the file size
> of the site (I'm not positive if the flex platform will dynamically
> remove unused classes, someone have input?).
>


> HTH,
> Rich Kroll
> Application Developer
>
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of hank williams
> Sent: Sunday, July 02, 2006 10:37 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] app startup / load times
>
> For the first time since I started playing with flex (a couple of
> weeks) I checked out the size of my app, which is currently 477k.
>
> My app isnt that big, so I presume most of that is just the size of
> the framework. I am just wondering what do people think about that in
> terms of user start up time. For a user with a 500kbps connection that
> is about 8 seconds before the app is loaded. Are people doing loaders
> to get things started? is there an accepted strategy for how to deal
> with this?
>
> There was another thread recently about how people shouldnt use flex
> for websites and one person provided aesthetic reasons. In my mind, if
> there is a reason (and I am not arguing that there is) but if there is
> a reason not to use it for websites it would be the file size. 10
> seconds seems like a long time to make someone wait before they see
> something. On the other hand perhaps I am underestimating the average
> connection speed.
>
> Anyway, like I said I would just like to get peoples thoughts on this
> issue.
>
> Hank
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>


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

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

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

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

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





[flexcoders] Re: Connection Debugging

2006-07-03 Thread bjorn.schultheiss
I dont know how this appeared.
This post was 2 months old.
Please disregard.

--- In flexcoders@yahoogroups.com, "Bjorn Schultheiss"
<[EMAIL PROTECTED]> wrote:
>
> Hi Abdul,
> 
>  
> 
> I think I may have asked a similar question before that you also
answered.
> 
> I just upgraded from 1.2.11 to latest 1.2.13
> 
> In my app successfully pulling data from coldfusion but I'm not
seeing any
> traffic in ServiceCapture
> 
> I'm running coldfusion on localhost:8500
> 
>  
> 
> My remoteObject looks like this
> 
>  
> destination="ColdFusion"
> 
> result="event.call.resultHandler(event)"
> 
> fault="event.call.faultHandler(event)"
> 
> showBusyCursor="true"
> 
> source="com.upmarket.store.dao.CategoriesDAO" />   
> 
>  
> 
> Do I need to set any extra settings?
> 
>  
> 
> Within my flex-enterprise-services.xml logging section I have
> 
> 
> 
> 
> 
> 
> 
> [Flex] 
> 
> false
> 
> false
> 
> false
> 
> false
> 
> 
> 
> 
> 
> Endpoint.*
> 
> Service.*
> 
> Configuration
> 
> Message.*
> 
> 
> 
> 
> 
> 
> 
>  
> 
> Any help would be much appreciated
> 
>  
> 
> Regards,
> 
>  
> 
> Bjorn Schultheiss
> 
> Senior Flash Developer
> 
> QDC Technologies
> 
>   _  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Abdul Qabiz
> Sent: Monday, 19 June 2006 11:05 PM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Connection Debugging
> 
>  
> 
> it works.
> 
> -abdul
> 
> On 6/19/06, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: 
> 
> In Flash Development I was using ServiceCapture for my NetConnection
> Debugging.
> 
>  
> 
> What's the preferred NetConnection debugger for Flex2?
> 
> In particular I'm using a Coldfusion backend.
> 
>  
> 
> Has anyone managed to use ServiceCapture with flex2?
> 
>  
> 
> Regards,
> 
>  
> 
> Bjorn Schultheiss
> 
> Senior Flash Developer
> 
> QDC Technologies
>







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

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

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

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

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




RE: [flexcoders] Re: Flash player is not a debugger?

2006-07-03 Thread Matt Chotin












We have a security fix that doesn’t
allow you to downgrade your player to a minor version.  Since the web player
was r16 and debug player r15 that security fix was kicking in to prevent the
debug player from being installed.  Can’t really share how that fix works
J

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jason Hawryluk
Sent: Friday, June 30, 2006 12:33
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Flash player is not a debugger?



 







Thank you! That worked. I would like to know however what the exact
problem was, I did clean out the registry, and any reference to the
flash player. Among the million other things i tried :)

 

Was it just a version incompatibility ?

 



In any case as long as it works. I was
really dreading having to reformat my post today. :)





 





Happy person here :)





 





Jason





 





 





 





-Message d'origine-
De : flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]De la part de Matt Chotin
Envoyé : vendredi 30 juin
2006 01:16
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Re:
Flash player is not a debugger?







Howdy all, go here: http://www.adobe.com/support/flashplayer/downloads.html
and take a look at the tech note and resolution.  New debugger players are
available for download.

Thanks for your patience and sorry for the inconvenience,
this one fell through the cracks…

Matt











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, June 29, 2006
11:08 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re:
Flash player is not a debugger?











Hey
folks, 

I have some people on the Player team thinking about this and we have a
theory that I'm not quite ready to share. Give us a few hours to work
on this more internally, we think you're running into a security
restriction.

Thanks for your patience,

Matt

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Tom Chiverton
Sent: Thursday, June 29, 2006 8:44 AM
To: [EMAIL PROTECTED]ups.com
Subject: Re: [flexcoders] Re: Flash player is not a debugger?

On Thursday 29 June 2006 16:26, Daniel Tuppeny wrote:
> you meant the clever stuff you see if you edit things like
explorer.exe
> - they get copied back from a secret copy! (I even wiped that at the

I thought that was that.

Oh well. 

Stupid O/S.

-- 
Tom Chiverton



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

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

CONFIDENTIALITY

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

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

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

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

Yahoo! Groups Links


















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton

2006-07-03 Thread Benoit Hediard





I've also encountered this issue (event dispatched 
twice).
 
Here is a workaround :
private function itemClickHandler(event:MenuEvent):void 
{
    if (event.index != -1) { // Workaround 
to ignore the second event
    
...
    }
}
 
Benoit Hediard


De : flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] De la part de 
sinatoskEnvoyé : dimanche 2 juillet 2006 
21:41À : flexcoders@yahoogroups.comObjet : 
[flexcoders] F2.0 final - Possbile bug with PopUpButton and 
PopUpMenuButton
4 days after the release I come to update my Flex Application from 
Beta 3 to Final and the 2 main components I used seem to be bugged. not very 
good at explaining things to bare with me please :pPopUpButton   
 - Every time I select an item... 
the "itemClick" event gets dispatched twice. it just pops with with 2 Alert 
dialogs every time I select an 
itemPopUpMenButton    - When I put my mouse over 
an item for the first time works fine... but soon as I hover over another 
menu item in the main level... the menu closes automatically and also if I Hover 
over an item that is a sub menu I can keep going in and in until there are 
no more children... or I could just go in once... and then soon as I hover over 
another item... again the menu just closes. Both times this is without click on 
any items in the menu I've posted the code belowFlex code 
being:http://www.adobe.com/2006/mxml " 
layout="absolute">    
    
    
        paddingTop="10" 
paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" 
width="411">        
text="Button label contains the name of the last selected menu item." 
/>     
    
            
        
    
    
    
                     
    
 
    
 
    
    
    
    
         
    
     
         
        paddingTop="10" paddingLeft="10" 
paddingRight="10" x="10" y="205" height="143" width="271"> 
        
text="Click the down arrow to open the 
menu."/>    
    
dataProvider="{treeDP2}" 
    
labelField="@label"    
itemClick="itemClickHandler2(event);"/>    
Flex code end;Is it 
possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 9.0.16.0 ( without debug ) 
__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



RE: [flexcoders] What is the difference between versions of Flex Data Services

2006-07-03 Thread Matt Chotin












1

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jack W. Caldwell
Sent: Thursday, June 29, 2006 1:06
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What is
the difference between versions of Flex Data Services



 







Matt:

 

Is Dual-Core considered 1 or 2 CPUs?

 

Thanks,

 

Jack

 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin
Sent: Thursday, June 29, 2006 1:41
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] What is
the difference between versions of Flex Data Services





A departmental server often needs a server for testing and perhaps
one other server for failover.  We want you to be able to support this
configuration so we have an option of $6k/cpu but no matter how many CPUs you
have you cannot have more than 100 concurrent users.

For enterprise you pay per CPU and your configuration can be
whatever you please with as many users as you can handle.

HTH,

Matt











From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of hank williams
Sent: Wednesday, June 28, 2006
1:05 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] What is
the difference between versions of Flex Data Services











So you
think you *can* cluster the 6k version of the product but they
only allow you 100 users?

Does that mean that for 20k the enterprise version gives you unlimited
users over an unlimited number of CPU's? I bet this isnt so. So I am
still confused as to what the difference between the 6k and the free
product is.

Hank

On 6/28/06, Dirk Eismann <[EMAIL PROTECTED]ramuschkat.de>
wrote:
> The free one has no concurrent user limit - it's all up to your 1 CPU
> and how much it can handle.
>
> If you run a beefy app (not just using proxying but Data Management
> Services and Messaging etc.) then I bet it will die before you reach the
> 100 :)
>
> Dirk.
>
> > -Original Message-
> > From: [EMAIL PROTECTED]ups.com
> > [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of hank williams
> > Sent: Wednesday, June 28, 2006 8:54 PM
> > To: [EMAIL PROTECTED]ups.com
> > Subject: [flexcoders] What is the difference between versions
> > of Flex Data Services
> >
> > I understand there is a free version of fds, and 6k version,
> > and a 20k version of fds.
> >
> > But I cant find any detailed info about this on the website.
> >
> > One of the key questions I have is what is the difference
> > between the free version and the 6k version. Supposedly the
> > free version will only allow for one app on one CPU. but as I
> > understand it, the 6k version only allow for 100 users. So
> > does the free one have the same restrictions or not. It
> > sounds like the free one is better than the 6k one, though I
> > am sure thats not the case.
> >
> > Anyway, a detailed description of the value proposition for
> > each version would be very helpful.
> >
> > Thanks
> > Hank
> >
> >
> >  Yahoo! Groups Sponsor
> > ~--> Yahoo! Groups gets a make over.
See
> > the new email design.
> > http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
> > --
> > --~->
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
















__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Connection Debugging

2006-07-03 Thread Bjorn Schultheiss










Hi Abdul,

 

I think I may have asked a similar
question before that you also answered.

I just upgraded from 1.2.11 to latest
1.2.13

In my app successfully pulling data from
coldfusion but I’m not seeing any traffic in ServiceCapture

I’m running coldfusion on
localhost:8500

 

My remoteObject looks like this



   
destination="ColdFusion"

   
result="event.call.resultHandler(event)"

   
fault="event.call.faultHandler(event)"

   
showBusyCursor="true"

   
source="com.upmarket.store.dao.CategoriesDAO"
/>   

 

Do I need to set any extra settings?

 

Within my flex-enterprise-services.xml
logging section I have

    

   


   


   
[Flex] 

   
false

   
false

   
false

   
false

   


   


   
Endpoint.*

   
Service.*

   
Configuration

   
Message.*

   


   


    

 

Any help would be much appreciated

 

Regards,

 

Bjorn Schultheiss

Senior Flash Developer

QDC Technologies









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Abdul Qabiz
Sent: Monday, 19 June 2006 11:05
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Connection Debugging



 







it works.

-abdul



On 6/19/06, Bjorn
Schultheiss <[EMAIL PROTECTED]>
wrote: 













In Flash Development I
was using ServiceCapture for my NetConnection Debugging.

 

What's the preferred
NetConnection debugger for Flex2?

In particular I'm using
a Coldfusion backend.

 

Has anyone managed to
use ServiceCapture with flex2?

 



Regards,

 

Bjorn Schultheiss

Senior Flash Developer



QDC Technologies
















 








__._,_.___





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








   



  




  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___






RE: [flexcoders] Please Adobe. Unanswered questions, and building the community

2006-07-03 Thread Jason Hawryluk






Thanks for responding, 
My initial worry was not that all my questions are not getting answered. It was 
more like if Adobe wants to get into the dev realm and be active in convincing 
existing MS dev people to make a switch to Flex from the upcoming WPF/e and WPF 
platforms, their community support and involvement needs to be greater then that 
of MS on a per dev basis. The product is only 20% of the work effort to see a 
real success, the other 80% is execution, and actions required to get a user 
base that makes future development worth while.
 
Convincing developers 
to change platforms will be much harder then convincing designers. MS has to 
convince the designers, and Adobe need to convince the developers. Adobes task 
is much greater.
 
I’m afraid that the 
post came off as someone whining cause his questions don’t get answered which 
was not at all the intent.
 
I frequent the MS 
channle9 and MS forums often as I use their products, there is no talk about 
Flex/Apollo only WPF/Ajax/WPFE. I’m an avid tech blog reader, tech magazine 
reader, all around anything tech, and see no mention or little thereof of Flex. 
I heard the first time of Flex 1.5 last June? How long has it been out? I’m a 
dev that’s always looking for new technology to solve problems, so how is this 
possible.
 
This worries me too the 
core about the future of Flex. It’s a viable platform, and very powerful, 
however Macromedia has/had a reputation in the Dev world (animations etc..) 
Adobe has a rep in the Dev world (it’s just for designers). So how can Adobe 
hope to unclench the Dev world that MS fights so much to protect? It takes much 
more then a superior product to make it happen. MS is a PR machine. Unless Adobe 
gets very involved (very being an understatement) how does Adobe hope to 
accomplish this? The only way is better execution combined with superior 
involvement/support, and then hope that the word of mouth becomes viral. 

 
To become viral you 
need the story which Flex has, and the people to spread that. The story of Flex 
is not getting out there enough. 
 
I believe that Flex has 
the potential to stop MS WPF/e in it’s tracks, but the buck starts here, not in 
6 months, and not in 2.
 
Anyway enough rambling, 
I’ll just continue to do my part where I can to ensure my investment pay’s 
off.
 
Again my apologies if 
it came off the wrong way.
 
Jason
 
 

  -Message d'origine-De : 
  flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part 
  de Gordon SmithEnvoyé : vendredi 23 juin 2006 
  08:10À : flexcoders@yahoogroups.comObjet : RE: 
  [flexcoders] Please Adobe. Unanswered questions, and building the 
  community
  
  My understanding is that Adobe support engineers don't generally start 
  supporting products until they are released (and therefore the product is 
  stable). It's up to the development team to support alpha, beta, and GMC 
  releases and we do that to the best of our abilities as we have spare time. 
  We're currently helping to train the Flex support engineers to take over this 
  work since we are about to release.Also, some of us are paying a bit 
  more attention to the "official" adobe.com forums and a bit less to 
  flexcoders, but we try to monitor multiple places if possible.Finally, 
  we're also missing Matt Chotins's contribution... he got promoted to 
  Product Manager.- Gordon-Original Message-From: [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com] 
  On Behalf Of Jason HawrylukSent: Thursday, June 22, 2006 7:58 AMTo: [EMAIL PROTECTED]ups.comSubject: 
  RE: [flexcoders] Please Adobe. Unanswered questions, and building the 
  communityIf they would confirm it's a bug then yes I agree, If they 
  read them all howhard is it to respond with a simple it's a bug, should be 
  able to do that,try looking into here or this. The questions asked are not 
  consideredtrivial in my mind, it's not like I've ever asked how to build a 
  cellrenderer or anything (not that that's bad). It's rare I do not have 
  the helpup at the same time as flex, I refer to it very often.I 
  feel the post has been taken in a critical sense. I want to see 
  Flexsucceed as much as the next person, however to think that a strong 
  communitycan be built without considerable contributions from the maker, 
  is kind ofhard to imagine. Where would Java be today if Sun did spend a 
  considerableeffort, and expense in its community building?"A 
  couple of questions answered here, and there will not do it. " May 
  havebeen out of line :)Anyway thanks for the 
  input.Jason-Message d'origine-De : [EMAIL PROTECTED]ups.com 
  [mailto:[EMAIL PROTECTED]ups.com]De 
  lapart de Tom ChivertonEnvoyé : jeudi 22 juin 2006 10:56À : [EMAIL PROTECTED]ups.comObjet 
  : Re: [flexcoders] Please Adobe. Unanswered questions, andbuilding the 
  communityOn Thursday 22 June 2006 09:16, sourcecoderia wrote:> 
  bothered, or it's a bug. Since the first thought is that they can't> be 
  

Re: [flexcoders] Re: [Flex2Beta3] CF/Flex integration - 500 NULL

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

Hi,

the link out of the cfide was and is...
http://127.0.0.1:8500/cfide/administrator/eventgateway/gateways.cfm?gwid=Flex2CF&action=start

so this addresses the same cfm as the start/stop buttons for the other 
gateway instances, nothing inappropriate.

This was in the cf exception log:
"Error","web-8","06/20/06","17:54:20","cfadmin"," The specific sequence 
of files included or processed is: 
C:\CFusionMX7\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm, 
line: 253 "
java.lang.NoClassDefFoundError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at 
coldfusion.eventgateway.EventServiceImpl.allocateEventGateway(EventServiceImpl.java:1058)
at 
coldfusion.eventgateway.EventServiceImpl.startEventGateway(EventServiceImpl.java:404)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at coldfusion.runtime.StructBean.invoke(StructBean.java:391)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1662)
at 
cfgateways2ecfm1709667157._factor5(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm:253)
at 
cfgateways2ecfm1709667157._factor20(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm:243)
at 
cfgateways2ecfm1709667157.runPage(C:\blackstone_updates\cfusion\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at 
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at 
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at 
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
at 
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at 
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at 
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at 
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at 
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)
at 
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at 
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at 
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)


...and that in the application log:
"Error","web-8","06/20/06","17:54:20","cfadmin"," The specific sequence 
of files included or processed is: 
C:\CFusionMX7\wwwroot\CFIDE\administrator\eventgateway\gateways.cfm, 
line: 253 "


I couldn't find anything in the Flex logs regarding that error or the 
timestamps.

Greetings, Thomas




   Thomas Rühl
   Design, Programming & Concepts

   akitogo OHG
   Hanauer Landstrasse 188
   60314 Frankfurt

   Telefon +49 (0) 69 800 69 445
   Fax +49 (0) 69 800 69 449
   Mobil   +49 (0) 179 750 75 87
   E-Mail  [EMAIL PROTECTED]
   Web http://www.akitogo.com




Tom Chiverton wrote:
> On Wednesday 21 June 2006 10:40, Thomas Rühl -akitogo- wrote:
>> * then the Flex2CF gateway failed to start up - just a blank page with
>>"500 null" on it. however, the other gateway types went well
> 
> What was this URL ?
> What is in the CF and FDS logs ?
> 





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

[flexcoders] Re: app startup / load times

2006-07-03 Thread bjorn.schultheiss
Hi Hank

I think people will wait.
Once it's loaded it can be cached.
Ted once wrote a blog about RSL that achieved this.

While people are thinking about do i wait for it to load or not, by
the time it does you got em.

That's my opinion.

regards,
Bjorn Schultheiss

--- In flexcoders@yahoogroups.com, "hank williams" <[EMAIL PROTECTED]> wrote:
>
> For the first time since I started playing with flex (a couple of
> weeks) I checked out the size of my app, which is currently 477k.
> 
> My app isnt that big, so I presume most of that is just the size of
> the framework. I am just wondering what do people think about that in
> terms of user start up time. For a user with a 500kbps connection that
> is about 8 seconds before the app is loaded. Are people doing loaders
> to get things started? is there an accepted strategy for how to deal
> with this?
> 
> There was another thread recently about how people shouldnt use flex
> for websites and one person provided aesthetic reasons. In my mind, if
> there is a reason (and I am not arguing that there is) but if there is
> a reason not to use it for websites it would be the file size. 10
> seconds seems like a long time to make someone wait before they see
> something. On the other hand perhaps I am underestimating the average
> connection speed.
> 
> Anyway, like I said I would just like to get peoples thoughts on
this issue.
> 
> Hank
>






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

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

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

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





  1   2   >