A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: Filling bottler preloader. I'm so close.

  1. #1
    Junior Member
    Join Date
    Aug 2011
    Posts
    2

    Filling bottler preloader. I'm so close.

    Hey, guys!
    This is my first post on this forum, and I am sure there's no duplicate of my thread. I got the way to do it, but I'm more Javascript/PHP programmer and I don't really understand AS. I have to make a picture of the bottle, duplicate of the picture on the bottom layer (which is gonna be the filling) and a MovieClip between them, which is gonna change it's height (which is gonna be the mask of the filling). The most realistic method, which I can advance is to make a sine wave effect on one of the graphics, filling or mask, and I found a lot of effects, but I don't know how to apply them on my graphics. Please help, guys!

    Thanks in advance!

  2. #2
    Member
    Join Date
    Jul 2008
    Posts
    94
    Hi buddy,

    I would make a movieclip of moving waves (the waves moving horizontally, left to right, right to left whatever!), which just loops and is deeper than your bottle.

    Then set this layer to mask, and beneath it have your liquid texture.

    Then I would use actionscript to make this move upwards. lee brimelow has a great preloader tutorial on his site, gotoandlearn.com

    Hope this helps, its quite a vague answer but I'm not entirely sure of where you're at!

    DAve

  3. #3
    Member
    Join Date
    Jul 2008
    Posts
    94
    heres a picture of the kind of thing i'm on about... not my finest work, but it just shows you generally what it should look like.
    Attached Images Attached Images

  4. #4
    Junior Member
    Join Date
    Aug 2011
    Posts
    2
    This is exactly what i'm talking about, but I want the waves to be random high.

  5. #5
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    Actionscript Code:
    max = 20;
    waves_mc._yscale = Math.random(waves_mc._yscale-max)*waves_mc._yscale+max;
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center