[Flashcoders] Question about the AIR security model...

2008-04-23 Thread John Axel Eriksson
I'm trying to develop an application using AIR for internal use at our company. Our company uses very advanced actionscript (3.0) on the web, we load for instance several hundred or maybe more swfs sometimes into a parent swf, some that are animated. Recently we decided that we need

[Flashcoders] using scrollRect and the width / height properties in AS3 F9 - weirdness

2008-04-01 Thread John Axel Eriksson
Hi. I'm building a simple scrollbar and a scrollcontent class. I'm using these in dialogs among other things. These dialogs draw a frame around their content based on the contents width and height + a margin (to describe it simply). I've not had any problems with this until I started

Re: [Flashcoders] Local XML parsing?

2007-03-14 Thread John Axel Eriksson
There should be no problem loading a local file with the standalone player... /John 14 mar 2007 kl. 16.57 skrev Shaun Aunchman: Is it possible to parse through a local XML document using a standalone player? I have a project that calls for a 'dynamic' way to load in images and

Re: [Flashcoders] Re: Action Script editor

2007-02-18 Thread John Axel Eriksson
Are you on Mac? Then you should get TextMate www.macromates.com, it is the best editor on ANY platform IMO. And not just for ActionScript. It may seem like very bare bones when you first run it, but the amount of functionality in there is amazing. You really should try it out. I use it for

Re: [Flashcoders] nodeValue not working?

2006-12-11 Thread John Axel Eriksson
You must do customerAbout = customer.firstChild.firstChild.nodeValue; to get the textNode and its value. Sometimes this is confusing, but the text itself is in fact a node too. /John 11 dec 2006 kl. 14.16 skrev Jim Robson: Hello all, I can't seem to access the nodeValue property of my

Re: [Flashcoders] Q:register a movieclip with a class dynamically

2006-10-30 Thread John Axel Eriksson
It is possible but I don't know if it is supported by Adobe... You can do this: dynamic class TestClass{ public static var __symbolName:String = __Packages.TestClass; public static var __symbolLinked:Boolean = Object.registerClass (__symbolName, TestClass); public static function create

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-12 Thread John Axel Eriksson
/ avatar_mc._height; }; } /John 12 sep 2006 kl. 09.57 skrev Hans Wichman: Hi, Delegate is not only for components, it works for anycase where you wish to run functions in another scope. greetz JC On 9/12/06, Alexander Farber [EMAIL PROTECTED] wrote: Hello John, On 9/12/06, John Axel

Re: [Flashcoders] this['box_ratio'] works but this.box_ratio or just box_ratio does not

2006-09-11 Thread John Axel Eriksson
Very simple. You have defined the method resize_clip in the User class which does have a loaded_txt var but doesn't have the box_width and box_height etc vars. The fact that you use that function in another context doesn't matter to the compiler. That's why you get those errors. You could