[flexcoders] Re: creating a variant PopUpButton - errors on getStyle("popUpIcon")

2006-07-28 Thread Tim Hoff
Hi Jasom.

I noticed when I tried copying an entire framework class, instead of 
just extending,  that in addition to version, several other 
framework class references where required.  I suppose that if you 
placed your copy in the same directory as the original, it would 
work the same.  But, this isn't really practical.  I gave up on that 
approach and concentrated on subclassing instead.

-TH

--- In flexcoders@yahoogroups.com, "Pan Troglodytes" 
<[EMAIL PROTECTED]> wrote:
>
> I'm trying to create my own PopUpButton that will fire an event 
BEFORE
> opening the dropdown list (so I can populate it dynamically).
> Unfortunately, everything useful (like openWithEvent) is declare 
private and
> not protected.  So I thought the most elegant way would be to just 
copy the
> PopUpButton.as source and rename it and the class to 
PopUpButtonExt.  After
> commenting out the version include, I ran into a problem.  In
> calcArrowButtonSize(), there is this bit:
> 
> var popUpIconClass:Class = Class(getStyle("popUpIcon"));
> popUpIcon = new popUpIconClass();
> 
> In my variation, popUpIconClass is always null.  The source for
> PopUpButton.as says:
> 
> /**
>  *  The icon used for the right button of PopUpButton.
>  *  Supported classes are mx.skins.halo.PopUpIcon
>  *  and mx.skins.halo.PopUpMenuIcon.
>  *  @default mx.skins.halo.PopUpIcon
>  */
> [Style(name="popUpIcon", type="Class", inherit="no")]
> 
> I'm trying to understand why it would be ok in the original class 
and not in
> the class using the same code.  Is there some internal voodoo 
going on?
> Suggestions for other ways I should do this are welcome, but not 
really the
> main point of my question.  I'd really like to understand why this 
breaks.
> 
> -- 
> 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

<*> 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: Flex Application Deployment Error

2006-07-28 Thread Dave Wolf
:=)

Glad I could help.

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, "mvbaffa" <[EMAIL PROTECTED]> wrote:
>
> Dave It worked OK 
> 
> Thanks you very much 
> 
> --- In flexcoders@yahoogroups.com, "Dave Wolf"  wrote:
> >
> > Since your SWF is being loaded from disk (as per the error message)
> > adding localhost to the domain list won't help because localhost !=
> > file:// URI.  Try just opening it all the way up for right now.
> > 
> > 
> > 
> > 
> >  > "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> > 
> >
> > 
> > 
> > Does that work for you?
> > 
> > -- 
> > Dave Wolf
> > Cynergy Systems, Inc.
> > Adobe Flex Alliance Partner
> > http://www.cynergysystems.com
> > http://www.cynergysystems.com/blogs
> > 
> > Email:  dave.wolf@
> > Office: 866-CYNERGY
> > 
> > --- In flexcoders@yahoogroups.com, "mvbaffa"  wrote:
> > >
> > > Hi All,
> > > 
> > > I have a very strange deployment problem with my Flex 2.0 
> > > application. I hope someone can help.
> > > 
> > > I have developed an application with AMFPHP. In my development 
> > > machine my services reside in my 
> > > wwwroot (I use IIS) directory and I have created a Virtual 
> Directory 
> > > pointing to it. 
> > > My Flex application is in a directory in drive D:. 
> > > 
> > > Everything is working OK and now I have to move the application 
> to 
> > > my production server. I have put 
> > > my services in wwwroot of this server and I have also created 
> the 
> > > virtual directory and my Flex 
> > > application is in a directory in Drive C: 
> > > 
> > > The AMFPHP gateway is in my localhost so Flex application and 
> > > services are in the same machine. But in my
> > > production server the application is not running. Even when I 
> have 
> > > installed flex and run the application
> > > from inside it I receive the same error.
> > > 
> > > The error is the following:
> > > 
> > > Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: 
> > > Security sandbox violation: 
> > > file://C:\XXX\YYY\bin\ZZZ.swf cannot load data from 
> > > http://localhost/KKK/gateway.php.
> > > 
> > > Where XXX: is my Flex Applications Directory
> > >   : is my Application Directory
> > >   ZZZ: my Flex Application
> > >   KKK: Virtual Directory where the services reside
> > > 
> > > To try to resolve the problem I have put a crossdomain.xml in 
> the 
> > > wwwroot directory of my IIS. The 
> > > crossdomain content is listed below:
> > > 
> > > 
> > > 
> > >  > > SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-
> policy.dtd">
> > > 
> > >
> > >
> > >
> > > 
> > > 
> > > And it is still with the same error. I don't know what to do.
> > > 
> > > Thanks in advance
> > >
> >
>







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

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

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

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





[flexcoders] Re: what is beeing sent via ?

2006-07-28 Thread Dave Wolf
We are big fans of the tcptunnel that is included with AXIS/Tomcat.

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY


--- In flexcoders@yahoogroups.com, "Jeremy Lu" <[EMAIL PROTECTED]> wrote:
>
> Charles works great as well. (btw, it's support flash remoting,
AMF0/3 too )
> 
> http://www.xk72.com/*charles*/
> 
> 
> 
> Jeremy.
> 
> 
> 
> On 7/29/06, Vikas Bhatia <[EMAIL PROTECTED]> wrote:
> >
> >   There is also this https://addons.mozilla.org/firefox/1290/
> >
> >
> > On 7/28/06, ben.clinkinbeard < [EMAIL PROTECTED]> wrote:
> > >
> > >   I strongly prefer http://kevinlangdon.com/serviceCapture/
> > >
> > > Ben
> > > http://www.returnundefined.com/
> > >
> > > --- In flexcoders@yahoogroups.com ,
> > > "arnold_charming"
> > >
> > >  wrote:
> > > >
> > > > Hi!
> > > >
> > > > I'm using HTTPService class to send some form data to my server
> > > > scripts. Is there any way how to find out what exactly (what
variables
> > > > and values) are beeing send via HTTPService?
> > > >
> > >
> > >
> >  
> >
>






--
Flexcoders Mailing 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: HTTP Service Authentication capabilities

2006-07-28 Thread Dave Wolf
I've never actually tried it, but in theory yes.  Realize that all
Flex is doing is inheriting the cookie from the HTTP session which
contains the opaque jsessionid.  As long as the client was able to
submit the digest, (which most browsers should) and a jsessionid was
able to be created in the cookie, all should be well.

Again, I have not tried it to be sure however.  But I'd be pretty
confident.

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY



--- In flexcoders@yahoogroups.com, "richmcgillicuddy" <[EMAIL PROTECTED]> wrote:
>
> Can the HTTP Service work with a web server that requires digest
> authentication?
> 
> 
> 
> Rich
>






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

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

<*> 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] HTTP Service Authentication capabilities

2006-07-28 Thread richmcgillicuddy
Can the HTTP Service work with a web server that requires digest
authentication?



Rich






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

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

<*> 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: what is beeing sent via ?

2006-07-28 Thread Jeremy Lu



Charles works great as well. (btw, it's support flash remoting, AMF0/3 too )http://www.xk72.com/charles/
Jeremy.On 7/29/06, Vikas Bhatia <[EMAIL PROTECTED]> wrote:













  



There is also this https://addons.mozilla.org/firefox/1290/
On 7/28/06, ben.clinkinbeard <
[EMAIL PROTECTED]> wrote:












  



I strongly prefer http://kevinlangdon.com/serviceCapture/

Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "arnold_charming"
<[EMAIL PROTECTED]> wrote:
>
> Hi!
> 
> I'm using HTTPService class to send some form data to my server
> scripts. Is there any way how to find out what exactly (what variables
> and  values) are beeing send via HTTPService?
>


  















  















__._,_.___





--
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] Not getting code hinting for Cairngorm types

2006-07-28 Thread Jeremy Lu



Recently ran into this problem while packing component into swc.The problem lies in how you add the swc to your project.It's inProject > Flex Build Path > Library Pathpress "Add SWC" and make sure you put something like this in the dialog box:
$DOCUMENTS\your_lib.swc I'm assuming you put "your_lib.swc" in the project folder.After this, you should get correct code hint for custom types, and even better, custom component can be live-previewed in the Design View.
Jeremy.On 7/29/06, jrjazzman23 <[EMAIL PROTECTED]> wrote:













  



We're not getting code hinting for Cairngorm types in FB2.  I'm only
referencing the swc file.  Do we need the source in order to get code
hinting?

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.



  






__,_._,___



Re: [flexcoders] Re: Panel padding

2006-07-28 Thread Peter Baird
Title: Re: [flexcoders] Re: Panel padding





Sorry for jumping on this late...

What you’re looking for is the following:

borderThicknessRight=”0”
BorderThicknessLeft=”0”
BorderThicknessTop=”0”
BorderThicknessBottom=”0”

I’ve been meaning to include these styles in the style explorer for Panel, as their omission is an oversight.

-Peter



/ \®   PETER BAIRD
888/   \888    User Experience Consultant
88/  /  \88    Adobe Consulting | Adobe Systems, Inc
8/  /8\  \8    275 Grove St. Newton, MA
/  /888\  \    
  \8\  




On 7/28/06 6:05 PM, "bhaq1972" <[EMAIL PROTECTED]> wrote:

 
 
 

okay this is my last suggestion (cant think of anything else). for 
your datagrid add a minWindth=0

 sometimes i found that works well with width=100%

--- In flexcoders@yahoogroups.com  , "Devin Holloway" <[EMAIL PROTECTED]> 
wrote:
>
> that doesn't work either. it widens the conents inside, but clips 
them
>  so that the same left/right padding amount exists.  the weird 
thing
> is that the paddingTop behaves as it should, it's just the 
left/right
> padding that's not working
> 
> --- In flexcoders@yahoogroups.com  , "bhaq1972"  wrote:
> >
> > what happens if you remove the outer Canvas and make the panel 
> > borderStyle=none and paddingLeft=-10 and paddingRight=-10
> > 
> > --- In flexcoders@yahoogroups.com  , "Devin Holloway"  
> > wrote:
> > >
> > > still no effect :(
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com  , "bhaq1972"  wrote:
> > > >
> > > > and make the panel borderStyle=none
> > > > 
> > > > --- In flexcoders@yahoogroups.com  , "Tim Hoff"  
wrote:
> > > > >
> > > > > Hi Devin,
> > > > > 
> > > > > Try setting the Panel's borderThickness to 0.
> > > > > 
> > > > > -TH
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com  , "Devin Holloway" 
 
> > wrote:
> > > > > >
> > > > > > I have a panel with a datagrid in it. I don't want any 
space 
> > around
> > > > > > the datagrid and the panel sides, but can't seem to get 
rid 
> > of it. 
> > > > I
> > > > > > set all the padding option on the panel to 0, and it 
does 
> > nothing
> > > > > >
> > > > >
> > > >
> > >
> >
>

 



__._,_.___





--
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] creating a variant PopUpButton - errors on getStyle("popUpIcon")

2006-07-28 Thread Pan Troglodytes



I'm trying to create my own PopUpButton that will fire an event BEFORE opening the dropdown list (so I can populate it dynamically).  Unfortunately, everything useful (like openWithEvent) is declare private and not protected.  So I thought the most elegant way would be to just copy the 
PopUpButton.as source and rename it and the class to PopUpButtonExt.  After commenting out the version include, I ran into a problem.  In calcArrowButtonSize(), there is this bit:
var popUpIconClass:Class = Class(getStyle("popUpIcon"));popUpIcon = new popUpIconClass(); 
In my variation, popUpIconClass is always null.  The source for PopUpButton.as says:
/** *  The icon used for the right button of PopUpButton.
 *  Supported classes are mx.skins.halo.PopUpIcon *  and mx.skins.halo.PopUpMenuIcon.
 *  @default mx.skins.halo.PopUpIcon */
[Style(name="popUpIcon", type="Class", inherit="no")]I'm trying to understand why it would be ok in the original class and not in the class using the same code.  Is there some internal voodoo going on?  Suggestions for other ways I should do this are welcome, but not really the main point of my question.  I'd really like to understand why this breaks.
-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



Re: [flexcoders] Re: using E4X to filter data in a datagrid

2006-07-28 Thread John Wilker



ben, that worked thanks!Now to further complicate matters :)my end goal is that I have 5 combo boxes with filters. Each can be fired off in any order. I'd like to figure out how have one function see the newly filtered data and filter that data further, based on user input. I haven't been able to get my varialbes to match up between XMLList and XML to get it to work.
Here's the flow I'm envisioning. Set my root XML data to a temp var on init. Each function looks at that var, applies the E4X filtering, then saves the new XML to the temp var so that subsequent filters can see that data and filter on it.
Thx!On 7/28/06, John Wilker <[EMAIL PROTECTED]> wrote:
that is what I mean :) I'll give that a shot. ThanksOn 7/28/06, ben.clinkinbeard <
[EMAIL PROTECTED]
> wrote:












  



I don't have the IDE in front of me but I would think something like
this should work:

function changeDP(attrName):void
{
var list:XMLList = baseXml..myNodes.([EMAIL PROTECTED]);
myDG.dataProvider = list;
}

Is that what you mean?

HTH,
Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "John Wilker" <[EMAIL PROTECTED]> wrote:
>
> I'm working on a project that has a datagrid, who gets data from an XML
> object.
> 
> I'm trying to figure out how to use E4X to filter the XML data I got and
> update the datagrid so I have less roundtrips to the server. I've found
> several examples in language reference, but those make use of either
> directly binding to an E4X statement, or using MX binding to do the
same.
> 
> I'd like to have a function, that will filter my large XML dataset,
using
> E4X (ie, get just the nodes that are of type XYZ) and use that to
populate
> the datagrid.
> 
> Hopefully that makes sense?
> 
> -- 
> John Wilker
> Vice President Software Development/Writer
> Red Omega Solutions, Inc.
> www.johnwilker.com / 
www.red-omega.com
> 
> "Everything changes, nothing remains without change." ~Buddha c.483 bc
>


  













-- John WilkerVice President Software Development/WriterRed Omega Solutions, Inc.
www.johnwilker.com / 
www.red-omega.com"Everything changes, nothing remains without change." 	~Buddha c.483 bc

-- John WilkerVice President Software Development/WriterRed Omega Solutions, Inc.www.johnwilker.com / 
www.red-omega.com"Everything changes, nothing remains without change." 	~Buddha c.483 bc

__._,_.___





--
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] Sorting data grid that has paging.

2006-07-28 Thread Tracy Spratt












Have you done some testing with real data
to determine if server paging is warranted?  In my experience, data access
is extremely fast.  It is the rendering of large datasets that is usually
the bottleneck (though much faster since 8.5).  You can speed up data
transfer by compressing the data.  I haven’t done this yet, but
others have.

 

I know I would seriously doubt the value
of server paging for a 400 / 25 record situation.  4000 / 250 maybe, 40,000
certainly.  That is just based on experience, no rigorous testing.

 

If you do page, clearly you can’t
return a subset of a sorted set without sorting the whole set.  That will
have to happen on the server, so any sort is a server hit.  One more count
against paging.

 

I am just thinking, perhaps someone with
some direct experience will be more help.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of mthielman11
Sent: Friday, July 28, 2006 3:20
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Sorting data
grid that has paging.



 







We have an issue we are trying to resolve. We know
that the datagrid by default has the 
ability to sort. But this only works when all potential results are downloaded
into the 
datagrid from the server. ex. User does a search that returns 425 results. We
want to use a 
paging concept to limit results to say 25 records. The sort needs to sort on
all 425, not just 
the 25 visible in the grid. Is there anythign in place or do we need to custom
build 
something? Has anyone seen a component that does this? 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.



  






__,_._,___






What's everyone else think?Re: initialize vs. construct/init...Re: [flexcoders]

2006-07-28 Thread Doug Lowder
In that case, I'll pipe up one more time before piping out  :)

Probably it was too strong to say "any application"; more correctly,
"any application designed by me," due to personal preference.  I think
there are better ways to design components than building in a
dependancy on another object's property(ies), especially if those
properties of the other object are never examined for expected values.

One thing I'm still not clear on is why you say binding is not working
correctly.  In your sample MyFirstObject component, the image's width
is bound to variable innerWidth.  The innerWidth variable is not bound
to anything, it is just set to an object's property in the
initialization handler, which is not the same as binding.  I don't see
how this breaks binding, since if innerWidth is set to undefined
(which is how it starts out), the image's width is undefined, but if
innerWidth is set to some value, the image's width properly changes. 
This is exactly what I would expect to happen, and in fact does
happen.  Unless I'm missing something here, the problem has nothing to
do with "mistakenly breaking binding," and everything to do with
incorrectly assuming an object's property has been initialized when
it's entirely possible that it hasn't.

Another thing I'm not clear on is why you would want to rely on order
of component initialization in the first place.  It just seems like a
bad idea to me, and I'm not aware of any documentation that says you
can reliably count on the framework to enforce a particular
initialization order (please point it out to me if such docuemntation
exists).  Sure, most of the time components are initilized in the
order they are declared, but not always - case in point would be a tab
navigator control with creationPolicy set to "none".  The children and
their components would be created in an order determined by the user,
and potentially never even created at all.  Now maybe this case
doesn't match the way your components are actually used, but I think
you get my point.

As far as constructObject2, createChildren, and the like, I would
think the only time to use these would be when creating custom classes
in actionscript.  I've never had cause to use constructObject2, even
in a custom class.  In any case, I think relying on order of
initialization is a recipe for disaster.

Just one developer's opinion - FWIW, YMMV, and all that of course.


--- In flexcoders@yahoogroups.com, G <[EMAIL PROTECTED]> wrote:
>
> Doug, please don't think you need anyone's permission
> to pipe up!  That's the point of the list, to
> e-list-it conversation.  The more opinions the better!
> 
> I agree with what you said about establishing best
> practices, but I'm not sure I agree that any
> application with complicated initialization needs to
> be redesigned.  Those functions, constructObject2,
> createChildren, etc., are there precisely to
> accomodate complicated behavior in custom components. 
> The trick is to know how to use them well.  (which I
> don't)
> 
> 
> Greg
> 
> 
> --- Doug Lowder <[EMAIL PROTECTED]> wrote:
> 
> > You're right, I didn't read carefully enough.  It's
> > a big thread  :)
> > I guess it boils down to best practices, and knowing
> > which approaches
> > will work and which are inherently flawed - not an
> > easy thing
> > sometimes.  Seems we're in agreement on the
> > programmer error point; if
> > the purpose of the original code was to bind one
> > object's property to
> > another's, it certainly doesn't get the job done. 
> > Knowing why it
> > doesn't, and how to fix it so it does, is part of
> > the learning process
> > everyone has to go through.
> > 
> > I know none of this has anything to do with
> > constructObject2, init,
> > createChildren, and initialization order in general,
> > but in my mind
> > any application that depends on the order of
> > initialization probably
> > could stand to be redesigned.
> > 
> > Thanks for letting me share my opinion!
> > 
> > Doug
> > 
> > --- In flexcoders@yahoogroups.com, G 
> > wrote:
> > >
> > > Doug, certainly I welcome you to join in the
> > > conversation.  The more heads and opinions the
> > better.
> > >  But I'm afraid you didn't read my post carefully
> > > enough--my entire point was that I believe our
> > > problems are programmer error rather than a
> > compiler
> > > bug.  That was the central question of my email,
> > and
> > > the code I included was to illustrate how easy it
> > is
> > > to make such errors!
> > > 
> > > The purpose of this thread is to try to gain a
> > better
> > > understanding of the order of initialization in
> > > Flex--the interactions between constructObject2,
> > init,
> > > createChildren, and how those interact with
> > bindings.
> > > 
> > > 
> > > Greg
> > > 
> > > 
> > > --- Doug Lowder  wrote:
> > > 
> > > > Sorry for butting into this thread, and no
> > offense
> > > > intended, but
> > > > personally I would describe this as programmer
> > error
> > > > and not a
> > > > compiler bug

