RE: [Flashcoders] memory leak

2007-09-04 Thread Frank Pepermans
Are you using Bitmaps and/or BitmapData? In that case try doing bitmapData.dispose() or bitmap.bitmapData.dispose() when clearing an image -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Huynen Sent: 03 September 2007 22:09 To:

RE: [Flashcoders] Finding a spot on a curveTo Line

2007-08-09 Thread Frank Pepermans
This should do it : public function getPositionOnCurve(p1:Point, p2:Point, p3:Point, t:Number):Point { var pos:Point = new Point(); pos.x = Math.pow((1-t), 2)*p1.x+2*t*(1-t)*p2.x+Math.pow(t, 2)*p3.x; pos.y = Math.pow((1-t),

RE: [Flashcoders] AS3 Events

2007-07-25 Thread Frank Pepermans
How about using a wrapper class? package { import flash.events.Event; import flash.events.IEventDispatcher; public final class Wrapper { private var _contextInfo:Object; private var _a:IEventDispatcher;

RE: [Flashcoders] ASDoc with Flash CS3

2007-07-23 Thread Frank Pepermans
I have this in a .bat file in the root of the project I want to export in asdoc @ECHO OFF :BEGIN C:\Program Files\Adobe\Flex Builder 3\sdks\moxie\bin\asdoc.exe -source-path . -doc-sources . -main-title Documentation -window-title Documentation -output asdoc PAUSE NUL :END This generally works,

[Flashcoders] IFF to AS3

2007-05-10 Thread Frank Pepermans
Hi, I'm trying to get AS3 to parse an IFF file, more specifically the EA IFF 85 file format, using the byteArray. For now the best documentation I've found is this link http://www.martinreddy.net/gfx/2d/IFF.txt and a C script called IFFDigest. Now since I've never done anything in C,

RE: [Flashcoders] IFF to AS3

2007-05-10 Thread Frank Pepermans
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Holroyd Sent: 10 May 2007 12:42 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] IFF to AS3 On Thu, May 10, 2007 at 10:06:27AM +0200, Frank Pepermans wrote: I'm trying to get AS3 to parse

RE: [Flashcoders] LoadMovie Problem?

2006-01-31 Thread Frank Pepermans
Use C: pages.swf since \ is used to escape characters -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: dinsdag 31 januari 2006 12:00 To: Flashcoders mailing list Subject: RE: [Flashcoders] LoadMovie Problem? You also have a space