[flexcoders] Installing Apollo extensions to Eclipse

2007-05-22 Thread tobiaspatton
Hello list; I am using the Flex 2 plugins for Eclipse *not* the stand-alone Flex Builder. I'm trying to install the Apollo Extenions for Flex Builder. This website: http://labs.adobe.com/wiki/index.php/ Apollo:Documentation:Set_up_instructions_for_Flex_Builder_users says The extensions work

[flexcoders] KeyCode and CharCode in KeyboardEvent on Macintosh

2007-01-24 Thread tobiaspatton
Hi all; I'm trying to trap the ctrl-a keypress to do a select all operation. On Windows (running Firefox or IE) in my event handler I look for ctrlKey == true and charCode == 0x61. Strangely, on the Mac (running Safari -- I haven't tested Firefox), hitting cmd-a yields an event with ctrlKey ==

[flexcoders] Scroll wheel doesn't work on Mac

2007-01-16 Thread tobiaspatton
Hello list; Has anyone else noticed that the mouse scroll wheel does not scroll lists on Mac OS X? I've tried in Safari and Firefox. Thanks. Tobias.

[flexcoders] Unable to resolve class for ResourceBundle

2006-12-21 Thread tobiaspatton
Hello list; I am getting the error Unable to resolve class for ResourceBundle in my project every time FlexBuilder does an automatic build, or when I chose Build Project if automatic builds are disabled. The only way to get the build to succeed is to chose Project-Clean. This works every time.

[flexcoders] Embedding XML document in Actionscript

2006-12-12 Thread tobiaspatton
Hello list; I can't do this in MXML: mx:XML id=summary source=Data/summary.xml/ But I can't do this in ActionScript [Embed( 'Data/Summary.xml' )] private var summary : XML (I get this compiler error: Embed only supported with variables of type Class or String. ) Any workarounds?

[flexcoders] Re: Embedding XML document in Actionscript

2006-12-12 Thread tobiaspatton
PROTECTED] On Behalf Of tobiaspatton Sent: Tuesday, December 12, 2006 1:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Embedding XML document in Actionscript Hello list; I can't do this in MXML: mx:XML id=summary

[flexcoders] XML.child() and namespaces

2006-12-11 Thread tobiaspatton
Hello list; My tests have shown that the child() method on an XML document returns children in the anonymous namespace, even if a namespace is specified in the argument to child(). Can anyone confirm that this behavior is correct? It seems wrong to me. var x : XML = ns:x

[flexcoders] Re: crossdomain file and ports

2006-11-24 Thread tobiaspatton
Of tobiaspatton Sent: Thursday, November 23, 2006 9:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: crossdomain file and ports That's what I thought, but it's not working. I have this crossdomain.xml file on the XML-RPC server, being delivered by IIS on port 80: ?xml version

[flexcoders] Re: crossdomain file and ports

2006-11-23 Thread tobiaspatton
://www.cynergysystems.com http://www.cynergysystems.com/ Email: [EMAIL PROTECTED] Office: 866-CYNERGY Mobile: 1.703.489.6466 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Wednesday, November 22, 2006 5:05

[flexcoders] BindingWatcher and XML

2006-11-07 Thread tobiaspatton
Hello list; Is there way to use the BindingWatcher class to detect changes to nodes in an XML object? So far, I've not been able to get this to work. I've looked at the compiler-generated code that implements this sort of binding for MXML files, but it uses classes like XMLWatcher that are

[flexcoders] Re: three and a half FlexBuilder bugs that drive me buggy

2006-11-01 Thread tobiaspatton
Here are my favorite FlexBuilder bugs. 1. Place the mouse pointer over a class name, or something else that you can control-click to jump to the definition. Click and hold the mouse button. Now hit the control key. The definition for the word under the pointer is immediately opened. This

[flexcoders] Re: XML XML XML

2006-10-23 Thread tobiaspatton
Here's a little application that traverses the XML and output the categories and items: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute initialize=OnInit() mx:Script ![CDATA[ private function OnInit() : void

[flexcoders] Re: show xml node

2006-10-19 Thread tobiaspatton
To get the length of an XMLList object call the length() function, no the length property. In your case: Alert.show( xmlMenu.itens.categoria.length() ) Tobias. --- In flexcoders@yahoogroups.com, Fabio Barreiro [EMAIL PROTECTED] wrote: Guys, I have a doubt.. Why does the code below is not

[flexcoders] Re: Binary Sockets, and Folder Browser

2006-10-18 Thread tobiaspatton
Two Flash application running on the same machine can communicate using LocalConnection objects. http://livedocs.macromedia.com/flex/2/langref/flash/net/LocalConnecti on.html --- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote: Flash can connect to a socket but not listen

[flexcoders] getDefinitionByName(): Variable ... is not defined.

2006-10-10 Thread tobiaspatton
Hello List; I'm trying to create an interface where a user's selection in a menu component results in other components being created. Right now I'm just prototyping, and experimenting with different ways I might do this. One way I've thought of is to use an XML data provider for the list

[flexcoders] Re: Custom component inside custom component issues