RE: [flexcoders] Re: trees, UpdateDisplayList and keeping a tree open

2006-07-28 Thread Tracy Spratt












Huh, come on Tom, this is a pretty often
desired behavior, please post your solution!  Do you mean that storing
openItems and then re-assigning them in the “render” event restores
the whole tree to its open state?  

 

That’s damn big. I never did get something
like this working in 1.5.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Ortega
Sent: Friday, July 28, 2006 7:54
PM
To: flexcoders
Subject: [flexcoders] Re: trees,
UpdateDisplayList and keeping a tree open



 







Nevermind, I figured it out!  The secret is the
"render" event. =)



On 7/28/06, Tom
Ortega <[EMAIL PROTECTED]com
> wrote:



Hi all,

So, I'm trying to figure out how to refesh a tree's DataProvider and keep it
open. 

I thought trapping the trees.opentItems was my answer.  I'd trap the value
before the refresh, then set it back to that value after the refesh: 

               
    tempOpen = mainTree.openItems;
               
    mainTreeDP = event.result;
               
    mainTree.validateNow();
               
    mainTree.openItems = tempOpen;

But that didn't work. 

I think the reason why is because the code gets executed before the tree
display updates itself.

My dilemna now seems twofold:

1. I take it there's not a built in way to regress a tree back to it's open
states? 
2. How can I know when the update to the display is done, so I can manually
traverse the tree and reopen everything?

The functionality is there because if you expand every node, the collapse the
root, then open the root, everything is still expanded.  If I can just
figure out how to mimic that in my ActionScript, I'd be set. 

Any ideas?

Thanks,





Tom





 






__._,_.___





--
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: trees, UpdateDisplayList and keeping a tree open

2006-07-28 Thread Tom Ortega



Nevermind, I figured it out!  The secret is the "render" event. =)On 7/28/06, Tom Ortega <[EMAIL PROTECTED]
> wrote:Hi all,So, I'm trying to figure out how to refesh a tree's DataProvider and keep it open.
I thought trapping the trees.opentItems was my answer.  I'd trap the value before the refresh, then set it back to that value after the refesh:
                    tempOpen = mainTree.openItems;                    mainTreeDP = event.result;                    mainTree.validateNow();                    mainTree.openItems = tempOpen;But that didn't work.
I think the reason why is because the code gets executed before the tree display updates itself.My dilemna now seems twofold:1. I take it there's not a built in way to regress a tree back to it's open states?
2. How can I know when the update to the display is done, so I can manually traverse the tree and reopen everything?The functionality is there because if you expand every node, the collapse the root, then open the root, everything is still expanded.  If I can just figure out how to mimic that in my ActionScript, I'd be set.
Any ideas?Thanks,Tom



__._,_.___





--
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] Combo box inside of dataGrid failing

2006-07-28 Thread Pan Troglodytes



If you post some code that reproduces the problem, I'll try to track it down.On 7/28/06, sufibaba <[EMAIL PROTECTED]
> wrote:Hi Everyone,I have a combo box inside of a column of a DataGrid.  The combo boxes is
a custom itemRenderer and its being populated from its parent datagrid.header1 header2header3--text  combobox   text
text  combobox   texttext  combobox   texttext  combobox   textEach combo boxes has multiple entries and its selected position must be
set every time the databinding changes.Upon entering the app for the first time, the datagrid is correctlypopulated and the combo boxes are set to the correct index.   Theproblem occurs when the datagrid's data changes,  all datagrid's values
are correctly reflected but for some strange reason, the boxes aren'tset to right indexes.   Upon closer examination,  new data is arecorrectly piped into the datagrid and into the combo box itemrenderer.It seems to me that whe the data changes, the itemrenderer is redrawn
and the combo boxes are also redrawn-- if this is the case, then thecombo boxes might not have been drawn when the code inside theitemrenderer tries to set a combobox.selectedIndex  .  If this is thecase, has someone ran into this delayed drawing action and is there a
work around for this problem.Any help on this is greatly appreciated.- Tim--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/
-- Jason

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

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] Combo box inside of dataGrid failing

2006-07-28 Thread sufibaba
Hi Everyone,

I have a combo box inside of a column of a DataGrid.  The combo boxes is
a custom itemRenderer and its being populated from its parent datagrid.

header1 header2header3
--
text  combobox   text
text  combobox   text
text  combobox   text
text  combobox   text

Each combo boxes has multiple entries and its selected position must be
set every time the databinding changes.

Upon entering the app for the first time, the datagrid is correctly
populated and the combo boxes are set to the correct index.   The
problem occurs when the datagrid's data changes,  all datagrid's values
are correctly reflected but for some strange reason, the boxes aren't
set to right indexes.   Upon closer examination,  new data is are
correctly piped into the datagrid and into the combo box itemrenderer.  
It seems to me that whe the data changes, the itemrenderer is redrawn
and the combo boxes are also redrawn-- if this is the case, then the
combo boxes might not have been drawn when the code inside the
itemrenderer tries to set a combobox.selectedIndex  .  If this is the
case, has someone ran into this delayed drawing action and is there a
work around for this problem.

Any help on this is greatly appreciated.

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





[flexcoders] Re: Panel padding

2006-07-28 Thread bhaq1972
one more idea. if nothing is working you can always place the 
datagrid outside of the panel. as your outer container is a canvas. 
it will always put all its children on top of one another, unless 
you position them
eg

  
  


you'll have to play with the positioning so that the datagrid 
appears inside the panel.


