Maelstrom filters: DropShadowFilter

Streda, Júl 13th, 2005

Here is quick example on DropShadowFilter filter :)



Download source for Maelstrom filters
Enjoy.

tagged under:

ABOUT THIS AUTHOR

5 Trackbacks/Pingbacks

  1. Spätné upozorenie: Franto.com Flash blog » Blog Archive » Collected links to Maelstrom examples on Júl 14, 2005
  2. Spätné upozorenie: Franto.com Flash blog » Blog Archive » Collected links to Maelstrom examples on Júl 18, 2005
  3. Spätné upozorenie: Blog As-Is » Blog Archive » Première Liste d’exemple avec Flash 8 on Júl 24, 2005
  4. Spätné upozorenie: Free Adobe Macromedia Flash Web Site Design Tips Flash | Paid Surveys on Jún 2, 2009
  5. Spätné upozorenie: Flash 8 – new feature demos on August 19, 2010

10 Comments


  1. Tony MacDonell
    Visit Site
    Júl 13th, 2005

    I am positive that this must be a breach of NDA


  2. Paul Neave
    Visit Site
    Júl 13th, 2005

    I don’t think Mr Franto has signed the beta NDA… any chance you can publish the source code?


  3. Casey Corcoran
    Visit Site
    Júl 13th, 2005

    Would have been nice to label the text fields :)

    For those trying to figure it out, it looks like:

    1. Strength
    2. Horizontal Spread
    3. Vertical Spread
    4. Angle


  4. Keith Peters
    Visit Site
    Júl 13th, 2005

    There’s a long history of hacking the public beta players. I remember using the drawing API in Flash 5 with the Flash MX player and some obscure ASNative calls. :)


  5. Mike Johnson
    Visit Site
    Júl 13th, 2005

    Heh, very true. If I remember correctly, that exploration was part of the inspiration for the “25 Lines of Code” contest on We’re Here! :D

    Good times…


  6. dave
    Visit Site
    Júl 13th, 2005

    // Here’s the source code :)

    function tween(str, bx, by, an) {
    filterObj2.strength = filterObj2.strength – ((filterObj2.strength – str) * 0.5);
    filterObj2.blurX = filterObj2.blurX – ((filterObj2.blurX – bx) * 0.5);
    filterObj2.blurY = filterObj2.blurY – ((filterObj2.blurY – by) * 0.5);
    filterObj2.angle = filterObj2.angle – ((filterObj2.angle – an) * 0.5);
    p.filters = [filterObj2];
    var _local3 = Math.abs(filterObj2.strength – str);
    var _local2 = Math.abs(filterObj2.blurX – bx);
    var _local4 = Math.abs(filterObj2.blurY – by);
    var _local9 = Math.abs(filterObj2.angle – an);
    if (((_local3 + _local2) + _local4) = 8) {
    but.label.text = “Tween”;
    but2.label.text = “Random”;
    var filterObj2 = (new flash.filters.DropShadowFilter());
    filterObj2.strength = 50;
    filterObj2.blurX = 50;
    filterObj2.blurY = 50;
    filterObj2.angle = 160;
    p.filters = [filterObj2];
    } else {
    desc.text = “You need Flash player 8″;
    }
    but.onRelease = function () {
    _root.tween_interval = setInterval(_root, “tween”, 40, Number (strength.text), Number (blurX.text), Number (blurY.text), Number (angle.text));
    };
    but2.onRelease = function () {
    strength.text = random (100);
    blurX.text = random (100);
    blurY.text = random (100);
    angle.text = random (360);
    };


  7. Pablo Costantini
    Visit Site
    Júl 13th, 2005

    This is awesome!
    Here’s another example using glow and bevel:
    http://www.luminicbox.com/blog/?page=post&id=49

    You may also see a tree with the new classes and properties from the filter objects.

    Regards


  8. Administrator
    Visit Site
    Júl 13th, 2005

    no no, i’m not betatester , i’ve signup for beta testing, but i haven’t received anyemail. I’m just use code it was add to comment in http://www.franto.com/blog2/new-features-in-maelstrom-8ball by

    # pooyaposh Says:
    July 13th, 2005 at 5:05 pm

    Tinkered a bit with the filters…

    Looks like they changed the MovieClip array filter variable to “filters”…previously it was reported that you were to assign filterList

    Here’s some quick code:

    var filterObj = new flash.filters.BlurFilter();
    filterObj.blurX = 100;
    filterObj.blurY = 100;
    this.filters = [filterObj];


  9. Administrator
    Visit Site
    Júl 13th, 2005

    Sorry, i will include fla tommorow. I had to leave office, and had no time to include label and fla, and want just share it with you :) so I tommorow i will include FLA.


  10. chall3ng3r
    Visit Site
    Júl 14th, 2005

    I’ve just finished this little windows tool to easyly convert SWF version to 8.

    get it here: http://chall3ng3r.blogspot.com/

    No need for hex editors ;)

    i hope it’ll help you guyz in testing latest FP8 features.

    // chall3ng3r //

Sorry, comments for this entry are closed at this time.

Images is enhanced with WordPress Lightbox JS by Zeo