A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: How did they do it?

  1. #1
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147

    How did they do it?

    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!

  2. #2
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244
    There is a simple example of this in the koolexchange Look under Menus and Navigation and look for one called "Web Scroll"

  3. #3
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    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()
    Last edited by tmoore935; 03-29-2007 at 09:18 PM.
    Any programming language is at its best before it is implemented and used.

  4. #4
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    Quote Originally Posted by joca_hdj
    This is wierd but when I view it on my vista machine with the latest flash player, it insists that I have no flash.???
    Any programming language is at its best before it is implemented and used.

  5. #5
    Member
    Join Date
    Jan 2007
    Posts
    48
    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.

  6. #6
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    Was this the question that you asked in the begining of this thread?
    Any programming language is at its best before it is implemented and used.

  7. #7
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    Quote Originally Posted by sm5574
    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?
    Any programming language is at its best before it is implemented and used.

  8. #8
    Member
    Join Date
    Jan 2007
    Posts
    48
    Who cares?
    You got me. I have a tendency to ask questions I don't care about.

  9. #9
    Senior Member
    Join Date
    Apr 2006
    Location
    Yugoslavia
    Posts
    147
    Thank you all for your answers and special thanks to tmoore935 for the instructions!

  10. #10
    Relaxing tmoore935's Avatar
    Join Date
    Oct 2001
    Location
    colorado, usa
    Posts
    1,713
    Quote Originally Posted by sm5574
    You got me. I have a tendency to ask questions I don't care about.
    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.
    Any programming language is at its best before it is implemented and used.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center