--- In flexcoders@yahoogroups.com, "Jack W. Caldwell @ Zingit 
Technologies, Inc." <[EMAIL PROTECTED]> wrote:
>
> Devin:
>  
> Try borderThicknessTop="0" borderThicknessBottom="0"
> borderThicknessRight="0" borderThicknessLeft="0"
>  
> Jack
> 
>   _  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Devin Holloway
> Sent: Friday, July 28, 2006 5:08 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Panel padding
> 
> 
> 
> still no dice, but I appreciate you helping me!
> 
> --- In [EMAIL PROTECTED]  
ups.com,
> "bhaq1972"  wrote:
> >
> > okay this is my last suggestion (cant think of anything else). 
for 
> > your datagrid add a minWindth=0
> > 
> >  sometimes i found that works well with width=100%
> > 
> > 
> > 
> > --- In [EMAIL PROTECTED]  
ups.com,
> "Devin Holloway"  
> > wrote:
> > >
> > > that doesn't work either. it widens the conents inside, but 
clips 
> > them
> > > so that the same left/right padding amount exists. the weird 
> > thing
> > > is that the paddingTop behaves as it should, it's just the 
> > left/right
> > > padding that's not working
> > > 
> > > --- In [EMAIL PROTECTED] 
> ups.com, "bhaq1972"  wrote:
> > > >
> > > > what happens if you remove the outer Canvas and make the 
panel 
> > > > borderStyle=none and paddingLeft=-10 and paddingRight=-10
> > > > 
> > > > --- In [EMAIL PROTECTED] 
> ups.com, "Devin Holloway"  
> > > > wrote:
> > > > >
> > > > > still no effect :(
> > > > > 
> > > > > 
> > > > > --- In [EMAIL PROTECTED] 
> ups.com, "bhaq1972"  wrote:
> > > > > >
> > > > > > and make the panel borderStyle=none
> > > > > > 
> > > > > > --- In [EMAIL PROTECTED] 
> ups.com, "Tim Hoff"  
> > wrote:
> > > > > > >
> > > > > > > Hi Devin,
> > > > > > > 
> > > > > > > Try setting the Panel's borderThickness to 0.
> > > > > > > 
> > > > > > > -TH
> > > > > > > 
> > > > > > > --- In [EMAIL PROTECTED] 
> ups.com, "Devin Holloway" 
> >  
> > > > wrote:
> > > > > > > >
> > > > > > > > I have a panel with a datagrid in it. I don't want 
any 
> > space 
> > > > around
> > > > > > > > the datagrid and the panel sides, but can't seem to 
get 
> > rid 
> > > > of it. 
> > > > > > I
> > > > > > > > set all the padding option on the panel to 0, and it 
> > does 
> > > > nothing
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>







--
Flexcoders Mailing 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: Problem with Flex and CF web service

2006-07-28 Thread howardescholz
Why are you using:
ws.queryDB.send(RUNDATE,ENTITYID,LASTNAME,
FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCLASS);
?

why not just
ws.queryDB(RUNDATE,ENTITYID,LASTNAME,
FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCLASS);
?

Howard
--- In flexcoders@yahoogroups.com, Rick Root <[EMAIL PROTECTED]> wrote:
>
> I'm finding this to be really frustrating.  I've been googling the 
error 
> message and trying all kinds of things.  I even uninstalled just 
about 
> everything (all jdk's and jre's, all versions of flash player and 
flash 
> player active x controls, etc).. and then reinstalled Flex Builder 
> standalone.. and I still can't figure this out.
> 
> I could really use some help here.
> 
> Rick
> 
> ricrootnc wrote:
> > 
> > (I posted this to [EMAIL PROTECTED] 
> >  but there's more activity
> > here)
> > 
> > I can't seem to debug this issue.
> > 
> > I've got a web service set up like this:
> > 
> >  > 
wsdl="https://www.it.dev.duke.edu/components/dukemagsearch/checkMaili
 
> > 
> > ng2.cfc?wsdl"
> > useProxy="false">
> >  > fault="queryDBFault(event)"/>
> >  > fault="getListDataFault()"/>
> > 
> > 
> > getListData() takes no args and runs fine, and populates my list
> > boxes.
> > 
> > However, the queryDB() method causes a mysterious fault.
> > 
> > To call the web service, I'm actually using actionscript to set 
some
> > variables and then pass them in as arguments to the .send() 
method,
> > like
> > this:
> > 
> > 
> > ws.queryDB.send
> > 
(RUNDATE,ENTITYID,LASTNAME,FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCL
> > ASS);
> > 
> > I've also tried using the  tag with the arguments 
linked
> > in there, to no avail.
> > 
> > I'm browsing the flex app locally using a FILE url 
(C:\Inetpub...)
> > but this shouldn't affect anything because the getListData() web
> > service responses just fine.
> > 
> > my fault function:
> > 
> > public function queryDBFault(e:Event):void
> > {
> > Alert.show(e.toString(), "Oops!", Alert.OK);
> > }
> > 
> > produces the following alert:
> > 
> > [FaultEvent fault=[RPC Fault faultString="HTTP request error"
> > faultCode="Server.Error.Request" faultDetail="Error: 
[IOErrorEvent
> > type="ioError" bubbles=false cancelable=false eventPhase=2
> > text="Error
> > #2032: Stream Error, URL:
> > 
https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cf
 
> > 

> > c"].
> > blah blah blah
> > 
> > Nothing shows up in the coldfusion application log or the 
exception
> > log.
> > 
> > Anyone got any ideas?
>






--
Flexcoders Mailing 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: Flex Application Deployment Error

2006-07-28 Thread mvbaffa
Dave It worked OK 

Thanks you very much 

--- In flexcoders@yahoogroups.com, "Dave Wolf" <[EMAIL PROTECTED]> wrote:
>
> Since your SWF is being loaded from disk (as per the error message)
> adding localhost to the domain list won't help because localhost !=
> file:// URI.  Try just opening it all the way up for right now.
> 
> 
> 
> 
>  "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> 
>
> 
> 
> Does that work for you?
> 
> -- 
> Dave Wolf
> Cynergy Systems, Inc.
> Adobe Flex Alliance Partner
> http://www.cynergysystems.com
> http://www.cynergysystems.com/blogs
> 
> Email:  [EMAIL PROTECTED]
> Office: 866-CYNERGY
> 
> --- In flexcoders@yahoogroups.com, "mvbaffa"  wrote:
> >
> > Hi All,
> > 
> > I have a very strange deployment problem with my Flex 2.0 
> > application. I hope someone can help.
> > 
> > I have developed an application with AMFPHP. In my development 
> > machine my services reside in my 
> > wwwroot (I use IIS) directory and I have created a Virtual 
Directory 
> > pointing to it. 
> > My Flex application is in a directory in drive D:. 
> > 
> > Everything is working OK and now I have to move the application 
to 
> > my production server. I have put 
> > my services in wwwroot of this server and I have also created 
the 
> > virtual directory and my Flex 
> > application is in a directory in Drive C: 
> > 
> > The AMFPHP gateway is in my localhost so Flex application and 
> > services are in the same machine. But in my
> > production server the application is not running. Even when I 
have 
> > installed flex and run the application
> > from inside it I receive the same error.
> > 
> > The error is the following:
> > 
> > Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: 
> > Security sandbox violation: 
> > file://C:\XXX\YYY\bin\ZZZ.swf cannot load data from 
> > http://localhost/KKK/gateway.php.
> > 
> > Where XXX: is my Flex Applications Directory
> >   : is my Application Directory
> >   ZZZ: my Flex Application
> >   KKK: Virtual Directory where the services reside
> > 
> > To try to resolve the problem I have put a crossdomain.xml in 
the 
> > wwwroot directory of my IIS. The 
> > crossdomain content is listed below:
> > 
> > 
> > 
> >  > SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-
policy.dtd">
> > 
> >
> >
> >
> > 
> > 
> > And it is still with the same error. I don't know what to do.
> > 
> > Thanks in advance
> >
>








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

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

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

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




RE: [flexcoders] Re: Panel padding

2006-07-28 Thread Jack W. Caldwell @ Zingit Technologies, Inc.





Devin:
 
Try borderThicknessTop="0" borderThicknessBottom="0" 
borderThicknessRight="0" borderThicknessLeft="0"
 
Jack


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Devin 
HollowaySent: Friday, July 28, 2006 5:08 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: Panel 
padding


still no dice, but I appreciate you helping me!--- In [EMAIL PROTECTED]ups.com, 
"bhaq1972" <[EMAIL PROTECTED]> wrote:>> okay this is my last 
suggestion (cant think of anything else). for > your datagrid add a 
minWindth=0> >  sometimes i found that works well with 
width=100%> > > > --- In [EMAIL PROTECTED]ups.com, 
"Devin Holloway"  > wrote:> >> > that 
doesn't work either. it widens the conents inside, but clips > 
them> > so that the same left/right padding amount exists. the weird 
> thing> > is that the paddingTop behaves as it should, it's 
just the > left/right> > padding that's not working> 
> > > --- In [EMAIL PROTECTED]ups.com, 
"bhaq1972"  wrote:> > >> > > what 
happens if you remove the outer Canvas and make the panel > > > 
borderStyle=none and paddingLeft=-10 and paddingRight=-10> 
> > > > > --- In [EMAIL PROTECTED]ups.com, 
"Devin Holloway"  > > > wrote:> > > 
>> > > > still no effect :(> > > > > 
> > > > > > > --- In [EMAIL PROTECTED]ups.com, 
"bhaq1972"  wrote:> > > > >> > > 
> > and make the panel borderStyle=none> > > > > 
> > > > > --- In [EMAIL PROTECTED]ups.com, 
"Tim Hoff"  > wrote:> > > > > 
>> > > > > > Hi Devin,> > > > > > 
> > > > > > Try setting the Panel's borderThickness to 
0.> > > > > > > > > > > > 
-TH> > > > > > > > > > > > --- In [EMAIL PROTECTED]ups.com, 
"Devin Holloway" >  > > > wrote:> > 
> > > > >> > > > > > > I have a panel 
with a datagrid in it. I don't want any > space > > > 
around> > > > > > > the datagrid and the panel sides, 
but can't seem to get > rid > > > of it. > > > 
> > I> > > > > > > set all the padding option on 
the panel to 0, and it > does > > > nothing> > 
> > > > >> > > > > >> > > > 
>> > > >> > >> 
>>
__._,_.___





--
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] passing VOs using ColdFusion Event gateway Adapter

2006-07-28 Thread nigasak
I am using CF Event Gateway Adapter, having a Producer from a flex 
App that sends messages to the CF Gateway, and a consumer in another 
Flex App, that is suscribed to the messages generated by the CF 
Gateway.

Hi, I've been trying to do it without success, I have a 
RequerimientoVO Object with its data already filled, but when I try 
to do this:


var msg : AsyncMessage = new AsyncMessage();
msg.headers.gatewayid = "RequerimientosGateway";

//requerimiento is the VO with data
msg.body = requerimiento


service.send( msg );

It doesn't works, and I get this error:

"Unable to send message to CF Gateway 'RequerimientosGateway': null"

however if I change this line:

msg.body = requerimiento;
for this one:
msg.body = new Object();

It works, but data arrives to the CFC gateway without type and I have 
to fill the object myself before sending:

msg.body.codigo = requerimiento.codigo;
msg.body.nombre = requerimiento.nombre;

When the CFC returns data from the Gateway to a consumer in another 
Flex app, it arrives untyped too :-(





--
Flexcoders Mailing 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 understand and fix reported errors?

2006-07-28 Thread mike_pq4
I am running a simple app generated by Flex2 Builder using CF Wizard.
Trying to login I get this:

ReferenceError: Error #1069: Property message not found on
mx.messaging.messages.ErrorMessage and there is no default value.
at com.cfgenerated.views.login::LoginForm/::serverFault()
at com.cfgenerated.views.login::LoginForm/___Operation1_fault()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at
::NetConnectionMessageResponder/NetConnectionChannel.as$37:NetConnectionMessageResponder::statusHandler()
at mx.messaging::MessageResponder/status()


I have no idea why I get it or how to fix it. And this is a major
problem trying to really evaluate the product. I get stuck and there
is no way out.

Thanks






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

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

<*> 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: Panel padding

2006-07-28 Thread Devin Holloway
still no dice, but I appreciate you helping me!

--- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> okay this is my last suggestion (cant think of anything else). for 
> your datagrid add a minWindth=0
> 
>  sometimes i found that works well with width=100%
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Devin Holloway"  
> wrote:
> >
> > that doesn't work either. it widens the conents inside, but clips 
> them
> >  so that the same left/right padding amount exists.  the weird 
> thing
> > is that the paddingTop behaves as it should, it's just the 
> left/right
> > padding that's not working
> > 
> > --- In flexcoders@yahoogroups.com, "bhaq1972"  wrote:
> > >
> > > what happens if you remove the outer Canvas and make the panel 
> > > borderStyle=none and paddingLeft=-10 and paddingRight=-10
> > > 
> > > --- In flexcoders@yahoogroups.com, "Devin Holloway"  
> > > wrote:
> > > >
> > > > still no effect :(
> > > > 
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "bhaq1972"  wrote:
> > > > >
> > > > > and make the panel borderStyle=none
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com, "Tim Hoff"  
> wrote:
> > > > > >
> > > > > > Hi Devin,
> > > > > > 
> > > > > > Try setting the Panel's borderThickness to 0.
> > > > > > 
> > > > > > -TH
> > > > > > 
> > > > > > --- In flexcoders@yahoogroups.com, "Devin Holloway" 
>  
> > > wrote:
> > > > > > >
> > > > > > > I have a panel with a datagrid in it. I don't want any 
> space 
> > > around
> > > > > > > the datagrid and the panel sides, but can't seem to get 
> rid 
> > > of it. 
> > > > > I
> > > > > > > set all the padding option on the panel to 0, and it 
> does 
> > > nothing
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>






--
Flexcoders Mailing 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: Panel padding

2006-07-28 Thread bhaq1972
okay this is my last suggestion (cant think of anything else). for 
your datagrid add a minWindth=0

 sometimes i found that works well with width=100%



--- In flexcoders@yahoogroups.com, "Devin Holloway" <[EMAIL PROTECTED]> 
wrote:
>
> that doesn't work either. it widens the conents inside, but clips 
them
>  so that the same left/right padding amount exists.  the weird 
thing
> is that the paddingTop behaves as it should, it's just the 
left/right
> padding that's not working
> 
> --- In flexcoders@yahoogroups.com, "bhaq1972"  wrote:
> >
> > what happens if you remove the outer Canvas and make the panel 
> > borderStyle=none and paddingLeft=-10 and paddingRight=-10
> > 
> > --- In flexcoders@yahoogroups.com, "Devin Holloway"  
> > wrote:
> > >
> > > still no effect :(
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "bhaq1972"  wrote:
> > > >
> > > > and make the panel borderStyle=none
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "Tim Hoff"  
wrote:
> > > > >
> > > > > Hi Devin,
> > > > > 
> > > > > Try setting the Panel's borderThickness to 0.
> > > > > 
> > > > > -TH
> > > > > 
> > > > > --- In flexcoders@yahoogroups.com, "Devin Holloway" 
 
> > wrote:
> > > > > >
> > > > > > I have a panel with a datagrid in it. I don't want any 
space 
> > around
> > > > > > the datagrid and the panel sides, but can't seem to get 
rid 
> > of it. 
> > > > I
> > > > > > set all the padding option on the panel to 0, and it 
does 
> > nothing
> > > > > >
> > > > >
> > > >
> > >
> >
>







--
Flexcoders Mailing 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: Panel padding

2006-07-28 Thread Devin Holloway
that doesn't work either. it widens the conents inside, but clips them
 so that the same left/right padding amount exists.  the weird thing
is that the paddingTop behaves as it should, it's just the left/right
padding that's not working

--- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> what happens if you remove the outer Canvas and make the panel 
> borderStyle=none and paddingLeft=-10 and paddingRight=-10
> 
> --- In flexcoders@yahoogroups.com, "Devin Holloway"  
> wrote:
> >
> > still no effect :(
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "bhaq1972"  wrote:
> > >
> > > and make the panel borderStyle=none
> > > 
> > > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > > >
> > > > Hi Devin,
> > > > 
> > > > Try setting the Panel's borderThickness to 0.
> > > > 
> > > > -TH
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "Devin Holloway"  
> wrote:
> > > > >
> > > > > I have a panel with a datagrid in it. I don't want any space 
> around
> > > > > the datagrid and the panel sides, but can't seem to get rid 
> of it. 
> > > I
> > > > > set all the padding option on the panel to 0, and it does 
> nothing
> > > > >
> > > >
> > >
> >
>







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





What's everyone else think?Re: initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()?

2006-07-28 Thread G
Doug, please don't think you need anyone's permission
to pipe up!  That's the point of the list, to
e-list-it conversation.  The more opinions the better!

I agree with what you said about establishing best
practices, but I'm not sure I agree that any
application with complicated initialization needs to
be redesigned.  Those functions, constructObject2,
createChildren, etc., are there precisely to
accomodate complicated behavior in custom components. 
The trick is to know how to use them well.  (which I
don't)


Greg


--- Doug Lowder <[EMAIL PROTECTED]> wrote:

> You're right, I didn't read carefully enough.  It's
> a big thread  :)
> I guess it boils down to best practices, and knowing
> which approaches
> will work and which are inherently flawed - not an
> easy thing
> sometimes.  Seems we're in agreement on the
> programmer error point; if
> the purpose of the original code was to bind one
> object's property to
> another's, it certainly doesn't get the job done. 
> Knowing why it
> doesn't, and how to fix it so it does, is part of
> the learning process
> everyone has to go through.
> 
> I know none of this has anything to do with
> constructObject2, init,
> createChildren, and initialization order in general,
> but in my mind
> any application that depends on the order of
> initialization probably
> could stand to be redesigned.
> 
> Thanks for letting me share my opinion!
> 
> Doug
> 
> --- In flexcoders@yahoogroups.com, G <[EMAIL PROTECTED]>
> wrote:
> >
> > Doug, certainly I welcome you to join in the
> > conversation.  The more heads and opinions the
> better.
> >  But I'm afraid you didn't read my post carefully
> > enough--my entire point was that I believe our
> > problems are programmer error rather than a
> compiler
> > bug.  That was the central question of my email,
> and
> > the code I included was to illustrate how easy it
> is
> > to make such errors!
> > 
> > The purpose of this thread is to try to gain a
> better
> > understanding of the order of initialization in
> > Flex--the interactions between constructObject2,
> init,
> > createChildren, and how those interact with
> bindings.
> > 
> > 
> > Greg
> > 
> > 
> > --- Doug Lowder <[EMAIL PROTECTED]> wrote:
> > 
> > > Sorry for butting into this thread, and no
> offense
> > > intended, but
> > > personally I would describe this as programmer
> error
> > > and not a
> > > compiler bug.  You are building into
> MyFirstObject a
> > > dependancy on
> > > another object without taking into account the
> > > initialized state of
> > > the dependant object.  I see two ways to correct
> > > this:
> > > 
> > > 1. Check the state of the property of the
> dependant
> > > object when you
> > > access it.  You can do this just by seeing if
> the
> > > property you are
> > > accessing has been defined, and taking
> appropriate
> > > action if not.
> > > 
> > > 
> > > 
> > >  public var innerWidth: Number;
> > >  public function handleInit() {
> > >  if (myOtherObject.outerWidth != undefined)
> {
> > >  innerWidth=myOtherObject.otherWidth;
> > >  }
> > >  else {
> > >  doLater(this, "handleInit");
> > >  }
> > >  }
> > > 
> > > 
> > > 2. The second, and in my opinion better, way is
> to
> > > create components
> > > and utilize binding from the parent rather than
> the
> > > component.
> > > 
> > > // component MyFirstObject
> > > 
> > > 
> > >  public var innerWidth: Number;
> > > 
> > > 
> > > 
> > > 
> > > // component MyOtherObject
> > > 
> > > 
> > >  public var otherWidth: Number;
> > >  public function handleInit() {
> > >  otherWidth=55;
> > >  }
> > > 
> > > 
> > > 
> > > // application that uses the components
> > > ...
> > > 
> > >> > innerWidth="{myOtherObject.otherWidth}" />
> > >   
> > > 
> > > 
> > > Either approach should take care of the
> > > initialization issues you are
> > > seeing.  If you want to provide specific sample
> code
> > > showing the
> > > problem, I can try to give more details.
> > > 
> > > 
> > > Hoping that helps,
> > > Doug
> > > 
> > > --- In flexcoders@yahoogroups.com, G 
> > > wrote:
> > > >
> > > > If I haven't bored you yet, I would love to
> tell
> > > you
> > > > exactly what the issue is.  For a long time
> now
> > > we've
> > > > occasionally seen very strange behavior.  As I
> > > > described before, you'll write something, get
> > > > everything working perfectly, then do a clean
> > > build
> > > > before deploying and suddenly something
> > > disappears. 
> > > > The problem is clearly that some properties
> are
> > > not
> > > > being initialized properly.  I can make it
> happen
> > > > regularly and predictably right now.  I do a
> clean
> > > > build, and one component's x & y are not set,
> so
> > > they
> > > > show up in the upper left.  Then I "touch"
> that
> > > file
> > > > (I put the line "if (false) true;" in it), and
> now
> > > it
> > > > works.
> > > > 
> > > > There are two theories here in the office. 
> One is
> > > > that there is a 

[flexcoders] Re: TileList Bug Flex Final... pretty serious.

2006-07-28 Thread sufibaba

Gentlemen,

The following is the custom Item Renderer for the TileList control. The
function initImageBkColor() gets fired when the itemRenderer gets its
data from the TileList DataProvider.


-- Custom Item Renderer -



http://www.adobe.com/2006/mxml";
horizontalAlign="center"
verticalGap="0"
horizontalGap="0"
borderStyle=".5"
width="100"
height="150"
click="thumbClicked()"
horizontalScrollPolicy="off"
verticalScrollPolicy="off"
>





































--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Hah!  Guru... yeah right...
> 
> He's right, though, sufibaba, if could post your itemRenderer, that
might help us identify what TileList's problem is with it.
> 
> - Original Message - 
> From: Douglas Knudsen 
> To: flexcoders@yahoogroups.com 
> Sent: Friday, July 28, 2006 12:47 PM
> Subject: Re: [flexcoders] Re: TileList Bug Flex Final... pretty serious.
> 
> 
> You may need to override the setters and getters in your renderer. 
At least I have had to in teh past for this sort of thing.  I'd post
some code so some guru, or heavy coffee and red bull drinker,  can
maybe suggest something, eh? 
> 
> DK
> 
> 
> On 7/28/06, sufibaba <[EMAIL PROTECTED]> wrote:
> 
>   Yes, I am using a custom renderer.
> 
>   -thanks
> 
> 
>   --- In flexcoders@yahoogroups.com, "Douglas Knudsen"
>wrote:
>   >
>   > you using a custom item renderer?
>   >
>   > DK
>   >
>   > On 7/25/06, sufibaba  wrote:
>   > >
>   > > Hi ya,
>   > >
>   > > I found what seems to be a bug with the TileList Control. When
the 
>   > > TileList is resized, not all of the images that are in the
TileList
>   > > are displayed.  It seems that when TileList is made smaller,
in width
>   > > and height, the vertical scrollbar will only display some of the 
>   images.
>   > >
>   > > Has anyone seen this problem.  Is there a work around for this
bug?
>   > >
>   > > Any light cast on this is Greatly appreciated.
>   > >
>   > > - 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
>   > >
>   > >
>   > >
>   > >
>   > >
>   > >
>   > >
>   > >
>   >
>   >
>   > --
>   > Douglas Knudsen
>   > http://www.cubicleman.com
>   > this is my signature, like it?
>   >
> 
> 
> 
> 
> 
> 
> 
>   --
>   Flexcoders Mailing List
>   FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>   Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com
>   Yahoo! Groups Links 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>







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

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

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

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





[flexcoders] Re: Panel padding

2006-07-28 Thread bhaq1972
what happens if you remove the outer Canvas and make the panel 
borderStyle=none and paddingLeft=-10 and paddingRight=-10

--- In flexcoders@yahoogroups.com, "Devin Holloway" <[EMAIL PROTECTED]> 
wrote:
>
> still no effect :(
> 
> 
> --- In flexcoders@yahoogroups.com, "bhaq1972"  wrote:
> >
> > and make the panel borderStyle=none
> > 
> > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > >
> > > Hi Devin,
> > > 
> > > Try setting the Panel's borderThickness to 0.
> > > 
> > > -TH
> > > 
> > > --- In flexcoders@yahoogroups.com, "Devin Holloway"  
wrote:
> > > >
> > > > I have a panel with a datagrid in it. I don't want any space 
around
> > > > the datagrid and the panel sides, but can't seem to get rid 
of it. 
> > I
> > > > set all the padding option on the panel to 0, and it does 
nothing
> > > >
> > >
> >
>






--
Flexcoders Mailing 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: Different colors for text in combobox

2006-07-28 Thread Doug Lowder
Funny thing is, this is one thing that I think was much more
straightforward in 1.5 (once you know about the setPropertiesAt()
method) than it is in 2.  Sometimes seems like OOP overload for
something as simple as setting a background color; maybe it'll be a
candidate for change in a future update or release.

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Cool, just throwing out ideas.
> 
> Thanks,
> Tim
> 
> --- In flexcoders@yahoogroups.com, "Doug Lowder"  
> wrote:
> >
> > Hi Tim,
> > 
> > The method in Flex 2 is considerably different than Flex 1.5's.  
> The
> > setPropertiesAt() method in 1.5 is inherited from 
> ScrollSelectList, and
> > is the recommended way to set the background color for items in
> > ComboBoxes and DataGrids.
> > 
> > 
> http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclas
> ses\
> > /ScrollSelectList.html#setPropertiesAt
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > >
> > >
> > > Hi,
> > >
> > > A labelFunction only allows you to format text, not apply 
> styles. 
> > Here
> > > is an example using an itemRenderer.  It's for 2.0, but 
> hopefully it
> > > will give you some ideas.
> > >
> > >
> > http://www.cflex.net/showfiledetails.cfm?
> ChannelID=1&Object=File&objectI\
> > \
> > > D=447
> > >
> >  ChannelID=1&Object=File&object\
> > \
> > > ID=447>
> > >
> > > -TH
> > >
> > > --- In flexcoders@yahoogroups.com, "Doug Lowder" douglowder@ 
> wrote:
> > > >
> > > > Use the setPropertiesAt() method of the combobox's dropdown
> > property:
> > > >
> > > >  > > > creationComplete="setColors(event.target.dropdown)" />
> > > >
> > > > 
> > > > 
> > > > 
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com, "jcarrera04" jcarrera04@ 
> wrote:
> > > > >
> > > > > I am using Flex 1.5.
> > > > > I want to have differnent colors for the strings displayed 
> in the
> > > > > combobox and drop down menu. I tries manipulating the
> > labelFunction
> > > > > but I don't know a way to specify color. Also, I tried 
> creating a
> > > > > list renderer but that didn't seem to do the trick. Any 
> ideas?
> > > > >
> > > >
> > >
> >
>







--
Flexcoders Mailing 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: Panel padding

2006-07-28 Thread Devin Holloway
still no effect :(


--- In flexcoders@yahoogroups.com, "bhaq1972" <[EMAIL PROTECTED]> wrote:
>
> and make the panel borderStyle=none
> 
> --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> >
> > Hi Devin,
> > 
> > Try setting the Panel's borderThickness to 0.
> > 
> > -TH
> > 
> > --- In flexcoders@yahoogroups.com, "Devin Holloway"  wrote:
> > >
> > > I have a panel with a datagrid in it. I don't want any space around
> > > the datagrid and the panel sides, but can't seem to get rid of it. 
> I
> > > set all the padding option on the panel to 0, and it does nothing
> > >
> >
>






--
Flexcoders Mailing 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: Panel padding

2006-07-28 Thread bhaq1972
and make the panel borderStyle=none

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Hi Devin,
> 
> Try setting the Panel's borderThickness to 0.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "Devin Holloway"  wrote:
> >
> > I have a panel with a datagrid in it. I don't want any space around
> > the datagrid and the panel sides, but can't seem to get rid of it. 
I
> > set all the padding option on the panel to 0, and it does nothing
> >
>






--
Flexcoders Mailing 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: Panel padding

2006-07-28 Thread Devin Holloway
that doesn't work either. it just gets rid of the 1px solid border I have.




















--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> Hi Devin,
> 
> Try setting the Panel's borderThickness to 0.
> 
> -TH
> 
> --- In flexcoders@yahoogroups.com, "Devin Holloway"  wrote:
> >
> > I have a panel with a datagrid in it. I don't want any space around
> > the datagrid and the panel sides, but can't seem to get rid of it. I
> > set all the padding option on the panel to 0, and it does nothing
> >
>






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




initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()?

2006-07-28 Thread Doug Lowder
You're right, I didn't read carefully enough.  It's a big thread  :)
I guess it boils down to best practices, and knowing which approaches
will work and which are inherently flawed - not an easy thing
sometimes.  Seems we're in agreement on the programmer error point; if
the purpose of the original code was to bind one object's property to
another's, it certainly doesn't get the job done.  Knowing why it
doesn't, and how to fix it so it does, is part of the learning process
everyone has to go through.

I know none of this has anything to do with constructObject2, init,
createChildren, and initialization order in general, but in my mind
any application that depends on the order of initialization probably
could stand to be redesigned.

Thanks for letting me share my opinion!

Doug

--- In flexcoders@yahoogroups.com, G <[EMAIL PROTECTED]> wrote:
>
> Doug, certainly I welcome you to join in the
> conversation.  The more heads and opinions the better.
>  But I'm afraid you didn't read my post carefully
> enough--my entire point was that I believe our
> problems are programmer error rather than a compiler
> bug.  That was the central question of my email, and
> the code I included was to illustrate how easy it is
> to make such errors!
> 
> The purpose of this thread is to try to gain a better
> understanding of the order of initialization in
> Flex--the interactions between constructObject2, init,
> createChildren, and how those interact with bindings.
> 
> 
> Greg
> 
> 
> --- Doug Lowder <[EMAIL PROTECTED]> wrote:
> 
> > Sorry for butting into this thread, and no offense
> > intended, but
> > personally I would describe this as programmer error
> > and not a
> > compiler bug.  You are building into MyFirstObject a
> > dependancy on
> > another object without taking into account the
> > initialized state of
> > the dependant object.  I see two ways to correct
> > this:
> > 
> > 1. Check the state of the property of the dependant
> > object when you
> > access it.  You can do this just by seeing if the
> > property you are
> > accessing has been defined, and taking appropriate
> > action if not.
> > 
> > 
> > 
> >  public var innerWidth: Number;
> >  public function handleInit() {
> >  if (myOtherObject.outerWidth != undefined) {
> >  innerWidth=myOtherObject.otherWidth;
> >  }
> >  else {
> >  doLater(this, "handleInit");
> >  }
> >  }
> > 
> > 
> > 2. The second, and in my opinion better, way is to
> > create components
> > and utilize binding from the parent rather than the
> > component.
> > 
> > // component MyFirstObject
> > 
> > 
> >  public var innerWidth: Number;
> > 
> > 
> > 
> > 
> > // component MyOtherObject
> > 
> > 
> >  public var otherWidth: Number;
> >  public function handleInit() {
> >  otherWidth=55;
> >  }
> > 
> > 
> > 
> > // application that uses the components
> > ...
> > 
> >> innerWidth="{myOtherObject.otherWidth}" />
> >   
> > 
> > 
> > Either approach should take care of the
> > initialization issues you are
> > seeing.  If you want to provide specific sample code
> > showing the
> > problem, I can try to give more details.
> > 
> > 
> > Hoping that helps,
> > Doug
> > 
> > --- In flexcoders@yahoogroups.com, G 
> > wrote:
> > >
> > > If I haven't bored you yet, I would love to tell
> > you
> > > exactly what the issue is.  For a long time now
> > we've
> > > occasionally seen very strange behavior.  As I
> > > described before, you'll write something, get
> > > everything working perfectly, then do a clean
> > build
> > > before deploying and suddenly something
> > disappears. 
> > > The problem is clearly that some properties are
> > not
> > > being initialized properly.  I can make it happen
> > > regularly and predictably right now.  I do a clean
> > > build, and one component's x & y are not set, so
> > they
> > > show up in the upper left.  Then I "touch" that
> > file
> > > (I put the line "if (false) true;" in it), and now
> > it
> > > works.
> > > 
> > > There are two theories here in the office.  One is
> > > that there is a compiler bug in flex so that
> > bindings
> > > are not always properly recognized.  That's the
> > old
> > > pre-me theory.
> > > 
> > > My theory is that there is no problem with flex,
> > but
> > > that we are not properly initializing variables,
> > and
> > > that certain changes get made during
> > initialization
> > > "under the radar" of the binding mechanism.
> > > 
> > > First, it is easy to mistakenly break binding:
> > > 
> > > 
> > > 
> > > public var innerWidth: Number;
> > > public function handleInit() {
> > > innerWidth=myOtherObject.otherWidth;
> > > }
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > public var otherWidth: Number;
> > > public function handleInit() {
> > > otherWidth=55;
> > > }
> > > 
> > > 
> > > 
> > > Width in the Image component is properly bound to
> > > innerWidth--any time innerWidth changes, so should
> > > width.  The problem is, innerWidth only chang

Re: [flexcoders] Re: listData rowIndex ) [f2 final]

2006-07-28 Thread sinatosk



I bumped into a rowIndex problem myself today for some reason which ever row I select the rowIndex number is actually plus one for example if I have 5 rows in a DataGrid it's zero based so the indexes should be 0,1,2,3,4 if I select row number 2 which is index 1.. 
evt.rowIndex outputs 2 . not 1.. so when I select the last index which is 4.. it attempts to select index 5. but it can't so the flash player pops up with an error sayingRangeError: Index '5' specified is out of bounds.
the simple work around I've done for now is thisif ( evt.rowIndex < 0 ) return;var cur_idx:int = ( evt.rowIndex > 0 ) ? evt.rowIndex - 1 : 0;I think it's a bug because it says in the documentation that rowIndex is zero-based when clearly it's not :p...
On 05/07/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:













  



Unfortunately not an option.

Can anyone else confirm this is a bug? Or am I doing something stupid?

-Original Message-
From: "Tom Chiverton" <[EMAIL PROTECTED]>

Sent: Wednesday, July 5, 2006 3:12 pm
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: listData rowIndex ) [f2 final]

On Wednesday 05 July 2006 14:02, [EMAIL PROTECTED] wrote:
> problem would arise when multiple rows are selected. How would I know
> which itemRenderer was clicked on?

Don't allow multiple selects 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.

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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links


  















__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Re: Different colors for text in combobox

2006-07-28 Thread Tim Hoff
Cool, just throwing out ideas.

Thanks,
Tim

--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> 
wrote:
>
> Hi Tim,
> 
> The method in Flex 2 is considerably different than Flex 1.5's.  
The
> setPropertiesAt() method in 1.5 is inherited from 
ScrollSelectList, and
> is the recommended way to set the background color for items in
> ComboBoxes and DataGrids.
> 
> 
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclas
ses\
> /ScrollSelectList.html#setPropertiesAt
> 
> 
> --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> >
> >
> > Hi,
> >
> > A labelFunction only allows you to format text, not apply 
styles. 
> Here
> > is an example using an itemRenderer.  It's for 2.0, but 
hopefully it
> > will give you some ideas.
> >
> >
> http://www.cflex.net/showfiledetails.cfm?
ChannelID=1&Object=File&objectI\
> \
> > D=447
> >
>  \
> > ID=447>
> >
> > -TH
> >
> > --- In flexcoders@yahoogroups.com, "Doug Lowder" douglowder@ 
wrote:
> > >
> > > Use the setPropertiesAt() method of the combobox's dropdown
> property:
> > >
> > >  > > creationComplete="setColors(event.target.dropdown)" />
> > >
> > > 
> > > 
> > > 
> > >
> > >
> > > --- In flexcoders@yahoogroups.com, "jcarrera04" jcarrera04@ 
wrote:
> > > >
> > > > I am using Flex 1.5.
> > > > I want to have differnent colors for the strings displayed 
in the
> > > > combobox and drop down menu. I tries manipulating the
> labelFunction
> > > > but I don't know a way to specify color. Also, I tried 
creating a
> > > > list renderer but that didn't seem to do the trick. Any 
ideas?
> > > >
> > >
> >
>






--
Flexcoders Mailing 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] trees, UpdateDisplayList and keeping a tree open

2006-07-28 Thread Tom Ortega



Hi all,So, I'm trying to figure out how to refesh a tree's DataProvider and keep it open.I thought trapping the trees.opentItems was my answer.  I'd trap the value before the refresh, then set it back to that value after the refesh:
                    tempOpen = mainTree.openItems;                    mainTreeDP = event.result;                    mainTree.validateNow();                    mainTree.openItems = tempOpen;But that didn't work.
I think the reason why is because the code gets executed before the tree display updates itself.My dilemna now seems twofold:1. I take it there's not a built in way to regress a tree back to it's open states?
2. How can I know when the update to the display is done, so I can manually traverse the tree and reopen everything?The functionality is there because if you expand every node, the collapse the root, then open the root, everything is still expanded.  If I can just figure out how to mimic that in my ActionScript, I'd be set.
Any ideas?Thanks,Tom

__._,_.___





--
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: Different colors for text in combobox

2006-07-28 Thread Doug Lowder
Hi Tim,

The method in Flex 2 is considerably different than Flex 1.5's.  The
setPropertiesAt() method in 1.5 is inherited from ScrollSelectList, and
is the recommended way to set the background color for items in
ComboBoxes and DataGrids.

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses\
/ScrollSelectList.html#setPropertiesAt


--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> A labelFunction only allows you to format text, not apply styles. 
Here
> is an example using an itemRenderer.  It's for 2.0, but hopefully it
> will give you some ideas.
>
>
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectI\
\
> D=447
>
 ID=447>
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "Doug Lowder" douglowder@ wrote:
> >
> > Use the setPropertiesAt() method of the combobox's dropdown
property:
> >
> >  > creationComplete="setColors(event.target.dropdown)" />
> >
> > 
> > 
> > 
> >
> >
> > --- In flexcoders@yahoogroups.com, "jcarrera04" jcarrera04@ wrote:
> > >
> > > I am using Flex 1.5.
> > > I want to have differnent colors for the strings displayed in the
> > > combobox and drop down menu. I tries manipulating the
labelFunction
> > > but I don't know a way to specify color. Also, I tried creating a
> > > list renderer but that didn't seem to do the trick. Any ideas?
> > >
> >
>






--
Flexcoders Mailing 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: Flex Application Deployment Error

2006-07-28 Thread Dave Wolf
Since your SWF is being loaded from disk (as per the error message)
adding localhost to the domain list won't help because localhost !=
file:// URI.  Try just opening it all the way up for right now.




http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

   


Does that work for you?

-- 
Dave Wolf
Cynergy Systems, Inc.
Adobe Flex Alliance Partner
http://www.cynergysystems.com
http://www.cynergysystems.com/blogs

Email:  [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, "mvbaffa" <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> I have a very strange deployment problem with my Flex 2.0 
> application. I hope someone can help.
> 
> I have developed an application with AMFPHP. In my development 
> machine my services reside in my 
> wwwroot (I use IIS) directory and I have created a Virtual Directory 
> pointing to it. 
> My Flex application is in a directory in drive D:. 
> 
> Everything is working OK and now I have to move the application to 
> my production server. I have put 
> my services in wwwroot of this server and I have also created the 
> virtual directory and my Flex 
> application is in a directory in Drive C: 
> 
> The AMFPHP gateway is in my localhost so Flex application and 
> services are in the same machine. But in my
> production server the application is not running. Even when I have 
> installed flex and run the application
> from inside it I receive the same error.
> 
> The error is the following:
> 
> Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: 
> Security sandbox violation: 
> file://C:\XXX\YYY\bin\ZZZ.swf cannot load data from 
> http://localhost/KKK/gateway.php.
> 
> Where XXX: is my Flex Applications Directory
>   : is my Application Directory
>   ZZZ: my Flex Application
>   KKK: Virtual Directory where the services reside
> 
> To try to resolve the problem I have put a crossdomain.xml in the 
> wwwroot directory of my IIS. The 
> crossdomain content is listed below:
> 
> 
> 
>  SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
> 
>
>
>
> 
> 
> And it is still with the same error. I don't know what to do.
> 
> Thanks in advance
>







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

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

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

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




[flexcoders] Re: Panel padding

2006-07-28 Thread Tim Hoff
Hi Devin,

Try setting the Panel's borderThickness to 0.

-TH

--- In flexcoders@yahoogroups.com, "Devin Holloway" <[EMAIL PROTECTED]> wrote:
>
> I have a panel with a datagrid in it. I don't want any space around
> the datagrid and the panel sides, but can't seem to get rid of it. I
> set all the padding option on the panel to 0, and it does nothing
>







--
Flexcoders Mailing 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: initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()?

2006-07-28 Thread G
Doug, certainly I welcome you to join in the
conversation.  The more heads and opinions the better.
 But I'm afraid you didn't read my post carefully
enough--my entire point was that I believe our
problems are programmer error rather than a compiler
bug.  That was the central question of my email, and
the code I included was to illustrate how easy it is
to make such errors!

The purpose of this thread is to try to gain a better
understanding of the order of initialization in
Flex--the interactions between constructObject2, init,
createChildren, and how those interact with bindings.


Greg


--- Doug Lowder <[EMAIL PROTECTED]> wrote:

> Sorry for butting into this thread, and no offense
> intended, but
> personally I would describe this as programmer error
> and not a
> compiler bug.  You are building into MyFirstObject a
> dependancy on
> another object without taking into account the
> initialized state of
> the dependant object.  I see two ways to correct
> this:
> 
> 1. Check the state of the property of the dependant
> object when you
> access it.  You can do this just by seeing if the
> property you are
> accessing has been defined, and taking appropriate
> action if not.
> 
> 
> 
>  public var innerWidth: Number;
>  public function handleInit() {
>  if (myOtherObject.outerWidth != undefined) {
>  innerWidth=myOtherObject.otherWidth;
>  }
>  else {
>  doLater(this, "handleInit");
>  }
>  }
> 
> 
> 2. The second, and in my opinion better, way is to
> create components
> and utilize binding from the parent rather than the
> component.
> 
> // component MyFirstObject
> 
> 
>  public var innerWidth: Number;
> 
> 
> 
> 
> // component MyOtherObject
> 
> 
>  public var otherWidth: Number;
>  public function handleInit() {
>  otherWidth=55;
>  }
> 
> 
> 
> // application that uses the components
> ...
> 
>innerWidth="{myOtherObject.otherWidth}" />
>   
> 
> 
> Either approach should take care of the
> initialization issues you are
> seeing.  If you want to provide specific sample code
> showing the
> problem, I can try to give more details.
> 
> 
> Hoping that helps,
> Doug
> 
> --- In flexcoders@yahoogroups.com, G <[EMAIL PROTECTED]>
> wrote:
> >
> > If I haven't bored you yet, I would love to tell
> you
> > exactly what the issue is.  For a long time now
> we've
> > occasionally seen very strange behavior.  As I
> > described before, you'll write something, get
> > everything working perfectly, then do a clean
> build
> > before deploying and suddenly something
> disappears. 
> > The problem is clearly that some properties are
> not
> > being initialized properly.  I can make it happen
> > regularly and predictably right now.  I do a clean
> > build, and one component's x & y are not set, so
> they
> > show up in the upper left.  Then I "touch" that
> file
> > (I put the line "if (false) true;" in it), and now
> it
> > works.
> > 
> > There are two theories here in the office.  One is
> > that there is a compiler bug in flex so that
> bindings
> > are not always properly recognized.  That's the
> old
> > pre-me theory.
> > 
> > My theory is that there is no problem with flex,
> but
> > that we are not properly initializing variables,
> and
> > that certain changes get made during
> initialization
> > "under the radar" of the binding mechanism.
> > 
> > First, it is easy to mistakenly break binding:
> > 
> > 
> > 
> > public var innerWidth: Number;
> > public function handleInit() {
> > innerWidth=myOtherObject.otherWidth;
> > }
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > public var otherWidth: Number;
> > public function handleInit() {
> > otherWidth=55;
> > }
> > 
> > 
> > 
> > Width in the Image component is properly bound to
> > innerWidth--any time innerWidth changes, so should
> > width.  The problem is, innerWidth only changes
> one 
> > time, in handleInit, when it is set, not bound,
> > to MyOtherObject.otherWidth.  If
> > MyFirstObject.handleInit() is called before
> > MyOtherObject.handleInit(), innerWidth will be
> > undefined, and never changed again.
> > 
> > The second issue, I believe, is that the bindings
> are
> > only executed at a particular time during the
> > initialization process.  (Specifically, in
> > constructObject2, after createChildren.)  It is
> > possible, as I said, to get that out of order so
> that
> > the binding mechanism "fires" too soon, and not
> again.
> > 
> > So anyway, those are the two competing theories
> around
> > here: compiler bug, or subtleties in
> initialization
> > order that we do not appreciate.
> > 
> > Either way, I believe it is clear that binding is
> not
> > as robust as we'd wish, during initialization. 
> And at
> > any rate, understanding better how something works
> is
> > always a good thing!
> > 
> > Greg
> > 
> > 
> > 
> > 
> > --- JesterXL <[EMAIL PROTECTED]> wrote:
> > 
> > > 2 things to do to ensure you're not nuts.
> > > 
> > > 1. Add &recompile=true to the end of the URL
> string.
> > >  S

[flexcoders] Re: Different colors for text in combobox

2006-07-28 Thread Tim Hoff



Hi,
A labelFunction only allows you to format text, not apply styles.  Here is an example using an itemRenderer.  It's for 2.0, but hopefully it will give you some ideas.
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=447 
-TH--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote:>> Use the setPropertiesAt() method of the combobox's dropdown property:> > > creationComplete="setColors(event.target.dropdown)" />> > >  > > > > --- In flexcoders@yahoogroups.com, "jcarrera04" jcarrera04@ wrote:> >> > I am using Flex 1.5.> > I want to have differnent colors for the strings displayed in the > > combobox and drop down menu. I tries manipulating the labelFunction > > but I don't know a way to specify color. Also, I tried creating a > > list renderer but that didn't seem to do the trick. Any ideas?> >>

__._,_.___





--
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] Panel padding

2006-07-28 Thread Devin Holloway
I have a panel with a datagrid in it. I don't want any space around
the datagrid and the panel sides, but can't seem to get rid of it. I
set all the padding option on the panel to 0, and it does nothing






--
Flexcoders Mailing 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] show points on linechart

2006-07-28 Thread Matt Horn
Do you mean you want it to show the labels (ie, the values) at each point of a 
line at the same time? Or do you mean your want it to show, say, a slightly 
larger square or some shape at each point on the line?

For the latter, there are examples in the charting chapters of the DevApps 
guide. For the former, you need to write a custom item renderer. Here's one 
that I adapted from Ely's sample (on quietlyscheming.com) -- his original 
example was for a column, but this one works for lines.

hth,

matt horn
flex docs

-LabelRenderer2.as
package
{

import flash.display.Graphics;
import flash.geom.Rectangle;
import mx.charts.ChartItem;
import mx.charts.chartClasses.GraphicsUtilities;
import mx.core.IDataRenderer;
import mx.graphics.IFill;
import mx.graphics.IStroke;
import mx.skins.ProgrammaticSkin;
import mx.controls.Label;
import mx.core.UIComponent;
import mx.charts.LineChart;
import mx.charts.series.items.LineSeriesItem;

public class LabeledRenderer2 extends UIComponent implements IDataRenderer
{
private var _label:Label;

public function LabeledRenderer2():void
{
super();
_label = new Label();
addChild(_label);
_label.setStyle("color",0x00);
}
private var _chartItem:ChartItem;

public function get data():Object
{
return _chartItem;
}

public function set data(value:Object):void
{
if (_chartItem == value)
return;
_chartItem = ChartItem(value);

if(_chartItem != null)
_label.text = LineSeriesItem(_chartItem).yValue.toString();
}

private static const fills:Array = [0xFF,0x00FF00,0xFF,
0x00,0xFF00FF,0x00,
0xAAFFAA,0xFF,0xFF]; 
override protected function updateDisplayList(unscaledWidth:Number,
  unscaledHeight:Number):void
{
super.updateDisplayList(unscaledWidth, unscaledHeight);
  

_label.setActualSize(_label.getExplicitOrMeasuredWidth(),_label.getExplicitOrMeasuredHeight());
_label.move(unscaledWidth - _label.getExplicitOrMeasuredWidth(),
unscaledHeight/2 - _label.getExplicitOrMeasuredHeight()/2);
}

}

}


LineChart.mxml-

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

import mx.graphics.Stroke;

[Bindable]
public var expenses:Object = [{Month: "Jan", Profit: 2000, Expenses: 
1500, Amount: 450},
  {Month: "Feb", Profit: 1000, Expenses: 200, Amount: 600},
  {Month: "Mar", Profit: 1500, Expenses: 500, Amount: 300}];

public var s:Stroke = new Stroke(0x001100); 
















 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jesús Iglesias
> Sent: Friday, July 28, 2006 3:03 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] show points on linechart
> 
> Hi, 
>  
> I am starting with chart components and I am a little missing.
>  
> How to show the points of a lineseries on a linechart?
>  
>  
> I have my line graph but I want it to show all de points that 
> generate the line, as when you are over the point with mouse 
> but all the points and forever.
>  
> Thanks.
>  
> jesus
> 
>  
> 


--
Flexcoders Mailing 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: rotation on ?

2006-07-28 Thread Renaun Erickson
It worked for me, I tried the rotation attribute and the Rotate effect.



http://www.adobe.com/2006/mxml"; 
initialize="Font.registerFont(arial_font);">

























Renaun
http://renaun.com


--- In flexcoders@yahoogroups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> I can't seem to get rotation to work properly for  (or any
other
> object that has text in it, including containers with text objects
in them).
>  
> I have followed Adobe's advice, and embedded a font. That allows me to
> rotate text 0-90 degrees clockwise, but anything over 90 degrees, or
> anything counter-clockwise makes the text disappear. Here's some code:
>  
>  
>   
>  
> 
>  rotation="90"/>
>  
>  
> Any suggestions?
>  
> Shan
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date:
7/27/2006
>






--
Flexcoders Mailing 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] New Questions

2006-07-28 Thread richmcgillicuddy
Made progress but have a new set if questions:

1. Within a sprite, is the best way to have part of the sprite drawing
 as text to have an internal label or text field object inside of the
sprite class? Is there a way to do a graphics.Drawtext or TextOut?

2. Same for an image, if I have a sprite that has 2-4 different
objects, shapes as part of it and one is an image, what is the best
way to load that? Just an image control?

3. In a sprite, I seem to always have a square graphic (makes sense)
but if I pass the graphic to DrawDropShadow, it works fine except it
draws a square drop shadow. Let's say I have a circle and want a
circle drop shadow, how can that be done?

4. Why no tooltips for sprites? Why no HTML tool tips? Both can be
created I guess but they would seem to make sense.

5. General mem management question if I have a function that does :

{
var array1:Array = new Array [1,2,3]
// do stuff

}

Does the array just dissappear with garbage collection in this
instance? Do i need to set it to null?

6. when I add a label to my sprite, I have trouble setting the font
and font size. I am use to something like label1.font.size or
label1.fontsize. I try to access this and it does not work properly.

7. Back to my panning example. I have a image (lets say 2000x2000) and
a view port that is 400x400 making part of the map visible. I want the
map to slide in the background to another point. Is there an easy way
to do this?

8. Simple flash stuff. How do I access variables passed in to control
from HTML?




--- In flexcoders@yahoogroups.com, "richmcgillicuddy" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> 
> I am new to the group and to Flex/Flash. We have a mapping tool that
> we had created about a year back that uses flash 8. We want to move up
> to Flex 2 for a number of reasons. I am trying to create the mapping
> hello world application. We use a standard png image as the background
> for the map. I am trying to create a simple image in a panel that has
> a series of buttons to the left where I can zoom in/out and pan in all
> directions. The zoom in/out is working fine (although I have questions
> regarding that) but the pan is not working. My code is attached to the
> bottom of this email message. Logically the steps I need to go through
> to get this to work are:
> 
> 1. Simple map - Image management Pan Zoom Possibly overview window
> similar to Google or Yahoo.
> 2. Create an object that is a member of that map. This object needs to
> be able to display itself as a number of different types (Images,
> dots, characters). After reading through tutorials, I can create my
> own object that descends from a sprite. My questions here are will the
> dot zoom and coordinate based on the zoom, pan of the background map?
> How can I make that happen? 
> 3. More complex tooltips than the standard tooltips. I want a tooltip
> that displays about 5-10 lines of information and possibly links to
> other areas of the web site. Would you just create a separate window
> to act as a tooltip window and place whatever information in the
> window you need?
> 4. Incorporating effects to the movements of these objects. I've seen
> the component explorer, I want the movement of these items on the map
> to slide from one spot to the other. The demo app in the explorer
> works well. How would you combine multiple effects to happen at the
> same time?
> 
> Any help would be greatly appreciated.
> 
> 
> Step 1 Source Code
> 
> 
> 
> http://www.adobe.com/2006/mxml";
> layout="horizontal">
>
> 
>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>cornerRadius="33" backgroundColor="#c0c0c0" id="myPanel" title="Map
> Basics 101" fontFamily="Georgia" fontSize="16">
>height="601" source="SB memorial map.png" scaleContent="false"
> id="myMap"/>
>   
>   
> 
>







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

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

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

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




Re: [flexcoders] Re: using E4X to filter data in a datagrid

2006-07-28 Thread John Wilker



that is what I mean :) I'll give that a shot. ThanksOn 7/28/06, ben.clinkinbeard <[EMAIL PROTECTED]
> wrote:












  



I don't have the IDE in front of me but I would think something like
this should work:

function changeDP(attrName):void
{
var list:XMLList = baseXml..myNodes.([EMAIL PROTECTED]);
myDG.dataProvider = list;
}

Is that what you mean?

HTH,
Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "John Wilker" <[EMAIL PROTECTED]> wrote:
>
> I'm working on a project that has a datagrid, who gets data from an XML
> object.
> 
> I'm trying to figure out how to use E4X to filter the XML data I got and
> update the datagrid so I have less roundtrips to the server. I've found
> several examples in language reference, but those make use of either
> directly binding to an E4X statement, or using MX binding to do the
same.
> 
> I'd like to have a function, that will filter my large XML dataset,
using
> E4X (ie, get just the nodes that are of type XYZ) and use that to
populate
> the datagrid.
> 
> Hopefully that makes sense?
> 
> -- 
> John Wilker
> Vice President Software Development/Writer
> Red Omega Solutions, Inc.
> www.johnwilker.com / www.red-omega.com
> 
> "Everything changes, nothing remains without change." ~Buddha c.483 bc
>


  













-- John WilkerVice President Software Development/WriterRed Omega Solutions, Inc.www.johnwilker.com / 
www.red-omega.com"Everything changes, nothing remains without change." 	~Buddha c.483 bc

__._,_.___





--
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: Backend/Frontend Application Development (Cairngorm)

2006-07-28 Thread Douglas Knudsen



right, I was thinking of maybe a app with 10 sub apps, 3 of which may need a specific dataVO returned from a specific command.  Wouldn't want teh other 7 getting bulked up with unneccessary dataVOs, eh?  Here's a though, could pass a model reference in the event.  Would this 'couple' things a bit though?
I suppose could just have a model just for these three subapps though.  KISS, eh?DKOn 7/28/06, thunderstumpgesatwork <
[EMAIL PROTECTED]> wrote:Seems like in most cases, a shared command would 'speak' to the shared
model.Thunder--- In flexcoders@yahoogroups.com, "Douglas Knudsen"<[EMAIL PROTECTED]> wrote:>> right...but hot to get a shared command to speak to a individual model?
>> DK>> On 7/27/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote:> >> > Hey guys,> >> > I'm just starting with Cairngorm also, and I've never seen this done
> > specifically, but I don't see any reason you can't have multiple> > ModelLocators... they're just singleton classes really.> >> > So, you could for instance have a shared ModelLocator with state that
> > is shared between apps. Then state specific to a particular app> > (client or server) could have their own ML. SO:> >> > com.company.project.shared.model.SHModLoc> > com.company.project.admin.model.AModLoc
> > com.company.project.client.model.CModLoc> >> >> > what do you all think of this approach?> >> > Thunder> >> >> > --- In 
flexcoders@yahoogroups.com, "Douglas Knudsen"> >  wrote:> > >> > > righto on that.  Say I have a command GetUserCommand() that returns> > a userVO
> > > for the current user in session.  This is returned to the apps> > modellocator,> > > has stuff like name, etc, in it.> > >> > > so we have> > > 
com.company.project.admin.model.AModLoc> > > com.company.project.client.model.CModLoc> > >> > >> > > How does GetUserCommand()  stick the userVO result into the proper
> > model?> > > Typically the model is hardcoded in the Command, eh?  What I've done> > so far> > > is used a generic model so to speak in> > > com.company.project.model.GModLocsay
.  Then the client app and admin> > > app can access it as well as their> > > respective model.> > >> > >> > > DK> > >> > >> > > On 7/27/06, JesterXL  wrote:
> > > >> > > >  // Assuming your in your Client Application for example> > > > import com.company.project.admin.events.SomeEvent;> > > > import com.company.project.client.events.ClientEvent
;> > > >> > > > var e:SomeEvent = new SomeEvent(SomeEvent.EVENT_NAME, false,true);> > > > CairngormEventDispatcher.getInstance().dispatchEvent(e);> > > >
> > > > You could do the reverse in the admin.  As a GUI guy, Iprobably would> > > > care more about sharing commonly used View's and utility classes> > vs. events> > > > and commands that were probably created for their specific
> > projects, but it> > > > could be done.> > > >> > > > - Original Message - *From:* Douglas> > Knudsen> > > > *To:* 
flexcoders@yahoogroups.com> > > > *Sent:* Thursday, July 27, 2006 9:25 AM> > > > *Subject:* Re: [flexcoders] Backend/Frontend Application
Development> > > > (Cairngorm)> > > >> > > > curious how to share resources with this, say using Cairngorm. How to> > > > share a command that returns data to a modellocator?  How to
> > return th edata> > > > to the current model locator for a sub app?> > > >> > > > DK> > > >> > > > On 7/27/06, JesterXL  wrote:
> > > > >> > > > > Put 'em in seperate projects, or sub-projects.  Like:> > > > >> > > > > com.company.project.admin.*> > > > > 
com.company.project.client.> > > > >> > > > > Or:> > > > >> > > > > com.company.projectadmin.*> > > > > com.company.projectclient.*
> > > > >> > > > > You should take advantage of the fact you may be using similiar> > code;> > > > > both> > > > > of the above in the same Flex project allows you to easily
do that.> > > > >> > > > > - Original Message -> > > > > From: "Stefan Schmalhaus" > > > > > To: <
flexcoders@yahoogroups.com>> > > > > Sent: Thursday, July 27, 2006 4:38 AM> > > > > Subject: [flexcoders] Backend/Frontend Application Development> > > > > (Cairngorm)
> > > > >> > > > >> > > > > I'm going to develop a Flex (Cairngorm-based) intranet> > application for> > > > > training resources. There will be a backend part for user and
> > content> > > > > administration, and there will be a frontend for the end user.> > > > >> > > > > Both parts, backend and fronted, will presumably share a lot
of the> > > > > underlying data structure, value objects, views, etc. They will> > > > > definitely use the same AMFPHP services. What's the best way to> > tackle> > > > > this? Should I treat them as two different Flex projects? Or
can I> > > > > develop them within one Flex project but with two different MXML> > > > > application files?> > > > >> > > > > Your ideas and thoughts are very much appreciated.
> > > > >> > > > > Stefan> > > > >> > > > >> > > > >> > > > >> > > > >> > > > > --
> > > > > Flexcoders Mailing List> > > > > FAQ:> > http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t

[flexcoders] Re: Not getting code hinting for Cairngorm types

2006-07-28 Thread Renaun Erickson
Seems to work for me.  For example, in a the script tag of an
applicaiton tag I typed in:
var fc:FrontController = new FrontController();
fc.

When I hit CTRL-Space at the fc. I get the code hinting, you'll
"addCommand" in the code hinting which is a public method on the
FrontController.

Renaun
http://renaun.com

--- In flexcoders@yahoogroups.com, "jrjazzman23" <[EMAIL PROTECTED]> wrote:
>
> We're not getting code hinting for Cairngorm types in FB2.  I'm only
> referencing the swc file.  Do we need the source in order to get code
> hinting?
> 
> thanks
>







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

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

<*> 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] Command classes that use multiple delegates

2006-07-28 Thread Benoit Hediard
If your commnad is calling two different delegates, you might refactor it
into two independant commands and call them in a sequence.
The result would be nearly the same and it might me cleaner.

Benoit Hediard 

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la
part de jrjazzman23
Envoyé : vendredi 28 juillet 2006 18:49
À : flexcoders@yahoogroups.com
Objet : [flexcoders] Command classes that use multiple delegates

Hi,

In the case of a Command that uses multiple business delegates, what's best
practice for an onResult() knowing which remote call it's handling?  

thanks






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



 








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

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

<*> 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: Different colors for text in combobox

2006-07-28 Thread Doug Lowder
Use the setPropertiesAt() method of the combobox's dropdown property:




 



--- In flexcoders@yahoogroups.com, "jcarrera04" <[EMAIL PROTECTED]> wrote:
>
> I am using Flex 1.5.
> I want to have differnent colors for the strings displayed in the 
> combobox and drop down menu.  I tries manipulating the labelFunction 
> but I don't know a way to specify color.  Also, I tried creating a 
> list renderer but that didn't seem to do the trick.  Any ideas?
>






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

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

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

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





[flexcoders] Re: using E4X to filter data in a datagrid

2006-07-28 Thread ben.clinkinbeard
I don't have the IDE in front of me but I would think something like
this should work:

function changeDP(attrName):void
{
var list:XMLList = baseXml..myNodes.([EMAIL PROTECTED]);
myDG.dataProvider = list;
}

Is that what you mean?

HTH,
Ben
http://www.returnundefined.com/


--- In flexcoders@yahoogroups.com, "John Wilker" <[EMAIL PROTECTED]> wrote:
>
> I'm working on a project that has a datagrid, who gets data from an XML
> object.
> 
> I'm trying to figure out how to use E4X to filter the XML data I got and
> update the datagrid so I have less roundtrips to the server. I've found
> several examples in language reference, but those make use of either
> directly binding to an E4X statement, or using MX binding to do the
same.
> 
> I'd like to have a function, that will filter my large XML dataset,
using
> E4X (ie, get just the nodes that are of type XYZ) and use that to
populate
> the datagrid.
> 
> Hopefully that makes sense?
> 
> -- 
> John Wilker
> Vice President Software Development/Writer
> Red Omega Solutions, Inc.
> www.johnwilker.com / www.red-omega.com
> 
> "Everything changes, nothing remains without change." ~Buddha c.483 bc
>







--
Flexcoders Mailing 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] Command classes that use multiple delegates

