[flexcoders] Setting a ViewStack.selectedIndex in States

2007-05-07 Thread Christoph Diefenthal
Hello flexcoders! I have had a little break since working with Flex1.5 but now I am back. And I must say: Flex2.0 is great. But there are still some issues which confuse me... States and ViewStacks is one of it. Please have a look at the following code, and maybe you can tell me whether I

[flexcoders] flex 2.0 beta 3 - createionPolicy is none but still there is some space...

2006-06-22 Thread Christoph Diefenthal
Hi, I have got a problem with the creationPolicy. I am creating components dynamically so I wanted to use the creationPolicy. It is set to none on box1 is none but it occupies some space in front of box2. But I think it should look like box3. Setting width=0 and

[flexcoders] Object.registerClass and createChild with custom components - man ifest.xml ??

2006-02-15 Thread Christoph Diefenthal
Hi, I am using Flex 1.5 and I am creating custom components dynamically from its classnames like this: // got a class name var windowName:String = TitleWindowData; //create a instance of this title window var oInitObj:Object = new Object(); oInitObj.title = Title Window Data;

[flexcoders] Flex1.5 - Focus Question

2005-12-02 Thread Christoph Diefenthal
Hi at all, I have got a component(moveThis) on a canvas(canContent), which I want to move on the canvas by clicking the arrow keys. That works pretty good, as long as the canvas has got no scrollbars! If canContent has scrollbars and I click at first on moveThis to set the focus,

AW: [flexcoders] Handles for resizing?

2005-12-02 Thread Christoph Diefenthal
Maybe this might help? http://www.flexdaddy.info/2005/03/06/resizable-and-collapsable-titlewindow-f lex-15/ -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Mink, Joseph Gesendet: Freitag, 2. Dezember 2005 14:02 An:

AW: [flexcoders] instanceof on Object

