As a designer most of us
know how to create these famous pup-up windows for
our lovely web pages.I think they bother all of us eventhough we are the designers.
Specially the ones that opens unfinishing windows.In this tutorial I will try
to teach
you an unusual "force to click" action.
I believe that this action will be used by many websites instead of annoying
pop-up windows
that opens automaticly by classic scripts.
This one has one difference then the rest.Your advertisement will stick on your
mouse.
If visitor wants to get rid of this mouse following image , has to click on
your link.
After clicking on your link, mouse follow image will dissappear, your link will
open
in new window and your main page wont change.
Sounds good ?
Here is the example.
Let's start now.
Create two images as Movie
clip.
One of them will follow the mouse and the other one will stand asyour target
link.
Give the following names to them
For the mouse following
image - mousefollowimage
For the main target image - mainlinkimage

In this point it is not
necessary to animate this movies.So, don't animate them now.
Let's finish it..

--------------------------------------------------------
Select the mousefollowimage and put this code into the actions window.
onClipEvent (load) {
_xmouse_root.mousefollowimage;
startDrag("_root.mousefollowimage", true, 800, 600, 1, 1);
}
-------------------------------------------------------------------------------------
Select main target image and open the actions window again.
Paste this code as well.
on (press) {
tellTarget ("_root.mainlinkimage") {
stopDrag();
getURL("http://www.vkuzik.net", "new window");
setProperty("_root.mousefollowimage", _alpha, "0");
}
-------------------------------------------------------------------------------------
Thats it guys....Test your
movie and smile :)
Now you can create your own FORCE to CLICK action.
May be its not the best
action of the web but probably one of the newest
Force Click event.I haven't seen a popup window like this before. What about
you ?
This is very simple and effetive way to make them click on your link.
At list MORE POLITE... Isn't it ? :)
Have a nice day.
| » Level Basic |
|
Added: 2002-09-10 Rating: 4 Votes: 11 |
| » Author |
| Freelance designer in London |
| » Download |
| Download the files used in this tutorial. |
| Download (23 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!