2006-07-28 Thread JesterXL
Pass in a RelayResponder / Responder instead of the Command.  Like, 
flash.net.Responder, or your own custom class that implements Cairngorm's 
Responder.  Then, have that responder call specified onResult / onFault 
functions you've defined in your Command.

- Original Message - 
From: "jrjazzman23" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 28, 2006 12:49 PM
Subject: [flexcoders] Command classes that use multiple delegates


Hi,

In the case of a Command that uses multiple business delegates, what's
best practice for an onResult() knowing which remote call it's handling?

thanks






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








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

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

<*> 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] LocalConnection and complex data types

2006-07-28 Thread kevin_hammer
Hi,

I'm going to have to go down the Flex 2 / Flash 8 route to build my
next project. I'll be passing a lot of data between the two VMs and
I'd like to know if anyone has done that. Any suggestions on passing
complex data types coming to the AVM2 from Flex Data Services into a
SWF built in the Flash 8 IDE. I'm loading a single SWF using the
SWFLoader and using the whole LocalConnection technique described by
Adobe. I haven't done much testing with passing through complex types
yet and was hoping there was someone with insight to share.

--
Kevin Hammer







--
Flexcoders Mailing 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] Different colors for text in combobox

2006-07-28 Thread jcarrera04
I am using Flex 1.5.
I want to have differnent colors for the strings displayed in the 
combobox and drop down menu.  I tries manipulating the labelFunction 
but I don't know a way to specify color.  Also, I tried creating a 
list renderer but that didn't seem to do the trick.  Any ideas?





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

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

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

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





