RE: [flexcoders] How to handle a returned Java Collection in Flex - RemoteObject call

2005-08-17 Thread Matt Chotin
lly tried as well. Any comments on this?           "Matt Chotin" To: flexcoders@yahoogroups.com 

RE: [flexcoders] how to add items to the dragsource?

2005-08-17 Thread Matt Chotin
Sorry for the late response, I believe that when you get the dataForFormat(“items”) you receive a copy of the items *each time.*  So the next time somebody asks for dataForFormat(“items”) they’re getting a new copy, thus not seeing your changes.  The DragProxy itself I don’t think is goin

RE: [flexcoders] Text content larger than 16384 bytes may not be included at compile-time (740684

2005-08-17 Thread Matt Chotin
Basically we don’t allow super-long strings (which in your case is a big string of XML to be parsed) to get compiled into the SWF because it’s almost guaranteed to cause a 32K branching limit issue.   Hopefully this limit goes away in Flex 2.   Matt   From: flexcoders@yahoog

RE: [flexcoders] problem with cell renderer showing data in datagrid twice

2005-08-17 Thread Matt Chotin
Craig, did you solve this or do you still need help?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Craig Newroth Sent: Thursday, August 11, 2005 11:35 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] problem with cell renderer sho

RE: [flexcoders] mxmlc: Error with configuration file... Invalid content starting with...

2005-08-17 Thread Matt Chotin
Title: mxmlc: Error with configuration file... Invalid content starting with... You figure this out?  What’s the command-line that you used?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Thursday, August 11, 2005 6:02 PM T

RE: [flexcoders] Cannot assign selected value from a radiobutton that was created dynamically.

