Re: [flexcoders] FTP client in AS3?

2006-07-03 Thread David Clark
The only proviso that I can think of is the security sandbox. You can only connect to network resources in the same domain or with a crossdomain policy file allowing the originating domain access.Getting the crossdomain file from an FTP server could be tricky. I am not certain, but I imagine

Re: [flexcoders] jumpy breakpoints

2006-06-29 Thread David Clark
Yes, I had this problem with F2B3. Often found that closing FlexBuilder and reopening would let me put the breakpoint where I wanted. Also had problems a few times getting the debugger to start - it would not break on breakpoints. I didn't see anyone else with the same problems so I uninstalled

Re: [flexcoders] switching from beta 3 to the real thing?

2006-06-28 Thread David Clark
Just a couple of things:Final seems to work side by side with beta3.Final managed to switch to my beta3 workspace.All of my beta3 projects (small test projects) work with Final.I believe that there are no change log notes indicating changes between beta3 and Final. Also: there is at least one

Re: [flexcoders] cornerEadius

2006-06-28 Thread David Clark
mx:Canvas x=44 y=34 width=200 height=200 borderStyle=solid cornerRadius=10 /mx:Canvasnote case - MXML is case sensitive -- davidMany people die at twenty five and aren't buried until they are seventy five. - Benjamin Franklin __._,_.___ -- Flexcoders Mailing List FAQ:

Re: [flexcoders] Expand all items of a tree

2006-06-28 Thread David Clark
Seems to work for me. If you change the code for expand() in Martine's example to : private function expand():void { myTree.selectedIndex = 0; myTree.expandChildrenOf(myTree.selectedItem , true); }It works without clicking on the tree first...-- davidMany people die at twenty five and aren't

[flexcoders] Generate sound

2006-06-28 Thread David Clark
Anyone know if it is possible to generate sound / tones from flash / flex? Something like a beep function to play a sound of a certain frequency, though not by loading a sound file.Thanks-- davidMany people die at twenty five and aren't buried until they are seventy five. - Benjamin Franklin

Re: [flexcoders] beta 3 to rtm changes

2006-06-28 Thread David Clark
Is there going to be a document Flex 1.5 to Flex 2.0 changes that summarises all of the changes between versions?On 6/28/06, m_chotin [EMAIL PROTECTED] wrote: Not sure why this hasn't posted yet via email, trying from web interface.

Re: [flexcoders] Generate sound

2006-06-28 Thread David Clark
I was bored and playing around with something that I wrote in c# a while ago... I guess one could generate the byte array that the Sound class holds... not much doco on the internals of that class though... maybe if it could use a simple format like wav or something... anyways, enough

[flexcoders] Debugging RTMP

2006-06-20 Thread David Clark
Is there any tool that can debug (monitor) RTMP traffic from flex2b3 to FMS2?I am still trying to figure out what is going on with NetConnection.connect arguments missing, but now I realise that there is no longer any way to see what is being passed in connect or call requests. There used to be

[flexcoders] Flex2b3 NetConnection.connect arguments

2006-06-19 Thread David Clark
Hi,Trying to connect from Flex to FMS2 using NetConnection passing an object argument. Any object type arguments seem to be ignored...I have existing Flash to FMS code that works something like this: nc = new NetConnection();nc.connect(rtmp://localhost/ComponentTest, {name:test,

Re: [flexcoders] Flex2b3 NetConnection.connect arguments

2006-06-19 Thread David Clark
Thanks for your response Peter, I already have the defaultObjectEncoding set to AMF0 (from Brian Lesser's code): NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0; SharedObject.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;just to be sure I set objectEncoding to

Re: [flexcoders] VBox mouseOut: calls the function before actually mousing out?

2006-06-01 Thread David Clark
I think that you are seeing two different things that you probably are not expecting.Firstly, the controls inside the VBox will also raise mouseOut event and these will bubble up to your handler on the VBox.Secondly, when the mouse moves from being in only the VBox to being in another control,

[flexcoders] NumericStepper no maximum value

2006-05-29 Thread David Clark
Hello,Does anyone know of a way to create a NumericStepper without a specified maximum value?Thanks-- davidThe difference between theory and practice is that in theory, there is no difference between theory and practice -- Flexcoders Mailing List FAQ:

[flexcoders] var as destination of binding

2006-05-29 Thread David Clark
Hello,Is there any way to specify a variable as the destination of a binding or is it only possible for it to be the source?What I thought you could do was bind a variable to (say) the value property of a slider then if the variable changed the slider would change (that works) and if you change

Re: [flexcoders] var as destination of binding

2006-05-29 Thread David Clark
On 5/29/06, JesterXL [EMAIL PROTECTED] wrote: Binding is one way. You can get 2 ways viadouble-binding, the binding tag, or binding to a getter/setter. There is another way via The way I was trying was the double binding with mx:Binding but it does not seem to work with HSlider...

Re: [flexcoders] var as destination of binding

2006-05-29 Thread David Clark
GAH!value is a reserved word.My bad, all works. Happy now.-- davidThe difference between theory and practice is that in theory, there is no difference between theory and practice -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

[flexcoders] Resizing (height and width not Bindable)

2006-05-25 Thread David Clark
Hi,This is an is there a better way question.I have an mxml component based on TitleWindow. I create it with CreatePopUp. I want it to take the entire area of its parent, so, I define its height={ parent.height} and similarly for the width. This is fine, however height does not seem to be

Re: [flexcoders] ObjectUtil.compare seems a little incorrect for Boolean values

2006-05-19 Thread David Clark
>From the help for the as operator (search for operators):Returns the first operand if it is a member of the data type specified by the second operand.The important bit is if it is a member.Number(a) will give you 1 and 0 though. I'm not sure if this is going to help you much for your specific

[flexcoders] Problem Dispatching Event.CLOSE

2006-05-19 Thread David Clark
I am playing around with FlashVNC. There was a TitleWindow control that has a handleDisconnect function for its close event. From there the Event.CLOSE event is dispatched. This event is handled by the main app to close the TitleWindow. But when it is dispatched it throws:TypeError: Error

[flexcoders] Little green arrow in builder

2006-05-18 Thread David Clark
Hello,Can someone tell me what the little green arrow on the icon for a file in flex builder means? The arrow is normally there (I have noticed) for the .mxml file, but not there (at least in the FlashVNC project that I am looking at) for the .as file. I just got through updating the source for

Re: [flexcoders] Little green arrow in builder

2006-05-18 Thread David Clark
Okay, I have more info.It seems to be a bug in builder - once a file is put in the list of application it cannot remove it.I was able to edit the .actionScriptProperties file to manually remove it and my app worked again. However as soon as I open the AS file it gets put into the list of