[flexcoders] Re: WebService Call

2006-07-28 Thread richmcgillicuddy
Yes,

I see the definition but with most XML parse errors (not just flex),
the error messages are difficult to track down. It is telling me that
it cannot add the node "". I'll get the exact error message and post
it later tonight. I'd prefer to use a WebService rather than an Service.


Rich

--- In flexcoders@yahoogroups.com, slangeberg <[EMAIL PROTECTED]> wrote:
>
> So when you point your browser to: http://localhost:9126/SOAP
> you are seeing the WSDL definition?
> 
> Scott
> 
> 
> On 7/28/06, richmcgillicuddy <[EMAIL PROTECTED]> wrote:
> >
> >Thanks for the pointers, they are really helpful. I have my own app
> > server and can tell that the flex application calls it, tries to
> > retrieve the wsdl file and then in flex it tells me that there is an
> > XML parsing error in the wsdl file. It this point, I am leaning
> > towards using simple XML since I can generate that if needed. Other
> > than download and testing SOAP wsdl validators and making sure it is
> > standard, i think the only other option is the straight XML.
> >
> > Rich
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > slangeberg  wrote:
> > >
> > > Yeah,
> > >
> > > Try something more like (I'm not sure what your 'FlexData'
object was
> > > supposed to refer to... ):
> > >
> > > 
> > >
> > >  > > id="wsTest"
> > > wsdl="http://localhost:9126/SOAP";
> > > fault="{trace(-1);}"
> > > result="{trace(1);}"/>
> > >
> > > 
> > >
> > >
> > > On 7/26/06, richmcgillicuddy  wrote:
> > > >
> > > > I have a simple web service calling a SOAP web service on my local
> > > > machine. The call looks like:
> > > >
> > > >  > > > wsdl="http://localhost:9126/SOAP";
> > > > load="wsTest.FlexData.getData()"
> > > > fault="trace(-1);" />
> > > >
> > > > It seems to hang waiting for localhost and if I let it wait long
> > > > enough, it will give me the following error:
> > > >
> > > > ReferenceError: Error #1069: Property getData not found on
> > > > mx.rpc.soap.mxml.Operation and there is no default value.
> > > > at Step2/__wsTest_load()
> > > > ...
> > > >
> > > > On the Web Server side, I am looking for client connects from
flash
> > > > and do not seem to get even the client connect. Any ideas?
> > > >
> > > > Is there anything that looks odd with the WebService statement?
> > > >
> > > > Rich
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > : : ) Scott
> > >
> >
> > 
> >
> 
> 
> 
> -- 
> 
> : : ) 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

<*> 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] Problem with Flex and CF web service

2006-07-28 Thread Rick Root
I'm finding this to be really frustrating.  I've been googling the error 
message and trying all kinds of things.  I even uninstalled just about 
everything (all jdk's and jre's, all versions of flash player and flash 
player active x controls, etc).. and then reinstalled Flex Builder 
standalone.. and I still can't figure this out.

I could really use some help here.

Rick

ricrootnc wrote:
> 
> (I posted this to flex@houseoffusion.com 
>  but there's more activity
> here)
> 
> I can't seem to debug this issue.
> 
> I've got a web service set up like this:
> 
>  wsdl="https://www.it.dev.duke.edu/components/dukemagsearch/checkMaili 
> 
> ng2.cfc?wsdl"
> useProxy="false">
>  fault="queryDBFault(event)"/>
>  fault="getListDataFault()"/>
> 
> 
> getListData() takes no args and runs fine, and populates my list
> boxes.
> 
> However, the queryDB() method causes a mysterious fault.
> 
> To call the web service, I'm actually using actionscript to set some
> variables and then pass them in as arguments to the .send() method,
> like
> this:
> 
> 
> ws.queryDB.send
> (RUNDATE,ENTITYID,LASTNAME,FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCL
> ASS);
> 
> I've also tried using the  tag with the arguments linked
> in there, to no avail.
> 
> I'm browsing the flex app locally using a FILE url (C:\Inetpub...)
> but this shouldn't affect anything because the getListData() web
> service responses just fine.
> 
> my fault function:
> 
> public function queryDBFault(e:Event):void
> {
> Alert.show(e.toString(), "Oops!", Alert.OK);
> }
> 
> produces the following alert:
> 
> [FaultEvent fault=[RPC Fault faultString="HTTP request error"
> faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
> type="ioError" bubbles=false cancelable=false eventPhase=2
> text="Error
> #2032: Stream Error, URL:
> https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cf 
> 
> c"].
> blah blah blah
> 
> Nothing shows up in the coldfusion application log or the exception
> log.
> 
> Anyone got any ideas?



--
Flexcoders Mailing 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] (another) flex debugger error

2006-07-28 Thread Rick Root
I'm trying to debug a problem I'm having (which I've posted about in 
another thread) so I put a breakpoint at my web service call:

ws.queryDB.send()

Then I step into, and the flex debugger window says "Source Not Found"

This makes it kind of hard for me to debug my problem.

Rick



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

<*> 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] Not getting code hinting for Cairngorm types

2006-07-28 Thread jrjazzman23
We're not getting code hinting for Cairngorm types in FB2.  I'm only
referencing the swc file.  Do we need the source in order to get code
hinting?

thanks





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

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

<*> 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] rotation on ?

2006-07-28 Thread Shannon Hicks





I can't seem to get 
rotation to work properly for  (or any other object that has text 
in it, including containers with text objects in them).
 
I have followed 
Adobe's advice, and embedded a font. That allows me to rotate text 0-90 degrees 
clockwise, but anything over 90 degrees, or anything counter-clockwise makes the 
text disappear. Here's some code:
 


 
 
Any 
suggestions?
 
Shan
__._,_.___





--
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.10.4/402 - Release Date: 7/27/2006
 


[flexcoders] Sorting data grid that has paging.

2006-07-28 Thread mthielman11
We have an issue we are trying to resolve.  We know that the datagrid by 
default has the 
ability to sort.  But this only works when all potential results are downloaded 
into the 
datagrid from the server.  ex.  User does a search that returns 425 results.  
We want to use a 
paging concept to limit results to say 25 records.  The sort needs to sort on 
all 425, not just 
the 25 visible in the grid.  Is there anythign in place or do we need to custom 
build 
something?  Has anyone seen a component that does this?  Thanks.





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

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

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

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




[flexcoders] Flex Application Deployment Error

2006-07-28 Thread mvbaffa
Hi All,

I have a very strange deployment problem with my Flex 2.0 
application. I hope someone can help.

I have developed an application with AMFPHP. In my development 
machine my services reside in my 
wwwroot (I use IIS) directory and I have created a Virtual Directory 
pointing to it. 
My Flex application is in a directory in drive D:. 

Everything is working OK and now I have to move the application to 
my production server. I have put 
my services in wwwroot of this server and I have also created the 
virtual directory and my Flex 
application is in a directory in Drive C: 

The AMFPHP gateway is in my localhost so Flex application and 
services are in the same machine. But in my
production server the application is not running. Even when I have 
installed flex and run the application
from inside it I receive the same error.