2005-08-17 Thread Matt Chotin
addEventListener(“click”, mx.utils.Delegate.create(this, clickRadioButton);   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 12:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cannot a

RE: [flexcoders] Validation TextInput

2005-08-17 Thread Matt Chotin
The problem is that the validators won't fire until they've seen a valid (non-empty) value come across. We explicitly made a decision that tabbing through an empty field would not cause an error, so binding doesn't trigger validation in this case. What you can do is programmatically set the va

RE: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-17 Thread Matt Chotin
I think someone else ran into this (maybe Mika?) but I don't remember if it had a work around. This is something we're fixing in 2.0, I don't have a solution for you off the top of my head. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] menubar bar color

2005-08-17 Thread Matt Chotin
Title: Creating a new Flex component I think it’s stuck in 1.x but I’m not 100% sure.  Seems like you’ve played a lot with it though to no avail.  Make sure the Flex Style Explorer didn’t solve it but otherwise I think it’s stuck.   Matt   From: flexcoders@yahoogroups.com [mai

RE: [flexcoders] Calling RemoteObject declared in a mxml component in an application-The property being referenced does not ...

2005-08-17 Thread Matt Chotin
You can’t use the classname for your id.  Change id=”services” to something like id=”myServices” and then do myServices.myRemoteObject…   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, August 16, 2005 8:25 AM To

RE: [flexcoders] Changing the wrongLengthError in a DateValidator

2005-08-18 Thread Matt Chotin
The field in 1.x is abstracted away from the validator so that it’s really only working with the value.  Because of the way Validators are generated there isn’t even really a field property on the Validator, it’s just a code-gen construct that is used to register the Validator in a larger

RE: [flexcoders] Second attempt at posting

2005-08-19 Thread Matt Chotin
Are you talking about a database on a server or you just want it stored for the individual user on their machine.  If the individual user then you’re talking about a Local Shared Object.  If you want it on a remote server then you want to use one of our services (HTTPService, WebService,

RE: [flexcoders] Second attempt at posting

2005-08-19 Thread Matt Chotin
If you’re only talking localhost then I’d look into local shared object and see if that fits your needs.  If you think you need to do something different how about you tell us which server development technologies you’re familiar with and maybe we can give you better guidance.  

RE: [flexcoders] Application preloader

2005-08-19 Thread Matt Chotin
Shouldn’t the preloader.swc simply go in the root without the need to add another folder?  Or drop it in your user_classes folder?   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Friday, August 19, 2005 5:47 AM To: fle

RE: [flexcoders] XML Parsing

2005-08-21 Thread Matt Chotin
I assume it’s something like this:   baz   I thought we had dealt with this but it might be a known issue.  Try tracing foo[‘attr’] and foo.toString() and see if you get the values.  Otherwise you’ll need to adjust your XML.   Matt   From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [flexcoders] Calling RemoteObject declared in a mxml component in an application-The property being referenced does not ...

2005-08-21 Thread Matt Chotin
myList= result;     }                "Matt Chotin" To: [EMAIL PROTECTED]  <[E

RE: [flexcoders] Sudenn compile err: Unresolved symbol, __Packages.unescape, required by __Packages.LogicEngine

2005-08-21 Thread Matt Chotin
Title: Sudenn compile err: Unresolved symbol, __Packages.unescape, required by __Packages.LogicEngine Check to make sure your web-inf/flex/system_classes folder is still around and toplevel.as is in there.  That’s where unescape is.   I’d also clear out your web-inf/flex/generated direc

RE: [flexcoders] Scrollbar in canvas

2005-08-21 Thread Matt Chotin
What if you set the vbox1 width/height to 100%.  Then it will have a scrollbar as necessary I think.   Matt   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Rajesh Jayabalan Sent: Friday, August 19, 2005 5:56 PM To: [EMAIL PROTECTED] Subject: [flexcoders] Scro

RE: [flexcoders] switch value on numericstepper

2005-08-21 Thread Matt Chotin
You might be able to simply use binding   value=”{step2.value == 1 ? 2 : 1}”/> value=”{step1.value == 1 ? 2 : 1}”/> But that also might not be too happy.  Otherwise add a change event listener onto both and in the handler simply switch the other value.   Matt From: [EMAI

RE: [flexcoders] Flex App with RSL fails in Standalone Flash Player

2005-08-22 Thread Matt Chotin
You might need a crossdomain.xml file available since the standalone is not considered to be running from the same location as localhost in all likelihood.   What happens if you open up the standalone player, then use File -> Open and hit http://localhost/pathtofile?  If it works I’m pr

RE: [flexcoders] Re: Calling a webservice solely through AS

2005-08-29 Thread Matt Chotin
Not supported in Flex 1.5, supported in an upcoming version.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Monday, August 29, 2005 6:07 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Calling a webs

RE: [flexcoders] Validators and Formatters

2005-08-29 Thread Matt Chotin
AS-only validators are not supported in 1.5.  They will be in the next version.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of priya_sukup Sent: Sunday, August 28, 2005 11:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Va

RE: [flexcoders] How to set a WebService endpoint?

2005-08-29 Thread Matt Chotin
It is automatically determined from the WSDL.  If you need to specify a different endpoint check the docs here: http://livedocs.macromedia.com/flex/15/flex_docs_en/0770.htm From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mink, Joseph Sent: M

RE: [flexcoders] "Browserless" Flex? - legal?

2005-08-31 Thread Matt Chotin
Title: Re: [flexcoders] "Browserless" Flex? You only asked 3 hours ago, have patience J  I believe what you’ve proposed falls within the license but you can talk to a sales rep for further confirmation.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Beh

RE: [flexcoders] How to set a WebService endpoint?

2005-08-31 Thread Matt Chotin
lert ();   trace ("end wsGetAlert()"); } But when reviewing the flex.log file, the following line can be observed for each WS call: 08/30 07:43:19 INFO -- POST : http://localhost:8080/uimanager/UIManagerService I'm confused!  Thanks for the reply though! _

RE: [flexcoders] reference to a webservice object

2005-08-31 Thread Matt Chotin
WebService will really be a reference to mx.servicetags.Service but you should be able to use it to make calls.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of inajamaica Sent: Tuesday, August 30, 2005 6:52 AM To: flexcoders@yahoogroups.com Sub

RE: [flexcoders] NumberFormatter question

2005-09-01 Thread Matt Chotin
That seems like a bug, the reason it’s pulling the exponent is probably because of that hyphen after the e, it parsed the number incorrectly as -4 and -12.  Not sure of the workaround without playing around and unfortunately I don’t have time at the moment.  Sorry, please file it if you c

RE: [flexcoders] Reflection and RemoteObjects

2005-09-01 Thread Matt Chotin
Title: Reflection and RemoteObjects Any object you receive back from a RemoteObject should work in any system you want (like the Reflection API).  But it’s going to be the AS object, it won’t tell you anything about the Java object on the server.  Make sure you have a real object that you

RE: [flexcoders] Background alpha in Tree control does not seem to be working

2005-09-01 Thread Matt Chotin
I don’t think Tree or the Lists support alpha for their background.  I might be wrong but it’s what I remember…sorry.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of delaquae Sent: Thursday, September 01, 2005 11:44 AM To: flexcoders@yahoogroup

RE: [flexcoders] passing array of Form values in VO

2005-09-01 Thread Matt Chotin
Easiest way might be to componentize the FormItem.  Then you give the FormItem its own id but the IDs inside all can be the same.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cruegger2000 Sent: Thursday, September 01, 2005 12:25 PM To: flexc

RE: [flexcoders] Drag-and-drop: Delete Canvas after Move

2005-09-01 Thread Matt Chotin
Rough sketch maybe… you would want to add a reference to the canvas itself as part of your drag source data.  So instead of just relying on the format that had “Blue” or “Red” you would have another format called sourceCanvas or something like that, then in your drop handler you’d grab da

RE: [flexcoders] Warning refinement request

2005-09-02 Thread Matt Chotin
Can you file that on the wishlist please?  http://www.macromedia.com/go/wish.  We’ll see if we’ve done better in our current builds.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Aral Balkan Sent: Friday, September 02, 2005 8:52 AM

RE: [flexcoders] passing array of Form values in VO

2005-09-06 Thread Matt Chotin
ents yet. Thanks, Chris Matt Chotin <[EMAIL PROTECTED]> wrote: Easiest way might be to componentize the FormItem.  Then you give the FormItem its own id but the IDs inside all can be the same.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoo

RE: [flexcoders] Custom CellRenderer displaying multy colors

2005-09-06 Thread Matt Chotin
I don’t think you attached the code for the renderer correctly.  But to change the color of the renderer maybe use a VBox and do a setStyle(“backgroundColor”) with the appropriate value.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of

RE: [flexcoders] Flex Consuming .Net WS (WSE 2.0)

2005-09-06 Thread Matt Chotin
We don’t have any support for those security features built-in right now.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jose (DSM) Lora Sent: Tuesday, September 06, 2005 7:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] F

RE: [flexcoders] Flex Sample Application

2005-09-10 Thread Matt Chotin
Make sure your flex-config.xml has the appropriate entries (did you take samples.war or did you copy to another war?).  FormatSourceService should be in there I think (I haven’t gone back and looked to refresh my memory though).   Matt   From: flexcoders@yahoogroups.com [mailt

RE: [flexcoders] HeaderRenderer Tooltips

2005-09-10 Thread Matt Chotin
The setValue method of the headerRenderer is going to be passed the text it wants to display for the column.  You can use that to set the toolTip property as well.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of thisdudenamedjon Sent:

RE: [flexcoders] RowRenderer for DataGrid: is this possible?

2005-09-10 Thread Matt Chotin
Writing a custom row renderer is pretty hard in Flex 1.5, it’s something we’re hoping to improve in the next version.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of P Trisnadi Sent: Wednesday, September 07, 2005 5:30 PM To: flexcoder

RE: [flexcoders] setting focus back to component that fails validation?

2005-09-10 Thread Matt Chotin
You could use the focusOut event instead.  The valueCommitted handler is going to fire before the component attempts to change focus, so after it has executed (and you’ve called setFocus) THEN the component will switch focus.  So you need to switch focus back later in the process.   Mat

RE: [flexcoders] Tween classes

2005-09-10 Thread Matt Chotin
Try not using _level0, go through Application.application.  And see if you should be using Delegates too J   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Friday, September 09, 2005 9:56 AM To: flexcoders@yaho

RE: [flexcoders] setting value to datefield text..

2005-09-10 Thread Matt Chotin
Try “change” or “valueCommitted” maybe?   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Greg Morphis Sent: Friday, September 09, 2005 10:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] setting value to datefield text..  

RE: [flexcoders] Flash Remoting.

2005-09-10 Thread Matt Chotin
Look for ASSetPropFlags.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Omar Ramos Sent: Friday, September 09, 2005 2:20 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flash Remoting.   Hi list,   I know ther

RE: [flexcoders] Checkbox Cell Renderer

2005-09-10 Thread Matt Chotin
Title: Checkbox Cell Renderer I’m guessing that you accidentally have a reference to something that is not being cleared in your renderer.  Remember that the renderer is re-used for many items and as you scroll up and down it changes position.  So maybe there’s an instance variable in you

RE: [flexcoders] about synchronization in retrieving data by using a httpservice

2005-09-10 Thread Matt Chotin
Not sure exactly what you’re running into here.  You’re calling the next httpservice in the result handler of the previous one right?   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of xiankevin2005 Sent: Friday, September 09, 2005 9:51

RE: [flexcoders] main app build on the fly

2005-09-10 Thread Matt Chotin
It’s pretty difficult to get the app to load data before the rest initializes.  I suppose what you could do is have your application not instantiate anything except for the data service, have the data service execute, and then in the result handler have it continue the instantiation of th

RE: [flexcoders] Flex Choking on Array WSDL syntax?

2005-03-17 Thread Matt Chotin
What does the SOAP request look like?  Nothing in what you’ve posted jumps out at me.   Matt   From: extensive_systems [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 1:31 PM To: [EMAIL PROTECTED] Subject: [flexcoders] Flex Choking on Array WSDL syntax?   I'm ca

RE: [flexcoders] Re: Flex Choking on Array WSDL syntax?

2005-03-17 Thread Matt Chotin
p.org/soap/encoding/"   xsi:type="soapenc:Array" />     GOP     evil         --- In [EMAIL PROTECTED], Matt Chotin <[EMAIL PROTECTED]> wrote: > What does the SOAP request look like?  Nothing in wh

RE: [flexcoders] BIRTHDAY: THE FATHER OF DATA BINDING

2005-03-18 Thread Matt Chotin
Thank you all J  I was suspicious when Libby was apologizing to me yesterday for “unnamed reasons.”   Matt   From: Steven Webster [mailto:[EMAIL PROTECTED] Sent: Friday, March 18, 2005 1:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] BIRTHDAY: THE FATHER OF DATA B

RE: [flexcoders] RemoteObjects and UI within UI problem

2005-03-18 Thread Matt Chotin
I think you might be running into security issues.  The two swfs you are loading are on different domains (because of their ports) and it’s possible that they won’t play nicely with each other.  Did you check flashlog.txt for any security warnings?  What would happen if you put an “all al

RE: [flexcoders] Validator don't work

2005-03-18 Thread Matt Chotin
In this and the other questions you've asked recently you're trying to bind and validate with elements in an array (the 0th element). Binding and validation really aren't set up to work with arrays like this. What I would do is consider creating a separate model, copying the data from vpof[0] to

RE: [flexcoders] Dynamicly calling a webservice

2005-03-18 Thread Matt Chotin
As you probably realize creating a WebService in ActionScript is not a supported operation in 1.5.  I would check out the Service Locator pattern that’s implemented with Cairngorm and discussed in detail in the Developing Rich Clients book.    The approach to asynchronous calls also mi

RE: [flexcoders] Re: Deploying Flex Applications

2005-03-18 Thread Matt Chotin
The caching is controlled by the user’s browser.  Most browsers do have caching turned on, so you’ll be fine.   When you are making network calls in a Flex application they go through the browser.  So any cookies that would be stored in the browser normally will also be stored when Flex

RE: [flexcoders] Data loss (datatyping?)

2005-03-18 Thread Matt Chotin
Your explanation as to what is happening sounds correct, that’s a bug you should file at http://www.macromedia.com/go/wish.  The only workaround I can recommend is to use the xmlDecode function to turn the XML into an object structure instead of our default decoding mechanism.  The XMLObj

RE: [flexcoders] Namespace Problems

2005-03-18 Thread Matt Chotin
Are you using HTTPService to get the data?  Is resultFormat object (the default)?  If so, there’s no namespaces on the objects, we only store things by the local part of the qname.  If your data isn’t getting de-serialized correctly you may need to look into using your own xmlDecode funct

RE: [flexcoders] Need definitive process for deploying swf create d from mxml

2005-03-18 Thread Matt Chotin
Take a licensed copy of Flex, compile the MXML (have true in your flex-config), then have your HTML file point at the SWF itself.  I think we have a description of writing your own HTML wrapper in the docs.   Matt   From: dduuggllaa [mailto:[EMAIL PROTECTED] Sent: Friday, Ma

RE: [flexcoders] Re: Web Services with multiple ports

2005-03-18 Thread Matt Chotin
I really don’t know much about how the ports work in web services.  Only thing I can suggest is that you turn on debugging in flex-config and then load up the app.  Check your flashlog.txt and there will be a bunch of debugging info on the web service.  You can scan through that and see i

RE: [flexcoders] TileList Suggestions Part 2

2005-03-18 Thread Matt Chotin
Hmm, I thought it would have shrunk it down but who knows, I’m not much of a UI coder J  Are you using the icon property for this or your own renderer?   As far as the guestimated amount, this the point of the sampleItem property.  Specify a sample item and the List will get the preferr

[flexcoders] thanks for the bday wishes, now i'm off!

2005-03-18 Thread Matt Chotin
Thank you all very much for the birthday wishes, much appreciated. With that I'm off on a brief vacation, back middle of next week. Be good while I'm gone and help each other out :-) Matt Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexc

RE: [flexcoders] Data binding chain problem

2004-05-26 Thread Matt Chotin
Your approach seems right on.  This shouldn't make a difference, but try removing the   and replacing it with   var currentQuote : mypackage.StockQuote;   The fact that the update works when currentEntry changes but not the getQuotesUpdated event is strange.  You might also try c

RE: [flexcoders] Handling the 32k limit problem

2004-05-26 Thread Matt Chotin
Are you using ?  That's the easiest way to run into this problem.  In Updater 1 we addressed this somewhat by allowing you to have as many objects as you want as long as no one object and its children beat the limit.  So this means you could have many Models, but no one Model could be too b

RE: [flexcoders] Handling the 32k limit problem

2004-05-26 Thread Matt Chotin
The number of bindings should not pushyou over the 32K limit problem.  We'd need to see a test-case to debug further, and for this you should probably move over to the support forums: http://www.macromedia.com/cfusion/webforums/forum/index.cfm?forumid=60.   You'll want to post a sample fi

RE: [flexcoders] Enabled property on Accordion?

2004-05-27 Thread Matt Chotin
Accordion may not fully support enabled.  My guess is that you could go through the headers (using getHeaderAt) and set enabled to false on the individual headers.  Haven't tried it, but that's my thought.   Matt   -Original Message- From: Ryan Olson [mailto:[EMAIL PROTECTED] S

RE: [flexcoders] Class and interface definitions cannot be nested .

2004-05-28 Thread Matt Chotin
I think you need to post some more code so we can see what's going on.  I believe that error means that you have code that does:   class Foo {     class Bar {     }   }   or something similar.  ActionScript doesn't support inner-classes.  So if you're not slapping your forehead be

RE: [flexcoders] Single quotes affect data binding

2004-06-01 Thread Matt Chotin
Bummer, this looks like a bug. I'll go ahead and file it. As a workaround you should be able to specify the whole value as a binding expression and just do the string concatenation yourself: E.g., Matt -Original Message- From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: Tuesday, Ju

RE: [flexcoders] Using TabBar as a drop target

2004-06-01 Thread Matt Chotin
I asked someone here more familiar with the TabBar and Drag and Drop.  Here's what he said:   A TabBar is just an HBox, so you can use the getChildAt() function to access the tabs. You can use the tabs 'x' and 'width' properties to determine its size and location. For hiliting, there is n

RE: [flexcoders] RemoteObject: Changing source at runtime

2004-06-01 Thread Matt Chotin
It's not something we've set up for in 1.0.  What are you trying to do?  Maybe there's another solution we could recommend.   Matt   -Original Message- From: Marcos Neves [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 01, 20041:04 PM To: [EMAIL PROTECTED] Subject: [flexcoders] R

RE: [flexcoders] Using HTTPService in a pure AS class

2004-06-01 Thread Matt Chotin
The compiler does some code-gen to make HTTPService work.  Is there a reason why you really want HTTPService used in AS-only?  I'd encourage you to read the preview chapter of the upcoming Flex book which talks about writing a Service locator in MXML which I think would be sufficient for yo

RE: [flexcoders] Contextmenu Class

2004-06-02 Thread Matt Chotin
All Flash Player classes are available, including the ContextMenu.  If you go to livedocs (http://livedocs.macromedia.com/flex/1/flex_docs/wwhelp/wwhimpl/js/html/wwhelp.htm) check the Flex ActionScript Language Reference > ActionScript for Flash.   Matt   -Original Message- From

RE: [flexcoders] Bindings and custom properties

2004-06-02 Thread Matt Chotin
Bindings into a ui component usually happen right before that component fires its "initialize" event. So what you can do is in your setter see if you need to wait and defer your highlightDays call until the component is ready (you could either wait for an event or maybe even use doLater (http://liv

RE: [flexcoders] Using Responder pattern with HTTPService

2004-06-02 Thread Matt Chotin
There is a call object created for send() and send(params).   var call = hs.send(); call.marker = 'foo';   elsewhere: if (event.call.marker == 'foo') do something.   Matt   -Original Message- From: Ryan Olson [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 2:49 PM

RE: [flexcoders] Using Responder pattern with HTTPService

2004-06-02 Thread Matt Chotin
Data binding will never go unsung as long as I'm around J   > The RemoteObject implementation is an unsung Flex hero IMHO (apart > from data-binding Matt, that's cool too :) )  

RE: [flexcoders] Bindings and custom properties

2004-06-03 Thread Matt Chotin
OK, sounds bug-worthy.  Can you send a bug report into [EMAIL PROTECTED] with your class and an example of how it doesn't highlight along with your workaround?   Thanks,   Matt   -Original Message- From: Dirk Eismann [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 4:5

RE: [flexcoders] Flex CVS Problem

2004-06-03 Thread Matt Chotin
I reproduced that here.  I'll file a bug on it.  Only suggestion I have is to have a build script that deploys your files to a server root elsewhere that ignores CVS directories.  I realize it's not great but it's all I've got since I'm not sure why we screw up.   Matt   -Original M

RE: [flexcoders] List selection delay

2004-06-03 Thread Matt Chotin
I have an explanation which is not really a solution.  Basically the behavior of the mouse is a little different that the keyboard.  As you noticed, when the mouse presses down an animation starts to show the selection.  I believe that event processing is deferred until after that animation

RE: [flexcoders] Event troubleshooting 101 (remedial?)

2004-06-03 Thread Matt Chotin
Yep, Tracy your code looked right.   Matt   -Original Message- From: Tracy Spratt [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 2:39 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Event troubleshooting 101 (remedial?)   Thanks, Clint.   I did somethin

RE: [flexcoders] List selection delay

2004-06-03 Thread Matt Chotin
I found it, selectionDuration is a style on the list classes that you can set. Set it to 0 and watch it fly :-) Matt -Original Message- From: Marcos Neves [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 1:52 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] List sel

RE: [flexcoders] Bindings and custom properties

2004-06-04 Thread Matt Chotin
cat dog bird Thank you, -Yukari -Original Message- From: Matt Chotin [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 10:05 AM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Bindings and custom properties OK, sounds bug-worthy.  Can you send a bug report int

RE: [flexcoders] Using tooltips with List & DataGrid

2004-06-05 Thread Matt Chotin
I believe at the moment you have to write a custom cell renderer to get toolTip support in the List and DataGrid.  We're looking at improving that in a future release.   Matt   -Original Message- From: Ryan Olson [mailto:[EMAIL PROTECTED] Sent: Friday, June 04, 2004 1:03 PM To:

RE: [flexcoders] Combo Boxes, Validation and Binding

2004-06-05 Thread Matt Chotin
If myModel.cardType is undefined it sure seems like it's not getting set J  Put a change handler on your ComboBox and see if that is getting executed when you reach that page.  Also maybe put some button on there next the combobox that will change the selectedIndex so you can test this aft

RE: [flexcoders] opening all accordion screens...

2005-02-19 Thread Matt Chotin
I think you’ll need to use something custom here for that.  You could maybe use a VDividedBox and reskin the divider.  Accordion is really only meant to show one at a time.   Matt   From: Michael Griffin [mailto:[EMAIL PROTECTED] Sent: Friday, February 18, 2005 1:03 PM To: 'fle

RE: [flexcoders] Events being captured by hidden components

2005-02-21 Thread Matt Chotin
I’m not sure why it’s happening, but you could just put another vbox behind the overlay and disable that one.   Matt   From: Paul Frantz [mailto:[EMAIL PROTECTED] Sent: Sunday, February 20, 2005 10:22 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Eventsbeing captured

RE: [flexcoders] Custom Validator

2005-02-21 Thread Matt Chotin
validatePin calls   PinCodeValidator.PinCodeValidate(validator, value)?   How does your PinCodeValidate functionknow about “pin” or about myField?   I’m guessing you probably just have a typo in your code where you used PinCodeValidator instead of PinCodeValidate.   Matt  

RE: [flexcoders] Error generated version of _watcherSetup:182

2005-02-21 Thread Matt Chotin
We’re hoping this will be fixed in the next version of Flex with some changes to the SWF format.  You canusually avoid this error by making components smaller.  Simply extract some Container into its own file and have people reference it instead.  Make sure no MXML file in combination with

RE: [flexcoders] Instantiate an HTTPService object in ActionScrip t

2005-02-21 Thread Matt Chotin
Creating an HTTPService not through a tag is not officially supported right now.  I don’t remember if not calling initialized will actually hurt you, mostly it would screw up validation if you had any but I think it should be OK.  The bigger problem is that you’re trying to access the resul

RE: [flexcoders] Execute code before any component is put on the stage

2005-02-22 Thread Matt Chotin
mx:String is special-cased in the compiler.  File an enhancement request at http://www.macromedia.com/go/wish for the do-not-parse capability.  Currently the backslash technique you found is the only way to do it if I remember right.   Matt     From: Erik Westra [mailto:[EMAIL

RE: [flexcoders] recalculate panel height

2005-02-22 Thread Matt Chotin
You need to resize the VBox, to shrink down to match the DataGrid, you can’t leave it at 100%.  Since you’re going to resize the VBox anyway I’d just do that and leave the DG height alone.   Matt   From: Tom Fitzpatrick [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005

RE: [flexcoders] stress test

2005-02-22 Thread Matt Chotin
Are you trying to stress the Flex app itself or the data services that the Flex app uses?   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 8:47 AM To: [EMAIL PROTECTED] Subject: [flexcoders] stresstest   Hi coders, I need a tool to emulat

RE: [flexcoders] Tree issues

2005-02-22 Thread Matt Chotin
Use the TreeDataProvider methods, not attributes.  getProperty(…)   Matt   From: Clint Tredway [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:02 PM To: [EMAIL PROTECTED] Subject: RE: [flexcoders] Tree issues   oops... I need to clarify something I can po

RE: [flexcoders] Tree issues

2005-02-22 Thread Matt Chotin
Don’t use the backingObject if you can help it.  Use getProperty().  backingObject is essentially going the other direction from attributes, it only works when the data provider is of a certain format.  The TreeDataProvider interface will work regardless of how the data got there.   Matt

RE: [flexcoders] HTTP_REFERER

2005-02-23 Thread Matt Chotin
How are you accessing those sites?  getURL?  Are you opening a new window or navigating the existing window?   Matt   From: Ben Hooton [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 6:42 PM To: [EMAIL PROTECTED] Subject: [flexcoders] HTTP_REFERER   Hi flexcoders

RE: [flexcoders] FlashPaper in Flex?

2005-02-23 Thread Matt Chotin
I hate Yahoo search!  Thank goodness I archive all my emails J  Here’s something I wrote a while back to help load FlashPaper content.  Thanks to Vinny for reproducing since that’s how I found it J   FlashPaperLoader.as   class FlashPaperLoader extends mx.controls.Loader {     function

RE: [flexcoders] Drag/drop between DataGrids

2005-02-23 Thread Matt Chotin
The DataGrid creates its own DragSource and kicks off dragging on its own when dragEnabled=true.  The DG that is the source should receive a dragEnter event pretty quickly (like first).  I would think you could go ahead and modify the drag source in there if you wanted.  However you might a

RE: [flexcoders] HTTP_REFERER

2005-02-23 Thread Matt Chotin
function which uses getURL to launch a new window. The getURL call looks like this:   getURL(event.target.selectedItem.link,'_blank');   From: Matt Chotin [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 February2005 11:05 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] HT

RE: [flexcoders] stress test

2005-02-23 Thread Matt Chotin
We just posted this Devnet article on testing AMF with Silk Performer. http://www.macromedia.com/devnet/flex/articles/amf_perftest.html _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 3:36 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcod

RE: [flexcoders] Defining classes / attributes in mxml

2005-02-23 Thread Matt Chotin
I’m not sure what you mean.  Every MXML file is itself a class and can be referred to in ActionScript as a class.  All public properties of a class are available as attributes.   Matt   From: viraf_bankwalla [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 23, 2005 11:17 AM

RE: [flexcoders] advice on drag n drop

2005-02-24 Thread Matt Chotin
Maybe you could use the cellPress event on DataGrid as some form of click indicator and then add double-click support.  If you get the double cellPress in your time period that’d be the indicator to pop your editor.   We have double-click on a button described in a technote: http://www.ma

RE: [flexcoders] Can I pass a reference to the Application into a component and bind to its content?

2005-02-24 Thread Matt Chotin
Title: Can I pass a reference to the Application into a component and bind to its content? The problem here is that mx.core.Application doesn’t know about your tiTest component.  If you type the app variable as the name of your application it should work.   Foo.mxml   Public var app :

RE: [flexcoders] FlashComm & Flex - LiveMediaDisplay - Streaming Problem

2005-02-24 Thread Matt Chotin
The only thing I can see is that you’re doing toLowerCase() but the comparing against personA and personB.  With toLowerCase it should be persona and personb.   Otherwise I dunno J   From: dave buhler [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24,2005 6:55 AM To: [EMAIL

RE: [flexcoders] Pre-selecting a Combo Box from Bound Data

2005-02-24 Thread Matt Chotin
> Maybe the next version of ComboBox will do this for us. Ahem, http://www.macromedia.com/go/wish â Matt

RE: [flexcoders] Layer Positioning

2005-02-25 Thread Matt Chotin
UIObject has setDepthAbove and setDepthBelow methods which you can use.  So you can grab the depth ofboth windows, then based on whatever conditions you can call one of those methods.   Matt   From: goran187 [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24,2005 11:04 AM To

<    3   4   5   6   7   8   9   10   11   12   >