RE: [flexcoders] Flex2b2: Question about controls and mouse events

2006-04-22 Thread Jason Hawryluk
Just for info Matt, I seen the same behavior with the button when set to toggle=true. -Message d'origine-De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part de Matt ChotinEnvoyé : dimanche 23 avril 2006 07:46À : flexcoders@yahoogroups.comObjet : RE: [fl

RE: [flexcoders] Flex2B2 Problem with XML insertChildBefore

2006-04-22 Thread Matt Chotin
I haven't tried this but it may need to be productData.category[0].insertChildBefore(x, y) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of greenfishinwater Sent: Thursday, April 20, 2006 12:00 PM To: flexcoders@yahoogroups.com Subject: [flexcod

RE: [flexcoders] Flex2B2 :: Changing State :: Problem with parent child

2006-04-22 Thread Matt Chotin
I don’t think this should be a problem, can you provide more code if it’s not working?   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Thursday, April 20, 2006 10:40 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2B2

Re: [flexcoders] How would I do something like this....

2006-04-22 Thread jeremy lu
hi Anatole, I'm talking about datagrid too, never thought about extending tree and add in those function. (especially in flex 2 the implementation changed a lot). I should add this to my original post: if what the user want is providing a *view* into the hierarchy data, then a simple item re

RE: [flexcoders] Loading image in Tilelist using itemrenderer

2006-04-22 Thread Matt Chotin
Why do you have the initCellRenderer AND the itemRenderer=”renderer/imagecomp”?   In the MXML you should use a dot, not a slash, renderer.imagecomp   But pick one or the other, don’t do the MXML and the AS I think. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Newbie question

2006-04-22 Thread Matt Chotin
Give your services component an id, then refer to it elsewhere.  If you put services in your application you could use Application.application.myServices.statsRequest, etc.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex MacCaw Sent: Saturday, Apri

RE: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-22 Thread Matt Chotin
In 1.5 we don't throw exceptions as a practice, I'm not sure what you're actually running into here? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stanislav Zayarsky Sent: Saturday, April 22, 2006 7:52 AM To: flexcoders@yahoogroups.com Subjec

RE: [Flexcoders]Silent error all Flex applications

2006-04-22 Thread Matt Chotin
Were you playing around with different Flash Players, maybe you’re using Player 8 instead of 8.5?   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: Saturday, April 22, 2006 6:41 AM To: flexcoders@yahoogroups.com Subject: [Flexcoders]Sile

RE: [flexcoders] Dynamic create child in Flex1.5

2006-04-22 Thread Matt Chotin
We have mx.utils.ClassUtil.findClass which takes a string and will return the class instance.  You still need to make sure that your custom class gets linked into the SWF though by making sure there's a typed reference to it somewhere. Matt -Original Message- From: flexcoders@yahoogrou

Re: [flexcoders] Re: Flex 2 Beta 2 - MenuBar events - no menuItem property

2006-04-22 Thread Jordan Snyder
That did it!  Thank you! I was apparently going down the wrong path, because when I traced the event object itself, I was not seeing a "menuItem" property...so it's just magically there.  Why would that property not show up? Cheers On 4/22/06, sof4real03 <[EMAIL PROTECTED]> wrote: > Try acces

RE: [flexcoders] Flex 2: Inline ItemRenderer --> Getting current row of DataGrid

2006-04-22 Thread Matt Chotin
The listData property of your component (wich you'll have inherited from the Text) should have a rowIndex I think. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Collins Sent: Thursday, April 20, 2006 9:33 AM To: flexcoders@yahoogroups.co

RE: [flexcoders] Re: MultipleSelection onTileList in HTML Flex 1.5

2006-04-22 Thread Matt Chotin
What happens if you don't use a cell renderer and just let it render text?  Does multiple selection work? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of moyosaned Sent: Wednesday, April 19, 2006 1:07 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Flex2b2: Question about controls and mouse events

2006-04-22 Thread Matt Chotin
I’ve forwarded this on, I don’t know that it makes sense either.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tobias Patton Sent: Wednesday, April 19, 2006 10:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2b2: Question about controls

RE: [flexcoders] FDS - Problem configurating message destinations

2006-04-22 Thread Matt Chotin
The samples should be easier to configure (none necessary) in beta 3.  You need to do a fair amount of configuration for JMS as you saw, but the JRun install takes care of that for you.  I'm not sure why you'd be facing your problem of the clients not seeing each other though. The Admin package

RE: [flexcoders] Image size problem

2006-04-22 Thread Matt Chotin
We take questions of all kinds here :-)  You should be able to load images of all sizes and re-size them to what you want.  Just set explicit width and height on the tag.  Image and Loader are virtually identical; we just have a few presets on the Image tag meant for loading more static content.