The error is the following:

Error #2044: Unhandled SecurityErrorEvent:. text=Error #2048: 
Security sandbox violation: 
file://C:\XXX\YYY\bin\ZZZ.swf cannot load data from 
http://localhost/KKK/gateway.php.

Where XXX: is my Flex Applications Directory
  : is my Application Directory
  ZZZ: my Flex Application
  KKK: Virtual Directory where the services reside

To try to resolve the problem I have put a crossdomain.xml in the 
wwwroot directory of my IIS. The 
crossdomain content is listed below:



http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>

   
   
   


And it is still with the same error. I don't know what to do.

Thanks in advance






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

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

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

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





Re: [flexcoders] Re: Flex Debug Error

2006-07-28 Thread eduardodias
Thank You

I reeinstalled plugins and everything worked well.


thunderstumpgesatwork escreveu:
> You using Eclipse 3.2 with Flex plugin? If so, see this thread:
>
> http://groups.yahoo.com/group/flexcoders/message/42280
>
> good luck. 
> Thunder
>
> --- In flexcoders@yahoogroups.com, eduardodias <[EMAIL PROTECTED]> wrote:
>   
>> Hi All,
>>
>> I am having problems when trying use the Flex Builder Debug. The Flex 
>> Builder show a error with this following message: An internal error 
>> occurred during: "Fetching children from debug target". Someone already 
>> had that problem?
>>
>> 
>
>
>
>
>
>
>
> --
> Flexcoders Mailing 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] Command classes that use multiple delegates

2006-07-28 Thread jrjazzman23
Hi,

In the case of a Command that uses multiple business delegates, what's
best practice for an onResult() knowing which remote call it's handling?  

thanks






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

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

<*> 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: what is beeing sent via ?

2006-07-28 Thread Vikas Bhatia



There is also this https://addons.mozilla.org/firefox/1290/On 7/28/06, ben.clinkinbeard <
[EMAIL PROTECTED]> wrote:












  



I strongly prefer http://kevinlangdon.com/serviceCapture/

Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "arnold_charming"
<[EMAIL PROTECTED]> wrote:
>
> Hi!
> 
> I'm using HTTPService class to send some form data to my server
> scripts. Is there any way how to find out what exactly (what variables
> and  values) are beeing send via HTTPService?
>


  















__._,_.___





--
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] scaleContent in SWFLoader bug with CFDocument

2006-07-28 Thread João Fernandes










Hi there,

 

I’m trying to load a 

 

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

2006-07-28 Thread Harald Dehn
unsubscribe


--
Flexcoders Mailing 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: what is beeing sent via ?

2006-07-28 Thread ben.clinkinbeard
I strongly prefer http://kevinlangdon.com/serviceCapture/

Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "arnold_charming"
<[EMAIL PROTECTED]> wrote:
>
> Hi!
> 
> I'm using HTTPService class to send some form data to my server
> scripts. Is there any way how to find out what exactly (what variables
> and  values) are beeing send via HTTPService?
>







--
Flexcoders Mailing 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] using E4X to filter data in a datagrid

2006-07-28 Thread John Wilker



I'm working on a project that has a datagrid, who gets data from an XML object.I'm trying to figure out how to use E4X to filter the XML data I got and update the datagrid so I have less roundtrips to the server. I've found several examples in language reference, but those make use of either directly binding to an E4X statement, or using MX binding to do the same.
I'd like to have a function, that will filter my large XML dataset, using E4X (ie, get just the nodes that are of type XYZ) and use that to populate the datagrid.Hopefully that makes sense?
-- John WilkerVice President Software Development/WriterRed Omega Solutions, Inc.www.johnwilker.com / www.red-omega.com
"Everything changes, nothing remains without change." 	~Buddha c.483 bc

__._,_.___





--
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] show points on linechart

2006-07-28 Thread Jesús Iglesias





Hi, 
 
I am starting with chart components and I am a 
little missing.
 
How to show the points of a lineseries on a 
linechart?
 
 
I have my line graph but I want it to show all de 
points that generate the line, as when you are over the point with mouse but all 
the points and forever.
 
Thanks.
 
jesus
__._,_.___





--
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: feature or security hole on flash sandBox?

2006-07-28 Thread Xavi Beumala



thanks matt
BTW this might be new on player 9.

Best
X.On 7/27/06, Matt Horn <[EMAIL PROTECTED]> wrote:
I think it has to do with the types of content you are loading. If Iunderstand the issue here, if the target asset is a content asset, suchas an image file, you do not need any specific permissions from thetarget domain to load its assets into your Flex application. If the
target asset is a data asset, such as an XML file, you must have thetarget domain's permission to access this asset.hth,matt hornflex docs> -Original Message-> From: 
flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com] On Behalf Of Xavi Beumala> Sent: Thursday, July 27, 2006 9:17 AM> To: 
flexcoders@yahoogroups.com> Subject: Re: [flexcoders] Re: feature or security hole on> flash sandBox?>> Sorrry,>> the quotation was taken from> 
http://www.adobe.com/devnet/flashplayer/articles/flash_player_> 9_security.pdf>  _9_security.pdf>  not from flash player 8 specification.>> X.>>> On 7/27/06, ben.clinkinbeard <[EMAIL PROTECTED]
> [EMAIL PROTECTED]> > wrote:>>   Hmm, I've not read enough about the newer security> models to be sure,>   I just assumed it was that way since earlier versions
> were. One thing>   I did notice though was that you said you're reading> from the security>   whitepaper for FP8. You should be reading about FP9> since that is what>   Flex and AS3 target.
>>   HTH,>   Ben>   http://www.returnundefined.com/> >>   --- In flexcoders@yahoogroups.com> flexcoders@yahoogroups.com> , "Xavi Beumala"
> <[EMAIL PROTECTED]> wrote:>   >>   > I think you're wrong. It's also working on web> server. And from>   local system>   > you've also restrictions. Just try an application
> running from the local>   > file system and consuming remote data throgh> HTTPService, it's going to>   > fail. But it's not failing with mx:Image.>   >>   > X.
>   >>   > On 7/27/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:>   > >>   > > There are no restrictions when running the file on> your local system.
>   > > Access it through a web server and your calls will fail.>   > >>   > > HTH,>   > > Ben>   > > 
http://www.returnundefined.com/> >   > >>   > > --- In 
flexcoders@yahoogroups.com> flexcoders@yahoogroups.com> , "Xavi Beumala"  wrote:>   > > >>   > > > Hi,
>   > > >>   > > > Today I've noticed that I can load images from> diferent domains>   (which>   > > > doesn't have a crossdomain file) without getting
> a security sandbox>   > > > violation error.>   > > >>   > > > For example, when running the following> application from my>   > > fileSystem I'm
>   > > > not receiving any error eventhough the domains> don't have de>   crossdomain>   > > > file (I also haven't trusted the file).>   > > >
>   > > > http://www.adobe.com/2006/mxml  ">   > > layout="vertical">>   > > > http://www.code4net.com/header/foto2.jpg
>  ">   > > width="800">   > > > height="160"/>
>   > > > http://us.i1.yimg.com/us.yimg.com/i/mntl/hlth/06q2/img_diet.jp
> g  ">   > > width="800"
>   > > > height="160"/>>   > > > >   > > >>   > > > So is this a new feature on the player or is it a> security hole?
>   > > >>   > > > I've been reading the document at>   www.adobe.com/devnet/*flash*player/> <
http://www.adobe.com/devnet/*flash*player/>>   > > > articles/*flash*_player_8_*security*.pdf and the> most accurate thing>   > > I've>   > > > found refering to images is: "A SWF file from
> a.com may read from>   > > the server>   > > > at b.com (using the ActionScript XML.load()> method, for example) if
>   > > > b.comhas a cross-domain policy file that permits> access from>   > > > a.com (or from all domains)." So if the criteria> for loading
>   > > external images>   > > > is the same as for .swf...>   > > >>   > > > Any ideas?>   > > >>   > > > Best
>   > > > X.>   > > >>   > >>   > >>   > >>   > >>   > >>   > >>   > > --
>   > > Flexcoders Mailing List>   > > FAQ:> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
> xt >   > > Search Archives:>> 
http://www.mail-archive.com/flexcoders%40yahoogroups.com> >   > > Yahoo! Groups Links>   > >>   > >>   > >>   > >>   > >>   > >>   > >
>   > >>   >   -->   Flexcoders Mailing List>   FAQ:> 
http://groups.yahoo.com/group/flexcoders/fi

Re: [flexcoders] Custom datatip for pie chart

2006-07-28 Thread Tom Fitzpatrick
I was starting to think along the same lines, but I was hoping there was 
more direct access to the percent value.

Trying this your code, it does work - but only if I have labelPosition 
set to something besides "none".

The problem is, I don't want to display labels!

- Tom



Matt Horn wrote:
>
> how about using the label function to populate an associative array and
> then using that value in your data tip:
>
> import mx.charts.HitData;
> import mx.formatters.*;
>
> public var a:Array = new Array();
>
> private function buildDataTip(e:HitData):String {
> var pieName:String = e.item[pie.nameField];
> var pieValue:Number = e.item[pie.field];
> var piePercent:String = a[e.item.Expense];
> var s:String = pieName + ":" + pieValue + ":" +
> piePercent;
> return s;
> }
>
> public function buildLabel(data:Object, field:String,
> index:Number, percentValue:Number):String {
> a[data.Expense] = percentValue;
> return data.Expense + ": $" + data.Amount + "\n" +
> percentValue + "%";
> }
>
> hth,
>
> matt horn
> flex docs
>
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com 
> ] On Behalf Of Tom Fitzpatrick
> > Sent: Thursday, July 27, 2006 4:11 PM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] Custom datatip for pie chart
> >
> > I'm building a custom datatip for a pie chart.
> >
> > How do I get to the percent values for the pie wedges? (In
> > the labelFunction this is expressed as percentValue.)
> >
> > Here's how I'm getting to other values so far:
> >
> > private function buildDataTip(e:HitData) : String { var
> > pie:PieSeries = PieSeries(e.element); var pieName:String =
> > e.item[pie.nameField]; var pieValue:Number =
> > e.item[pie.field]; var piePercent = ?
> > .
> > return .
> > }
> >
> > - Tom
> >
> >
> >
> >
> >
>
>  





--
Flexcoders Mailing 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] Custom datatip for pie chart

2006-07-28 Thread Tom Fitzpatrick
I was starting to think along the same lines, but I was hoping there was 
more direct access to the percent value.

Trying this your code, it does work - but only if I have labelPosition 
set to a value besides "none".

The problem is, I don't want to display labels!

- Tom

Matt Horn wrote:
>
> how about using the label function to populate an associative array and
> then using that value in your data tip:
>
> import mx.charts.HitData;
> import mx.formatters.*;
>
> public var a:Array = new Array();
>
> private function buildDataTip(e:HitData):String {
> var pieName:String = e.item[pie.nameField];
> var pieValue:Number = e.item[pie.field];
> var piePercent:String = a[e.item.Expense];
> var s:String = pieName + ":" + pieValue + ":" +
> piePercent;
> return s;
> }
>
> public function buildLabel(data:Object, field:String,
> index:Number, percentValue:Number):String {
> a[data.Expense] = percentValue;
> return data.Expense + ": $" + data.Amount + "\n" +
> percentValue + "%";
> }
>
> hth,
>
> matt horn
> flex docs
>
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:flexcoders@yahoogroups.com 
> ] On Behalf Of Tom Fitzpatrick
> > Sent: Thursday, July 27, 2006 4:11 PM
> > To: flexcoders@yahoogroups.com 
> > Subject: [flexcoders] Custom datatip for pie chart
> >
> > I'm building a custom datatip for a pie chart.
> >
> > How do I get to the percent values for the pie wedges? (In
> > the labelFunction this is expressed as percentValue.)
> >
> > Here's how I'm getting to other values so far:
> >
> > private function buildDataTip(e:HitData) : String { var
> > pie:PieSeries = PieSeries(e.element); var pieName:String =
> > e.item[pie.nameField]; var pieValue:Number =
> > e.item[pie.field]; var piePercent = ?
> > .
> > return .
> > }
> >
> > - Tom
> >
> >
> >
> >
> >
>
>  





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

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

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

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





Re: [flexcoders] Flex and ASP/IIS update?

2006-07-28 Thread Clint Modien



Try weborb for a .net flash remoting implementation.http://www.themidnightcoders.com/On 7/28/06, Evan Gifford
 <[EMAIL PROTECTED]> wrote:













  











Back before Flex 2 was released, the adobe website touted
that Flex (via Data Services) would (in future release) support ASP in the same
way it allows RPC to J2EE using AMF. Does anyone know when this will become
available?

 

For now, does anyone have great documentation for converting
a traditional ASP application to a service-orientated application (Using
SOAP/XML-RPC/XML:80/POST/GET)?

 

Thankfully, I won't be doing this myself but I need to
send our developers documentation about this process.

 

Thanks guys!

-Evan








--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/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.



  






__,_._,___



[flexcoders] Is there a way to put a close X on the tabnavigator

2006-07-28 Thread flxcoder
I have a way of removing the tab from the tabnavigator using 
tabs.removeTabAt(x), but I am looking for a way to add an X on top of 
the tab, something similar to the way editors in eclipse do.

any clues?






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

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

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

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




Re: [flexcoders] Re: WebService Call

2006-07-28 Thread slangeberg



So when you point your browser to: http://localhost:9126/SOAP
you are seeing the WSDL definition?
 
Scott 
On 7/28/06, richmcgillicuddy <[EMAIL PROTECTED]> wrote:






Thanks for the pointers, they are really helpful. I have my own appserver and can tell that the flex application calls it, tries toretrieve the wsdl file and then in flex it tells me that there is anXML parsing error in the wsdl file. It this point, I am leaning
towards using simple XML since I can generate that if needed. Otherthan download and testing SOAP wsdl validators and making sure it isstandard, i think the only other option is the straight XML.Rich

--- In flexcoders@yahoogroups.com, slangeberg <[EMAIL PROTECTED]> wrote:
>> Yeah,> > Try something more like (I'm not sure what your 'FlexData' object was> supposed to refer to... ):> > > > > id="wsTest"> wsdl="http://localhost:9126/SOAP
"> fault="{trace(-1);}"> result="{trace(1);}"/>> > > > 
> On 7/26/06, richmcgillicuddy <[EMAIL PROTECTED]> wrote:> >> > I have a simple web service calling a SOAP web service on my local> > machine. The call looks like:> >
> > > > wsdl="http://localhost:9126/SOAP"
> > load="wsTest.FlexData.getData()"> > fault="trace(-1);" />> >> > It seems to hang waiting for localhost and if I let it wait long> > enough, it will give me the following error:
> >> > ReferenceError: Error #1069: Property getData not found on> > mx.rpc.soap.mxml.Operation and there is no default value.> > at Step2/__wsTest_load()> > ...> >
> > On the Web Server side, I am looking for client connects from flash> > and do not seem to get even the client connect. Any ideas?> >> > Is there anything that looks odd with the WebService statement?
> >> > Rich> >> > > >> > > 
> -- > > : : ) Scott>
 -- : : ) Scott 

__._,_.___





--
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: performance issues

2006-07-28 Thread judah






You know what would be cool, is for someone to write a system
performance tester in flex2. Have it run through video tests, floating
point tests, regexp tests, etc. (all the subsystems) and then spit out
a report so we can compare and pinpoint some of these things. I'd do it
but I'm not familiar enough with the Flex 2 api yet. 

Anatole Tartakovsky wrote:

   
  should be 
  http://flexblog.faratasystems.com/performance/grid_performance.html  
- no customization - pure UITextField default renderer
  http://flexblog.faratasystems.com/performance/grid_performance1.html 
- some formatting - 5 labelFunctions
  http://flexblog.faratasystems.com/performance/grid_performance2.html 
- run-time styles, formatting and computed expressions
   
  Chances are that it is more video card issue - as a matter of
fact, I can reduce performance 3-4 times on the same machine using
VMWare as it uses CPU for emulation of some GDI calls.
  
  
 
  On 7/28/06, bhaq1972 <[EMAIL PROTECTED]> wrote:
  





i tried your links out (btw the first 2 are pointing to the same

example). on my normal development machine (6 months old with all 
the trimmings) performance is very quick as expected.

but when i tried it from an old laptop (4-5 years old) it felt like 
one of my flex 1.5 datagridsvery slow and sluggish scrolling.

made me appreciate how much of a good job adobe did in flex2.

regards
bod

--- In 
flexcoders@yahoogroups.com, "Anatole Tartakovsky" 


<[EMAIL PROTECTED]> wrote:
>
> How is the performance on your machine of the samples in my 
links ? - trying
> to isolate player/setStyle performance from application code 
efficiency.
> Thank you,
> Anatole
> 
> 
> 

> On 7/28/06, Pan Troglodytes
<[EMAIL PROTECTED]> wrote:
> >
> > For reference, my testing was done on a dual core athlon 64 
4400 with a
> > geforce 7800 gt and 2 gigs of ram. Hardware is not a limiting

factor.
> >

> > On 7/28/06, Anatole Tartakovsky
<[EMAIL PROTECTED]> wrote:
> >
> > > Matt,
> > > I placed typical business case to show the performance
issues 
based on
> > > hardware used:
> > >
> > > case 1 : basic 

grid<
http://flexblog.faratasystems.com/performance/grid_performance.h
tml>- no formatting or styling

> > > case 2: basic grid with typical 

formatting<
http://flexblog.faratasystems.com/performance/grid_perform
ance.html>- no styling

> > > case 3: typical usage of formatting and 

styling<
http://flexblog.faratasystems.com/performance/grid_performanc
e.html>- IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very

> > > straightforward code
> > >
> > > While performance is reasonable on midrange 2 year old
PC, my 
business
> > > laptop is very sluggish , however multimedia one with
good 
graphics chip and
> > > slower CPU works faster then PC.
> > >
> > > Here is the source for the business case:
> > >
> > > 

> > > http://www.adobe.com/2006/mxml
 "
> > > xmlns="*" layout="vertical"
> > > xmlns:lib="com.theriabook.controls.*"
> > > viewSourceURL="srcview/index.html">
> > > 

> > > .dgHeaderStyle {
> > > textAlign:center;
> > > fontWeight : bold;
> > > backgroundAlpha:.5;
> > > }
> > > 
> > > 

> > > 

> > > 
> > > 
> > > headerStyleName="dgHeaderStyle"
> > > dataProvider="{getEmployees()}">

> > > 
> > > 
> > > 
> > > 

> > > 
> > > dataField="DEPT_ID"
> > > 
props="{{'resource':'employee','keyColumn&ap
os;:'dept_id','autoFill':'true'}}"/>

> > >
> > > 
> > > formatString="phone" />
> > > 
dataField="BENE_DAY_CARE"

> > > itemRenderer=" 
com.theriabook.controls.CheckBox"
> > > rendererIsEditor="true" 
editorDataField="value"
> > > textAlign="center" paddingLeft="5"

> > >
> > > 
expando="{{'onValue':'Y','offValue':&ap
os;N'}}"
> > > />
> > > 
> > > formatString="ssn" />
> > > 
> > > formatString="currency"
> > >
> > > 
styles="{{'color':salaryColor,'fontWeight':functi

on
> > > (item:*):String{ return item.SALARY > 5?{ return 
item.SALARY >
> > >
5?'bold':'normal'} }}"
> > > />
> > > 
> > > formatString="currency" editable="true" >
> > > 
> > > 
backgroundColor="{salaryColor}"
> > > backgroundAlpha=".3"/>

