Re: [flexcoders] re:httpService to api

2008-11-29 Thread Rob Kunkle
I haven't used bit shetler, but from this response it looks like you first have to present your email address and password to and httpS service for identification. In exchange you get a cookie back, and then you present the cookie with subsequent requests. It's like when you go in a club,

[flexcoders] Re: How to get an object to delete itself?

2008-11-29 Thread Amy
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: this.parent.removeChild(this); and this.parent.removeChild(this); are synonomous (except for popups, where you need to use this.parent.removeChild(this) ). Anyone else confused by this? I'm seeing the exact same

Re: [flexcoders] Re: How to get an object to delete itself?

2008-11-29 Thread Fotis Chatzinikos
99% he meant : this.owner.removeChild(this); synonymous to: this.parent.removeChild(this); On Sat, Nov 29, 2008 at 4:04 PM, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: this.parent.removeChild(this);

Re: [flexcoders] Re: How to get an object to delete itself?

2008-11-29 Thread Paul Andrews
LOL, yes, I did copy and paste but forgot to edit. Paul - Original Message - From: Fotis Chatzinikos To: flexcoders@yahoogroups.com Sent: Saturday, November 29, 2008 2:10 PM Subject: Re: [flexcoders] Re: How to get an object to delete itself? 99% he meant :

[flexcoders] How to update menubar dataprovider

2008-11-29 Thread lampei
I am trying to update the dataProvider of a MenuBar without resetting the menuBar dataprovider to the original array. e.g. private var menuData:Array = []; private function init():void { menuData.push( { label: test1, type: normal } ); menuData.push( { label: test2, type: normal

Re: [flexcoders] How to update menubar dataprovider

2008-11-29 Thread Fotis Chatzinikos
Did you try with a bindable ArrayCollection? This usually dispatches the correct events for UI components to update automatically. [Bindable] var myData:ArrayCollection = new ArrayCollection() ; On Sat, Nov 29, 2008 at 8:19 PM, lampei [EMAIL PROTECTED] wrote: I am trying to update the

[flexcoders] Re: How to update menubar dataprovider

2008-11-29 Thread lampei
Cool! That worked. I'm wondering what event is fired for the ArrayCollection that made it work...CollectionChange maybe? It'd be nice to know what would work/how to get it to work for the array too, but at least it works for the ArrayCollection. Thanks. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: How to update menubar dataprovider

2008-11-29 Thread Dominic Pazula
I believe it is the CollectionChange event. --- In flexcoders@yahoogroups.com, lampei [EMAIL PROTECTED] wrote: Cool! That worked. I'm wondering what event is fired for the ArrayCollection that made it work...CollectionChange maybe? It'd be nice to know what would work/how to get it to work

Re: [flexcoders] Help with error message

2008-11-29 Thread gabriel montagné
Hi, markgoldin_2000 wrote: What exaclty this means: TypeError: Error #2007: Parameter antiAliasType must be non-null. at flash.text::TextField/set antiAliasType() Paraphrasing the error message one can defintely say that you have a TextField somewhere for which you're setting the anti alias

[flexcoders] Re: How to update menubar dataprovider

2008-11-29 Thread lampei
So how do I fire the CollectionChange event from the array so that the menuBar picks up that the collection has changed and to reload the dataProvider? --- In flexcoders@yahoogroups.com, Dominic Pazula [EMAIL PROTECTED] wrote: I believe it is the CollectionChange event. --- In

Re: [flexcoders] Re: How to update menubar dataprovider

2008-11-29 Thread Fotis Chatzinikos
Use an ArrayCollection :-) No need to use arrays for binding ops.. Arrays might be faster, but not for this type of processing... On Sun, Nov 30, 2008 at 3:23 AM, lampei [EMAIL PROTECTED] wrote: So how do I fire the CollectionChange event from the array so that the menuBar picks up that the

[flexcoders] Re: httpService to api

2008-11-29 Thread spinglittery
Thanks for your input. I have been sending to an https destination - but probably over insecure http, which may beone reason why it is being rejected. I had thought that the protocol property had been removed/deprecated - because I can't see it in the Flex 3 HTTPService class

[flexcoders] httpservice to api

2008-11-29 Thread spinglittery
Ah-hah. I discovered that I have to use a proxy, otherwise the setRemoteCredentials function is ignored... Using a proxy and a services- config.xml to set parameters, I recokon I can specify https. Certainly I can specify it as destination: destination property

RE: [flexcoders] Flash Modules?

2008-11-29 Thread Alex Harui
I suppose that's possible, assuming you copy enough files but I really am not looking forward to working through all of the issues you might run into. The Flex compiler wraps your module in a bunch of code that Flash doesn't know how to do. Fundamentally, a module is just a SWF with some

RE: [flexcoders] How to embed icons in MenuBar?

2008-11-29 Thread Alex Harui
Try public instead of private From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nathanleewei Sent: Thursday, November 27, 2008 3:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to embed icons in MenuBar? [Embed(source=/assets/document.png)] private static

[flexcoders] Flex nested tree get data from mysql and php

2008-11-29 Thread timgerr
Hello all, I am working with nested arrayobjects and I cannot construct the needed data from my php/mysql backend. I am using nested sets (http://dev.mysql.com/tech-resources/articles/hierarchical-data.html), with left and right keys. I need to construct the data (in php) and pass it to flex