StickPage Spring Animation Competition - For Glory: eSports - $5,000 in prizes, 15 placements, $1,500 first prize!
BEGINNER'S StickPage Spring Animation Competition - Unconventional Weapons - $1,000 in prizes!
Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: Actionscript help!

  1. #1
    Banned
    Join Date
    Mar 2007
    Location
    World of Endless Music.
    Posts
    1,706

    Actionscript help!

    I've made a realistic water effect on a picture using actionscript:

    http://antiup.net/view.php?id=204123...%20effects.swf

    But how can I remove the white,blue line movements at the bottom and top of the water, they don't look the same and take away the realism.

    Here's the actionscript I've used.

    Code:
    import flash.display.*;
    import flash.geom.*;
    import flash.filters.*;
    myBitmap = new BitmapData(390,293,false,0);
    pt = new Point(0,0);
    mpoint = new Point(0,0);
    myDispl = new DisplacementMapFilter(myBitmap, mpoint,1,2,10,50);
    water_mc.myList = new Array();
    water_mc.myList.push(myDispl);
    water_mc.filters = water_mc.myList;
    i = 1;
    this.onEnterFrame = function()
    {
    filterList = water_mc.filters;
    offset = new Array();
    offset[1] = new Object();
    offset[1].x = i;
    offset[1].y = i/8;
    myBitmap.perlinNoise(45,5,3,50,true,false, 7,true,offset);
    filterList.mapBitmap = myBitmap;
    water_mc.filters = filterList;
    i++;
    }

    Please explain simply how to fix/remove the strange blue/white lines at the bottom and top of the water.

  2. #2
    The above name is gay. Kitsune's Avatar
    Join Date
    May 2006
    Location
    Erie Pa
    Posts
    5,921
    Quote Originally Posted by NTG View Post
    change it to this

    Code:
    realitic: {water} 
    /h20
    get
    make {}}][%%%
    I lol'd.
    [please note i dont usually read the other comments in a thread before posting advices]
    website: http://marcklopp.tumblr.com
    demo reel: http://www.youtube.com/watch?v=oexqIeDqpgQ

  3. #3
    Banned
    Join Date
    Mar 2007
    Location
    World of Endless Music.
    Posts
    1,706
    Quote Originally Posted by NTG View Post
    change it to this

    Code:
    realitic: {water} 
    /h20
    get
    make {}}][%%%
    If you don't want to help then LEAVE MY THREAD NOW! .

  4. #4
    The above name is gay. Kitsune's Avatar
    Join Date
    May 2006
    Location
    Erie Pa
    Posts
    5,921
    Quote Originally Posted by James Moer View Post
    If you don't want to help then LEAVE MY THREAD NOW! .
    You really think you can be more compelling by caps lock? It seems like you yell but you really do look like an idiot.

    Is this AS3? If it's AS2 I can maybe help you out. This is all foriegn looking to me, however:
    Code:
    water_mc.myList.push(myDispl);
    [please note i dont usually read the other comments in a thread before posting advices]
    website: http://marcklopp.tumblr.com
    demo reel: http://www.youtube.com/watch?v=oexqIeDqpgQ

  5. #5
    Banned
    Join Date
    Mar 2007
    Location
    World of Endless Music.
    Posts
    1,706
    It's AS2. That piece of script, do I insert it somewhere or delete it from my actioscript? Because I can see that line in my actionscript :/

  6. #6
    The above name is gay. Kitsune's Avatar
    Join Date
    May 2006
    Location
    Erie Pa
    Posts
    5,921
    I just said it looked foreign.

    This is all a bit beyond me. Sorry.
    [please note i dont usually read the other comments in a thread before posting advices]
    website: http://marcklopp.tumblr.com
    demo reel: http://www.youtube.com/watch?v=oexqIeDqpgQ

  7. #7
    Keikaku means plan Devour's Avatar
    Join Date
    Apr 2008
    Location
    Find me for top tier Devour treatment ;)
    Posts
    9,910
    Quote Originally Posted by James Moer View Post
    If you don't want to help then LEAVE MY THREAD NOW! .
    Joke, get.

    I don't really know what images and movements you used to make the effect, but you may only have to remove the water effect by taking the blue/white line effects manually, as in removing their movieclip.

  8. #8
    Inactive for now
    Join Date
    Mar 2008
    Location
    On the highest seas Animating:
    Posts
    2,763
    I get the feeling that you didn't write that script.

    If you don't understand it, then it defeats the purpose. If you understood it, you could go through step by step and see whats wrong.

  9. #9
    Banned
    Join Date
    Mar 2007
    Location
    World of Endless Music.
    Posts
    1,706
    So no one knows? Okay....


    I'll just leave it like that. Coz I tried fixing it but it still didn't change. I changed the blur and force, but nothing.

  10. #10
    The above name is gay. Kitsune's Avatar
    Join Date
    May 2006
    Location
    Erie Pa
    Posts
    5,921
    Quote Originally Posted by bonk View Post
    I get the feeling that you didn't write that script.

    If you don't understand it, then it defeats the purpose. If you understood it, you could go through step by step and see whats wrong.
    Win logic win reply
    Quote Originally Posted by James Moer View Post
    So no one knows? Okay....


    I'll just leave it like that. Coz I tried fixing it but it still didn't change. I changed the blur and force, but nothing.
    Failure method fail reply.
    [please note i dont usually read the other comments in a thread before posting advices]
    website: http://marcklopp.tumblr.com
    demo reel: http://www.youtube.com/watch?v=oexqIeDqpgQ

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •