[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

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, Edinburgh,

[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 when

[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

[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]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 very

[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

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] 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, when

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. Due

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:

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

[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,

[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

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,Shortquestion:I

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 event

[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

[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 and AS3

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

[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] wrote:

[flexcoders] Flex 1.5 - getrepeaterItem values

2006-04-22 Thread Michael Griffin
Title: Message I havea 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 newarray that can then be edited without affecting the original data until explicitly saved. The

[flexcoders] Java heap space error

2006-04-22 Thread Dan Plesse
Java heap space error failed and sometimes abc bytecode decoding error ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml height=100% width=400 mx:Panel id=panel width=100 height=100 title=Logon horizontalAlign=center verticalAlign=middle /mx:Panel

[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) that

[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

[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: mx:HTTPService id=statsRequest url="" useProxy=false/ And in stats.mxml I reference the service: mx:DataGrid id=dgReviews x=40 y=85 width=800 height=134 dataProvider={

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: flexcoders@yahoogroups.com Sent: Saturday, April 22, 2006 6:31 PM Subject: [flexcoders] Re: AMFPHP v.s.

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 render1 item, and

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

2006-04-22 Thread Anatole Tartakovsky
Depends on your requirements: For generic caseit 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 controlinherited on the topof BaseGrid, with automatic wrapper

[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 catch

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

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 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 datagridwould be very"localized":just sorting to take in consideration the hierarchy (essentially making sure you have custom sort

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

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:

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

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

RE: [flexcoders] F2B2: Deploying sample apps

2006-04-22 Thread Matt Chotin
Hmm, could be a problem with the HistoryManager, I know weve 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 AM

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:

RE: [flexcoders] Column Reorder

2006-04-22 Thread Matt Chotin
Not sure, that logic has changed a little I think. I think youll 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

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] 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] Flex2b2: Question about controls and mouse events

2006-04-22 Thread Matt Chotin
Ive forwarded this on, I dont 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] 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: