[flexcoders] How to find the actual type of a custom flex component?

2009-02-25 Thread pmotzfeldt
Hi, I am wondering if anybody knows how I can find the actual class type of a custom component? By that I mean I create a custom component that is a VBox, but I call it MyCustomBox, and whenever I call className on that it returns MyCustomBox, but I want to get the class VBox by any means.

[flexcoders] Creating delegate for custom component, exception in UIComponentAutomationImpl

2008-02-21 Thread pmotzfeldt
Hi Am am creating a custom component and a delegate that extends the UIComponentAutomationImpl, so that it is possible to test the component with either QTP or FunFX. (I am doing this to learn how to create such components, so the components could have been created much easier, with a

[flexcoders] HashMap with an object as key transferred with livecycle returns null

2007-11-15 Thread pmotzfeldt
Hi I have an HashMap in java that uses an object as the key (have also tried using Integer), but when I in Flex access this object the value of the key is null. If I switch the key to a String it works great. But I need to be able to use an int(Integer) or an object as the key. Anybody got any

[flexcoders] Is it possible to use load-externs with Flex library?

2007-05-22 Thread pmotzfeldt
Hi I am building a Flex Library that make use of some swc files that I do not have permission to include in the library. The Applications that uses my Library includes these swc files. My library will not compile if I do not include the swc files. I am aware that there is a way to to this with

[flexcoders] Re: Is it possible to use load-externs with Flex library?

2007-05-22 Thread pmotzfeldt
file's functionality but not the actual library file is to add it as a swc to the project and edit the link type to external. This makes the Flex application that uses this library to include the other library files. That is it --- In flexcoders@yahoogroups.com, pmotzfeldt [EMAIL PROTECTED] wrote

[flexcoders] Re: Difference between getChild and getAtomationChild

2007-05-18 Thread pmotzfeldt
, pmotzfeldt wrote: Hi, I am wondering what the difference between a regular child and an automation child of for instance an UIComponent. guess Some children are for purely GUI purposes, such as a title bar or label. -- Tom Chiverton Helping to administratively repurpose bricks

[flexcoders] Difference between getChild and getAtomationChild

2007-05-15 Thread pmotzfeldt
Hi, I am wondering what the difference between a regular child and an automation child of for instance an UIComponent. What makes a child added become a automation child and regular child? Thanks in advance!

[flexcoders] Set an ID on the editable datagrid textinput?

2007-05-14 Thread pmotzfeldt
Hi, is it possible to set an ID of the textfield appearing when a row in a datagrid is editable? I need to be able to reach it by id, and by the default id Flex sets, because it is changing all the time. Is this possible? Maybe with the use of a custom itemrenderer, but preferably not..

[flexcoders] Re: Set an ID on the editable datagrid textinput?

2007-05-14 Thread pmotzfeldt
[EMAIL PROTECTED] wrote: On Monday 14 May 2007, pmotzfeldt wrote: Hi, is it possible to set an ID of the textfield appearing when a row in a datagrid is editable? Maybe. What problem are you trying to solve ? -- Tom Chiverton Helping to biannually extend next-generation channels

[flexcoders] Re: Set an ID on the editable datagrid textinput?

2007-05-14 Thread pmotzfeldt
/ /mx:Array /mx:columns /mx:DataGrid --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 14 May 2007, pmotzfeldt wrote: Hi, I am trying automate testing. Without using the automation framework built into Flex ? selecting a row, and then I want

[flexcoders] How to invoke a class built as a swc automatically with the use of mixin?

2007-04-03 Thread pmotzfeldt
Hi My problem is that I have a Flex library file (swc) that contains a class that holds several methods that I want several Flex-projects to register with the ExternalInterface API so that they can be reached from Javascript or ActiveX. I want the Flex project to just include the swc file. I

[flexcoders] Using states and addChild, the children gets new ID's. How to get around this?

2007-03-22 Thread pmotzfeldt
Hi I am having a problem when I add components with the use of addChild when switching states, and that is that the component's ID is not what I specify in the code. It is the VBox that I scpecify should have an id = vbAdvanced, but when I iterate over the children of pState when switched

[flexcoders] Re: Automation API, Combobox and itemrenderer

2007-03-20 Thread pmotzfeldt
--- In flexcoders@yahoogroups.com, pmotzfeldt [EMAIL PROTECTED] wrote: Hi, I am playing with the automation API, to be able to automate events. I am having a problem with the Combobox. I have just created a simple combobox as shown below. I works great in the application. But my problem

[flexcoders] Automation API, Combobox and itemrenderer

2007-03-15 Thread pmotzfeldt
Hi, I am playing with the automation API, to be able to automate events. I am having a problem with the Combobox. I have just created a simple combobox as shown below. I works great in the application. But my problem is that the itemRenderer is null, which is probably right. I am able to open

[flexcoders] Creating a generic method for creating events from String

2007-03-09 Thread pmotzfeldt
Hi I need som advice. I am trying to create a generic method which will create an event of the arguments of the method. I am able to create the rigth type of event, but I am having trouble finding out how to be able to provide additional attributes as text to the TextEvent etc... private

[flexcoders] Re: any interest in an alternative to QTP to automate Flex apps?

2007-03-06 Thread pmotzfeldt
in this endeavor? --- In flexcoders@yahoogroups.com, pmotzfeldt pmotzfeldt@ wrote: Hi, I am a last year student at Norwegian University of Science and Technology and in my assignment I will try to make an open source framework for functional testing of flex applications. I have been playing

[flexcoders] Add an actionscript class as a library and initialize automatic?

2007-03-06 Thread pmotzfeldt
Hi, maybe it is not possible what im asking, but I will try anyway.. I have a class, which contains some methods that I make available through ExternalInterface. The problem is that I want to be able to provide this class as a library or something like that, to a bunch of Flex applications. And

[flexcoders] Re: any interest in an alternative to QTP to automate Flex apps?

2007-02-25 Thread pmotzfeldt
Hi, I am a last year student at Norwegian University of Science and Technology and in my assignment I will try to make an open source framework for functional testing of flex applications. I have been playing a bit with the automation in Flex and is capable to record event, even though I do not

[flexcoders] Re: OSS, framework for functional testing. Error including automation_agent.swc

2007-02-13 Thread pmotzfeldt
[mailto:[EMAIL PROTECTED] On Behalf Of pmotzfeldt Sent: Monday, February 12, 2007 6:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] OSS, framework for functional testing. Error including automation_agent.swc Hi, I am new to this group. Hope I am not posting wrong. I am

[flexcoders] OSS, framework for functional testing. Error including automation_agent.swc

2007-02-12 Thread pmotzfeldt
Hi, I am new to this group. Hope I am not posting wrong. I am on my last year at The Norwegian University of Science and Technology (NTNU) and in my last assignment I will try to develop a open source framework for functional testing of Flex application. I see from other messages that there are