> > > 
> > > 
> > > 
> > > formatString="shortdate"/>
> > >
> > > 
> > > 
> > > 
> > > 
> > > 

> > >
> > >
> > >
> > >
> > >
> > >

> > > On
7/21/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Well DataGrid scrolling performance is something
that 
we've spent

> > > > a lot of time tuning so I would love for us to get
a full 
test case that we
> > > > can look at. I saw in the thread you linked
mentioning a 
1600x1200 monitor,
> > > > is the DataGrid taking up most of that real estate?
The 
more visible rows
> > > > the slower the scrolling will be. Another thing you
could 
look at is in
> > > > your setter for the data comparing against the old
value and 
if it hasn't

> > > > changed not doing anything, it may be that it's
invalidating

RE: [flexcoders] textInput autocommit?

2006-07-28 Thread Stephen Gilson





focusOut is an inherited event. If you expand the list of 
inherited events, you will see it.
 
Stephen


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of ryan 
harlinSent: Friday, July 28, 2006 11:33 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] textInput 
autocommit?


wow. I feel really silly. The language reference forthe textInput control 
doesn't mention focusOut. Itonly mentions 4 things under the events section: 
change, dataChange, enter, and textInput.But you're right. focusOut 
works like a charm. *blush*--- sinatosk <[EMAIL PROTECTED]com> 
wrote:> have you tried "focusOut" event?> >http://livedocs.macromedia.com/flex/2/langref/flash/display/InteractiveObject.html#event:focusOut> 
> On 28/07/06, ryan harlin <[EMAIL PROTECTED]com>> 
wrote:> >> > I posted a similar question with more> 
explanation but> > I'll simplify since I probably bored people 
away> from> > answering:> >> > How do I get 
a textInput field to autocommit to my> > data source (FDS)? On leaving 
the field I want the> > changes to update the database but I can't 
seem to> > figure it out. I can get it work on pressing the> 
> enter key but not upon losing focus.> >> > 
__> 
> Do You Yahoo!?> > Tired of spam? Yahoo! Mail has the best 
spam> protection around> > http://mail.yahoo.com> >> 
> > >> 
__Do 
You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

__._,_.___





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








   






  
  
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: Backend/Frontend Application Development (Cairngorm)

2006-07-28 Thread thunderstumpgesatwork
Seems like in most cases, a shared command would 'speak' to the shared
model. 
Thunder

--- In flexcoders@yahoogroups.com, "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> right...but hot to get a shared command to speak to a individual model?
> 
> DK
> 
> On 7/27/06, thunderstumpgesatwork <[EMAIL PROTECTED]> wrote:
> >
> > Hey guys,
> >
> > I'm just starting with Cairngorm also, and I've never seen this done
> > specifically, but I don't see any reason you can't have multiple
> > ModelLocators... they're just singleton classes really.
> >
> > So, you could for instance have a shared ModelLocator with state that
> > is shared between apps. Then state specific to a particular app
> > (client or server) could have their own ML. SO:
> >
> > com.company.project.shared.model.SHModLoc
> > com.company.project.admin.model.AModLoc
> > com.company.project.client.model.CModLoc
> >
> >
> > what do you all think of this approach?
> >
> > Thunder
> >
> >
> > --- In flexcoders@yahoogroups.com, "Douglas Knudsen"
> >  wrote:
> > >
> > > righto on that.  Say I have a command GetUserCommand() that returns
> > a userVO
> > > for the current user in session.  This is returned to the apps
> > modellocator,
> > > has stuff like name, etc, in it.
> > >
> > > so we have
> > > com.company.project.admin.model.AModLoc
> > > com.company.project.client.model.CModLoc
> > >
> > >
> > > How does GetUserCommand()  stick the userVO result into the proper
> > model?
> > > Typically the model is hardcoded in the Command, eh?  What I've done
> > so far
> > > is used a generic model so to speak in
> > > com.company.project.model.GModLocsay.  Then the client app and admin
> > > app can access it as well as their
> > > respective model.
> > >
> > >
> > > DK
> > >
> > >
> > > On 7/27/06, JesterXL  wrote:
> > > >
> > > >  // Assuming your in your Client Application for example
> > > > import com.company.project.admin.events.SomeEvent;
> > > > import com.company.project.client.events.ClientEvent;
> > > >
> > > > var e:SomeEvent = new SomeEvent(SomeEvent.EVENT_NAME, false,
true);
> > > > CairngormEventDispatcher.getInstance().dispatchEvent(e);
> > > >
> > > > You could do the reverse in the admin.  As a GUI guy, I
probably would
> > > > care more about sharing commonly used View's and utility classes
> > vs. events
> > > > and commands that were probably created for their specific
> > projects, but it
> > > > could be done.
> > > >
> > > > - Original Message - *From:* Douglas
> > Knudsen
> > > > *To:* flexcoders@yahoogroups.com
> > > > *Sent:* Thursday, July 27, 2006 9:25 AM
> > > > *Subject:* Re: [flexcoders] Backend/Frontend Application
Development
> > > > (Cairngorm)
> > > >
> > > > curious how to share resources with this, say using Cairngorm.
 How to
> > > > share a command that returns data to a modellocator?  How to
> > return th edata
> > > > to the current model locator for a sub app?
> > > >
> > > > DK
> > > >
> > > > On 7/27/06, JesterXL  wrote:
> > > > >
> > > > > Put 'em in seperate projects, or sub-projects.  Like:
> > > > >
> > > > > com.company.project.admin.*
> > > > > com.company.project.client.
> > > > >
> > > > > Or:
> > > > >
> > > > > com.company.projectadmin.*
> > > > > com.company.projectclient.*
> > > > >
> > > > > You should take advantage of the fact you may be using similiar
> > code;
> > > > > both
> > > > > of the above in the same Flex project allows you to easily
do that.
> > > > >
> > > > > - Original Message -
> > > > > From: "Stefan Schmalhaus" 
> > > > > To: 
> > > > > Sent: Thursday, July 27, 2006 4:38 AM
> > > > > Subject: [flexcoders] Backend/Frontend Application Development
> > > > > (Cairngorm)
> > > > >
> > > > >
> > > > > I'm going to develop a Flex (Cairngorm-based) intranet
> > application for
> > > > > training resources. There will be a backend part for user and
> > content
> > > > > administration, and there will be a frontend for the end user.
> > > > >
> > > > > Both parts, backend and fronted, will presumably share a lot
of the
> > > > > underlying data structure, value objects, views, etc. They will
> > > > > definitely use the same AMFPHP services. What's the best way to
> > tackle
> > > > > this? Should I treat them as two different Flex projects? Or
can I
> > > > > develop them within one Flex project but with two different MXML
> > > > > application files?
> > > > >
> > > > > Your ideas and thoughts are very much appreciated.
> > > > >
> > > > > Stefan
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Flexcoders Mailing 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 Arch

RE: [flexcoders] Caringorm - Visual Flowchart Poster!

2006-07-28 Thread Evan Gifford












I’m going to be up in the Rocky Mountains this weekend backpacking and climbing a
couple 14’ers with my good friends (rough life eh?) ;^)

As such, I won’t be working on this
diagram over the weekend but I anxiously await all of your feedback and I will
get back on it on Monday.

 

Have a great weekend!

Evan

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Evan Gifford
Sent: Friday, July 28, 2006 9:31
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Caringorm - Visual Flowchart Poster!



 









Rodger that :^)

 

- I’ve taken out the “Views” label on the TitleWindow

 









From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Steven Webster
Sent: Friday, July 28, 2006 9:21
AM
To: [EMAIL PROTECTED]ups.com
Subject: RE: [flexcoders]
Caringorm - Visual Flowchart Poster!



 








> Also, I'm a little confused about Views. Since this diagram 
> does not (yet) include the ViewHelper and ViewLocator

Leave 'em out. Then people will stop asking about 'em and I'll stop
having to blog every 4 weeks about the ModelLocator pattern.

:)

Steven





 



--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006

 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/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 incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006
 


initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()?

2006-07-28 Thread Doug Lowder
Sorry for butting into this thread, and no offense intended, but
personally I would describe this as programmer error and not a
compiler bug.  You are building into MyFirstObject a dependancy on
another object without taking into account the initialized state of
the dependant object.  I see two ways to correct this:

1. Check the state of the property of the dependant object when you
access it.  You can do this just by seeing if the property you are
accessing has been defined, and taking appropriate action if not.



 public var innerWidth: Number;
 public function handleInit() {
 if (myOtherObject.outerWidth != undefined) {
 innerWidth=myOtherObject.otherWidth;
 }
 else {
 doLater(this, "handleInit");
 }
 }


2. The second, and in my opinion better, way is to create components
and utilize binding from the parent rather than the component.

// component MyFirstObject


 public var innerWidth: Number;




// component MyOtherObject


 public var otherWidth: Number;
 public function handleInit() {
 otherWidth=55;
 }



// application that uses the components
...

  
  


Either approach should take care of the initialization issues you are
seeing.  If you want to provide specific sample code showing the
problem, I can try to give more details.


Hoping that helps,
Doug

--- In flexcoders@yahoogroups.com, G <[EMAIL PROTECTED]> wrote:
>
> If I haven't bored you yet, I would love to tell you
> exactly what the issue is.  For a long time now we've
> occasionally seen very strange behavior.  As I
> described before, you'll write something, get
> everything working perfectly, then do a clean build
> before deploying and suddenly something disappears. 
> The problem is clearly that some properties are not
> being initialized properly.  I can make it happen
> regularly and predictably right now.  I do a clean
> build, and one component's x & y are not set, so they
> show up in the upper left.  Then I "touch" that file
> (I put the line "if (false) true;" in it), and now it
> works.
> 
> There are two theories here in the office.  One is
> that there is a compiler bug in flex so that bindings
> are not always properly recognized.  That's the old
> pre-me theory.
> 
> My theory is that there is no problem with flex, but
> that we are not properly initializing variables, and
> that certain changes get made during initialization
> "under the radar" of the binding mechanism.
> 
> First, it is easy to mistakenly break binding:
> 
> 
> 
> public var innerWidth: Number;
> public function handleInit() {
> innerWidth=myOtherObject.otherWidth;
> }
> 
> 
> 
> 
> 
> 
> 
> public var otherWidth: Number;
> public function handleInit() {
> otherWidth=55;
> }
> 
> 
> 
> Width in the Image component is properly bound to
> innerWidth--any time innerWidth changes, so should
> width.  The problem is, innerWidth only changes one 
> time, in handleInit, when it is set, not bound,
> to MyOtherObject.otherWidth.  If
> MyFirstObject.handleInit() is called before
> MyOtherObject.handleInit(), innerWidth will be
> undefined, and never changed again.
> 
> The second issue, I believe, is that the bindings are
> only executed at a particular time during the
> initialization process.  (Specifically, in
> constructObject2, after createChildren.)  It is
> possible, as I said, to get that out of order so that
> the binding mechanism "fires" too soon, and not again.
> 
> So anyway, those are the two competing theories around
> here: compiler bug, or subtleties in initialization
> order that we do not appreciate.
> 
> Either way, I believe it is clear that binding is not
> as robust as we'd wish, during initialization.  And at
> any rate, understanding better how something works is
> always a good thing!
> 
> Greg
> 
> 
> 
> 
> --- JesterXL <[EMAIL PROTECTED]> wrote:
> 
> > 2 things to do to ensure you're not nuts.
> > 
> > 1. Add &recompile=true to the end of the URL string.
> >  Slows compiling, but 
> > it's worth the piece of mind.
> > 
> > 2. Delete generated everytime you want to be sure
> > your changes are in fact 
> > taking.  Mine's here for Flex 1.5:
> >
>
C:\JRun4\servers\starExhibits\cfusion-ear\cfusion-war\WEB-INF\flex\generated
> > 
> > LOL Royal... AWESOME.  Whew, that made my
> > Thursday.  Mmmm, tasty 
> > burger
> > 
> > First off, bindings are supposed to free you from
> > initialization worries. 
> > Here's how it was in Flash:
> > - capture data in member var
> > - create asset
> > - wait a frame
> > - set data
> > - delete member var
> > - repeat process in convulted way
> > 
> > In Flex?  Bind value in View and it'll "work" when
> > she's created.  Pimp!
> > 
> > I'm sorry to hear it's not working that way for you.
> >  Here's the rundown.
> > 
> > - init
> > - createChildren
> > - initial drawing
> > * initialize is before everything is done drawing
> > - createChildren is the last event fired when
> > everyone and their mom is 
> > ready
> > 
> > There is a good rundown of th

Re: [flexcoders] Re: TileList Bug Flex Final... pretty serious.

2006-07-28 Thread JesterXL





Hah!  Guru... yeah right...
 
He's right, though, sufibaba, if could post your 
itemRenderer, that might help us identify what TileList's problem is with 
it.
 
- Original Message - 
From: Douglas 
Knudsen 
To: flexcoders@yahoogroups.com 
Sent: Friday, July 28, 2006 12:47 PM
Subject: Re: [flexcoders] Re: TileList Bug Flex Final... pretty 
serious.
You may need to override the setters and getters in your 
renderer.  At least I have had to in teh past for this sort of thing.  
I'd post some code so some guru, or heavy coffee and red bull drinker,  can 
maybe suggest something, eh? DK
On 7/28/06, sufibaba 
<[EMAIL PROTECTED]> wrote:
Yes, 
  I am using a custom renderer.-thanks--- In flexcoders@yahoogroups.com, 
  "Douglas Knudsen"<[EMAIL PROTECTED]> wrote:>> you 
  using a custom item renderer?>> DK>> On 7/25/06, 
  sufibaba <[EMAIL PROTECTED]> wrote:> >> > Hi ya,> 
  >> > I found what seems to be a bug with the TileList Control. 
  When the > > TileList is resized, not all of the images that are in 
  the TileList> > are displayed.  It seems that when 
  TileList is made smaller, in width> > and height, the vertical 
  scrollbar will only display some of the images.> >> > 
  Has anyone seen this problem.  Is there a work around for this 
  bug?> >> > Any light cast on this is Greatly 
  appreciated.> >> > - 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> >> >> 
  >> >> >> >> >> 
   --> Douglas Knudsen> http://www.cubicleman.com> this is 
  my signature, like it?>--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/ 
  -- Douglas 
Knudsenhttp://www.cubicleman.comthis is my 
signature, like it?  
__._,_.___





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








   






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

2006-07-28 Thread Mike Anderson





Oh, this makes sense.
 
Thanks for the clarification - I was dealing with this 
problem too, and it all seems to work now, after I treat the result as an 
ArrayCollection right off the bat.
 
Thank you for your input on this,
 
Mike


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mike 
NimerSent: Friday, July 28, 2006 9:56 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] 
ArrayCollection


>countries 
= event.result. countries as ArrayCollection;
In 
ColdFusion all queries are returned as a true ArrayCollection objects, so you 
don't need to create your own. So with this syntax you are just casting, or 
telling the compiler, the variable that you already know the datatype of 
(ArrayCollection) is an real ArrayCollection.
>countries 
= new ArrayCollection(event.result.countries as Array);
 
Here you 
are telling the compiler the result is an Array, so you need to *create* a new 
ArrayCollection object based on this array. 
hth,
---nimer
 
- 
Original Message From: jtooley_1999 <[EMAIL PROTECTED]>To: 
flexcoders@yahoogroups.comSent: Friday, July 28, 2006 2:03:28 AMSubject: 
[flexcoders] ArrayCollection

Hi all,I am banging my head against the wall on this one.We 
have an app that runs on two different servers.One calls a CFC and uses 
The other one calls a java servlet using 
 but they bothretrieve the same data.With the 
CFC we are using remoting and we can access the data by goingpublic 
function geoResultHandler( event:ResultEven t):void{countries = 
event.result. countries as ArrayCollection;// differenceblah blah 
blah... more code}and to call itchange="setProvince ()" 
width="90%">This works great.But with 
 .. using that way returns null.. so we have touse the 