RE: [flexcoders] Column Reorder

2006-04-22 Thread Matt Chotin
Not sure, that logic has changed a little I think.  I think you’ll be able to figure out what you need to do in B3 though.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Ortega Sent: Tuesday, April 18, 2006 11:10 AM To: flexcoders@yahoogroups.com S

RE: [flexcoders] AMF and J2EE sessions

2006-04-22 Thread Matt Chotin
Yep, look for Gateway.getHttpRequest in the docs (Flex 1.5), or FlexSession.getHttpRequest in Flex 2. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Miller Sent: Tuesday, April 18, 2006 8:04 AM To: flexcoders@yahoogroups.com Subject: [f

RE: [flexcoders] F2B2: Deploying sample apps

2006-04-22 Thread Matt Chotin
Hmm, could be a problem with the HistoryManager, I know we’ve made some changes there.  You can disable the history manager maybe and see how it goes without.   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Ortega Sent: Tuesday, April 18, 2006 8:21

RE: [flexcoders] FDS (java dao adapter) problem with castings?

2006-04-22 Thread Matt Chotin
Did you have a typed reference to the Address and User in your code elsewhere?  If there isn't anything linking the class in (which your cast is doing) something like this could happen. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMA

RE: [flexcoders] mx.managers::HistoryManager$/save -- null has no properties

2006-04-22 Thread Matt Chotin
Sorry we didn't get back to you, hope the demo went OK.  I know that we have fixed some bugs in history manager so hopefully things will be better in b3. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mdoberenz Sent: Monday, April 17, 2006 9:0

RE: [flexcoders] Workspace Overlapping

2006-04-22 Thread Matt Chotin
When you did the project in the default location it probably put a subfolder undernearth.  When you uncheck the default you may need to create that subfolder manually. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tues

RE: [flexcoders] Re: Flex2B2 - few questions

2006-04-22 Thread Matt Chotin
If you haven't figured this out already you should be able to declare myXML in myBox as a protected (or public) var, then do the assignment in MXML later and make sure you give it the same name. Matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behal

Re: [flexcoders] How would I do something like this....

2006-04-22 Thread Anatole Tartakovsky
Jeremy,     Actually, I was not suggesting to rewrite UI/datagrid - I was suggesting not to use tree - datagrid would work fine the way it is now. The changes to datagrid would be very "localized": just sorting to take in consideration the hierarchy (essentially making sure you have custom

RE: [flexcoders] java Calendar type vs. java Date

2006-04-22 Thread Matt Chotin
I've forwarded this on to see if we know about it. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sof4real03 Sent: Sunday, April 16, 2006 6:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] java Calendar type vs. java Date I'm using

Re: [flexcoders] How would I do something like this....

2006-04-22 Thread jeremy lu
well, just flip thru my gridtree component (http://tinyurl.com/grcfs) developed two months ago (which is still in a mess), it's around 2000 lines of code (after refactoring it three times) and lot of algorithm behind to handle following function: addNode removeNode cutNode copyNode pasteNode i

[flexcoders] Re: Flex 2 Beta 2 - MenuBar events - no menuItem property

2006-04-22 Thread sof4real03
Try accessing your label attribute as follows: [EMAIL PROTECTED] and then you should be able to retrieve the value. Let me know if tht works for you. -Sof --- In flexcoders@yahoogroups.com, "Jordan Snyder" <[EMAIL PROTECTED]> wrote: > > Hello, > > I'm using Flex 2 Beta 2, and I'm trying to

Re: [flexcoders] How would I do something like this....

2006-04-22 Thread Anatole Tartakovsky
Depends on your requirements: For generic case it is 3 step process: 1. Wait for beta 3 that supposely comes with the source code. 2. Study the code for data grid header, treeview, datagrid, etc 3. Write your own code for the control inherited on the top of BaseGrid, with automatic wrapper

Re: [flexcoders] How would I do something like this....

2006-04-22 Thread JesterXL
You want a tree grid.  One approach might be to create a Tree inside of a DataGrid itemRenderer that only supports 1 node; or you could support multiple and turn variableRowHeight on (forget the property name in 2).   Or, have your itemRenderer understand XML, but only render 1 item, and o

Re: [flexcoders] Re: AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread JesterXL
This worked awesome in Flex 1.5, so if you have issues with 2, don't get frustrated since Flex 2 is still beta. - Original Message - From: "wesubotnix" <[EMAIL PROTECTED]> To: Sent: Saturday, April 22, 2006 6:31 PM Subject: [flexcoders] Re: AMFPHP v.s. HTTPService & PHP ?? Thank yo

[flexcoders] Newbie question

2006-04-22 Thread Alex MacCaw
Is it possible to reference a HTTPService from another file.   For example in services.mxml I create a service:   And in stats.mxml I reference the service:                     However this doesn’t work, I get ‘Access of undefined property 'statRequest'

[flexcoders] How would I do something like this....

2006-04-22 Thread Doug Hughes
  Hello all,   I need to create a UI element that looks more or less like the screenshot at this link.  http://odetocode.com/aimages/debugging/fig8.jpg.  The screenshot is of the MS Visual Studio 2005 watch window.  The component seems to be a combination of a tree control and a list c

[flexcoders] Re: Drag & Drop conundrum... BUG?

2006-04-22 Thread flexabledev
Paul, Thanks!  I didn't know that you did not need to set dropEnabled="true" if you also set dragEnter and dragDrop handlers.  I just assumed that you always needed to set dropEnabled, even if you write your own drag behaviour... Once I set dropEnabled to "false", I can see (while debugging) t

[flexcoders] Java heap space error

2006-04-22 Thread Dan Plesse
Java heap space error failed and sometimes abc bytecode decoding error http://www.adobe.com/2006/mxml" height="100%" width="400"> horizontalAlign="center" verticalAlign="middle">   Does anyone know what this is about? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com

[flexcoders] Flex 1.5 - getrepeaterItem values

2006-04-22 Thread Michael Griffin
Title: Message I have a small app which passes the reference to a repeater item to an editable view.  I have been trying to assign the values from the original repeater dataProvider item into a new array that can then be edited without affecting the original data until explicitly saved.  T

[flexcoders] Re: AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread wesubotnix
Thank you for your comments and the great links, I´ll continue my performance tests with these new approaches in mindand will perhaps abandon the XML-idea if I´ll get some satisfying resultswith the AMFPHP array... --- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wro

RE: [flexcoders] Re: AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread Peter Farland
In AS3 you can set AMF0 to be used globally for any NetConnection: import flash.net.*; ... NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0; though you'd have to unwrap the messages from the request on the OpenAMF side of things since Flex 2 RemoteObject uses a messaging framework t

[flexcoders] Re: AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread arieltools
Was just reading about this. Take a look: http://groups.yahoo.com/group/flexcoders/message/34587 --- In flexcoders@yahoogroups.com, "Renaun Erickson" <[EMAIL PROTECTED]> wrote: > > I agree with Jesse on the points between the Binary and XML formats. > One of the other down falls of AMFPHP a

[flexcoders] Flex 2 Beta 2 - MenuBar events - no menuItem property

2006-04-22 Thread Jordan Snyder
Hello,I'm using Flex 2 Beta 2, and I'm trying to catch MenuBar events.I've already been through the workarounds in order to display E4X XMLdataproviders correctly, ie, using showRoot="false", labelField="@label", etc.However, whenever a MenuBar event fires, the event object does notcontain a men

Re: [flexcoders] FlexEvent.DATA_CHANGE

2006-04-22 Thread Webdevotion
Bubbles and application.application are both relatively new to me.Thanks for the hints, I'll look into them.  On 4/22/06, jeremy lu <[EMAIL PROTECTED]> wrote: this event should bubbles up to the top node, have you tried to add listener to it from Application.application ?my bet is, if this even

Re: [flexcoders] FlexEvent.DATA_CHANGE

2006-04-22 Thread jeremy lu
this event should bubbles up to the top node, have you tried to add listener to it from Application.application ?my bet is, if this event do bubbles, you can listen to it from anywhere (including datagrid itselft ) jeremyOn 4/23/06, Webdevotion <[EMAIL PROTECTED]> wrote: Hello,Short question:

[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-04-22 Thread Renaun Erickson
As far as I know AMFPHP supports only the AMF0 format, Flash Player 8.5 and Flex2 use AMF3 format, and you have to connect using NetConnection class.  This method does not implement any of the newer "channel in your configuration" methods that we see in the ColdFusion Connectivity updates. Some

[flexcoders] Re: AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread Renaun Erickson
I agree with Jesse on the points between the Binary and XML formats. One of the other down falls of AMFPHP and AS3 right now is that you have to us NetConnection and not a nice RemoteObject component.  Thats not to say the NetConnection wont work in the future, it probably will continue to, b

[flexcoders] FlexEvent.DATA_CHANGE

2006-04-22 Thread Webdevotion
Hello,Short question:I implementeddispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));in the listdata setter of my datagrid cellrenderer.How can I get anything listen to this event ? Can the datagrid itself listen to this event ?thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.co

Re: [flexcoders] AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread JesterXL
Out of curiosity, how are you getting records back from an HTTPService call? Using RemoteObject with AMFPHP, you get back a native Array (or Boolean, or String, etc.) where-as everyting with HTTPService is a string? Secondly, there was a thread either on the AMFPHP list, or at Patrick's blog

RE: [flexcoders] Drag & Drop conundrum...

2006-04-22 Thread Paul Williams
Just a guess, but one possibility is that your list's default drop behaviour is switched on, i.e. on the list control, dropEnabled="true". This could cause the item to be added twice, once by your event handler and once by the default drop behaviour. Paul -Original Message- From: flexc

Re: [flexcoders] Uncaught exceptions in Flex 1.5

2006-04-22 Thread Stanislav Zayarsky
Hello FlexCoders, I have the same problem! Adobe guys, can you help us? Best regards Stanislav On 4/21/06, Sergey Kovalyov <[EMAIL PROTECTED]> wrote: > Hi All! > > How to deal with uncaught exceptions in Flex 1.5? Actually they kill > application running via terminating the current script. >

[flexcoders] Re: AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread arieltools
I can't but I would like to see answers on this matter.. :) --- In flexcoders@yahoogroups.com, "wesubotnix" <[EMAIL PROTECTED]> wrote: > > Hi, > > Maybe someone here is able to explain the advantages about using > AMFPHP & AS 3.0 NetConnection compared to calling an URL through > HTTPService,

Re: [flexcoders] cannot convert to mx.core.IUIComponent

2006-04-22 Thread Webdevotion
tnx, it worked.I could have swore that I tried this though :sAnyway, glad you made me try again : ) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

[flexcoders] MouseX, MouseY and visual orientation

2006-04-22 Thread mark_g_wales
I've got a UI component that embeds a bunch of Sprites and that, at normal scale and with no rotation lets me click on and move the Sprites around the screen. However, once I change the scale or rotation the mouse position appears to not match the visual location of the Sprite. I am presuming

[Flexcoders]Silent error all Flex applications

2006-04-22 Thread Webdevotion
Hello,I just powered on my pc to found out that none of my Flex projects are displaying ... They are being compiledon the server or as a swf without errors, they have a filesize ( > 200kb etc. ) . The Flex command window does not give any errors. What are the things I need to check here ?tnx ve

[flexcoders] Re: Developing Flex Book Example not working in Flex 2 Beta 2

2006-04-22 Thread sof4real03
Sure it's Chapter 8: Validating Form Driven Applications, page 192. I'm trying to build the ValidatingForm.mxml base component. I then will use that base component to create each of the child forms that will eventually be children of the accordian. Any insight? --- In flexcoders@yahoogroups.com

[flexcoders] Re: [Flex 2 beta 2 - Cairngorm 2 - AMFPHP]

2006-04-22 Thread arieltools
The only thing I get is: endpoint is not longer observed, please specify the appropiate channel in your configuration. And, of course, an error once compiled. Anyone with news of AMFPHP? I'm having the same request as William. --- In flexcoders@yahoogroups.com, "Renaun Erickson" <[EMAIL P

[flexcoders] Drag & Drop conundrum...

2006-04-22 Thread flexabledev
I've started to experiment with Drag & Drop and have run into a problem I can't figure out.  I have successfully written code that allows me to Drag rows from a DataGrid (with a custom Drag Proxy) and Drop the value of one of the columns into a List.  The only thing I don't understand is why whe

RE: [flexcoders] Re: Flex framework: ARP, Cairngorm... Which to use?

2006-04-22 Thread Steven Webster
The alpha version of Cairngorm 2 (which is pretty damn stable) is on www.richinternetapps.com for now, until we welcome it to a new home. Best wishes, Steven   Steven Webster Practice Director (Rich Internet Applications) Adobe Consulting Westpoint, 4 Redheughs Rigg, South Gyle, Edinburg

[flexcoders] AMFPHP v.s. HTTPService & PHP ??

2006-04-22 Thread wesubotnix
Hi, Maybe someone here is able to explain the advantages about using AMFPHP & AS 3.0 NetConnection compared to calling an URL through HTTPService, when loading (and manipulating) data from a mysql database? When setting up some tests and loading huge amounts of data I can´t see any big performa