2006-10-04 Thread tobiaspatton
'states' is an attribute of your custom component, and should be prefixed with the namespace in which your component resides. Try this: sl:StatsWidget sl:states /sl:states /sl:StatsWidget Tobias. --- In flexcoders@yahoogroups.com, Brian Dunphy [EMAIL PROTECTED] wrote: I'm

[flexcoders] Re: MXML Constructor

2006-09-26 Thread tobiaspatton
I think you just need a public function in your component with the same name as the component with no arguments. This will be called as the constructor of your component. You can't have a constructor that takes parameters though. eg. MyComp.mxml mx:Script ![CDATA[ public function

[flexcoders] Re: Compiler warning about unused CSS type selector

2006-09-19 Thread tobiaspatton
, tobiaspatton [EMAIL PROTECTED] wrote: Anyone know how to get rid this warning? Warning: The type selector 'ComboBox' was not processed, because the type was not used in the application. Thanks. Tobias. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group

[flexcoders] Re: Compiler warning about unused CSS type selector

2006-09-19 Thread tobiaspatton
tobiaspatton wrote: That's right. I have three related applications and I would like to use a single style sheet for all three. One of the applications does not use the ComboBox control, so reports this warning. I'm hoping there's a switch in flex-config.xml to disable this warning

[flexcoders] Embedding Arial Unicode

