Thank you so much!!! I will try this.
2010/4/22 Olivier Besson :
> Perhaps this formula will help:
>
> function applyPerspective(pMC:MovieClip, x:Number, y:Number):Void
> {
> var centerX:Number = 200; // center of 2D-scene (X)
> var centerY:Number = 200; // center of 2D-scene (Y)
> var distC
Perhaps this formula will help:
function applyPerspective(pMC:MovieClip, x:Number, y:Number):Void
{
var centerX:Number = 200; // center of 2D-scene (X)
var centerY:Number = 200; // center of 2D-scene (Y)
var distCenter:Number = 60; // distance of the perspective plan to
the center of 3D
al.
>
> -Original Message-
> From: flashcoders-boun...@chattyfig.figleaf.com
> [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia
> Vikhtinskaya
> Sent: Wednesday, April 21, 2010 11:16 PM
> To: Flash Coders List
> Subject: Re: [Flashcoders] Chan
your goal.
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of natalia
Vikhtinskaya
Sent: Wednesday, April 21, 2010 11:16 PM
To: Flash Coders List
Subject: Re: [Flashcoders] Changing angle for better arrangement
Red dots I put to show points where items are attached. As you see
space between points are equal. Some items are scaled and space
between them is not equal. That what I try to change. Space should be
equal between each item.
2010/4/21 Nathan Mynarcik :
>
> If you want the dots to be on top of all
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 :
Here is a result
http://www.mightybook.com/test/test.html
I want they don't
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. :
> 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 m
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 Vik
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._yscal
9 matches
Mail list logo