Fullscreen Crosshairs - SWiSHMax Tutorials
 
  Buy Ebooks, Video Games, DVDs, Electronics and more !
Home | Help Forums | Web Design Tutorials | Free Swishmax Downloads Make Money Online Blog . Free Image and Photo Sharing and Hosting

 

 

Company

Home

Nework Details

Tutorials

SWiSH 2

SWiSHMax

Flash MX

PHP & MySQL

HTML / JScript

Adobe Photoshop

Corel Draw

Gimp

Miscellaneous

Downloads

Templates

Plugins

Fonts

Wallpapers

Free Images

Scripts and Codes

Products

E-Books

SWiSH BB

SWiSH Templates

SWiSH-DB Newsletter
Subscribe to our newsletter : GO
  Partners / Affiliates

   Free image hosting
   Web Design Pakistan
   Swish Templates
   SWiSH Climax
   Talkfreelance Community
   Template Desire
   Lite boards
   Script Sector
   GimpTalk
   13dots
   Idea Designs
   PHP Cafe
   Sposatoettore
   Free swishmax templates
   Swishzone

Manage your site with Flax Article Content Management System
Fullscreen Crosshairs
Category : SWiSHMax | Level : Beginner | Language : English
Ask Question | Read Comments | Post tutorial | Previous | Next

Web www.swish-db.com

Heres a neat way to make those full screen crossahairs u somtimes see, sorry guys no pics:-).

Ok, any widht and height is fine, like 400 by 400. Make the backgropund black in this case. Grab the line tool, make a line going vertical and one going horizontil. Make the horizontil line line2 and vertical line line1, target both. Then go into the scene script. enter this code:

CODE

onEnterFrame() {
   //This simulates the vertical line going up and down, without the need to:-)
   line2._y = _root._ymouse;
   //This siulates the horizontil line going from side to side, without it.
   line1._x = _root._xmouse;
   /*this hides the mouse, if you dont belive this is accurate remove this line
   of code and see where the crosshairrs meet and where the cursor pointer is*/
   mouse.hide();
}


SWF Priview: HERE
(in this priview at the way sides the lines don't meet becasue it weasntr desgined for a fullscreen view, but they work;-)

Its an easy way to do something cool.


© 2002-2005 Flaxweb Network | Article Manager | Gimp Tutorials Library | RAD C++ Library | Free C/C++ Sourcecode |
Sites of interest : Web Design Blog | Swish Templates | Swishmax Ebook | Photoshop Templates | Gimp Tutorials | Text Forum | Make Money Online