Getting Examples to work in Flashdevelop

172 views
Skip to first unread message

totalsuperbot

unread,
Sep 3, 2011, 11:22:27 AM9/3/11
to Stardust Particle Engine
Hello,
I am trying (and failing), to get the examples to work with
Flashdevelop.

I believe I have set the classpaths properly, but get errors when
trying to compile any of the examples.

For example when trying to compile the Blizzard I get these errors:

......\examples\2D\Blizzard\Blizzard.as(30): col: 50 Error: Access of
undefined property obstacle_mc.
emitter = new RainEmitter(new SteadyClock(8), obstacle_mc);
^
.........6\examples\2D\Blizzard\Blizzard.as(40): col: 4 Error: Access
of undefined property bmp_btn.
bmp_btn.addEventListener(MouseEvent.CLICK, toggleBMP);
^
......\AppData\Local\Temp\Stardust 1.3.186\examples\2D\Blizzard
\RainEmitter.as(37): col: 42 Error: Access of undefined property Rain.
addInitializer(new DisplayObjectClass(Rain));
^
Build halted with errors (fcsh).

I tried following the video tutorial but it was for the Flash IDE,
would it be possible to create one for Flashdevelop users?

Thank you for this engine, I am sure I will eventually get it
working :)
Any help would be appreciated :)

Allen Chou

unread,
Sep 3, 2011, 2:36:45 PM9/3/11
to stardust-par...@googlegroups.com
Of course you can use FlashDevelop. It's just that I like to use Flash to draw all the visual assets, so I didn't provide any pure AS3 example in the official example pack.

However, I did make some example on WonderFL with pure AS3, which you can definitely just copy and paste into FlashDevelop and compile, provided that you have correctly linked the Stardust and CJSignals libraries.

--
CJ Cat (Ming-Lun "Allen" Chou)
http://blog.cjcat.net

Allen Chou

unread,
Sep 3, 2011, 2:38:45 PM9/3/11
to stardust-par...@googlegroups.com
By, the way, the examples on WonderFL is targeted at version 1.2 and before.

For version 1.3 and later, you'll need to do a little modification to change renderers to particle handlers.

Check out the "Migration for Stardust 1.3" wiki page here.

totalsuperbot

unread,
Sep 3, 2011, 3:58:55 PM9/3/11
to Stardust Particle Engine
Thank you very much!
I really appreciate your quick reply, I'll try and get them examples
working now :)

Thanks once again for this engine!


On Sep 3, 7:38 pm, Allen Chou <cjcat2...@gmail.com> wrote:
> By, the way, the examples on WonderFL is targeted at version 1.2 and before.
>
> For version 1.3 and later, you'll need to do a little modification to change
> renderers to particle handlers.
>
> Check out the "Migration for Stardust 1.3" wiki page here.
>
> http://code.google.com/p/stardust-particle-engine/wiki/MigrationForSt...
>
>
>
>
>
>
>
>
>
> On Sat, Sep 3, 2011 at 11:36 AM, Allen Chou <cjcat2...@gmail.com> wrote:
> > Of course you can use FlashDevelop. It's just that I like to use Flash to
> > draw all the visual assets, so I didn't provide any pure AS3 example in the
> > official example pack.
>
> > However, I did make some example on WonderFL with pure AS3, which you can
> > definitely just copy and paste into FlashDevelop and compile, provided that
> > you have correctly linked the Stardust and CJSignals libraries.
>
> >http://wonderfl.net/user/cjcat2266/codes
>
Reply all
Reply to author
Forward
0 new messages