[flexcoders] Re: HTTPService xmlEncoder

2005-04-16 Thread viraf_bankwalla
I have a set of VO's in the application that need to be sent to the server as XML. I was debating whether I should provide the objects and specify an xmlEncoder to the HTTP Service, or simply do the encoding use Strings as the request arguments to send. At this this time, I have decided to

RE: [flexcoders] reset views fields values for a stackview panel

2005-04-16 Thread Valy Sivec
Hi Matt, I tried distoryAllChildren for the viewStack but the application has been put on his knees I got an warning message from the player that a script is causing some problems... don't remember the message... I think I would like the approach you mention with the binded model to the

[flexcoders] null dataProvider on ComboBox

2005-04-16 Thread JesterXL
It appears setting a null dataProvider for a ComboBox makes further calls to the ComboBox' parent via destroyAllChildren not to work. I guess the only thing to be learned is, if you see a blank ComboBox that should be full, beware... Yahoo! Groups Links * To visit your group on the

[flexcoders] Drag/Pan/Zoom HOWTO-do it better?

2005-04-16 Thread carloslozanodiez
Hi all, I've loaded a SWF map into a mx:Canvas (Flex 1.5) and need advice as to how to tackle the following problems: - When zooming/scaling the map the mx:Canvas scrollbars (always set to on) are not behaving properly (sometimes not reflecting the change in the scale of the content and

Re: [flexcoders] Drag/Pan/Zoom HOWTO-do it better?

2005-04-16 Thread JesterXL
I can tackle 1 one those, the rest are juts inferences: 1. not sure; try setting the v and hScrollPolicy = off before you drag. 2. How are you dragging it? 3. Yep! Don't know if this is Flex documented :: takes 2 millisecond look :: Weird, don't see it. Anyway, do 2 things: - set your

Re: [flexcoders] Drag/Pan/Zoom HOWTO-do it better?

2005-04-16 Thread clozano
Thanks for tips! 1.Have tried setting vScrollPolicy to off with the result being less than satisfactory; despite clipContent being set to on if vScrollPolicy hScrollPolicy are set to off the SWF loaded within the Canvas gets repainted beyond the boundaries of the Canvas. Yep... weird.

[flexcoders] Flex Containers.

2005-04-16 Thread Omar Ramos
Is there a way to make flex containers grow in size insted of showing a scroll bar? I know you can use 100% values on widths and heigths but lets say you have a viewstack and inside you have a product search component that uses a repeater to display products, but each time there are more

Re: [flexcoders] Flex Containers.

2005-04-16 Thread Tom Fitzpatrick
Omar - yes, it's an undocumented feature that took me a while to find out about. In your ViewStack, set resizeToContent=true. That's it. Works for tab containers, too. - Tom At 02:00 PM 4/16/2005, you wrote: Is there a way to make flex containers grow in size insted of showing a scroll bar?

Re: [flexcoders] Drag/Pan/Zoom HOWTO-do it better?

2005-04-16 Thread JesterXL
1. Darn... 2. Try changing this: // Handle events for "life" dragging. function handleMouseMoveSomewhere(event) { if (handleCanvasEvent()) { layerCanvas.x = currentX+(canvas1.mouseX-mouseDownX); layerCanvas.y =

RE: [flexcoders] Flex Containers.

2005-04-16 Thread Omar Ramos
Thanks for the reply, this is weird tho I see the property in the docs but when I try it, the compiler tells me that viewstack doesn't have that property. Omar Ramos Technology Manager www.itacon.net From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom

RE: [flexcoders] Flex Containers.

2005-04-16 Thread Tom Fitzpatrick
Are you using Flex 1.5? At 02:47 PM 4/16/2005, you wrote: Thanks for the reply, this is weird tho I see the property in the docs but when I try it, the compiler tells me that viewstack doesn't have that property. Yahoo! Groups Links * To visit your group on the web, go to:

RE: [flexcoders] Flex Containers.

2005-04-16 Thread Omar Ramos
yes, wonder if cuz its .NET beta edition. Omar Ramos Technology Manager www.itacon.net From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom FitzpatrickSent: Saturday, April 16, 2005 3:10 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Flex

Re: [flexcoders] Flex Containers.

2005-04-16 Thread Manish Jethani
On 4/17/05, Omar Ramos [EMAIL PROTECTED] wrote: yes, wonder if cuz its .NET beta edition. If resizeToContent is not working for you, another option is to take over the sizing of the ViewStack. ViewStack id=vs change=myChangeHandler() / function myChangeHandler():Void { vs.width =

Re: [flexcoders] TabNavigator changing event ?

2005-04-16 Thread Manish Jethani
On 4/15/05, Doodi, Hari - BLS CTR [EMAIL PROTECTED] wrote: can I trap any event before change event can occur so that I can display confirmation alert and act accordingly. You'll have to extend the TabNavigator and override the selectedIndex setter. !-- MyTabNavigator.mxml -- ?xml

Re: [flexcoders] MXMXL Editor

2005-04-16 Thread Manish Jethani
On 4/14/05, Ketan Bengali [EMAIL PROTECTED] wrote: Has anybody tried any editors apart from from Flex Builder for mxml? Just to answer the question -- yes, I use Vim. It has no MXML-specific features (so I'm not recommending it), but it has general editor features I can't live without. For