RE: [flexcoders] difference between data models and collectionviews?

2005-11-15 Thread Matt Chotin
An ICollectionView is used for representing a collection of data and is passed to the various List-based controls.  A change to the collection (like removing an item) is automatically noticed by a control which makes it easy for the developer.  A Model is just a nice way of describing an

RE: [flexcoders] Flash player 8.5 auto install?

2005-11-16 Thread Matt Chotin
In Flex 1.5 this was a built-in capability of the server if you wanted it configured.  It should be possible too with the Flex 2 server once that is released (or you can just adjust the tags yourself in the wrapper as you’ve seen).   Matt   From: flexcoders@yahoogroups.com [ma

RE: [flexcoders] Re: Flex2 :: HorizontalList Bug

2005-11-16 Thread Matt Chotin
Yeah, sorry, XMLListCollection doesn’t really work in the Alpha.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Michael Hansen Sent: Wednesday, November 16, 2005 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2 :: Horiz

RE: [flexcoders] Flex2 :: mx.controls.HorizontalList-like control

2005-11-16 Thread Matt Chotin
led enough so that i don't have to pester busy guys like yourself with more or less trivial questions :o) I know this is an alpha release, so it is perhaps to early for this kind of stuff? Thank you for your time Matt. Cheers  -michael On 11/16/05, Matt Chotin <[EMAIL PROTECTED

RE: [flexcoders] mx:Accordion and vScrollPolicy="on": no scrollbars for mx:Accordition visible

2005-11-16 Thread Matt Chotin
I don’t believe Accordion cares about the scroll policy, it’s the children that would scroll or the parent container.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Andriy Panas Sent: Wednesday, November 16, 2005 9:03 AM To: flexcode

RE: [flexcoders] Sandbox violations Flex2

2005-11-16 Thread Matt Chotin
You need a crossdomain.xml file at http://localhost/crossdomain.xml.  Security.allowDomain is to allow SWFs from other domains to communicate with your SWF I believe.   If you access your SWF from http://localhost instead of off your local filesystem you also won’t get the error.   Ma

RE: [flexcoders] Re: ioError # 2038 - Any help?

2005-11-16 Thread Matt Chotin
I’ve filed the bug for you, it reproduces with later builds too so hopefully we’ll get it looked at soon.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nikmd23 Sent: Wednesday, November 16, 2005 10:10 AM To: flexcoders@yahoogroups.c

RE: [flexcoders] Re: ioError # 2038 - Any help?

2005-11-17 Thread Matt Chotin
I’m not reproducing that on my current build, sorry.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Nikmd23 Sent: Thursday, November 17, 2005 8:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ioError # 2038 - Any help?

RE: [flexcoders] My Flex Site Mockup - considerations?

2005-11-17 Thread Matt Chotin
I’ve passed on a request to our internal sales alias to contact you.  Hopefully when they get back to you they can help you work through all these questions.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Merrill, Jason Sent: Thursda

RE: [flexcoders] StringValidator don't work

2005-11-18 Thread Matt Chotin
You can’t use method calls for validator fields, it has to be a property on an object that lives in the document.  You might need a Model in the middle that you can use for binding instead.     {ModelLocator.getInstance().nota.DE50NT==undefined ? '':ModelLocator.getInstance().nota.DE

RE: [flexcoders] Flex 2.0 - Loader - Error #2036 : Load Never Completed

2005-11-18 Thread Matt Chotin
Title: Flex 2.0 - Loader - Error #2036 : Load Never Completed I’ve heard of the Loader having some problems in the alpha but are you sure that it’s really the right path for the swf?  Did you compile MyComponent.mxml already into a SWF, remember you don’t have a server to do the compilati

RE: [flexcoders] How to Embed XML file at compile time?

2005-11-18 Thread Matt Chotin
  Or if you want the XML to be brought in raw use instead .   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Stanislav Zayarsky Sent: Friday, November 18, 2005 2:55 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to Emb

RE: [flexcoders] iterate mx:Model data in CellRenderer

2005-11-18 Thread Matt Chotin
  Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of keishichi2001 Sent: Thursday, November 17, 2005 11:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] iterate mx:Model data in CellRenderer   i'm trying to display mx:Model dat

RE: [flexcoders] default sorting for DataGrid

2005-11-18 Thread Matt Chotin
Wait, who does the initial sorting, the remote object or the DataGrid?  If you’re calling Array.sortOn yourself make sure you’re passing in Array.NUMERIC as an option.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Drew Hite Sent: Fr

RE: [flexcoders] Webservice operations with more than 3 parameters

2005-11-18 Thread Matt Chotin
Does the webservice have overloaded methods, methods with the same name that take different numbers of parameters?  Flex doesn’t really support that unfortunately, you’d need to get a separate WSDL that eliminates the ones that you don’t want to use.   Matt   From: flexcoders@

RE: [flexcoders] Defining default value for missing dynamic properties (doesNotUnderstand:)?

2005-11-18 Thread Matt Chotin
Is this Flex 1.5 you’re talking about?  Check out __resolve: http://livedocs.macromedia.com/flex/15/flex_docs_en/1622.htm and it should get you on your way.   Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jruud68 Sent: Friday, Novemb

RE: [flexcoders] link in new window

2005-11-18 Thread Matt Chotin
Just use a window of “_blank” in getURL I think.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of thisdudenamedjon Sent: Friday, November 18, 2005 5:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] link in new window   I

