[flexcoders] Re: SWFLoader loads image relative to the SWF

2008-09-23 Thread hannes.stockner
of the html page with: ExternalInterface.call(window.location.href.toString) You could then remove the last part (html file name) to get the path of the html page. On Sun, Sep 21, 2008 at 1:21 PM, hannes.stockner [EMAIL PROTECTED]wrote: Hello i can not believe it. why does

[flexcoders] SWFLoader loads image relative to the SWF

2008-09-21 Thread hannes.stockner
Hello i can not believe it. why does the SWFLoader class loads images relative to the SWF loading it? SWFLoader line number 1323 describes it. i want to load it relative to the html. how can I change this? thank you for your help!

[flexcoders] problems with new flex builder plugin

2008-09-09 Thread hannes.stockner
Hello I installed the current flex builder plugin (trial version) on my new computer. My current application doesnt work anymore. Quite strange is the url E:\dev\3.1.0\frameworks in the error message. I dont have the drive E: I get the following error message: Error: Unable to load style(SWF

[flexcoders] embed wsdl

2008-04-25 Thread hannes.stockner
Hi, is it possible to embed a wsdl into the appliction and set it to the WebService class? I want to avoid loading the wsdl every time the app starts. Thank you

[flexcoders] filter with e4x

2008-03-24 Thread hannes.stockner
Hi I have following xml: root one Item id=123 name=first/ Item id=234 name=second/ Item id=345 name=third/ /one two Excludes Exclude id=234/ Exclude id=345/ /Excludes /two /root how is it possible to get a XMLList object where I get all child nodes from node one where its id is not included in

[flexcoders] Re: destructing objects / memory management best practices

2008-02-08 Thread hannes.stockner
What does pretty sure mean? yes or no? for our project this is a very important issue! thanks --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Pretty sure we fixed this in 3.0. Weak-reference listeners are used in Binding. You usually do not need to remove

[flexcoders] Re: Adding custom events to the pre-loading sequence

2007-12-05 Thread hannes.stockner
Now I have a possible solution: CustomPreloader: private function onFlexInitComplete(event:Event):void { //now we can access the Application.application Application.application.addEventListener(AppReadyEvent.READY, onAppReadyEvent); } private function

[flexcoders] Re: Adding custom events to the pre-loading sequence

2007-12-05 Thread hannes.stockner
I can't believe that there is no other possibility! Someone has an idea? Thanks --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: One possibility is to draw an identical popup over the app when the app starts up. From:

[flexcoders] Re: How use hasOwnProperty() in combination with namespace

2007-11-29 Thread hannes.stockner
: On Wednesday 28 Nov 2007, hannes.stockner wrote: But now I want check with the hasOwnProperty() method whether my xml has a specific property. You don't do it that way - you write an E4X (or whatever it is) expression for the node, and check that exists: [EMAIL PROTECTED]'type'] (for xml type

[flexcoders] Re: How use hasOwnProperty() in combination with namespace

2007-11-29 Thread hannes.stockner
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, November 29, 2007 6:12 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How use hasOwnProperty() in combination with namespace On Thursday 29 Nov 2007, hannes.stockner wrote: Would

[flexcoders] Re: How use hasOwnProperty() in combination with namespace

2007-11-29 Thread hannes.stockner
PROTECTED] On Behalf Of hannes.stockner Sent: Thursday, November 29, 2007 12:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How use hasOwnProperty() in combination with namespace The problem is that I also need to use the namespace to get the content: xml.ns

[flexcoders] How use hasOwnProperty() in combination with namespace

2007-11-28 Thread hannes.stockner
Hello This is my xml: foo xmlns=http://www.test.com/; atest/a c btest2/b /c /foo I created a namespace object: var ns : Namespace = xml.namespace(); To trace out the content from a I used for example: trace(xml.ns::a); This works fine. But now I want check with the hasOwnProperty() method

[flexcoders] Re: Dynamically convert a String to a Class?

2007-09-30 Thread hannes.stockner
var ClassReference : Class = getDefinitionByName(mx.controls.ComboBox) as Class; var displayObject : DisplayObject = new ClassReference(); addChild(displayObject); --- In flexcoders@yahoogroups.com, keith [EMAIL PROTECTED] wrote: I want to convert something like the String

[flexcoders] embedding xml over as

2007-09-27 Thread hannes.stockner
hello, i am able to embed a xml file with the mx:XML tag, like: mx:XML id=myData source=../xml/myxml.xml/ is it possible to embed a xml file over action script? thank you for your help

[flexcoders] own metadata tags

2007-09-23 Thread hannes.stockner
Hello, it is possible to define my own metadata tags? thank you