;

PDA

Click to See Complete Forum and Search --> : How did they do it?


joca_hdj
03-29-2007, 05:43 PM
Hi,

I found this website and i am trying to figure out this background effect, if it's effect at all.When you click any button in menu, the whole scene starts to move.Actually, ive seen it couple of times but i just don't understand how is the whole thing working.
See it for yourself:
http://www.t2.tv/

Can anybody explain me how to recreate it in koolmoves?

Thanks!

blanius
03-29-2007, 09:47 PM
There is a simple example of this in the koolexchange (http://koolexchange.com) Look under Menus and Navigation and look for one called "Web Scroll"

tmoore935
03-29-2007, 10:16 PM
What about "ease to example" that you did blanius?

http://www.diversioncentral.com/f/myEasetoexample.html

Create a movie clip that is the background that will move around. Its called mc1 in the button. Save as flash 8.

For the 4 buttons use this and change the numbers accordingly:

on(release){
_root.mc1.easeTo(120,130,5)//x, y and speed
}

This goes into the frame and nothing needs changed:

MovieClip.prototype.easeTo=function(x,y,speed){
this.onEnterFrame= function(){
this._x += (x-this._x)/speed;
this._y += (y-this._y)/speed;
}
}

stop()

tmoore935
03-29-2007, 10:46 PM
http://www.t2.tv/


Thanks!
This is wierd but when I view it on my vista machine with the latest flash player, it insists that I have no flash.???

sm5574
03-29-2007, 11:57 PM
But how did they bypass that annoying "click to activate" thing? I looked at the source, and they seem to be using a different javascript than KM generates.

tmoore935
03-30-2007, 12:10 AM
Was this the question that you asked in the begining of this thread?

tmoore935
03-30-2007, 12:11 AM
But how did they bypass that annoying "click to activate" thing? I looked at the source, and they seem to be using a different javascript than KM generates.


Who cares?

sm5574
03-30-2007, 12:38 AM
Who cares?You got me. I have a tendency to ask questions I don't care about. :rolleyes:

joca_hdj
03-30-2007, 07:36 AM
Thank you all for your answers and special thanks to tmoore935 for the instructions!

tmoore935
03-30-2007, 11:09 AM
You got me. I have a tendency to ask questions I don't care about. :rolleyes:
what I mean is, Koolmoves will take care of this problem for you. Just add the java file which is explained in the help file that appears when you export the swf file.