Re: [flexcoders] Arrangement, front back?

2006-06-28 Thread Sonja Duijvesteijn
When you are creating objects, the last created object will be on top, if that not what you want, change it.var index:int = container.getChildIndex(button);container.setChildIndex(button, index+1 );This will move the button in the container up 1 level in the view stack Sonja2006/6/28,

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

2006-06-28 Thread Sonja Duijvesteijn
drastically, are there any area's I could expect problems? If things don't work next week it means I'll fail, won't graduate and have to do my internship all over, costing 5 months. So, I'm hesitant to jump on the boat. But man, flex 2 is tempting! Kind regards,Sonja Duijvesteijn

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

2006-06-28 Thread Sonja Duijvesteijn
Thank you everyone for your insights in this. I will just stick with the beta for now and make sure to bundle it with the beta of the flashplayer when it's finished. I did expect this to be the outcome, but in a perfect world everything would still work , just better (; Just thought I'd check

Re: [flexcoders] How to recover from 'cleaning' project?

2006-06-15 Thread Sonja Duijvesteijn
Did you try project clean... to stop the caching problem? Most of the time this works really well. I know that's not a solution but it might prevent this in the future.Otherwise, what helps me most of the time is 'delete project' but not contents, then just start the project again. Then any

Re: [flexcoders] colorPicker, getting the colour out

2006-06-14 Thread Sonja Duijvesteijn
] : On Tuesday 13 June 2006 11:39, Sonja Duijvesteijn wrote: The documentation gives enough help for the advanced topics (putting in your own colours) but forgets the basics.You mean like where it uses selectedColor ? mx:ColorPicker id=cp showTextField=true selectedColor=0xFF/:-)--Tom Chiverton

Re: [flexcoders] colorPicker, getting the colour out

2006-06-14 Thread Sonja Duijvesteijn
:39, Sonja Duijvesteijn wrote: The documentation gives enough help for the advanced topics (putting in your own colours) but forgets the basics.You mean like where it uses selectedColor ? mx:ColorPicker id=cp showTextField=true selectedColor=0xFF/:-)--Tom Chiverton

[flexcoders] colorPicker, getting the colour out

2006-06-13 Thread Sonja Duijvesteijn
When I use custom objects or an array to fill the colorpicker everything works like a charm. But when I try to use the colorpicker as it is I can't seem to get the selected color out as an hexidecimal value. I've tried 'selectedColor', 'selectedItem', and have trying to get 'selectedIndex' to

Re: [flexcoders] Using E4X with attributes in XML tags

2006-06-08 Thread Sonja Duijvesteijn
some_label.text=xml_object.ItemID.Title.toString();You want the Title from the ItemID not from the xml object. some_label.text=xml_object.(@xmlns==...).ItemID; I'm not sure why it thinks that @xmlns doesn't exists but it should be == as it's not an assignment. Kind regards,Sonja

Re: [flexcoders] Why suddenly these ugly transparent popups

2006-06-08 Thread Sonja Duijvesteijn
I had the same problem, not sure where it came from however. setStyle(borderStyle, solid) seemed to fix it.Hope this helps,Sonja Duijvesteijn 2006/6/8, wesubotnix [EMAIL PROTECTED]: I have some problem with my popups, which has never occured before. Now

Re: [flexcoders] Catching a key press [Flex Beta2]

2006-06-01 Thread Sonja Duijvesteijn
and do whatever you do. If someone types in between the timer is reset. Code isn't checked so might be some slight mistakes, but this is the way you should look for a solution.Kind regards,Sonja Duijvesteijn2006/6/1, Sonja Duijvesteijn [EMAIL PROTECTED]:I don't have any working code but it would

[flexcoders] delete class instances

2006-05-16 Thread Sonja Duijvesteijn
I've been working with Flex since last Februari, and since then I've been having a problem with classes. Since it's seemed foolish that I could not find the solution myself I've been hesitant to ask but here goes.How do you delete and instance of a class?! I've set up a small example with a

Re: [flexcoders] Re: delete class instances

2006-05-16 Thread Sonja Duijvesteijn
Thank you for your swift answers, but either I just don't get it, or it's not working. I've changed the function stopPing to the following: private function stopPing():void { ping = null; trace(ping: +ping); }The trace does say (as expected) ping: null, but it doesn't make the bad ping go

Re: [flexcoders] GENERAL actionscript question

2006-04-05 Thread Sonja Duijvesteijn
I'm not sure how Coldfusion gives results back, but i would assume the true or false is a string and not a boolean. public function checkEmailExists():void { if ((srv.checkEmail({email:userEmailInput.text })) ==true){ submitSignup.enabled = true; } else {

Re: [flexcoders] [Q]F2B2: Classes must not be nested??

2006-04-05 Thread Sonja Duijvesteijn
You cannot make a class in the mxml, by using mx:Script source=ShoppingCart.as/ you put that code basically right there in the file. So, it's an include, instead of an import. Try this mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns=* initialize=initApp() verticalGap=0

[flexcoders] marking an element of a tree as selected

2006-03-31 Thread Sonja Duijvesteijn
which function I'm looking for it's hard to either google or such the mailinglist. I've checked the language reference and the documentation, but I can't seem to find it. Where can I find more information (or just a solution) to this? Thanks in advance, Sonja Duijvesteijn -- Flexcoders

Re: [flexcoders] HTTPService: PHP-RSS-URL with parameters fails

2006-03-30 Thread Sonja Duijvesteijn
You are working with xml, so the url gives an error:url="" href="http://news.smartcode.ch/index.php?id=1type=100" target="_blank">http://news.smartcode.ch/index.php?id=1type=100 Replace the with an amp; and you should be fine.Good luck,Sonja Duijvesteijn

[flexcoders] Singleton not usable?

2006-03-20 Thread Sonja Duijvesteijn
Singleton {private static var _instance:Singleton = null;private function Sinleton() {}public static function getInstance():Singleton { if(Singleton._instance == null) { _instance = new Singleton(); } return _instance;}}Any help would be much appreciated. Kind regards, Sonja Duijvesteijn

[flexcoders] remove child from xml

2006-03-17 Thread Sonja Duijvesteijn
the second child for example. Is there any way to do this? Perhaps I've been overlooking some other source of documentation where this is explained. Any hints as where to look would be much appreciated.Kind regards,Sonja Duijvesteijn -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group