Re: [Flashcoders] letter from Steve Jobs on Flash

2010-04-30 Thread W.R. de Boer
Well, it's using WebGL as far as I can remember which by my knowledge not every browser supports yet and it's even less which is basically web-version of OpenGL. Of course, you can then make Quake 2 8)7. I mean all nicely hardware accelerated by the GPU. Neither do I know of Internet Explorer 9

Re: [Flashcoders] Re: is it ever ideal to NOT use weak references?

2010-02-08 Thread W.R. de Boer
Yes, but it can also cause a lot of trouble when used. I have had causes where the event listener got deleted too early and then you spend a lot of time finding the issue. And that was not with the Loader-class and Event.COMPLETE or others. ___

[Flashcoders] How to use Flex Builder's profiler???

2010-02-04 Thread W.R. de Boer
Hello, I have been working with FB3 Profiler the whole week but I am having some strange issues with it. If I am making a simple SWF with a document class where I call a method after 10 seconds which should dispose all the creating movieclip at startup. I have the issue that the reference

Re: [Flashcoders] Known memory leaks in FP10

2010-02-02 Thread W.R. de Boer
Yes, I am already using that unloadAndStop()-method but I haven't had much yet. I am experience a rise in cpu usage each time I am switching client SWF files. After it's loaded it drops back to normal 20-30% cpu usage but after running it for a few hours. You can see that the switching between

[Flashcoders] Keep getting Error #1009: Cannot access a property or method of a null object reference. at ProfilerAgent/allCompleteHandler()

2010-02-02 Thread W.R. de Boer
Hello, I am currently trying to use the Flex Builder 3 Profiler only I am having trouble with profiling this SWF I am having. The issue is that half the time I am getting the following error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

Re: [Flashcoders] Keep getting Error #1009: Cannot access a property

2010-02-02 Thread W.R. de Boer
Yes, I am aware what the error means but it is in the profiler agent something that's getting loaded while profiling. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Known memory leaks in FP10

2010-02-01 Thread W.R. de Boer
But when I recreate the Loader-class every 10 seconds and load the files. The performance (low framerate) issue goes away. I am not understanding why this is. Anyone having any clue? W.R. de Boer wrote: Maybe I should change it to code block below? The dispose()-method tries to stop any

Re: [Flashcoders] Known memory leaks in FP10

2010-01-31 Thread W.R. de Boer
Hmm, thanks. Currently, I am doing the following: if ( _element != null ) { _element.dispose(); removeChild( _element ); _element = null; } Maybe I should change it to code block below? The dispose()-method tries to stop any Timer-instances and removes event listeners and nullifies

[Flashcoders] Known memory leaks in FP10

2010-01-30 Thread W.R. de Boer
Hello, I am currently working on an interesting project that has to be able to run as long as possible. But at the moment I can't get it running more two hours after that the FlashPlayer.exe has 100% CPU usages and crawls down the system in such manner the player has to be killed. Now I am

[Flashcoders] Placing sprites on the circumference of a circle

2009-11-09 Thread W.R. de Boer
Hello, I am currently working on a little flash project where I would like to place the sprites or elements on the line or circumference of a circle. Now I know how I can get x,y-position of each sprite using the cosinus and sinus functions together with the radius and angle. Only the

Re: [Flashcoders] Placing sprites on the circumference of a circle

2009-11-09 Thread W.R. de Boer
Thanks, people. I am currently generating the movieclips at runtime based on an embedded png file so the origin is always the top left corner. I suppose I could descend from the Sprite-class and override the x,y settings to correct the given x, y position. I suppose I will first try out