[Flashcoders] public variable tracing inside class only..

2007-08-05 Thread Omar Fouad
i have the following code in my Xm class: {other code here... where i call the function below...} public var CompanySorts:Array = new Array(); public function companySearch(criteria:String) { var totalCompanies:Number = CompanyA.length; for (var i:Number = 0;

Re: [Flashcoders] public variable tracing inside class only..

2007-08-05 Thread sean
Hi Omar, it's not clear from your example, but does the Xm class constructor actually call the companySearch function or define the CompanySorts array? Sean www.flashcoder.net i have the following code in my Xm class: {other code here... where i call the function below...} public

Re: [Flashcoders] public variable tracing inside class only..

2007-08-05 Thread Omar Fouad
here is the whole code import omarfouad.UT.Delegate; class Xm { public var currentFile:XML = new XML(); public var CompanySorts:Array = new Array(); private var CompanyA:Array = new Array(); private var ActivityA:Array = new Array(); private var LocationA:Array = new

Re[2]: [Flashcoders] public variable tracing inside class only..

2007-08-05 Thread R�kos Attila
Omar, look again into the replies on your Loading xml in AS 2 thread. XML loading is a _non_blocking_ _asynchronous_ process. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Omar Fouad [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com

Re: Re[2]: [Flashcoders] public variable tracing inside class only..

2007-08-05 Thread Omar Fouad
i dont get you... On 8/5/07, Rákos Attila [EMAIL PROTECTED] wrote: Omar, look again into the replies on your Loading xml in AS 2 thread. XML loading is a _non_blocking_ _asynchronous_ process. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:

Re: Re[2]: [Flashcoders] public variable tracing inside class only..

2007-08-05 Thread Omar Fouad
actually the xml file is being read as in i can extract vaules thourgh it. On 8/5/07, Omar Fouad [EMAIL PROTECTED] wrote: i dont get you... On 8/5/07, Rákos Attila [EMAIL PROTECTED] wrote: Omar, look again into the replies on your Loading xml in AS 2 thread. XML loading is a

Re: Re[2]: [Flashcoders] public variable tracing inside class only..

2007-08-05 Thread sean
sounds like you need to have event listeners and dispatch an event once the onload is complete, as David was suggesting Sean in this case i should call the function and the trace inside the onLoad(success) function.. but this is not convenient as in i need to manipulate the flow from within

Re: Re[2]: [Flashcoders] public variable tracing inside class only..

2007-08-05 Thread Omar Fouad
allright um doing it thanks folks... :D On 8/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: sounds like you need to have event listeners and dispatch an event once the onload is complete, as David was suggesting Sean in this case i should call the function and the trace inside the

Re: [Flashcoders] Copying an embedded sprite

2007-08-05 Thread Ron Wheeler
You might show a small example of the code with the error. That sometimes gets a bit more interest than a description. Ron {reduxdj} wrote: I am working on *all* actionscript project and i need help from an actionscript code - api sleuth. I have a little difficulty with the some of the api.

Re: [Flashcoders] mtasc and keep

2007-08-05 Thread Hans Wichman
Hi Ron, my swf contains v2 components, including their classes. Im compiling against the v2 component framework in intrinsic format so i need the classes in the swf. In addition we use a hybrid kind of project setup where u you can work in either the flash ide or in flashdevelop. This is not

[Flashcoders] Re: Copying an embedded sprite

2007-08-05 Thread Alan Watts
I've never had any problems using this function to return an embedded asset as a bitmap which I can then manipulate or attach. The getQualifiedSuperclassName if-statement is there because I have some assets with scale-9 enabled and they are returned as sprites, so I convert them first.

Re: [Flashcoders] mtasc and keep

2007-08-05 Thread Brian Williams
As you have discovered, changing class hierarchy and -keep don't go very well together. Classes need to be initialized in the proper order, or the prototype chain isn't set up correctly. When you use the keep flag, mtasc keeps all existing classes (and preserves their order), and then adds all

[Flashcoders] Flash comm video streaming help

2007-08-05 Thread Tony Trapp
Hey guys using flash comm 1.5 here. I have videos on a clients site that are streamed into a player some videos work fine and other play but then stop or stall a little and then continue. I am still kinnda new to flash comm in some ways. I am been to other sites that stream video perfectly no

[Flashcoders] Q:Papervison 3D BASICS tutorials??

2007-08-05 Thread moveup
Ok, I've gone thru all the blogs, downloaded the source code for AS2, and, I probably could muddle my way thru, but all I need is a basic walk thru tutorial for Paper vision3D (AS2 version fro now) that describes all the basics, adding primitives, textures and bitmaps, basic animation,