RE: [flexcoders] Flex2 :: XML-RPC (char replacement nuisance)

2005-11-29 Thread Matt Chotin
Probably less people are testing against .NET right now.  We do have tests that did pass but we’ve also seen some issues with the player (well also the compiler).  The issue that we had internally was one of line-endings where the XML was mixed in using Windows line endings (CRLF or \r\n)

RE: [flexcoders] Flex 2: events in interfaces

2005-11-29 Thread Matt Chotin
Same as a normal class, just put [Event] metadata at the top of the interface declaration.  Note that declaring events in an interface does not enforce any compile-time or runtime checking of the class, it is unenforceable that a class that implements an interface must dispatch (or even d

RE: [flexcoders] [AS3/E4X/Flex2] Parsing rss1

2005-11-29 Thread Matt Chotin
Var ns:Namespace = new Namespace(“http://purl.org/rss/1.0/”); trace(rss.ns::item.toXMLString()) ;   I think will get you going.  You need to get AS to be using the same namespace as the tag, in your example the default namespace is the purl one.   Good luck!   Matt   From

RE: [flexcoders] keyDown

2005-11-29 Thread Matt Chotin
You added a keyDown handler on the link right?  Then you need to check the event.code == Key.SPACE and that will get you going I think.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yagogak Sent: Tuesday, November 22, 2005 9:13 AM To: flexcod

RE: [flexcoders] Problem with binding from webservice

2005-11-29 Thread Matt Chotin
Can you use the debugger to take a look at the meetingRoomService.logonXML1.result object?  The properties may deserialize into a different structure than you expect.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brownd_92 Sent: Thursday, Nov

RE: [flexcoders] Flex 2.0: DataGrid.addChild - TypeError

2005-11-29 Thread Matt Chotin
Title: Flex 2.0: DataGrid.addChild - TypeError Yeah, this is not how you get data into the DataGrid.  Just assign dataGrid.dataProvider = dataProvider and see if that will work for you.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel Bertrand Sen

RE: [flexcoders] flex 2 repeater and custom properties weirdness

2005-11-29 Thread Matt Chotin
Sounds like a dependency problem.  What happens if you do model=”{MenuItemModel(__displayList.currentItem)}”?  If the import works just go with it.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Johannes Nel Sent: Thursday, November 24, 2005 9

RE: [flexcoders] Binding to a .net webservice with flex 2

2005-11-29 Thread Matt Chotin
It’s possible that the way .NET writes a DataSet in its XML is confusing to Flex, but in general Flex works with .NET web services.  If you have an example we can try to run it here.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of brownd_92 Sen

RE: [flexcoders] Mapping Java HashMap to Flex Actionscript

2005-11-29 Thread Matt Chotin
When a HashMap is sent back to Flex it will simply be an Object.  You can access a value by doing myObj[key]   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of prasanthasi Sent: Saturday, November 26, 2005 7:24 PM To: flexcoders@yahoogroups.com Su

RE: [flexcoders] Validate without ERRORTIP appeariing

2005-11-29 Thread Matt Chotin
You need to set the listener of the validator to something that won’t display anything.  You can use listener=”this” for example and then add a validationFailed function that doesn’t do anything.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Webservice not working! Any Ideas.

2005-11-29 Thread Matt Chotin
Are you sure that NewDataSet is an array?  Have you printed out the contents of the array to make sure the object structure is right?  Can you use the FlexBuilder debugger to put a breakpoint at the first line in resultHandler and inspect the value you’re about to assign?   Matt  

RE: [flexcoders] concurrency="last"

2005-11-29 Thread Matt Chotin
I believe concurrency should be done on an operation basis but the setting is inherited from the service you don’t assign one.  The default is multiple.   Are you making 4 different method calls or 4 calls to the same method?  If the same method then obviously a setting of last should o

RE: [flexcoders] HTTPService: how to dynamically add params.

2005-11-29 Thread Matt Chotin
Title: Mercury Email Signature Var oRequest = new Object(); oRequest[paramName] = value;   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi Cohen Sent: Tuesday, November 29, 2005 9:23 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoder

RE: [flexcoders] Arrays sharing the same memory ?!

2005-11-29 Thread Matt Chotin
Are the print filter arrays defined in the method itself or as instance variables?  They will be static if you assign them as instance variables, so you don’t want to do that.  If this is all in the same method they should be separate instances.  You could try assigning to [] instead of n

RE: [flexcoders] Maintaining Session Data/Passing data to other apps

2005-11-30 Thread Matt Chotin
Have you looked into SharedObject, if you’re hitting the same domain that should allow you to share data across SWFs.   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of smi295 Sent: Wednesday, November 30, 2005 2:35 AM To: flexcoders@yahoogroups.

RE: [flexcoders] concurrency="last"

2005-11-30 Thread Matt Chotin
led on the same service. Rich On 11/30/05, Matt Chotin <[EMAIL PROTECTED]> wrote: I believe concurrency should be done on an operation basis but the setting is inherited from the service you don't assign one.  The default is multiple.   Are you making 4 different method calls o

RE: [flexcoders] Flex2 :: XML-RPC (char replacement nuisance)

2005-11-30 Thread Matt Chotin
created. I guess other rpc services do not html-encode the 'payload'?? Flickr(PHP??) seems to work just fine... Is Microsoft right in doing this encoding? Anybody out there a genius on RPC??  (less may also do it :) Cheers  -michael PS. The linefeeds are definetly not the problem

RE: [flexcoders] Passing Object to MXML Component?

2005-11-30 Thread Matt Chotin
You need userObject to be [Bindable] and for this build that also means it needs to be public (this is in the application).   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Wednesday, November 30, 2005 4:13 PM To: f

RE: [flexcoders] Mapping Java HashMap to Flex Actionscript

2005-11-30 Thread Matt Chotin
   myItem.property   } One question on this topic how do we send them back to Java?    Let's say you added a new key to the HashMap in Flex and want to send it back for processing |-+-> | | | |     |  &quo

RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-11-30 Thread Matt Chotin
What are you trying to do, create a new adapter?  I don’t really know the config file that well but I think if you don’t see an example of what you’re trying to do it may not be possible.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf O

RE: [flexcoders] tomcat mxml/swf expiry issue (flex 1.5)

2005-12-01 Thread Matt Chotin
In bod’s case though it sounds like the license isn’t installed correctly so the server as acting as a developer edition (which will recompile after a day).   So make sure your license got installed correctly (check the console when you start your server or look at the logs and you’ll s

RE: [flexcoders] gateway-config.xml configuration file description in Flex 1.5

2005-12-01 Thread Matt Chotin
Well it’s undocumented because we’re not expecting you to mess with that portion nor planning on supporting you doing it J  Flex 2 is a re-implementation of much of that logic so everything is different internally, who knows if the quality is as poor as you say anymore.   Matt  

RE: [flexcoders] Re: Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Matt Chotin
In 1.5 you can only access the validator instance in the validate event handler, so that’s where you’d need to do your work.     From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Libby Sent: Thursday, December 01, 2005 1:24 PM To: flexcoders@ya

RE: [flexcoders] Re: Could someone point me to an example of validator.hasErrors()

2005-12-01 Thread Matt Chotin
validator then in order to do this you would need to overload the validate() function, right? Thanks, Libby --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > In 1.5 you can only access the validator instance in the validate event > handler, so t

RE: [flexcoders] Does System.security.loadPolicyFile work with Flex 2.0 Alpha for anybody?

2005-12-01 Thread Matt Chotin
I think it’s flash.system.Security.loadPolicyFile(…)   import flash.system.Security;   Security.loadPolicyFile(…)   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Thursday, December 01, 2005 4:22 PM To: flexcode

RE: [flexcoders] showing values inside datagrid when click on button outside

2005-12-01 Thread Matt Chotin
You want to print all of the att_Name values but the problem is that everything inside is objects.  You’re going to need to do it differently.   function showAlert():Void {   var str:String = “”;   for (var i:Number=0; i < lglDocLst.length; i++)   { str += lglDocList[i].att_Na

RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Matt Chotin
Did you extend EventDispatcher?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Friday, December 02, 2005 10:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionSc

RE: [flexcoders] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-02 Thread Matt Chotin
The biggest impact so far was we had to change one of our internal server names since Adobe has one with the same name.   I heard that Adobe won’t allow Roger to ride his motorcycle anymore though…   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behal

RE: [flexcoders] Flex 2.0 Alpha: dispatchEvent(Event) method in ActionScript class

2005-12-02 Thread Matt Chotin
cInt Telecommunications GmbH m:+49-(0)170-914-5495 | f: +49-(0)231-557402-99 | e: [EMAIL PROTECTED] --- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Ch

RE: [flexcoders] Using ActionScript Class in Flex Code

2005-12-02 Thread Matt Chotin
You need to put [Bindable] on top of var mystr.   [Bindable] public var mystr:String = ….   However you’re also trying to do things directly in the Script block which isn’t allowed.  You’ll need to create a function and have the application call that.       [Bindable]   publi

RE: [flexcoders] Custom Validator on CheckBox

2005-12-02 Thread Matt Chotin
Does the validator fire when you check the checkbox and it’s just that the error doesn’t clear?  Or does the validator not fire when you click on the checkbox?   If the first it sounds like a bug, you could workaround it by adding a validate handler and setting the errorString on the ch

RE: [flexcoders] To Moderator

2005-12-03 Thread Matt Chotin
The moderators only approve the first message you send (though there have been times where for some reason the moderators have to approve each message, they usually let the person know though and try to work it out).  I have a different problem where I sometimes see people responding to q

RE: [flexcoders] Re: Custom Validator on CheckBox

2005-12-03 Thread Matt Chotin
. Thanks, Sean --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > Does the validator fire when you check the checkbox and it's just that > the error doesn't clear?  Or does the validator not fire when you click > on the checkbox? > &

RE: [flexcoders] Datagrid Row Color based on Value in Column

2005-12-03 Thread Matt Chotin
Add a property called backgroundColor to each object in the dataProvider and set it to be the same value as the property you wanted to base it on.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shahnavaz Alware Sent: Friday, December

RE: [flexcoders] How to add an MXML component which is not in the root folder?

2005-12-04 Thread Matt Chotin
  Check out the docs that describe namespaces in MXML.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Sunday, December 04, 2005 11:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to add an MXML c

RE: [flexcoders] (Flex 2.0) Slider.labels bug?

2005-12-05 Thread Matt Chotin
If you want to send in an example demonstrating to http://www.macromedia.com/go/wish we can take a look.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Darin Kohles Sent: Sunday, December 04, 2005 11:22 AM To: flexcoders@yahoogroups.

RE: [flexcoders] Event Handler Functions

2005-12-05 Thread Matt Chotin
This is Flex 2?  Correct, we no longer try calling Handler functions, you will need to do addEventListener yourself and pass in the function name.  Note that events now are typed as a class, not Object (Event by default).   Matt   From: flexcoders@yahoogroups.com [mailto:flexc

RE: [flexcoders] Is there any place for me to set the time zone?

2005-12-05 Thread Matt Chotin
The Player uses the timezone of the user’s computer by default.  You’ll need to write your app to adjust appropriately by adjusting the date using getTimezoneOffset.  (http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary163.html).   Gene

RE: [flexcoders] Handling Base Class (Low level Events)

2005-12-05 Thread Matt Chotin
Did you try var listener:Object = new Object(); Listener.keyUp = …   You weren’t really creating the listener object there…   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Caroline Sent: Monday, December 05, 2005 2:21 AM To: flexco

RE: [flexcoders] acceding complex data java pojo charged in a dataGrid Control

2005-12-05 Thread Matt Chotin
You’ll need to use a labelFunction.       Function getNationalityDescription(item)   {     Return item.idNationality.description;   }   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Luis Felipe Avalos Pérez Sent: Monday, De

RE: [flexcoders] Datagrid Issue

2005-12-05 Thread Matt Chotin
Don’t you need a check for < 1000 in your if (price > 100) test?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shahnavaz Alware Sent: Monday, December 05, 2005 4:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid Issue  

RE: [flexcoders] Datagrid Issue

2005-12-05 Thread Matt Chotin
after I click on Price header. I replaced the script so now I am just checking for Price > 100 and when you sort by price after it renders the result is still the same.                   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Cho

RE: [flexcoders] Re: Is there any place for me to set the time zone?

2005-12-05 Thread Matt Chotin
allows only one constructor. How can I also constructs something like: function Date(year:Number,month:Number,date:Number,hour:Number,min:Number,sec:Number,ms:Number); ?   Thank you very much!   Regards, Ernest --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]>

RE: [flexcoders] Web services: Question about array serialization

2005-12-05 Thread Matt Chotin
Is this a .NET WebService?  I think we have a bug on this which is fixed in 2.0.  You can work around this by creating the request yourself and putting together the request yourself based on what the WSDL looks like.   Sorry!   Matt   From: flexcoders@yahoogroups.com [mailt

RE: [flexcoders] Adobe's Acquisition of Macromedia Expected to Close on December 3, 2005

2005-12-06 Thread Matt Chotin
Also clear your cache if using Firefox, I noticed that the MM page was messed up if I didn’t.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Englert Sent: Tuesday, December 06, 2005 4:03 AM To: flexcoders@yahoogroups.com Subject: RE: [fle

RE: [flexcoders] Re: Session Management using Flex

2005-12-06 Thread Matt Chotin
Tomcat is a servlet container, it does not have the full J2EE implementation.  But you can often enable J2EE features in Tomcat without a full-blown container as you’ve pointed out.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudse

RE: [flexcoders] PDFs of Flex 2.0 Alpha documentation

2005-12-06 Thread Matt Chotin
http://labs.macromedia.com/wiki/index.php/Flex_Framework#Documentation   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: Tuesday, December 06, 2005 3:17 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] PDFs of Flex 2.0

RE: [flexcoders] Flex Date Formatter issue ??

2005-12-06 Thread Matt Chotin
I think you should be using JJ instead of HH in yoru format string since normally we go 0-23 for hours and not 1-24.  The ASDoc for the DateFormatter describes the characters in more details.  I admit it does seem like HH should be the 0-23 version since it’s more common…   Matt  

RE: [flexcoders] Datagrid Issue

2005-12-06 Thread Matt Chotin
yle("backgroundColor", 0x00) with no luck.   Thanks,   Shahn   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt Chotin Sent: Monday, December 05, 2005 6:16 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Datagrid Issue

RE: [flexcoders] Variable Initialization Bug? Data Binding Issues in Flex 1.5

2005-12-06 Thread Matt Chotin
Instance variable assignment in the declaration is always dangerous because dependencies are generally not tracked for initialization purposes.  Assigning the variable in a function that’s called later (like creationComplete or even initialize) is considered the best-practice.   Matt  

RE: [flexcoders] Re: Cast Object Name from string then do object.function() - is it possible?

2005-12-07 Thread Matt Chotin
Type objectA as Object instead of UIComponent.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Libby Sent: Wednesday, December 07, 2005 1:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Cast Object Name from string then do object.function

RE: [flexcoders] Re: Cast Object Name from string then do object.function() - is it possible?

2005-12-07 Thread Matt Chotin
plate", and then cast it (the template) to ObjectA? --- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote: > > Type objectA as Object instead of UIComponent. > >  > > > > From: flexcoders@yahoog

RE: [flexcoders] FocusInHandler Issue Part III

2005-12-07 Thread Matt Chotin
I don’t know what the problem is but I ran it on a current build and it’s working.  So find a way to avoid it in the short-term and it will hopefully work with the next build we drop.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ra

RE: [flexcoders] Newbie Flex/Media Server problem

2005-12-07 Thread Matt Chotin
Have you read this article by Christophe?  http://coenraets.com/viewarticle.jsp?articleId=90   In the source code for that app is a LiveMediaDisplay class that we used to work around some issues that we had with playing a Flashcom streams.  It might help you out…   Matt   Fr

RE: [flexcoders] datagrid cell style problem

2005-12-07 Thread Matt Chotin
Title: datagrid cell style problem I think if you’re going to want the color to follow the row around you’re going to need to use a custom cell renderer.  Have the checkbox set a property on the item and then have the cell renderer look at that property to decide what the background color

RE: [flexcoders] Odd error showing up in logs

2005-12-07 Thread Matt Chotin
Probably you’re requesting an image or Loader and the url to the image is a string concatentation of some values, but you either have the wrong second value (like forgetting to put parentheses on a function call) or maybe the value is not what you think it should be.   Or if it’s not a

RE: [flexcoders] FocusInHandler Issue Part III

2005-12-08 Thread Matt Chotin
Title: Re: [flexcoders] FocusInHandler Issue Part III Not announced yet, some time after the new year I think.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ralf Rottmann Sent: Wednesday, December 07, 2005 11:05 PM To: flexcoders@ya

RE: [flexcoders] checkCellRender Validation

2005-12-08 Thread Matt Chotin
In your CheckBoxCellRenderer class you could add a static variable called “anySelected.”  Then you could bind the enabled property of the CheckBox in your renderer to !anySelected || myCB.selected and then in the click handler of your CheckBox set anySelected to myCB.selected.   So here

RE: [flexcoders] Re: 2 Easy questions - fields that begin with '_' and location of javadoc

2005-12-08 Thread Matt Chotin
Underscore variables are not guaranteed to remain.  In fact we’ve gotten rid of all public underscore variables in Player 8.5 and Flex 2.   In 1.5 I don’t think we published ASDoc for the built-in classes, that API is only in the ActionScript reference in the docs which I believe is ava

RE: [flexcoders] How to deselect a RadioButtonGroup?

2005-12-08 Thread Matt Chotin
The only way to do this is undocumented and therefore probably won’t work in Flex 2.0.  Set rgpSex.selectedRadio = undefined;   Normally I don’t think a UI lets you de-select a radio group though, instead you should have an option for “none”   Matt   From: flexcoders@yahoogr

RE: [flexcoders] How to deselect a RadioButtonGroup?

2005-12-08 Thread Matt Chotin
Though in looking at the name of your radio button I’m guessing you’re resetting a form, in which case the selectedRadio trick is the thing to try.   From: Matt Chotin Sent: Thursday, December 08, 2005 10:19 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcode

RE: [flexcoders] changing background color of a cell in datagrid

2005-12-08 Thread Matt Chotin
Title: changing background color of a cell in datagrid colorRenderer.mxml                 Note that the clicking only works over the Label the first time but the whole cell once the color has changed once.  I’ll let you debug it further…   From: flexcoders@yahoogro

RE: [flexcoders] RadioButton in DataGrid

2005-12-09 Thread Matt Chotin
Did you try just swapping the RadioButton for the CheckBox in the example?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jagabcdeff Sent: Thursday, December 08, 2005 11:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] RadioButton i

RE: [flexcoders] passing Map in remote object

2005-12-09 Thread Matt Chotin
It probably was returned as an Object.  We don’t have a specific HashMap class, instead Object is what you’ll get and it won’t indicate how many properties there are.  You can however still iterate through them:   var numProps:int = 0; for (var key:String in obj) {   var value = obj[

RE: [flexcoders] Cell Renderers: TreeGrid Renderer issue

2005-12-09 Thread Matt Chotin
Are you sure the image renderer is setting the image source to null when you’re closing the row?  Maybe set the image visibility to false too?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mohanraj Jayaraman Sent: Friday, December 09, 2005 1

RE: [flexcoders] Flex Enterprise Server 2.0

2005-12-12 Thread Matt Chotin
It would probably be more dependent on your messaging system, and what you decide to configure.  I think you’re probably on the right track with dividing your topics in such a way that they’ll be more efficient in what data gets pushed regularly so that a client can better optimize their

[flexcoders] fyi: no more zip file attachments for adobe

2005-12-12 Thread Matt Chotin
FYI, it looks like Adobe doesn't allow zip files as attachments in email, so if you post to the list with a zip file it may not get through to us. So make sure you either change the extension to a fake extension and tell us the extension name, or post the file elsewhere and provide a link, or best

RE: [flexcoders] problem with retreiving data from repeater...

2005-12-13 Thread Matt Chotin
Look into event.target.getRepeaterItem().  currentItem is only going to work for binding, when you use an event handler you need to call getRepeaterItem on the actual object that was repeated.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Beh

RE: [flexcoders] SAP Webservices problem

2005-12-13 Thread Matt Chotin
Is the SAP server at a different location than you’re SWF?  If so you’re running into crossdomain.xml issues.  I’m guessing that the SAP web service is not at port 80, but when we make the crossdomain request it will go to http://server/crossdomain.xml even if your request was at http://s

RE: [flexcoders] Toggle a child of a DividedBox?

2005-12-13 Thread Matt Chotin
Maybe you can just remove the console panel from the divided box so that it has only one child and add it back in when you want it? You can't get the DividedBox to change child pointers like you're attempting. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTEC

RE: [flexcoders] Re: Web services: Question about array serialization

2005-12-14 Thread Matt Chotin
I’ll get a bug filed on DataSet support and see if we have some time to try to improve things in 2.0.  No guarantees…   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Wednesday, December 14, 2005 6:49 AM To: flexcoders@yahoogroups.com Sub

RE: [flexcoders] Local data access in Flex

2005-12-14 Thread Matt Chotin
I can’t imagine it will work, Central is not going to be running 8.5…   You will be able to work with local data if the SWF is local and is compiled to not try to access the network (see the usenetwork compilation option).  The security sandbox does not allow a SWF to work with local da

RE: [flexcoders] Local data access in Flex

2005-12-14 Thread Matt Chotin
Details on Apollo are not going to be that forthcoming because it’s in the early throes of development, though Ethan Malasky who wrote a lot of Central is guiding Apollo on our end.  I would work under the assumption that Apollo will be new, don’t expect a lot of backwards compatibility t

RE: [flexcoders] rowRenderer

2005-12-14 Thread Matt Chotin
Shouldn't your super.setValue call be the first line of the method no matter what (above the if)? Also I'm not sure if it would make a difference to compare if (item != null) instead of if (item != undefined). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTEC

RE: [flexcoders] Re: columnCount prop doesn't work in TileList(Flex2.0)

2005-12-14 Thread Matt Chotin
If your test case is that simple it may be that TileList has a bug. It mostly worked when I just tested it on a local build now, though I noticed that it was off by one at first and required a slight resize to get correct (it showed 6 instead of 7). Matt -Original Message- From: flexco

RE: [flexcoders] Required Asterisk(*) Color with CSS

2005-12-14 Thread Matt Chotin
This is actually an embedded asset. You would need to create your own and then set it as the FormItem's requiredIndicatorSymbol (you might want to create a subclass of FormItem and set this value early). Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] O

RE: [flexcoders] selecting items in a listbox based on a query result

2005-12-14 Thread Matt Chotin
You're assigning the index to the selectedIndices variable, you need to modify the array. var toSelect:Array = []; for (...) if (...) toSelect.push(i); select.selectedIndices = toSelect; HTH, Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Be

RE: [flexcoders] Image with transparency in DataGrid

2005-12-14 Thread Matt Chotin
Only non-progressive JPG and SWF is supported for dynamic loading right now, so it isn’t going to work for your cell renderer.  Check other FAQ entries for workaround suggestions (like a servlet to convert the image for you).  Flex 2 will support GIF and PNG.   From: flexcoders@

RE: [flexcoders] Problem with getURL() method in Action Script

2005-12-15 Thread Matt Chotin
I think the POST stuff is not going to work so I'd take that out. Have you tried just naming a window, getURL(url, "someWindow") so that it will re-use the popped window? Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jagabcdeff Sent: Wedn

RE: [flexcoders] data binding question

2005-12-15 Thread Matt Chotin
No, source is a compile-time flag. You'll want to look into HTTPService for dynamically loading this stuff. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sam Sent: Thursday, December 15, 2005 1:02 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-15 Thread Matt Chotin
I'm hoping that someone from product management might have a chance to address this but we've been awfully busy. Please be assured that there are active discussions internally about the right way to release this functionality to the public and we are not going into this with the goal of screwing o

RE: [flexcoders] Problem with getURL() method in Action Script

2005-12-15 Thread Matt Chotin
mail: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Chotin Sent: Thursday, December 15, 2005 8:17 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Problem with getUR

RE: [flexcoders] Re: Flex2 and Amfphp is it possible ?

2005-12-16 Thread Matt Chotin
Jesse is correct and you're mis-interpreting Phil. The new AVM can communicate using AMF0 if you set that flag on NetConnection. You can then use NetConnection directly against the older server. Additionally AMF3 is not available in the older AVM, it's only available in the new AVM and the code

<    1   2   3   4   5   6   7   8   9   10   >