Home Community Submit Tutorials Downloads Gallery Links Contact FAQ's / Help
  Home
  Submit Tutorials
  Community
  Tutorials
  Fonts
  Templates
  Affiliates
  Photography Corner
  Site Map
  Contact Us
 
Affiliates
  Pixel Apex
  Trick Digest
  Racuda
  Adobe Tutorialz
  Pixel2life
  Good-Tutorials
  Tutorialized
  Deviantart
  Chipmunk-Scripts
  Majesticlicks
  Free-Brushes
 
Tutorial Categories
3D Studio Max
Adobe Photoshop
Adobe Fireworks
Adobe Flash
Adobe Flex
Adobe Illustrator
ASP.NET
Dreamweaver
eCommerce
Gimp
Maya
PHP Coding
Swift 3D Swift 3D
Windows Operation
 
Tutorial
Name:
Iron Man
Author:
Adobetutorialz
Gallery Image
Name:
Fallout Shelter
Author:
Pixel Digest
 
Search:
Search Example: Orb, Oman3d, Adobe Photoshop or Picture Editing
 
 
Flash Mask Effect - Using flash you will learn how to create this effect.
Introduction: In this tutorial I will explain how to recreate the effect shown above using Flash 8 and Photoshop. It is a simple effect that looks great. I will also create a video tutorial for this example, the video tutorial is meant to clarify some of the process. You will have read the tutorial to understand it.
 


Click here to see another example. Tutorial is on the video section of the forum.

Part1: Getting the images and editing it in Photoshop.
First find a image that you want to add the effect to, I found the image I used in this tutorial from freephotosbank.com. Click here to copy the image I used, after copying the image and paste it into Photoshop. Duplicate the image 2 times, click on the layer you duplicated and click Filter Blur Gaussian Blur... as shown below.

 

 

After that the window below will come up, change the Radius to 6.5 pixels and click ok. 

 

If you want to give you image any kind of effect you can do it. I added a stroke to the images using blending options. After you are satisfied with your images you have to export both the blurred image and the original. we will do this one at a time, Hide all the layers except the one you want to export

after that click File Save for Web... save the image as JPEG. Repeat this for the blurred image. 

 

Part2: Importing the images into Flash and working with it.
Create a new Document using the settings shown below. The dimensions will depend on your image size you are using.

Next import the Blurred image first into flash File Import Import to Stage.

Change the X and Y positions to 5 as shown below.

  Create a new layer, and import the Original Image. Use the same position as above. Your layers setup should look like the screenshot below.

 

  

Part3: Creating the Icon that follows the icon.

Next insert a New Layer and name it border, as shown below.

 

 

Click on Frame 1 of the Border layer. Click on the Rectangular Tool using the settings below.

Create a small square.

 

Next insert a New Layer and name it Mask, as shown below. Make sure the layer position is the same as mine in the image.

 

Click to select the Mask Layer using the Rectangular Tool with the settings below.

 

Create a Rectangle in side the border, as shown below.

 

Part4: Adding the code to allow the mouse to follow your courser.
First we need to convert the images on the mask and border layers to a movie clip. Make sure the Mask layer is selected right click on the Blue square and select Convert to Symbol

The window below will come up select Movie Clip and click ok.

After that click windows  properties properties

Change the Instance Name to px1 as shown above. Repeat step 4 for the border layer. In this case change the Instance Name to px2.

Click on the first frame, of the border layer and open up the Action window. with the action window open copy and paste this code into the First Frame. 
speed = .9;
setInterval(CursorMovement, 40);
function CursorMovement() {
px2._x = speed*(px2._x-_xmouse)+_xmouse;
px2._y = speed*(px2._y-_ymouse)+_ymouse;
}

With that click on the first frame, of the Mask layer and add the code below.
speed = .9;
setInterval(CursorMovement, 40);
function CursorMovement() {
px1._x = speed*(px1._x-_xmouse)+_xmouse;
px1._y = speed*(px1._y-_ymouse)+_ymouse;
}

At this point your layers should look like the image below.

Part5: Adding the Mask Effect.
Right click on the Mask Layer and click Mask.

Now go test your movie.

 

Finished:
Well that is it. Hope it is what you expected. If you have, any questions or comments feel free to e-mail me or leave a message on the forum. If you are having a hard time with the tutorial email, me and I will try to help. I also created a video tutorial for this example. The file is a 9 MB flash file. I have the link up on the video section on the forums. Users have to register to view the file, click here to register and view the file.

This Tutorial was Created By Mark
© 2005 pixeldigest.com. All Rights Reserved.

 
 
Help Support Us
 
 
 
News Updates
Updated the Forum, Unfortunately i could not use the same link as the old forum for the update. For the new link click Here. All the post and user name are still usable. So, if you previously registered you can still use the old username and password. Some accounts that was not used were deleted.  
 
News Update [10/16/07]
Yesterday on the 15th of October my gallery went down for some unknown reason. I was able to get the backup of the images, i just lost all the users. The gallery was not that active but i am sill pissed about what happened. I am in the process of reloading the gallery. Just give me some time and it should be up and running.Yesterday on the 15th of October my gallery went down for some unknown reason. I was able to get the backup of the images, i just lost all the users. The gallery was not that active but i am sill pissed about what happened. I am in the process of reloading the gallery. Just give me some time and it should be up and running.  
... Read More
 
Bookmark This Page
 
 
Untitled Document
Latest Gallery Image
 
Sponsors
Custom Shapes
Custom Shapes
 
 

Home | Submit | Tutorials | Forums | Gallery | Fonts | Downloads | Templates | Affiliates | Sitemap | Contact | FAQ's / Help

© 2005 - 2008 pixeldigest.com