Flint Particle System Forum - How do I make it work?2010-12-25T18:55:23+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=230#Comment_2302008-07-10T23:09:58+01:002008-07-11T12:57:01+01:00chienhttp://flintparticles.org/forum/account.php?u=41
Seriously. It has got to be something really stupid that I just am not getting. this looks like an incredibly powerful tool set.
I have tried snowfall and a few others and they all compile with ...
I have tried snowfall and a few others and they all compile with errors. The libraries are definitely in the path. some of the errors come up with velx or vely.
I have cut and pasted code directly from the various sources but no changes.
The only demo that I could get to compile with no errors was StarFountain from the London Slide Show but it does nothing after the compile.
Any help would be appreciated.
chien]]>
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=233#Comment_2332008-07-11T12:53:38+01:002010-12-25T18:55:23+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
Hi
What version of Flint are you using? What are the error messages?
What version of Flint are you using? What are the error messages?]]>
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=236#Comment_2362008-07-11T14:25:56+01:002010-12-25T18:55:23+00:00chienhttp://flintparticles.org/forum/account.php?u=41
The version is the latest 1.0.3 JUst downloaded a couple of days ago.
The following is from snowfall:
ScaleInit.as, line 122 1119: Access of possibly undefined property scale through a ...
The following is from snowfall:
ScaleInit.as, line 122 1119: Access of possibly undefined property scale through a reference with static type Particle. particle.scale = -min; ScaleInit.as, line 126 1119: Access of possibly undefined property scale through a reference with static type Particle. particle.scale = _min + Math.random() * ( _max - _min );
Thanks, chien]]>
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=237#Comment_2372008-07-11T16:35:24+01:002008-07-11T16:35:34+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
Hi Chien
I can't even guess at why you're getting this error. Flint's Particle class has a scale property (do take a look and check, just in case you accidentally deleted it).
Try simplifying ...
I can't even guess at why you're getting this error. Flint's Particle class has a scale property (do take a look and check, just in case you accidentally deleted it).
Try simplifying the code and see what happens (e.g. remove the line that creates a ScaleInit).
Or try just creating a particle and setting its scale property -
import org.flintparticles.particles.Particle; var p:Particle = new Particle(); p.scale = 2; You won't see anything but the objective is to find the simplest bit of code that causes the error, and thus narrow down the possible causes.
It's probably a totally unexpected mistake so there's not a lot of advice I can give without sitting at your computer. All this assumes, of course, that you are trying the examples with no modifications at all.
Debugging these sort of errors is a painstaking, and ultimately boring, task of narrowing down the possible causes until there's only one left, however unlikely that cause might be.]]>
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=238#Comment_2382008-07-12T15:39:40+01:002010-12-25T18:55:23+00:00chienhttp://flintparticles.org/forum/account.php?u=41
Thanks,
I will attempt to do as you suggest. However I believe this is a more universal problem with either me or the environment.
I have been able to get snowfall to work without using the ...
I will attempt to do as you suggest. However I believe this is a more universal problem with either me or the environment.
I have been able to get snowfall to work without using the document class and as an untitled document. However when I save the working fla and then try to run it again it does not compile giving errors such as: 5001: The name of package 'org.flintparticles.initializers' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. J:\Adobe\Flash CS3\Adobe Flash CS3\Flint_1_0_3\org\flintparticles\initializers\Initializer.as.]]>
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=239#Comment_2392008-07-13T17:07:24+01:002010-12-25T18:55:23+00:00chienhttp://flintparticles.org/forum/account.php?u=41
With only the following code active, I have so far come to this:
import org.flintparticles.emitters.Emitter;
var emitter:Emitter = new Emitter();
creates:
ParticleCreator.as, Line 78 1061: ...
import org.flintparticles.emitters.Emitter; var emitter:Emitter = new Emitter();
creates:
ParticleCreator.as, Line 78 1061: Call to a possibly undefined method initialize through a reference with static type Particle. particle.initialize();
chien]]>
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=240#Comment_2402008-07-14T09:33:25+01:002008-07-14T09:33:41+01:00Richardhttp://flintparticles.org/forum/account.php?u=1
It sounds like a problem with your Particle class. Open your particle class (org/flintparticles/particles/Particle.as) in any text editor and compare it with this one - ...
http://code.google.com/p/flint-particle-system/source/browse/trunk/src/org/flintparticles/particles/Particle.as. Is it the same?]]>
How do I make it work?http://flintparticles.org/forum/comments.php?DiscussionID=45&Focus=241#Comment_2412008-07-14T13:58:02+01:002010-12-25T18:55:23+00:00chienhttp://flintparticles.org/forum/account.php?u=41
OK, That cured the Snowfall problem. I had previously looked looked through the trunk and downloaded files that were modified after the date of the june release. Particles did not show a date later ...
I continued to have various probs with other examples so I downloaded the entire current builds from the trunk. That cured all problems that I have encountered thus far.