September 2, 2009

Ocean Waves Effect

Notice the following sample swf , you can view the waves effect.<



  1. Create new Flash File (File->New or Ctrl + N) and Name it as Oceanwaves.
  2. Create (draw ) ocean image like below
  3. Convert this image as an movieclip using Modify->covert to symbol or press F8, choose Movieclip.and name it as ocean
  4. Draw wave image inside the Moviecip called "waves"
  5. Create wave moving animation using keyframe animation
  6. In first frame set alpha to zero and create keyframe on 40 th keyframe and now set alpha to 100 .
  7. Simillarly do vanish point also.
  8. Now Just drag this animated movie clip to stage and name it as "ripple_1" 
  9. Now create new movieclip called "actionscript".
  10. Inside the "actionscript Movieclip" ,create 3 empty key frames for writing script
  11. In first keyframe, write following script

    i = 1; g = 500; k = 1000;
  12. The above script is variable declaration , and in the nexr keyframe write the following script

    duplicateMovieClip(_root.ripple_1, "ripple_1"+i, i);
    i = i+1;
    if (i>=400) {
    i = 1;
    }
  13. the above script used to generate new waves , and in the 3rd keyframe write the following code

    k = k+1;
    if (k>=1500) {
    k = 1000;
    }
    gotoAndPlay(2);
  14. Now give ctrl+Enter to run the player.
Download source code from here
 

About

we are doing all kind of web / standalone applications using Flash , FMS, PHP , XML , CSS , etc. we handle all projects starting from the initial design concept through the delivery of your personalized product. Our commitment to you is comprehensive and complete-aimed at satisfying your every need. We have the experience and the expertise to get the job done.

Site Info

we Currently handling web requirements and multimedia productions and we have the capability of cutting your web , graphics and multimedia expenses to a bare minimum without sacrificing professional quality or delaying production. Our focus is on the development of smart, successful ideas and we always strive to maintain the highest . we currently using following technologies Flash 8, Flash cs3,Actionscript 2 ,Action script 3 ,Flash Media server , PHP,AMFPHP,XML ,HTML ,CSS ,Photoshop

Text

Digizone, AnnaNagar East, Chennai, TamilNadu ,India. Please view our website for further details

Flash and photoshop resources FREE Download Copyright © 2009 Community is Designed by Bie