Website TemplatesWebsite Templates

Joomla Templates | Drupal Themes | WordPress Themes | XOOPS Themes | Mambo Templates
Web Design Templates | Flash Templates | eCommerce Templates | CMS Templates | Open Source Templates | Shopping Cart Templates
VirtueMart Templates | PrestaShop Themes | osCommerce Templates | Zen Cart Templates | Magento Themes | TomatoCart Templates | Cre Loaded Templates

Article content

SATURDAY 26 MAY, 2007

Templates Help Magnifying Lens

by Admin | post a comment

Magnifying Lens Create new project. Draw or write anything.Also you have to create background using Rectangle tool (R) same color as background of document. Then put copy of all these to MovieClip: select your creation (Ctrl+A) with "square background", copy (Ctrl+C), create new symbol (Ctrl+F8), choose MovieClip and paste (Ctrl+V). You can do same operation in another way: select all objects and convert it to symbol (F8). Then we should edit this symbol (MovieClip). Double flick on MovieClip or you can select it library (Window->Library (Ctrl+L)), press right button of a mouse and press "Edit". Now when you are editing MovieClip, make its center (such a cross) to be some higher and righter then whole movieclip. For this you have to select and move all elements. Now you have to get out MovieClip by pressing errow on TitmeLine on inset under title of your MovieClip or just double click on workspace but outside elements of your MovieClip. Creating new MovieClip you have copied objects for it. Place all these in 2 layers (if you haven't done it before): cut created MovieClip (Ctrl+X) and paste it to new layer (Ctrl+Shift+V). Then you have to create a mask. Draw any object (circle, square, etc.) in new layer and convert it to MovieClip. Select this MovieClip and press F9 (pannel Actions) and write this script: onClipEvent(load) { this.startDrag(true); } Now you should have 3 layers. Place them this way: top is a mask, then MovieClip created by you first, at bottom just sign (image) same as in your MovieClip. Now we have to click on layer which will be mask, enter to properties and to choose radio button "mask". Then you have to do almost same operation with layer under this but to choose "masked" instead of "mask". Name first MovieClip. At bottom pannel "Properties" there is a window for input text where it's written . Enter there name "uvelich" and press "Enter". Create one more layer and place there new small MovieClip for Action Script. Select it, summon actions pannel (F9) and put there this code: onClipEvent (mouseMove) { _root.uvelich._x=_root._xmouse-(_root._xmouse/0.5); _root.uvelich._y=_root._ymouse-(_root._ymouse/0.5); _root.obod._x=_xmouse-35; _root.obod._y=_ymouse+20; //you can place your values instead of 20 and 35. } Then press Ctrl+Enter and see how it works.

News for Friday 25 May, 2007

View all news for Friday 25 May, 2007 on one page

Recent News

News archive

 
up spurl