Flint Particle System Forum - Strange error with Fade() Tue, 13 Dec 2011 00:05:33 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher Strange error with Fade() http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=779#Comment_779 http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=779#Comment_779 Tue, 28 Apr 2009 16:52:09 +0100 TheDude
I get the following;

1067: Implicit coercion of a value of type int to an unrelated type flash.display:MovieClip.
1136: Incorrect number of arguments. Expected 3.
1067: Implicit coercion of a value of type fl.transitions:Fade to an unrelated type org.flintparticles.common.actions:Action.


Seems like the syntax was correct, any ideas? ]]>
Strange error with Fade() http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=780#Comment_780 http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=780#Comment_780 Tue, 28 Apr 2009 16:58:09 +0100 TripleH Strange error with Fade() http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=782#Comment_782 http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=782#Comment_782 Thu, 30 Apr 2009 18:16:06 +0100 TheDude
---baffled. ]]>
Strange error with Fade() http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=785#Comment_785 http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=785#Comment_785 Tue, 05 May 2009 07:46:26 +0100 Richard
import org.flintparticles.common.actions.Fade;
at the top of your script. If you don't specify the imports, Flash will guess (wrongly), and will add this import when compiling your code

import fl.transitions.Fade; ]]>
Strange error with Fade() http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=786#Comment_786 http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=786#Comment_786 Wed, 06 May 2009 12:54:11 +0100 TheDude Strange error with Fade() http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=1400#Comment_1400 http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=1400#Comment_1400 Thu, 07 Oct 2010 15:57:31 +0100 baoputzi
thx ]]>
Strange error with Fade() http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=1401#Comment_1401 http://flintparticles.org/forum/comments.php?DiscussionID=205&Focus=1401#Comment_1401 Sat, 09 Oct 2010 16:11:00 +0100 Richard
import org.flintparticles.common.actions.Fade;

emitter.addAction( new org.flintparticles.common.actions.Fade( 1.0, 0 ) );
]]>