AllInWorld99 provides a reference manual covering many aspects of web programming, including technologies such as HTML, XHTML, CSS, XML, JavaScript, PHP, ASP, SQL,FLASH, jQuery, java, for loop, switch case, if, if else, for...of, for...in, for...each,while loop, blogger tips, blogger meta tag generator, blogger tricks, blogger pagination, client side script, html code editor, javascript editor with instant output, css editor, online html editor, materialize css tutorial, materialize css dropdown list,break, continue statement, label,array, json, get day and month dropdown list using c# code, CSS button,protect cd or pendrive from virus, cordova, android example, html and css to make android app, html code play,telerik show hide column, Transparent image convertor, copy to clipboard using javascript without using any swf file, simple animation using css, SQL etc. AllInWorld99 presents thousands of code examples (accompanied with source code) which can be copied/downloaded independantly. By using the online editor provided,readers can edit the examples and execute the code experimentally.


Creating a mask in flash cs5 :-
       This is the nice feature in flash, for this we need two frame in first frame we need to draw the constant image or banner, and lock the first layer and create the second layer create frame using second frame object (move the object through the constant image), after that right click on the second layer and select mask. coool press ctrl+Enter to run and see the output.



Steps of creating Mask in Flash:-

Step 1:
   Place your banner on the first layer

Creating a mask in flash cs5
Step 2:
   Right Click on the layer => Insert Layer to insert the second layer

 flash cs5

Step 3:
  Lock the first created layer and do work on the second layer, May be If you not lock your first layer your have more disturbance when you work on the second layer.

 flash cs5

Step 4:
   Select the Second created Layer and First frame, and draw a circle or rectangle you want.

 flash cs5

Step 5:
   Move the Rectangle and each and every move press F6 Key

 flash cs5
  Move the Image and save the image using F6 key to save the  frame







 flash cs5

    Move the Image and save the image using F6 key to save the frame






   Continue this step till the end of the banner.

 flash cs5
    All the image were saved in each frame, if you press enter key you can see the animation but not able with the mask animation.




Step 6:
   Right Click on the Second Created layer and press => Mask

 flash cs5

   After Pressing the "Mask" button you can able to see such as below

 flash cs5


Step 7:
   You have done to create the mast just press ctrl+Enter to see the output the image will animate the shape of rectangle.



                           Download (SWF) File           Download (FLA) File

  
Advertisement




0 comments:

Post a Comment

Total Pageviews