2005-12-01 Thread Christoph Diefenthal
I needed cloning with inheritance one time. I did it this way. Worked perfectly... *** ValueObject class ValueObject{ public function clone (parent:ValueObject):ValueObject{ var clone:ValueObject= new ValueObject(); return

RE: [flexcoders] RTF Editor Integrated into Flex

2005-11-23 Thread Christoph Diefenthal
Check THIS out :) Flex 1.5 - RichText Editor Found it once. I think it was in this group. Works pretty good. Thanks for that. import mx.core.UIComponent; import mx.controls.Button; import mx.controls.TextArea; import mx.controls.ComboBox; import mx.utils.Delegate; //import

RE: [flexcoders] Cyclical reference error

2005-10-12 Thread Christoph Diefenthal
Hi, I had this error to. I worked around it by omitting the types of a variable. Example: Change var test:CyclicalClass = ... test.someFunction(); to var test = ... test.someFunction(); everything (e.g: function calls on the instance) still works. Only the

RE: [flexcoders] PopupManager.createPopUp - varying the className argument

2005-10-11 Thread Christoph Diefenthal
Hi Derrick, Maybe this helps you? You can construct class instances dynamically by getting the constructor for a class with mx.utils.ClassUtil.findClass(aClassName:String); But before you can do it, you have to register a class like this: Object.registerClass(TitleWindowTest, TitleWindowTest);

AW: [flexcoders] PopupManager.createPopUp - varying the className argument

2005-10-10 Thread Christoph Diefenthal
Hi Derrick, Maybe this helps you? You can construct class instances dynamically by getting the constructor for a class with mx.utils.ClassUtil.findClass(aClassName:String); But before you can do it, you have to register a class like this: Object.registerClass(TitleWindowTest, TitleWindowTest);

[flexcoders] mx:Model - XML with keywords like new

2005-10-06 Thread Christoph Diefenthal
Hello again, does anyone about problems using keywords within a mx:Model ? For example, if I've got a XML-file like this: menubar file newtrue/new /file /menubar And try to load it into an mx:Model like: mx:Model id=testXML source=test.xml

AW: [flexcoders] Re: Number(011) = 9 ????

2005-10-05 Thread Christoph Diefenthal
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christoph Diefenthal Sent: Tuesday, October 04, 2005 7:34 PM To: 'flexcoders@yahoogroups.com' Subject: AW: [flexcoders] Re: Number(011) = 9 Ok thank you all, I workaround (or isn't it a workaround??) this problem by using parseInt(011

[flexcoders] Number(011) = 9 ????

2005-10-04 Thread Christoph Diefenthal
Does anyone know why this happens??? Try it on your own server : mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; mx:Button label=Value Of String click=valueOfString() / mx:Script ![CDATA[ import mx.controls.Button;

AW: [flexcoders] Re: Number(011) = 9 ????

2005-10-04 Thread Christoph Diefenthal
2005 11:34 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Number(011) = 9 It's performing an octal to decimal conversion. You can use the Number class to convert between various different number bases. Jamie. --- In flexcoders@yahoogroups.com, Christoph Diefenthal

RE: [flexcoders] mouse-right-click-event?

2005-09-30 Thread Christoph Diefenthal
You are right. It works in Version 8! Thanks ! -Ursprüngliche Nachricht- Von: Christoph Diefenthal Gesendet: Freitag, 30. September 2005 10:42 An: 'flexcoders@yahoogroups.com' Betreff: RE: [flexcoders] mouse-right-click-event? Thanks everybody, This example is pretty cool

RE: [flexcoders] mouse-right-click-event?

2005-09-30 Thread Christoph Diefenthal
[mailto: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ] On Behalf Of Christoph Diefenthal Sent: Thursday, September 29, 2005 11:05 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] mouse-right-click-event? Hi people

RE: [flexcoders] ComboBox selectedItem comparison

2005-09-29 Thread Christoph Diefenthal
Have not done it yet, but there is a function getSelectedItem( ) in ComboBox... tried that? -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von fowleryj Gesendet: Donnerstag, 29. September 2005 15:23 An:

[flexcoders] mouse-right-click-event?

2005-09-29 Thread Christoph Diefenthal
Hi people, Is there a possibility to process a mouse-right-click-event instead of opening the flash-menu? Cheers Christoph Yahoo! Groups Sponsor ~-- Fair play? Video games influencing politics. Click and talk back!

RE: [flexcoders] mouse-right-click-event?

2005-09-29 Thread Christoph Diefenthal
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Christoph Diefenthal Gesendet: Donnerstag, 29. September 2005 17:05 An: 'flexcoders@yahoogroups.com' Betreff: [flexcoders] mouse-right-click-event? Hi people, Is there a possibility to process a mouse-right-click-event

AW: [flexcoders] KeyDown event in mx:Application tag

2005-09-28 Thread Christoph Diefenthal
Hi Maybe this helps. It works directly without pressing any Buttons... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml; xmlns:cm=module.customModules.* xmlns:inc=indexIncludes.* backgroundColor=#FF

[flexcoders] container - child : height=100% - layout problem

2005-09-22 Thread Christoph Diefenthal
Hi @all, I have got a problem with my layout... I want my Application to fit into the browser window. A VBox (vBxContent) should fit into this Application and be as high as possible, wherefore I set its height to 100%. But if a child (canContent) within vBxContent is higher then the screen it

AW: [flexcoders] Re: container - child : height=100% - layout pr oblem

2005-09-22 Thread Christoph Diefenthal
) { obj1.layoutHeight = this.layoutHeight; // i'm sure theres more to do like scaling - but its a start } } } --- In flexcoders@yahoogroups.com, Christoph Diefenthal [EMAIL PROTECTED] wrote: Hi @all, I have got a problem with my layout... I want my Application to fit

[flexcoders] height=100% layout problem

2005-09-22 Thread Christoph Diefenthal
Hi @all, I have got a problem with my layout... I want my Application to fit into the browser window. A VBox (vBxContent) should fit into this Application and be as high as possible, wherefore I set its height to 100%. But if a child (canContent) within vBxContent is higher then the screen it

AW: [flexcoders] Re: container - child : height=100% - layout pr oblem

2005-09-22 Thread Christoph Diefenthal
[mailto:[EMAIL PROTECTED] On Behalf Of Christoph Diefenthal Sent: jeudi 22 septembre 2005 15:52 To: 'flexcoders@yahoogroups.com' Subject: AW: [flexcoders] Re: container - child : height=100% - layout problem Thanks these are good idea, but actually I want something different. I should have

AW: [flexcoders] height=100% layout problem

2005-09-22 Thread Christoph Diefenthal
PROTECTED] On Behalf Of Christoph Diefenthal Sent: Thursday, September 22, 2005 3:01 AM To: 'flexcoders@yahoogroups.com' Subject: [flexcoders] height=100% layout problem Hi @all, I have got a problem with my layout... I want my Application to fit into the browser window. A VBox