Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Ivan Dembicki
Hello Alias, http://bezier.googlecode.com you need Bezier.setPoint method http://bezier.ru/wp-content/uploads/2008/06/bezier.swf?demo=3 You can approximate circle arc using quadratic bezier - minimal number of curves for one circle is 8. Advanced drawing methods in Macromedia Flash MX:

[Flashcoders] Interfaces and private methods ...

2008-08-04 Thread S0 F1
How can you force a set of classes to define a private method if Interface members cannot be declared public, private, protected, or internal? Create an abstract class with private method(s) that throw an error, unless overwritten by subclasses? Is this the only way?

Re: [Flashcoders] Interfaces and private methods ...

2008-08-04 Thread Cédric Tabin
Hello, You cannot force a class to implement a private method. And that would be totally useless... The target of an interface is to define a set of methods that are accessible by any classes = private, internal and protected methods are too restricted. What do you want to do ? Regards, Cedric

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Hans Wichman
Hi, here is a simple one usig curveTo's to create a fluid line: http://objectpainters.com/blog/2007/07/18/drawing-using-controlpoints/ greetz JC On Mon, Aug 4, 2008 at 10:03 AM, Ivan Dembicki [EMAIL PROTECTED] wrote: Hello Alias, http://bezier.googlecode.com you need Bezier.setPoint method

Re: [Flashcoders] Interfaces and private methods ...

2008-08-04 Thread Ian Thomas
On Mon, Aug 4, 2008 at 9:37 AM, Ian Thomas [EMAIL PROTECTED] wrote: Why would you want to force implementation of a private class? Private method. Sorry! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] Interfaces and private methods ...

2008-08-04 Thread Ian Thomas
Why would you want to force implementation of a private class? Or are you actually trying to create an abstract class - and are trying to ensure that a subclass provides an implementation of an internal method? (Labelled as 'private' in AS2 or 'protected' in AS3.) In which case, neither AS2 nor

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Hans Wichman
ok ignore that, i misread the question:) On Mon, Aug 4, 2008 at 11:22 AM, Hans Wichman [EMAIL PROTECTED] wrote: Hi, here is a simple one usig curveTo's to create a fluid line: http://objectpainters.com/blog/2007/07/18/drawing-using-controlpoints/ greetz JC On Mon, Aug 4, 2008 at

[Flashcoders] Re: Interfaces and private methods ...

2008-08-04 Thread S0 F1
Thanks Cedric. I'm using 3 methods - initialize(), reset() and destroy() for all classes in my application. This is to get around the processor overhead associated with Constructors (among other reasons). Anyway, initialize() needs to be private, so all I can think of is to use an abstract base

[Flashcoders] Hiring

2008-08-04 Thread Romuald Quantin
Hi everyone, Sorry I'm asking before doing it, I'm looking for an AS3 Senior Developer for a permanent contract. Will it be welcomed to post the ad here or not at all? I understand if you don't want this list flooded with job ads. Thanks. Romu

[Flashcoders] Re: AS3 Destructors and Garbage Collection ...

2008-08-04 Thread S0 F1
Thanks Paul / Steven. When referring to as3 destuctors, I just meant a destory or clear method you can call before removing references to an object. Good to hear you can force the GC in flash player 10 / AIR. I'll take a look for future reference. I ask this questions because I'm building a

Re: [Flashcoders] Drawing an arc with curveTo

2008-08-04 Thread Alias Cummins
Thanks Ivan, What I needed was the maths to calculate the positions of the control points - found it here: Advanced drawing methods in Macromedia Flash MX: http://www.adobe.com/devnet/flash/articles/adv_draw_methods.html Thanks, Alias 2008/8/4 Ivan Dembicki [EMAIL PROTECTED]: Hello

RE: [Flashcoders] Can Flash read a pdf's metadata?

2008-08-04 Thread Mendelsohn, Michael
Thanks everyone for the great informative answers! - MM ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] swfObject or not ? 5px more

2008-08-04 Thread laurent
Hi, When I use swfObject I have around 5px more at the bottom of my html page. You can see the difference from a page using swfObject and a normal one: http://dev.logiquefloue.org/fd/index_normal.php http://dev.logiquefloue.org/fd/index_swfo.php the last one got a scroll bar + few milimeter

Re: [Flashcoders] swfObject or not ? 5px more

2008-08-04 Thread Glen Pike
Your SWFObject height is 101% laurent wrote: Hi, When I use swfObject I have around 5px more at the bottom of my html page. You can see the difference from a page using swfObject and a normal one: http://dev.logiquefloue.org/fd/index_normal.php http://dev.logiquefloue.org/fd/index_swfo.php

Re: [Flashcoders] swfObject or not ? 5px more

2008-08-04 Thread laurent
hm yes, because I did lots of tests, forget to turn it back to 100%. Even with 100% I got the white stripe: http://localhost/akrolab/frenchdandy/deploy/index_swfo.php L Glen Pike a écrit : Your SWFObject height is 101% laurent wrote: Hi, When I use swfObject I have around 5px more at

Re: [Flashcoders] swfObject or not ? 5px more

2008-08-04 Thread laurent
oops..the right link is: http://dev.logiquefloue.org/fd/index_swfo.php thx L laurent a écrit : hm yes, because I did lots of tests, forget to turn it back to 100%. Even with 100% I got the white stripe: http://localhost/akrolab/frenchdandy/deploy/index_swfo.php L Glen Pike a écrit :

Re: [Flashcoders] swfObject or not ? 5px more

2008-08-04 Thread Jer Brand
Adding overflow:hidden ; to your body style clears it right up in FF* and IE6/7. Not near a mac to test, so YMMV. On Mon, Aug 4, 2008 at 2:19 PM, laurent [EMAIL PROTECTED] wrote: oops..the right link is: http://dev.logiquefloue.org/fd/index_swfo.php thx L laurent a écrit : hm yes,

Re: [Flashcoders] swfObject or not ? 5px more

2008-08-04 Thread Glen Pike
Hi, Try this in your CSS (overflow: hidden - not overflow:none): /* hide from ie on mac \*/ html { height: 100%; overflow: hidden; } /* end hide */ body { height: 100%; width: 100%; margin: 0; margin-bottom: 0; padding: 0;

Re: [Flashcoders] swfObject or not ? 5px more

2008-08-04 Thread laurent
Yes the hidden do it good! Thanks !! L Glen Pike a écrit : Hi, Try this in your CSS (overflow: hidden - not overflow:none): /* hide from ie on mac \*/ html { height: 100%; overflow: hidden; } /* end hide */ body { height: 100%; width: 100%; margin: 0;