Comments on: Introducing RokTok, a Flex mashup featuring particle systems, last.fm and Twitter! https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/ Archive of older blog posts written by Josh Tynjala about Flash, Flex, and ActionScript Wed, 26 Jun 2013 02:52:46 +0000 hourly 1 https://wordpress.org/?v=4.9.9 By: Josh Tynjala https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1059 Thu, 22 Oct 2009 02:35:01 +0000 http://joshblog.net/?p=272#comment-1059 ed, you can see where MoveWithExceptions is ignored by the emitter in its update() function:

override public function update(emitter:Emitter, particle:Particle, time:Number):void
{
    if(this.exceptions.indexOf(particle.image) >= 0)
    {
        return;
    }
    super.update(emitter, particle, time);
}

The emitter tells MoveWithExceptions to update a particle, but if the particle being updated is in the exceptions list, the update() function just returns without doing anything.

]]>
By: ed https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1058 Wed, 21 Oct 2009 21:00:28 +0000 http://joshblog.net/?p=272#comment-1058 Josh,

Great work! I’m currently experimenting with Flint and have run into a problem with isolating a single particle when the mouse rolls over it. I checked out your source code and noticed that MoveWithExceptions simply places the particle into an array to isolate it, then removes it from the array to place it back into the fray, but I’m not clear on how it removes that from the effects of the emitter.

What am I missing in this picture? Any insight you can give me is greatly appreciated!
Thank you,
Ed

]]>
By: Josh Tynjala https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1057 Thu, 19 Feb 2009 18:16:00 +0000 http://joshblog.net/?p=272#comment-1057 Emanuil, it’s because the VOs are bindable. Flex’s binding system uses events behind the scenes.

]]>
By: Emanuil https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1056 Thu, 19 Feb 2009 14:38:10 +0000 http://joshblog.net/?p=272#comment-1056 Great work!

One question if I may. Why do your VOs (Artist.as and Message.as) extend from EventDispatcher if they don’t dispatch any events? Thank you!

]]>
By: Josh Tynjala https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1055 Mon, 06 Oct 2008 05:25:00 +0000 http://joshblog.net/?p=272#comment-1055 John, it’s a custom UIComponent. The full source code for the application is available, so take a look at it yourself! The class is com.flextoolbox.roktok.views.MessageParticle.

]]>
By: John https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1054 Mon, 06 Oct 2008 03:05:22 +0000 http://joshblog.net/?p=272#comment-1054 Hi Josh,

Thx for the cool app !
I’ve got a technical question for ya.
How did you make those small circles in which an avatar resides ?
Did you make a custom component for it by Sprite or UIComponent ?
or swf ? or something else ???

thanks in advance

]]>
By: Mike https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1053 Thu, 25 Sep 2008 08:17:18 +0000 http://joshblog.net/?p=272#comment-1053 Nice Josh. We’ve been using Mate over here for a new product we’ll be releasing soon, and I’m really digging it. I’ll have to take a look at your source when I get a minute!

]]>
By: Brian https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1052 Tue, 16 Sep 2008 03:25:49 +0000 http://joshblog.net/?p=272#comment-1052 Very nice, i enjoyed checking out the source
Flint is crazy

]]>
By: Laura Arguello https://joshblog.net/2008/09/08/introducing-roktok-a-flex-mashup-featuring-particle-systems-lastfm-and-twitter/#comment-1051 Wed, 10 Sep 2008 06:23:13 +0000 http://joshblog.net/?p=272#comment-1051 Hi Josh,
Great job!! It really looks awesome.
This is going straight to the showcase 🙂

I am glad to hear that you gave Mate a try,
Laura

]]>