Flint Particle System Forum - Vector3d Error:1067 in Flash CS4 2011-12-12T01:41:47+00:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=611#Comment_611 2009-01-10T00:30:35+00:00 2011-12-12T01:41:47+00:00 Sir_Ser http://flintparticles.org/forum/account.php?u=136 Hi all! I'm using Flint since 0.x version and i simply LOVE IT! Now i'm getting stucked after trying CS4 version af Flash, because i know this file worked perfectly in CS3 and now with the ... I'm using Flint since 0.x version and i simply LOVE IT!

Now i'm getting stucked after trying CS4 version af Flash, because i know this file worked perfectly in CS3 and now with the implementation of 3d in flash libs those lines of code returns me this error:

CODE :
emitter.addInitializer( new Position( new PointZone( new Vector3D( 400, -10, 200 ) ) ) );
emitter.addInitializer( new Velocity( new DiscZone( new Vector3D( 0, 0, 0 ), new Vector3D( 0, 10, 0 ), 100, 50 ) ) );

ERROR:

1067: Implicit coercion of a value of type flash.geom:Vector3D to an unrelated type org.flintparticles.threeD.geom:Vector3D.

I tried to solve the problem by NOTimporting the Flint .as file org.flintparticles.threeD.geom.Vector3D , and using flash.geom.Vector3D , due to the fact that they're similar also in code, but this was not enough; i also tried by modifying the Flint library but i can't find where the problem is.

Can u help me please?]]>
Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=616#Comment_616 2009-01-12T10:36:19+00:00 2011-12-12T01:41:47+00:00 Richard http://flintparticles.org/forum/account.php?u=1 You need to add the import for Flint's Vector3D import org.flintparticles.threeD.geom.Vector3D at the top of your code, otherwise Flash will assume you want the new flash 3D class added in ...
import org.flintparticles.threeD.geom.Vector3D

at the top of your code, otherwise Flash will assume you want the new flash 3D class added in Flash 10 - flash.geom.Vector3D.]]>
Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=621#Comment_621 2009-01-12T17:04:29+00:00 2011-12-12T01:41:47+00:00 Sir_Ser http://flintparticles.org/forum/account.php?u=136 I tried and it generates me the problem that i posted before. I mean is using the Flint lib that i get the error... Maybe Flint lib need fixes for version 10 of Flash Player? Ill' keep trying get ... Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=622#Comment_622 2009-01-13T08:46:02+00:00 2011-12-12T01:41:47+00:00 Richard http://flintparticles.org/forum/account.php?u=1 Then try emitter.addInitializer( new Position( new PointZone( new org.flintparticles.threeD.geom.Vector3D( 400, -10, 200 ) ) ) ); emitter.addInitializer( new Velocity( new DiscZone( new ...
emitter.addInitializer( new Position( new PointZone( new org.flintparticles.threeD.geom.Vector3D( 400, -10, 200 ) ) ) );
emitter.addInitializer( new Velocity( new DiscZone( new org.flintparticles.threeD.geom.Vector3D( 0, 0, 0 ), new org.flintparticles.threeD.geom.Vector3D( 0, 10, 0 ), 100, 50 ) ) );
]]>
Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=623#Comment_623 2009-01-14T13:28:50+00:00 2011-12-12T01:41:47+00:00 Sir_Ser http://flintparticles.org/forum/account.php?u=136 Either it dosen't works. Please note that i have updated via Svn at the lastest revision 226. It returns me those two error at the lines u suggested me to use referred at Position.as ERROR : ... Please note that i have updated via Svn at the lastest revision 226.
It returns me those two error at the lines u suggested me to use referred at Position.as

ERROR :

Position.as, Line 92 1067: Implicit coercion of a value of type org.flintparticles.threeD.geom:Quaternion to an unrelated type org.flintparticles.threeD.geom:Vector3D.

There line 92 that generates error in Position.as is : if( !e.rotation.equals( Quaternion.IDENTITY ) )

Position.as, Line 94 1119: Access of possibly undefined property rotationTransform through a reference with static type org.flintparticles.threeD.emitters:Emitter3D.

There line 94 that generates error in Position.as is : e.rotationTransform.transformVectorSelf( position );

Ill'help improving the lib!]]>
Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=625#Comment_625 2009-01-15T07:59:01+00:00 2011-12-12T01:41:47+00:00 Richard http://flintparticles.org/forum/account.php?u=1 I've run a number of tests of the code, including various 3D systems using both Position and Velocity, and find no issues with it. A little investigation suggests that your Emitter3D class is still ... Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=629#Comment_629 2009-01-16T16:33:43+00:00 2011-12-12T01:41:47+00:00 Sir_Ser http://flintparticles.org/forum/account.php?u=136 You're right, that was the problem... Lol! I'm gonna update Tortoise SVN at the latest version or kill my way of being n00b. Thanks for your time, help and quickness in your replies. Excellent work ... Thanks for your time, help and quickness in your replies.
Excellent work by the way!]]>
Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=1423#Comment_1423 2010-11-03T11:07:39+00:00 2011-12-12T01:41:47+00:00 joel http://flintparticles.org/forum/account.php?u=425 I also have this problem and still get this issue: emitter.addInitializer( new Position( new BoxZone ( 1366, 768, 10, new org.flintparticles.threeD.geom.Vector3D( 0, 0, 400 ), new ...
emitter.addInitializer( new Position( new BoxZone ( 1366, 768, 10, new org.flintparticles.threeD.geom.Vector3D( 0, 0, 400 ), new org.flintparticles.threeD.geom.Vector3D( 0, 1, 0 ), new org.flintparticles.threeD.geom.Vector3D( 0, 0, 1 ) ) ) );
emitter.addInitializer( new Velocity( new PointZone ( new org.flintparticles.threeD.geom.Vector3D ( 0, 0, 50 ) ) ) );

after updating to the latest version of everything.
I am using Flash cs5 if that makes any difference and am publishing it as flash player 10.]]>
Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=1424#Comment_1424 2010-11-03T11:10:21+00:00 2010-11-05T08:42:54+00:00 joel http://flintparticles.org/forum/account.php?u=425 What I failed to mention is that I am trying to replicate this: http://flintparticles.org/forum/comments.php?DiscussionID=84 I am almost there other than the issues listed above. Thanks :)
http://flintparticles.org/forum/comments.php?DiscussionID=84

I am almost there other than the issues listed above.

Thanks :)]]>
Vector3d Error:1067 in Flash CS4 http://flintparticles.org/forum/comments.php?DiscussionID=152&Focus=1429#Comment_1429 2010-11-05T08:42:30+00:00 2011-12-12T01:41:47+00:00 Richard http://flintparticles.org/forum/account.php?u=1 Hi Joel I added a full script in answer to your questions on the other thread. Hopefully that answers this question too.
I added a full script in answer to your questions on the other thread. Hopefully that answers this question too.]]>