If you want the dots to be on top of all the items, the dots need to be in separate MCs of the items and need to be added to the stage after all the other item MCs have been added.


Quoting natalia Vikhtinskaya <[email protected]>:

Here is a result
http://www.mightybook.com/test/test.html
I want they don't overlap each other. Is that possible?

2010/4/22 Matt S. <[email protected]>:
If the objects you  were placing were centered rather than positioned
at 0/0, you could scale them and they would automatically be properly
distanced. There might be other reasons why you cant center them of
course but that would be the quick fix...

.m

On Wed, Apr 21, 2010 at 4:16 PM, natalia Vikhtinskaya
<[email protected]> wrote:
Another question about better arrangement in circle.
If I place items in circle  and scale them like this
this._x = Math.cos(this.angle) * radiusX + centerX;
       this._y = Math.sin(this.angle) * radiusY + centerY;
       var s = (this._y ) /(centerY+radiusY);
       this._xscale = this._yscale = s*100;
Is it possible to have equal distance between items? I should change
angle depending on real scale that they have but I don’t understand
how to do that.
Thank you if anybody can explain this mathematics.

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to