[flexcoders] Re: Setting Menu Enable option at run-time

2006-06-11 Thread Tim Hoff
Here's one way to do it. The cool thing is that, in this example, the XML enabled attribute actually binds to thecontrol's enabled property (good thinking Adobe). If you're using Cairngorm, you can also use this method to dispatch XML defined menu events. Cheers,Tim Hoff ?xml version="1.0"

[flexcoders] Re: Setting Menu Enable option at run-time

2006-06-11 Thread Tim Hoff
Of course, you would replace the example XML the XML that is returned from your data service. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Here's one way to do it. The cool thing is that, in this example, the XML enabled attribute actually binds to the

[flexcoders] Resize handle hack?

2006-06-11 Thread John Grden
I wanted to know if there was any way that was built into flex where you could grab the bottom right corner and resize a panel/window? I mocked it by checking for mouseX/Y, and then just simply updating the width/height based on the mouse location. Is there something built in for this sort of

[flexcoders] Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread aejaz_98
Hi,I am calling a java method on server side which returnsan array of type Object[]. On the client side I do thefollowing,var arr:Array = remoteObject.call();Doing this gives me an exception which says,TypeError: Error #1034: Type Coercion failed: cannot convert mx.rpc::[EMAIL PROTECTED] to

[flexcoders] Re: Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread aejaz_98
I just wanted to add that the call is executing successfully on the server side as shown by tomacat debug log. Thanks, Aejaz --- In flexcoders@yahoogroups.com, aejaz_98 [EMAIL PROTECTED] wrote: Hi, I am calling a java method on server side which returns an array of type Object[]. On the

[flexcoders] Automated migration to Flex 2

2006-06-11 Thread maxym.hryniv
Is there any tool for automated migration to Flex 2??? Of course a lot of work has to be done by hand, but i want to simplify this process. Yahoo! Groups Sponsor ~-- You can search right from your browser? It's easy and it's free. See how.

Re: [flexcoders] Automated migration to Flex 2

2006-06-11 Thread Abdul Qabiz
Regex, Grep etc can help you do things.Sorry, I am not aware of any migration tool from Adobe.-abdulOn 6/11/06, maxym.hryniv [EMAIL PROTECTED] wrote: Is there any tool for automated migration to Flex 2??? Of course a lot of work has to be done by hand, but i want

Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread Abdul Qabiz
Hi, RickNo Flash/Flex Applications (neither in browser nor as standalone) can handle such Drag Drop operations.But it would really be cool feature and I understand, it won't take much effort to do that ? With Web 2.0/RIA stuff, such feature would really be important.For standalone

[flexcoders] how to set ProgressBar height?

2006-06-11 Thread shemeshkale
using flex 1.5 is there a way to change the ProgressBar height? the height property isn't working. Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives

RE: [flexcoders] Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread Peter Farland
Aejaz, This is expected. You can't assign the result of a remote object call immediately to a value. The Flash Player needs to make calls asynchronously so that the movie does not stall while waiting for a response from the network. Instead you're returned a token to help you track

[flexcoders] Re: Flex2B3: Problem returning Object[] from a RemoteObject call

2006-06-11 Thread aejaz_98
Thanks Peter. I didn't realize this as I was calling methods which were not returning anything. Added a handler it works as you mentioned. -Aejaz --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Aejaz, This is expected. You can't assign the result of a remote

[flexcoders] creationComplete on custom non UI component

2006-06-11 Thread Claudia Barnal
Is there a best practice for making something similar to a creationComplete method on a non UI component that extends EventDispatcher? I am not sure this is what I need, but let me explain my situation: !-- In the MXML -- MyComponent someValue=10 The problem is that I can't get to the

[flexcoders] Flex2B3 :: Delete sub nodes from XMLListCollection

2006-06-11 Thread Torben Nielsen
Hi, How do you delete all subnodes to a given node in an XMLListCollection object? Thanks. Best regards. Torben Nielsen __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Flex vs. .Net for RIA database apps; new to both

2006-06-11 Thread michaellisten
What software is needed in order to use flash remoting? Just plain flash or is there some flash dev package? Are the terms for deploying simple or does one have to license per server etc? I've seen a couple of pages that ref ruby on rails too for the web services end of things. Not sure how

Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread John Grden
will zinc work with a Flex2 swf?? I've heard about Rebus, but after reading, Rebus is just a hey let's see what you guys think of this concept for .NET etcOn 6/11/06, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, RickNo Flash/Flex Applications (neither in browser nor

[flexcoders] Any luck with Vista?

2006-06-11 Thread Brendan Meutzner
Hi, Just wanted to see if anyone else has been able to install FlexBuilder successfully with Vista Beta? I've got Vista build 5384 (I think it's the first public beta release) and can't install Flexbuilder either way... gives me an user permissions error for registry modifications (even though

[flexcoders] Using PUT with HTTPService

2006-06-11 Thread dk_flasher
Hi, Is it possible make a HTTP PUT request using the HTTPService class? The documentation seems unclear: At the top it specifies only POST or GET, but under the method property it lists GET, POST, HEAD, OPTIONS, PUT, TRACE and DELETE as permitted values. Having tried multiple property

[flexcoders] Can anyone programmatically select an item in a Tree? (f2b3)

2006-06-11 Thread rigidcode
Does anyone have code that selects an item in a Tree control? Particularly if the dataProvider for the tree item is an XML object. Setting the selectedItem property doesn't seem to do anything. thanks Yahoo! Groups Sponsor ~-- Home is