followingpublic function geoResultHandler( event:ResultEven 
t):void{countries = new ArrayCollection( event.result. countriesas 
Array); // differenceblah blah blah... more code}change="setProvince ()" 
width="90%">Can anyone explain the difference of using a variable as 
anArrayCollection instead of declaring new ArrayCollection( 
)ThanksJeremy Tooley
 
__._,_.___





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

2006-07-28 Thread We Made That design
Thanks Mike

That really opened my eyes and helped me understand..


>>countries = event.result. countries as ArrayCollection;
>
> In ColdFusion all queries are returned as a true ArrayCollection objects,
> so you don't need to create your own. So with this syntax you are just
> casting, or telling the compiler, the variable that you already know the
> datatype of (ArrayCollection) is an real ArrayCollection.
>
>>countries = new ArrayCollection(event.result.countries as Array);
>
> Here you are telling the compiler the result is an Array, so you need to
> *create* a new ArrayCollection object based on this array.
>
> hth,
> ---nimer
>
> - Original Message 
> From: jtooley_1999 <[EMAIL PROTECTED]>
> To: flexcoders@yahoogroups.com
> Sent: Friday, July 28, 2006 2:03:28 AM
> Subject: [flexcoders] ArrayCollection
>
> Hi all,
>
> I am banging my head against the wall on this one.
>
> We have an app that runs on two different servers.
> One calls a CFC and uses 
> The other one calls a java servlet using  but they both
> retrieve the same data.
>
> With the CFC we are using remoting and we can access the data by going
>
> public function geoResultHandler( event:ResultEven t):void
> {
> countries = event.result. countries as ArrayCollection;
> // difference
> blah blah blah... more code
> }
>
> and to call it
>  change="setProvince ()" width="90%">
>
> This works great.
>
> But with  .. using that way returns null.. so we have to
> use the following
>
> public function geoResultHandler( event:ResultEven t):void
> {
> countries = new ArrayCollection( event.result. countries
> as Array); // difference
> blah blah blah... more code
> }
>
>  change="setProvince ()" width="90%">
>
> Can anyone explain the difference of using a variable as an
> ArrayCollection instead of declaring new ArrayCollection( )
>
> Thanks
> Jeremy Tooley
>
>
>


Jeremy Tooley
Creative Director
We Made That Design Group Inc.
[EMAIL PROTECTED]
http://www.wemadethat.com
p: 403.668.0857
c: 403.836.3048



--
Flexcoders Mailing 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: Flex Debug Error

2006-07-28 Thread thunderstumpgesatwork
You using Eclipse 3.2 with Flex plugin? If so, see this thread:

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

good luck. 
Thunder

--- In flexcoders@yahoogroups.com, eduardodias <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> I am having problems when trying use the Flex Builder Debug. The Flex 
> Builder show a error with this following message: An internal error 
> occurred during: "Fetching children from debug target". Someone already 
> had that problem?
>







--
Flexcoders Mailing 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: performance issues

2006-07-28 Thread Anatole Tartakovsky



 
Here is what I see. I can not max out CPU on either desktop(3.0GHz Intel) or multimedia laptop(1.7GHz Intel) - both in 1600x1200 mode. I can easily do it on business notebook(2.0GHz).
I moved default-frame-rate to 99 - effects are minimal to my eye, for about 10%-15% of the CPU load increase. 
 
Can you identify the bottleneck resource in your case as it might help to identify the problem or technique that needs to be tweaked
 
As far as "being choppy" flex scrolling is based on large scrolling unit - row rather then pixel . As long as you do not have layout/backgrounds/color the changes are not perceived as drastic. Backgrounds + colors + layouts bring that up - it is not transitioning on pixel level

 
I will see if I can put cost management per frame in the makeRowsAndColumns method to provide smoother response times.
 
Thank you,
Anatole
 
 
On 7/28/06, judah <[EMAIL PROTECTED]> wrote:






I'd like to add a "me too" to the performance thing. If there is one thing I'd like to worked on it would be optimizing the code. On the first example it is a little bit sluggish. On the second and third example start to get choppy. When I say choppy I mean it freezes for a split second. I can record a video of it if needed. On some other flex 2 apps I've noticed some slow down or choppiness in transitions. Not all of them. It's odd because any Flash 8 site runs smoothly. 
I am using a 4yr old pc with a brand new video card. I know its "old" but I can run any program fine (photoshop, flash, flex, i get slow down in notepad -jk) so I've never felt the need to upgrade. AMD Athlon 2400, 1GB Ram, NVidia Geforce 6600
Judah
Anatole Tartakovsky wrote: 

 
should be 

http://flexblog.faratasystems.com/performance/grid_performance.html   - no customization - pure UITextField default renderer

http://flexblog.faratasystems.com/performance/grid_performance1.html  - some formatting - 5 labelFunctions

http://flexblog.faratasystems.com/performance/grid_performance2.html  - run-time styles, formatting and computed expressions
 
Chances are that it is more video card issue - as a matter of fact, I can reduce performance 3-4 times on the same machine using VMWare as it uses CPU for emulation of some GDI calls.
 
On 7/28/06, bhaq1972 <
[EMAIL PROTECTED]> wrote: 






i tried your links out (btw the first 2 are pointing to the same example). on my normal development machine (6 months old with all the trimmings) performance is very quick as expected.but when i tried it from an old laptop (4-5 years old) it felt like 
one of my flex 1.5 datagridsvery slow and sluggish scrolling.made me appreciate how much of a good job adobe did in flex2.regardsbod--- In 
flexcoders@yahoogroups.com, "Anatole Tartakovsky" 
<[EMAIL PROTECTED]> wrote:>
> How is the performance on your machine of the samples in my links ? - trying> to isolate player/setStyle performance from application code efficiency.> Thank you,> Anatole> > 
> 
> On 7/28/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote:
> >> > For reference, my testing was done on a dual core athlon 64 4400 with a> > geforce 7800 gt and 2 gigs of ram. Hardware is not a limiting factor.> >
> > On 7/28/06, Anatole Tartakovsky <[EMAIL PROTECTED]>
 wrote:> >> > > Matt,> > > I placed typical business case to show the performance issues based on> > > hardware used:> > >> > > case 1 : basic 

grid<
 http://flexblog.faratasystems.com/performance/grid_performance.html>- no formatting or styling
> > > case 2: basic grid with typical 
formatting<
 http://flexblog.faratasystems.com/performance/grid_performance.html>- no styling
> > > case 3: typical usage of formatting and 
styling<
 http://flexblog.faratasystems.com/performance/grid_performance.html>- IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very
> > > straightforward code> > >> > > While performance is reasonable on midrange 2 year old PC, my business> > > laptop is very sluggish , however multimedia one with good 
graphics chip and> > > slower CPU works faster then PC.> > >> > > Here is the source for the business case:> > >> > >  
> > > 
http://www.adobe.com/2006/mxml "> > > xmlns="*" layout="vertical"> > > xmlns:lib="com.theriabook.controls.*"> > > viewSourceURL="srcview/index.html">
> > >  > > > .dgHeaderStyle {> > > textAlign:center;> > > fontWeight : bold;> > > backgroundAlpha:.5;> > > }> > > 
> > >  > > >  > > > > > > > > > headerStyleName="dgHeaderStyle"
> > > dataProvider="{getEmployees()}"> > > > > > > > > > > > >  
> > > > > > dataField="DEPT_ID"> > > props="{{'resource':'employee','keyColumn':'dept_id','autoFill':'true'}}"/> 
> > >> > > > > > formatString="phone" />> > > dataField="BENE_DAY_CARE" 
> > > itemRenderer=" com.theriabook.controls.CheckBox"> > > rendererIsEditor="true" editorDataField="value"> > > textAlign="center" paddingLeft="5" 
> > >> > > expando="{{'onValue':'Y','offValue':'N'}}"> > > />> > > > > > formatString="ssn" />> > > > > > formatString="currency"> > >> > > styles="{{'color':salaryColor,'fontWei

Re: [Junk E-Mail - LOW] Re: [flexcoders] Re: Answer to the most frequent problem...

2006-07-28 Thread hank williams



I generally run FB2, MySQL, Tomcat & Firefox and it runs fine in a 1gb pc partition. I shortly expect to move over to my mac, and I am thinking 1gb for paralells to run and I am hoping I might be able to run mysql and tomcat on the mac side and fb2 and firefox in the pc partition. But I am not clear how networking works between the two virtual environments.
HankOn 7/28/06, Shannon Hicks <[EMAIL PROTECTED]> wrote:









Of course, if Tom exclusively uses Linux or OS X, then the 
IDE isn't an option at all, without an emulator or some other 
hack...
 
Unfortunately, FlexBuilder 2 is a resource dog... I had to 
upgrade my machine to 2gig's of ram just for it to be usable. This poor laptop 
now runs (when I'm coding):
 
FB2
Dreamweaver (sometimes)
ColdFusion
MySQL
SQL Server 2000
IE
Firefox
 
Now, let's say I'm on a Mac... that means I'll be running 
one less server (SQL Server), but still the rest. How am I supposed to run 
Parallels on top of all that just to run FB2? I'd need a machine maxed out at 
4gigs of ram :)
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Adam 
ReynoldsSent: Friday, July 28, 2006 10:23 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: 
[flexcoders] Re: Answer to the most frequent problem...


Tom,You need to give yourself an hourly rate and then ask yourself how 
much money the IDE will save you. The effort involved in not using the IDE 
could end up costing you more in the long run.I do think the 
charting is just a nice to have, and people will release their own 
cheap/free charting components so you can save yourself even more money by 
not going for that option.2 years from now when somebody releases 
flexClipse (tm) free IDE then this may be a different 
conversation.:)gotgoose09 wrote:>> It's so much 
easier with Flex Builder though. :) Until something free> with Flex code 
completion comes out I'd rather use Flex Builder.> --- In flexcoders@yahoogroups.com 
> flexcoders%40yahoogroups.com>, Tom Chiverton 
<[EMAIL PROTECTED]>> wrote:> >> > On 
Thursday 27 July 2006 16:30, Shannon Hicks wrote:> > > Download the 
trial versions of Flex 2, or go buy a retail copy> ($749 with> 
> > charting) or an educational copy ($79 with charting).> 
>> > I've a better idea.> > Download the free SDK and 
don't pay anything. Ever :-)> >> > --> > Tom 
Chiverton> >> > 
> 
>>> 
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 
7/27/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/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.



  






__,_._,___



[flexcoders] Flex and ASP/IIS update?

2006-07-28 Thread Evan Gifford










Back before Flex 2 was released, the adobe website touted
that Flex (via Data Services) would (in future release) support ASP in the same
way it allows RPC to J2EE using AMF. Does anyone know when this will become
available?

 

For now, does anyone have great documentation for converting
a traditional ASP application to a service-orientated application (Using
SOAP/XML-RPC/XML:80/POST/GET)?

 

Thankfully, I won’t be doing this myself but I need to
send our developers documentation about this process.

 

Thanks guys!

-Evan




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___





--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 7/27/2006
 


[flexcoders] Re: Is there a hashmap or similar datastructure in flex/as3?

2006-07-28 Thread jeff tapper
Take a look at the flash.utils.Dictionary class.

--- In flexcoders@yahoogroups.com, "flxcoder" <[EMAIL PROTECTED]> wrote:
>
> Is there a hashmap or similar datastructure in flex/as3? I need a 
way 
> to store indexes and data. a set data structure would also be nice.
> 
> Thanks
>






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

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

<*> 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: TileList Bug Flex Final... pretty serious.

2006-07-28 Thread sufibaba
Gentlemen,

The following is the custom Item Renderer for the TileList control.  The
function initImageBkColor() gets fired when the itemRenderer gets its
data from the TileList DataProvider.


-- Custom Item Renderer -



 http://www.adobe.com/2006/mxml";
 horizontalAlign="center"
 verticalGap="0"
 horizontalGap="0"
 borderStyle=".5"
 width="100"
 height="150"
 click="thumbClicked()"
   horizontalScrollPolicy="off"
   verticalScrollPolicy="off"
 >




 
 



 
 


   

  

 

  

   














--
Flexcoders Mailing 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: TileList Bug Flex Final... pretty serious.

2006-07-28 Thread Douglas Knudsen



You may need to override the setters and getters in your renderer.  At least I have had to in teh past for this sort of thing.  I'd post some code so some guru, or heavy coffee and red bull drinker,  can maybe suggest something, eh?
DKOn 7/28/06, sufibaba <[EMAIL PROTECTED]> wrote:
Yes, I am using a custom renderer.-thanks--- In flexcoders@yahoogroups.com, "Douglas Knudsen"<[EMAIL PROTECTED]> wrote:>
> you using a custom item renderer?>> DK>> On 7/25/06, sufibaba <[EMAIL PROTECTED]> wrote:> >> > Hi ya,> >> > I found what seems to be a bug with the TileList Control. When the
> > TileList is resized, not all of the images that are in the TileList> > are displayed.  It seems that when TileList is made smaller, in width> > and height, the vertical scrollbar will only display some of the
images.> >> > Has anyone seen this problem.  Is there a work around for this bug?> >> > Any light cast on this is Greatly appreciated.> >> > - 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> >> >> >> >> >> >> >>  --> Douglas Knudsen> 
http://www.cubicleman.com> this is my signature, like it?>--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/
-- Douglas Knudsenhttp://www.cubicleman.comthis is my signature, like it?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



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



  






__,_._,___



[flexcoders] Flex Debug Error

2006-07-28 Thread eduardodias
Hi All,

I am having problems when trying use the Flex Builder Debug. The Flex 
Builder show a error with this following message: An internal error 
occurred during: "Fetching children from debug target". Someone already 
had that problem?







--
Flexcoders Mailing 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: [flexcoders] Re: Answer to the most frequent problem...

2006-07-28 Thread Shannon Hicks





Of course, if Tom exclusively uses Linux or OS X, then the 
IDE isn't an option at all, without an emulator or some other 
hack...
 
Unfortunately, FlexBuilder 2 is a resource dog... I had to 
upgrade my machine to 2gig's of ram just for it to be usable. This poor laptop 
now runs (when I'm coding):
 
FB2
Dreamweaver (sometimes)
ColdFusion
MySQL
SQL Server 2000
IE
Firefox
 
Now, let's say I'm on a Mac... that means I'll be running 
one less server (SQL Server), but still the rest. How am I supposed to run 
Parallels on top of all that just to run FB2? I'd need a machine maxed out at 
4gigs of ram :)
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Adam 
ReynoldsSent: Friday, July 28, 2006 10:23 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: 
[flexcoders] Re: Answer to the most frequent problem...


Tom,You need to give yourself an hourly rate and then ask yourself how 
much money the IDE will save you. The effort involved in not using the IDE 
could end up costing you more in the long run.I do think the 
charting is just a nice to have, and people will release their own 
cheap/free charting components so you can save yourself even more money by 
not going for that option.2 years from now when somebody releases 
flexClipse (tm) free IDE then this may be a different 
conversation.:)gotgoose09 wrote:>> It's so much 
easier with Flex Builder though. :) Until something free> with Flex code 
completion comes out I'd rather use Flex Builder.> --- In [EMAIL PROTECTED]ups.com 
> 40yahoogroups.com>, Tom Chiverton 
...>> wrote:> >> > On 
Thursday 27 July 2006 16:30, Shannon Hicks wrote:> > > Download the 
trial versions of Flex 2, or go buy a retail copy> ($749 with> 
> > charting) or an educational copy ($79 with charting).> 
>> > I've a better idea.> > Download the free SDK and 
don't pay anything. Ever :-)> >> > --> > Tom 
Chiverton> >> > 
> 
>>> 
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/402 - Release Date: 
7/27/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.10.4/402 - Release Date: 7/27/2006
 


[flexcoders] Re: TileList Bug Flex Final... pretty serious.

2006-07-28 Thread sufibaba

Yes, I am using a custom renderer.

-thanks


--- In flexcoders@yahoogroups.com, "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> you using a custom item renderer?
> 
> DK
> 
> On 7/25/06, sufibaba <[EMAIL PROTECTED]> wrote:
> >
> > Hi ya,
> >
> > I found what seems to be a bug with the TileList Control. When the
> > TileList is resized, not all of the images that are in the TileList
> > are displayed.  It seems that when TileList is made smaller, in width
> > and height, the vertical scrollbar will only display some of the
images.
> >
> > Has anyone seen this problem.  Is there a work around for this bug?
> >
> > Any light cast on this is Greatly appreciated.
> >
> > - 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
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>







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

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

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

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




[flexcoders] Column chart possibilities

2006-07-28 Thread olivier
Hi !

I want to create a chart with two columns series.
Each series has its own y axis (because the values are too different).
I resolved the first problem which was that the two series were 
superposed using x property of each column serie.

The last problem is related to dataTip. Indeed, they appear as the 
series were still superposed.

I didn't find the way to manipulate them. Did you have an idea to match 
the datatip to the serie ?

More, do you think my work is the best pratice to create this kind of 
chart ?

Thank you 

Olivier





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

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

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

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




RE: [flexcoders] Re: WebService Call

2006-07-28 Thread Franck de Bruijn












The error you get means that the WSDL was
not loaded/parsed correctly.

 

Are you sure that http://localhost:9126/SOAP returns a
WSDL document?

 

And are you sure that you serve your application from localhost. I
mean, if you run the application locally through FlexBuilder for example,
highly likely this will not work. You first have to deploy your flex app on the
same host you want to run your webservice on.

 

Cheers,

Franck

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy
Sent: Friday, July 28, 2006 3:41
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WebService Call



 







Thanks for the pointers, they are really helpful. I
have my own app
server and can tell that the flex application calls it, tries to
retrieve the wsdl file and then in flex it tells me that there is an
XML parsing error in the wsdl file. It this point, I am leaning
towards using simple XML since I can generate that if needed. Other
than download and testing SOAP wsdl validators and making sure it is
standard, i think the only other option is the straight XML.

Rich

--- In [EMAIL PROTECTED]ups.com,
slangeberg ...> wrote:
>
> Yeah,
> 
> Try something more like (I'm not sure what your 'FlexData' object was
> supposed to refer to... ):
> 
> wsTest.getData()"">
> 
> 
> id="wsTest"
> wsdl="http://localhost:9126/SOAP"
> fault="{trace(-1);}"
> result="{trace(1);}"/>
> 
> 
> 
> 
> On 7/26/06, richmcgillicuddy <[EMAIL PROTECTED]> wrote:
> >
> > I have a simple web service calling a SOAP web service on my local
> > machine. The call looks like:
> >
> > 
> > wsdl="http://localhost:9126/SOAP"
> > load="wsTest.FlexData.getData()"
> > fault="trace(-1);" />
> >
> > It seems to hang waiting for localhost and if I let it wait long
> > enough, it will give me the following error:
> >
> > ReferenceError: Error #1069: Property getData not found on
> > mx.rpc.soap.mxml.Operation and there is no default value.
> > at Step2/__wsTest_load()
> > ...
> >
> > On the Web Server side, I am looking for client connects from flash
> > and do not seem to get even the client connect. Any ideas?
> >
> > Is there anything that looks odd with the WebService statement?
> >
> > Rich
> >
> > 
> >
> 
> 
> 
> -- 
> 
> : : ) Scott
>






__._,_.___





--
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] Test, sorry

2006-07-28 Thread Rick Root
I'm not receiving any flexcoders email, and I sent one message that I 
didn't see show up, so I'm sending this test.

rick


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

<*> 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] Problem with Flex and CF web service

2006-07-28 Thread ricrootnc
(I posted this to flex@houseoffusion.com but there's more activity 
here)

I can't seem to debug this issue.

I've got a web service set up like this:

https://www.it.dev.duke.edu/components/dukemagsearch/checkMaili
ng2.cfc?wsdl"
 useProxy="false">
 
 
 

getListData() takes no args and runs fine, and populates my list 
boxes.

However, the queryDB() method causes a mysterious fault.

To call the web service, I'm actually using actionscript to set some 
variables and then pass them in as arguments to the .send() method, 
like 
this:

 
ws.queryDB.send
(RUNDATE,ENTITYID,LASTNAME,FIRSTNAME,MINITIAL,PRFSCHCD,PRRECTYP,PRFCL
ASS);

I've also tried using the  tag with the arguments linked 
in there, to no avail.

I'm browsing the flex app locally using a FILE url (C:\Inetpub...) 
but this shouldn't affect anything because the getListData() web 
service responses just fine.

my fault function:

public function queryDBFault(e:Event):void
{
Alert.show(e.toString(), "Oops!", Alert.OK);
}

produces the following alert:

[FaultEvent fault=[RPC Fault faultString="HTTP request error" 
faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent 
type="ioError" bubbles=false cancelable=false eventPhase=2 
text="Error 
#2032: Stream Error, URL: 
https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cf
c"]. 
blah blah blah

Nothing shows up in the coldfusion application log or the exception 
log.

Anyone got any ideas?

Rick







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

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

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

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





RE: [flexcoders] what is beeing sent via ?

2006-07-28 Thread Danny Patterson





http://kevinlangdon.com/serviceCapture/


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
arnold_charmingSent: Friday, July 28, 2006 6:13 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] what is beeing sent 
via ?


Hi!I'm using HTTPService class to send some form data to my 
serverscripts. Is there any way how to find out what exactly (what 
variablesand values) are beeing send via HTTPService?
__._,_.___





--
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: what is beeing sent via ?

2006-07-28 Thread arnold_charming
Tnx.

--- In flexcoders@yahoogroups.com, "Vikas Bhatia" <[EMAIL PROTECTED]> wrote:
>
> http://livehttpheaders.mozdev.org/
> with firefox
> 
> On 7/28/06, arnold_charming <[EMAIL PROTECTED]> wrote:
> >
> >   Hi!
> >
> > I'm using HTTPService class to send some form data to my server
> > scripts. Is there any way how to find out what exactly (what variables
> > and values) are beeing send via HTTPService?
> >
> >  
> >
>







--
Flexcoders Mailing 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: Answer to the most frequent problem...

2006-07-28 Thread Adam Reynolds
Tom,
You need to give yourself an hourly rate and then ask yourself how much 
money the IDE will save you. The effort involved in not using the IDE 
could end up costing you more in the long run.

I do think the charting is just a nice to have, and people will release 
their own cheap/free charting components so you can save yourself even 
more money by not going for that option.

2 years from now when somebody releases flexClipse (tm) free IDE then 
this may be a different conversation.:)

gotgoose09 wrote:
>
> It's so much easier with Flex Builder though. :) Until something free
> with Flex code completion comes out I'd rather use Flex Builder.
> --- In flexcoders@yahoogroups.com 
> , Tom Chiverton <[EMAIL PROTECTED]>
> wrote:
> >
> > On Thursday 27 July 2006 16:30, Shannon Hicks wrote:
> > > Download the trial versions of Flex 2, or go buy a retail copy
> ($749 with
> > > charting) or an educational copy ($79 with charting).
> >
> > I've a better idea.
> > Download the free SDK and don't pay anything. Ever :-)
> >
> > --
> > Tom Chiverton
> >
> > 
> >
>
>   



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