[flexcoders] local file access thru HTTPService fails

2007-01-01 Thread John Mazzocchi
Hi all this seems like such a simple thing, and yet ... my project currently lives in the directory My Documents/Flex Builder 2/xmlshow and works fine. If I take the entire directory and copy it to my desktop, and then open xmlshow_app.html it no longer works. Specifically it doesn't load my

[flexcoders] Never mind

2007-01-01 Thread John Mazzocchi
Please ignore my last post. I just lost my job, so I don't really care what the answer my last query is anymore. Regards This email and any files transmitted with it may be confidential and are intended solely for the use of the individual or entity to whom they are addressed. This email may

RE: [flexcoders] Class-based model as a dataprovider

2006-12-04 Thread John Mazzocchi
think anything can be a dataProvider if it implements one of the accepted interfaces. IList, ICollectionView etc. Cheers, Lach On 04/12/2006, at 11:57 AM, John Mazzocchi wrote: Hi, I need a hand here ... I have an app which reads an XML file, shoves everything

[flexcoders] Class-based model as a dataprovider

2006-12-03 Thread John Mazzocchi
Hi, I need a hand here ... I have an app which reads an XML file, shoves everything into an XMLListCollection and then renders the collection to a one-column datagrid. Each row of the datagrid uses a (state-based) customItemRenderer [don't get me started on the problems I've had with

RE: [flexcoders] Removing underlineButton from RichTextEditor

2006-11-28 Thread John Mazzocchi
Try e.g. myRichTextEditor.toolBar2.removeChildAt(2); pretty sure that'll work ... NOTE: toolBar2, NOT toolbar Cheers John -Original Message- From: Paul Whitelock [mailto:[EMAIL PROTECTED] Sent: Wednesday, 29 November 2006 9:46 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread John Mazzocchi
If I get it,it means I'll be able to juggle both DOM objects and Flash objects from the *same* language ...? I say it's cool :D John -Original Message-From: Gordon Smith [mailto:[EMAIL PROTECTED]Sent: Wednesday, 8 November 2006 6:19 AMTo: flexcoders@yahoogroups.comSubject:

RE: [flexcoders] Re: Tamarin, Adobe open source the Flash player ?

2006-11-07 Thread John Mazzocchi
I think that Gordon stated that you *will* still need the Flash Player plugin... the Flash-specific classes (like Sprite) will still live there. J -Original Message-From: Bjorn Schultheiss [mailto:[EMAIL PROTECTED]Sent: Wednesday, 8 November 2006 11:14 AMTo:

RE: [flexcoders] Distortion Effects

2006-11-05 Thread John Mazzocchi
Thank you. This roXXors! I can see I'm gonna have to find a way to use it now ... Cheers John -Original Message-From: Alex Uhlmann [mailto:[EMAIL PROTECTED]Sent: Saturday, 4 November 2006 1:57 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Distortion Effects

RE: [flexcoders] Flex2 Docs font in Mac

2006-11-05 Thread John Mazzocchi
I'm guessing that the PDFs look ok because the fonts are embedded. Could be that help files don't have the necessary font embedded and that it's a non-standard Mac font? Or it could be a (Windows) TrueType versus (Mac) TrueType issue? Cheers John -Original Message- From: Bjorn

[flexcoders] Datagrid Style issues

2006-10-22 Thread John Mazzocchi
I still haven't found solutions to the following problems, so I thought I'd ask again: 1. Is there an equivalent of colspan for datagrids? Do I need to play with headerRenderer perhaps? I just want to place a heading sitting over two others. Something that looks like this:

RE: [flexcoders] Equivalent of colspan for datagrid?

2006-10-19 Thread John Mazzocchi
://www.cynergysystems.com/blogs/page/andrewtrice?entry=changing_the_header_separator_onjust ran across this today, could help. DK On 10/18/06, John Mazzocchi [EMAIL PROTECTED] wrote: Hiactually I have two questions:1. Is there an equivalent of colspan for datagrids? Do I need

[flexcoders] Equivalent of colspan for datagrid?

2006-10-18 Thread John Mazzocchi
Hi actually I have two questions: 1. Is there an equivalent of colspan for datagrids? Do I need to play with headerRenderer perhaps? I just want to place a heading sitting over two others. 2. Is there a way to draw (thicker) vertical lines between two columns. I noticed a function

[flexcoders] Data binding issue

2006-10-11 Thread John Mazzocchi
Has anyone had this warning come up? What did you do about it? Data binding will not be able to detect changes when using square bracket operator. For Array, please use ArrayCollection.getItemAt() instead. I don't have an Array but an XMLList(Collection) ... in my MXML, I tried replacing

[flexcoders] custom RichTextEditor - Half Solved

2006-09-27 Thread John Mazzocchi
Well, I solved my first problem, still stuck on the second ... I've reset fontFamilyArray to [Large, Small, Fixed] ... I don't want the default set to show up. This works (kinda) except that Verdana still shows up until you select something. Then it disappears forever. I've tried initialising

[flexcoders] custom RichTextEditor ... fontFamilyCombo, alignButtons

2006-09-27 Thread John Mazzocchi
than, removing the subcontrols and implementing my own to replace them completely. Cheers John Mazzocchi -- 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] custom RichTextEditor - SOLVED

2006-09-27 Thread John Mazzocchi
Finally solved it ... public function crippleMe():void { myRTE.toolbar.removeChild(myRTE.colorPicker); myRTE.toolbar.removeChild(myRTE.linkTextInput); myRTE.toolbar.removeChild(myRTE.bulletButton);

RE: [flexcoders] Re: XML editor (contd)

2006-08-25 Thread John Mazzocchi
of the individual column elements. You would have to conditionally change states or control types by checking the dataField name and binding the appropriate field. -TH --- In flexcoders@yahoogroups.com, John Mazzocchi [EMAIL PROTECTED] wrote: Never mind about my 2nd question, I've solved

[flexcoders] XML editor (contd)

2006-08-24 Thread John Mazzocchi
Never mind about my 2nd question, I've solved it :) Buty I'd still like an answer to my first one ... Can each row of a DataGrid have a separate and different custom ItemRenderer/Editor? Ta. J -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

[flexcoders] writing an XML editor ... or trying to

2006-08-24 Thread John Mazzocchi
Ok, I'm trying to write an XML editor to edit stuff like this ... public var myXML:XML = document key=fish label_1=p1 label_2=p3 p4 graphics valign=middle image alignment=left filename=dpi/ /graphics line width=3/ text

RE: [flexcoders] Can Flex handle mixed-content XML?

2006-08-21 Thread John Mazzocchi
could load it asvar list:XMLList = new XMLList('nodeI like to drink beer everyfield key="frequency"/ day(s)./node'); Peace, Mike On 8/20/06, John Mazzocchi [EMAIL PROTECTED] wrote: Just a quickie here ... can Flex handle mixed-content XML? As i

[flexcoders] Can Flex handle mixed-content XML?

2006-08-20 Thread John Mazzocchi
Just a quickie here ... can Flex handle mixed-content XML? As in where we have something like ... nodeI like to drink beer everyfield key=frequency/ day(s)./node It doesn't seem to ... any clues? Thanks for any help. John -- Flexcoders Mailing List FAQ:

[flexcoders] Flex doesn't like well-formed XML

2006-08-16 Thread John Mazzocchi
This chokes Flex ... mx:XML id=blah document key=whatever line width=3/ text alignment=middle font=ARecreation/text line width=3/ text/ text alignment=left font=Afield key=credits/ Licence/text

RE: [flexcoders] Tree-to-tree drag drop

2006-08-11 Thread John Mazzocchi
ders@yahoogroups.comSubject: Re: [flexcoders] Tree-to-tree drag dropThis should work. I believe it is a bug and I will log it in our internal database.JoanOn 8/9/06 10:47 PM, "John Mazzocchi" [EMAIL PROTECTED] wrote: This seems like such a simple thing, and yet ...I'd like to b

RE: [flexcoders] Re: Tree-to-tree drag drop

2006-08-11 Thread John Mazzocchi
in the Tree by default because the framework cant guarantee deep copies of your objects. You'll need to implement your own COPY logic in the DND methods (MOVE can stay the same) including your own object copy. HTH, -Michael On 8/9/06 10:47 PM, John Mazzocchi [EMAIL PROTECTED] wrote

[flexcoders] Tree-to-tree drag drop

2006-08-10 Thread John Mazzocchi
This seems like such a simple thing, and yet ... I'd like to be able to drag drop nodes between 2 trees ... both to copy and to move. Now both trees have: dragEnabled=true dropEnabled=true. Scenario (a): they both have dragMoveEnabled=true ... so while they *will* MOVE nodes between each

[flexcoders] Can a Tree node/leaf have a customItemRenderer?

2006-08-09 Thread John Mazzocchi
The subject says it all - can a tree node, especially a leaf, have a customItemRenderer? What I'd like to do is have a tree for navigating an xml structure and then populate leaves (say) by using a combobox or some other renderer ... if anyone's ever used the Magnolia CMS ... you'll understand

RE: [flexcoders] Re: RadioButtons as customItemRenderers/Editors in DataGrids

2006-08-07 Thread John Mazzocchi
mx:RadioButtonGroup id="myRadioButtonGroup"/ Then,use code like this inyouritemRenderer: mx:RadioButton id="myRadioButton" group="{parentApplication.myRadioButtonGroup}"/ -TH--- In flexcoders@yahoogroups.com, "John Mazzocchi" [EMAIL PROTECTED

[flexcoders] RadioButtons as customItemRenderers/Editors in DataGrids

2006-08-03 Thread John Mazzocchi
The subject line pretty much says it all ... has anyone had any experience with this? The problem being that the RadioButtons, each one created by a customItemEditor/Renderer and appearing one per row in a DataGrid, seem to act independently of each other ... Ta. John -- Flexcoders Mailing

[flexcoders] Populating Tree from XML thru HTTPService - agony

2006-08-02 Thread John Mazzocchi
Man, I've spent hours on this ... and the documentation seems no help. I'm trying to populate a Tree from the following XML file: ?xml version=1.0? node label=Mail date=27-06-2006 node label=Inbox date=28-06-2006 isBranch=true/ node label=Personal Folder date=29-06-2006

[flexcoders] IconFunction issue

2006-08-01 Thread John Mazzocchi
Ok, here goes: I'm trying to implement a Windows File Explorer-like interface to a data repository. For the time being I'm assuming that I receive XML from some API. So I'm using a static XML file for now, it's called treexmldatastruct.xml. The problem I'm having is this ... I'd like the icons

RE: [flexcoders] Re: Populating ComboBox from Model/XML

2006-07-23 Thread John Mazzocchi
one newbie to another. Hope this helps Eric --- In flexcoders@yahoogroups.com, John Mazzocchi [EMAIL PROTECTED] wrote: Hi, newbie question here ... just learning. I'm using Flex 2. There seem to be numerous errors and typos in the Adobe Flex Help files/PDFs and I'm hitting a snag here

[flexcoders] Populating ComboBox from Model/XML

2006-07-21 Thread John Mazzocchi
Hi, newbie question here ... just learning. I'm using Flex 2. There seem to be numerous errors and typos in the Adobe Flex Help files/PDFs and I'm hitting a snag here ... What I'd like to do, to begin with, is to populate a ComboBox from an external XML file. The section in the help files