[flexcoders] Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Is it possible to create and remove a popup in a Cairngorm command? I have a simple application that has two primary components; sidePanel and mainPanel. Various child components are added to the primary components, depending on the state of the application. What I want to do is create a

Re: [flexcoders] Re: Automated migration to Flex 2

2006-06-11 Thread Michael Klishin
maxym.hryniv wrote: Regexp rules, but i just don't want to repeat something that is allready done. However thanx. What in particular are you going to migrate? -- Michael Antares Klishin, http://www.novemberain.com | mailto:[EMAIL PROTECTED] Yahoo! Groups Sponsor

RE: [flexcoders] Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas
I've done this... In the ModelLocator keep a reference to the window that you will display, then you can access it from wherever you want, in your case the onResult and onFault events. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com

[flexcoders] Re: Any luck with Vista?

2006-06-11 Thread christopherjdunn
Someone else suggested installing Flex builder 2 on another PC, then copy the folder that it was installed to the Vista PC. Then just create a shortcut to the executable. With Eclipse, I done an install on one PC then copied it to another pc without a problem, so the same procedure should work

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Dimitios, Could you elaberate a little with code? How are you creating the popup? And, by reference, do you mean import? Thanks, Tim --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: I've done this... In the ModelLocator keep a reference to the window that

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas
Actually you don't even need to do that. You use case is simpler (some code ommited): class MyCommand implements Command { var myWindow:Object; public function execute() { myWindow = PopUpManager.createPopUp( .. ); } public function onResult() { PopUpManager.removePopUp(

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
That doesn't want to work. Error: Implicit coersion of a value of type class to an unrelated type flash.display.displayObject. I liked your idea of handling it in the ModelLocator. Any chance you could show the code that your using to do it that way? Thanks again, Tim --- In

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas
ok you are using Flex2... wasn't sure. Change to: var myWindow:IFlexDisplayObject And if you want, move the myWindow variable to the ModelLocator. ModelLocator.myWindow = PopUpManager.createPopUp( .. ); Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From:

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Well, I tried it both ways and am still getting the same compile error. Sorry to be such a bother. I'll keep plugging away at it. Thanks Dimitrios, Tim --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: ok you are using Flex2... wasn't sure. Change to: var

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas
it should work, too simple not too. What line gives the error... paste the offending line. Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: Sunday, June 11, 2006 8:01 PMTo:

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
In the command: (Same thing if I move it to the ModelLocator) import org.ets.main.code.view.mainPanel.MainPanelView;import org.ets.main.code.view.mainPanel.searching.SearchingPopupView;import mx.managers.PopUpManager;import mx.core.IFlexDisplayObject; public function execute( var

RE: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Dimitrios Gianninas
wrap the MainPanelView like so: DisplayObject(MainPanelView) Dimitrios Gianninas RIADeveloper Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim HoffSent: Sunday, June 11, 2006 8:16 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders]

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
That got rid of the compile error, but created the same error at run- time. Don't worry about it Dimitrios. You've spent enough time on this. I'll keep trying. Much thanks, Tim --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: wrap the MainPanelView like so:

Re: [flexcoders] Cairngorm data flow chart

2006-06-11 Thread Michael Schmalle
Nice! What did you use to make the flowchart and pdf? Peace, MikeOn 6/11/06, lownlazy000 [EMAIL PROTECTED] wrote: I have created a flow chart to illustrate the movement of data withing the Cairngorm framework. Its can be found here:

[flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread Tim Hoff
Got it to work with this: var myWindow:IFlexDisplayObject; var myParent:DisplayObject; myParent = Application.application.mainPanelView; myWindow = PopUpManager.createPopUp(myParent,SearchingPopupView, true); Now I just have to find a way to incorperate this without totally stepping all over

Re: [flexcoders] Re: Cairngorm createPopUp in a command

2006-06-11 Thread stacey
Also just in case you want to set props on the window or whatever, you can just cast it to the SearchingPanelView - if you need something that flexible. IN terms of how this integrates into the C framework i dunno, is it really necessary to filter everythign through the front controller when not

Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread Jeremy Lu
I downloaded Rebus the other day and read the manual, it's a .NET 2.0 rebuild of Zinc and best of all, it's a plugin to Eclipse so the workflow is seamless.I assume it support flash player 8.5( 9 maybe ?) and can wrap flex2 swf. On 6/12/06, John Grden [EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: Flex vs. .Net for RIA database apps; new to both

2006-06-11 Thread Jeremy Lu
Actually flash remoting is part of Flex, when you use RemoteObject, you are using remoting.The thing is that currently (in F2B3), there are only server-side remoting gateway for Coldfusion (which support AMF3 - which also means, if you use RemoteObject in F2B3, your backend must be Coldfusion

RE: [flexcoders] Using PUT with HTTPService

2006-06-11 Thread Matt Chotin
I believe we can support PUT if you go through the FDS proxy. Matt From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dk_flasher Sent: Sunday, June 11, 2006 1:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using PUT with HTTPService

Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread Muzak
Zinc does currently not support Flex swf's. regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, June 11, 2006 9:41 PM Subject: Re: [flexcoders] How to drag a file into Flash? will zinc work with a Flex2 swf?? I've

Re: [flexcoders] How to drag a file into Flash?

2006-06-11 Thread John C. Bland II
Jump on the Beta: http://www.multidmedia.com/devlabs/. (Flex is supported in upcoming version)On 6/11/06, Muzak [EMAIL PROTECTED] wrote: Zinc does currently not support Flex swf's. regards, Muzak - Original Message - From: John Grden [EMAIL PROTECTED]