2006-09-07 Thread tobiaspatton
Hello; I'm trying to embed a single font that can render Roman and non- Roman scripts. I think that Arial Unicode should be able to do this, so I'm trying to embed the font with the entry in my style sheet: @font-face { src:url( fonts/arialuni.ttf ); fontStyle:

[flexcoders] setStyle( selectionColor, color) changes focus.

2006-03-14 Thread tobiaspatton
I've noticed that calling mx.control.list.setStyle(selectionColor, color) removes focus from a previously focused TextInput control in the list. Based on the relatedeObject parameters of the FocusEvent object sent the focusOut callback that the newly focused object is null. Is this the

[flexcoders] Re: How to implement custom drawing for selected list items?

2006-03-13 Thread tobiaspatton
post a follow-up. Thanks again for your help. It's nice to have a mailing list with representatives from Adobe that are so repsonsive. Tobias. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/11/06, tobiaspatton [EMAIL PROTECTED] wrote: I take this to mean

[flexcoders] list.selectedIndices has the wrong values

2006-03-13 Thread tobiaspatton
Hello list; I have a list with multiple selection turned on. When I examine the selectedIndices attribute of the list, the values seem to be erroneous. For example, if my list looks like this: one two three four five I click on one and then shift-click on two. At this point selectedIndices

[flexcoders] Re: list.selectedIndices has the wrong values

2006-03-13 Thread tobiaspatton
One more strange thing: if I select five and then shift- select one, the selectedIndices attribute is correct. --- In flexcoders@yahoogroups.com, tobiaspatton [EMAIL PROTECTED] wrote: Hello list; I have a list with multiple selection turned on. When I examine the selectedIndices

[flexcoders] Re: Deselected list row uses roll-over color.

2006-03-10 Thread tobiaspatton
The color stays when the mouse is moved. Actually, for my test the list had the style use-roll-over set to false. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/11/06, tobiaspatton [EMAIL PROTECTED] wrote: I have a list that uses the standard item

[flexcoders] Re: How to implement custom drawing for selected list items?

2006-03-10 Thread tobiaspatton
be discovered at runtime. It would seem that they are, since get listData is being called frequently, but set listData is never called. Any advice? Thanks. Tobias. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 3/11/06, tobiaspatton [EMAIL PROTECTED] wrote: [snip

[flexcoders] Deselected list row uses roll-over color.

2006-03-10 Thread tobiaspatton
I think this is a bug. I have a list that uses the standard item renderer and has multiple- select set to true. If I select a range of rows, and then ctrl- click to deselect one of the rows, the de-selected row is drawn with its background color set to the roll-over color of this list.

[flexcoders] How to implement custom drawing for selected list items?

2006-03-10 Thread tobiaspatton
I have a custom list item renderer and would like to change the behavior of its updateDisplayList() method depending on whether the item is currently selected. When the user changes the selection in the list, updateDisplayList() is called for the newly deselected and selected items. My first

[flexcoders] Internal compiler error

2006-03-09 Thread tobiaspatton
Hello; I'm stuck! When compiling my project I am getting an internal compiler error, and can't for the life of me figure out why. I've reproduced the problem with a very small set of files that implement the same structure as my project. Essentially, I have a custom component, COMP_List,

[flexcoders] Re: Internal compiler error

2006-03-09 Thread tobiaspatton
your project, or perhaps move the file? -rg -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, March 09, 2006 9:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Internal compiler error

[flexcoders] Re: Internal compiler error

2006-03-09 Thread tobiaspatton
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, March 09, 2006 9:03 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Internal compiler error Hello; I'm stuck! When compiling my project I am getting an internal

[flexcoders] Re: Warning about unconverted Bindable data

2006-02-16 Thread tobiaspatton
[mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Wednesday, February 15, 2006 2:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Warning about unconverted Bindable data Can anyone tell me what this error means? warning: unconverted Bindable metadata in class ... Thanks

[flexcoders] Warning about unconverted Bindable data

2006-02-15 Thread tobiaspatton
Can anyone tell me what this error means? warning: unconverted Bindable metadata in class ... Thanks. Tobias. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo!

[flexcoders] How to deselect all items in a list?

2006-02-14 Thread tobiaspatton
In my experience standard list widgets on various platform implement a behaviour where clicking in an empty row of the list deselects all the list rows. The Flex list component doesn't seem to behave this way by default. Is there a way of enabling this behaviour without resorting to event

[flexcoders] Re: Problem with listItemRenderer and AddChild

2006-02-10 Thread tobiaspatton
tried this with the Flex 2 beta and I don't see any problem. Can you confirm you're using Flex 2 beta? Thanks Eric -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, February 09, 2006 6:42 PM To: flexcoders

[flexcoders] Re: Problem with listItemRenderer and AddChild

2006-02-10 Thread tobiaspatton
tried this with the Flex 2 beta and I don't see any problem. Can you confirm you're using Flex 2 beta? Thanks Eric -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, February 09, 2006 6:42 PM To: flexcoders

[flexcoders] Re: Problem with listItemRenderer and AddChild

2006-02-10 Thread tobiaspatton
? Sample code? Blogs? Thanks. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 2/10/06, tobiaspatton [EMAIL PROTECTED] wrote: I think I sorted out why you are not seeing the problem. In the file ItemRenderer.mxml, the top-level component tag (mx:VBox) has

[flexcoders] Re: set dataObject() and null properties

2006-02-09 Thread tobiaspatton
=value if value is not NULL. If the goal of the override is to supplement the base class's behaviour, not replace it, shouldn't this call always be made?) Thanks. Tobias. --- In flexcoders@yahoogroups.com, Manish Jethani [EMAIL PROTECTED] wrote: On 2/8/06, tobiaspatton [EMAIL PROTECTED] wrote

[flexcoders] Problem with listItemRenderer and AddChild

2006-02-09 Thread tobiaspatton
Hi again; This might be a bug. The code at the end of this message creates a list with a custom item renderer. The renderer handles clicks by changing the component's state, effectively adding a button. This works fine as long as the list property `variableRowHeight' is set to `false'. If it

[flexcoders] Re: Problem with listItemRenderer and AddChild

2006-02-09 Thread tobiaspatton
don't see any problem. Can you confirm you're using Flex 2 beta? Thanks Eric -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Thursday, February 09, 2006 6:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] set dataObject() and null properties

2006-02-08 Thread tobiaspatton
Hello; I'm trying to get some understanding of renderers for lists and data grids. I'm working with, and adapting, the sample code presented in the Flex 2 documentation. Here's what I have (catalog.xml is from the flexstore example): -- prototype.mxml - ?xml version=1.0?

[flexcoders] Control with focus when application starts

2006-02-07 Thread tobiaspatton
Hello; I'm trying to find a way to give a particular field focus when the application starts. The code that I think should work is at the bottom of this message. What it does is this: when the application starts, 'ti1' is drawn with a focus ring, as though it had focus, but it does not

[flexcoders] Support for datagram sockets in Flex 2.0?

2006-02-06 Thread tobiaspatton
The subject line says it all. I can't find a way to create a datagram socket in Flex 2.0. Is there one? Thanks. Tobias. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] WebService stopped working in 2.0 Beta 1

2006-02-01 Thread tobiaspatton
Hello; I finally got my web service experiment off the ground by rewriting the server as an .asmx file. However, now that I've downloaded and installed 2.0 Beta 1, it's stopped working. Here's some code I adapted from the Restaurants sample included in the Alpha distribution (but missing

[flexcoders] Web services that have multiple 'out' parameters

2006-02-01 Thread tobiaspatton
Hello everyone; (I'm trying hard to limit myself to just two questions a day. I don't want all of you automatically rolling your eyes when you see my name in the from: field) I have a web service that returns two parameters in the reply. I can confirm that they're both there by looking at the

[flexcoders] Problems accessing .NET 2.0 web service

2006-01-31 Thread tobiaspatton
Hello everyone; I'm having dificulty accessing a web service using ws:WebService. The service was created using .NET 2.0 and Windows Communication Foundation. It's hosted on my local machine. A client written in C# has no problem accessing it. When accessed through a small Flex 2.0

[flexcoders] Re: Problems accessing .NET 2.0 web service

2006-01-31 Thread tobiaspatton
: 1.703.489.6466 -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tobiaspatton Sent: Tuesday, January 31, 2006 8:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Problems accessing .NET 2.0 web service Hello everyone; I'm having

[flexcoders] FlexBuilder on Mac

2006-01-26 Thread tobiaspatton
Anyone get this to work? I installed Eclipse 3.1 on my Mac and copied over the features, plugins, etc. from a Windows install of FlexBuilder. The IDE launches but will not open the MXML editor. The following exception is logged to console: java.lang.NullPointerException at