Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorJamesH
- CommentTimeJun 17th 2008
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 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 -
- CommentAuthorRichard
- CommentTimeJun 17th 2008 edited
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 version in the examples on the download site. Either download all the examples from the zip file at 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. -
- CommentAuthorJamesH
- CommentTimeJun 18th 2008
Cheers Richard! -
- CommentAuthoraudas
- CommentTimeJul 25th 2008
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 simply does not work. -
- CommentAuthoraudas
- CommentTimeJul 25th 2008
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 distribution ? -
- CommentAuthorRichard
- CommentTimeJul 27th 2008 edited
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?
1 to 6 of 6
