Flint Particle System Forum - Get the fireworks example working 2010-06-13T06:42:12+01:00 http://flintparticles.org/forum/ Lussumo Vanilla & Feed Publisher Get the fireworks example working http://flintparticles.org/forum/comments.php?DiscussionID=41&Focus=216#Comment_216 2008-06-17T11:36:19+01:00 2010-06-13T06:42:12+01:00 JamesH http://flintparticles.org/forum/account.php?u=34 So I'm trying to get the fireworks example from the example page working. When I run it I get this error: "TypeError: Error #1007: Instantiation attempted on a non-constructor.at ...
When I run it I get this error:

"TypeError: Error #1007: Instantiation attempted on a non-constructor.at LogoFirework$iinit()"

anyone got any idea what is going wrong?
The document class in flash is set to "LogoFirework"
I have the example code at the same level as my fla named LogoFirework.as
flintparticles in the org directory
flint.png in the assets directory]]>
Get the fireworks example working http://flintparticles.org/forum/comments.php?DiscussionID=41&Focus=217#Comment_217 2008-06-17T18:32:52+01:00 2008-06-17T18:33:04+01:00 Richard http://flintparticles.org/forum/account.php?u=1 It's most likely due to the Logo class not being defined correctly. The code on the example page is the Flex version (sorry, I should add something to say that on the page). You can find the Flash ... http://code.google.com/p/flint-particle-system/downloads/list or navigate to the flash version in the source code at http://code.google.com/p/flint-particle-system/source/browse, you'll find it in trunk/trunk/examples/LogoFirework/Flash.]]> Get the fireworks example working http://flintparticles.org/forum/comments.php?DiscussionID=41&Focus=218#Comment_218 2008-06-18T13:07:33+01:00 2010-06-13T06:42:12+01:00 JamesH http://flintparticles.org/forum/account.php?u=34 Cheers Richard! Get the fireworks example working http://flintparticles.org/forum/comments.php?DiscussionID=41&Focus=272#Comment_272 2008-07-25T12:08:38+01:00 2010-06-13T06:42:12+01:00 audas http://flintparticles.org/forum/account.php?u=5 Except that this doesn't work either Richard. var bitmapData : BitmapData = new Logo(265, 80); 1180: Call to a possibly undefined method Logo. Can you please take a look at this as it ...
var bitmapData : BitmapData = new Logo(265, 80);

1180: Call to a possibly undefined method Logo.

Can you please take a look at this as it simply does not work.]]>
Get the fireworks example working http://flintparticles.org/forum/comments.php?DiscussionID=41&Focus=273#Comment_273 2008-07-25T12:23:43+01:00 2010-06-13T06:42:12+01:00 audas http://flintparticles.org/forum/account.php?u=5 In fact it doesn't even make sense - you have embedded an image into a flash file and then made no reference to it. Why would you publish something, then change it (and associated files) for ... Why would you publish something, then change it (and associated files) for distribution ?]]> Get the fireworks example working http://flintparticles.org/forum/comments.php?DiscussionID=41&Focus=278#Comment_278 2008-07-27T19:59:26+01:00 2008-07-27T20:23:35+01:00 Richard http://flintparticles.org/forum/account.php?u=1 Except that this doesn't work either Richard. It works for me. In fact it doesn't even make sense - you have embedded an image into a flash file and then made no reference to it. The image ... Except that this doesn't work either Richard.

It works for me.

In fact it doesn't even make sense - you have embedded an image into a flash file and then made no reference to it.

The image in the flash library is exported as the class Logo. So, yes I am referencing it.

Why would you publish something, then change it (and associated files) for distribution ?

What have I published then changed for distribution?]]>