A Flash Developer Resource Site

Results 1 to 13 of 13

Thread: kill bill effect?

  1. #1
    Senior Member
    Join Date
    Sep 2000
    Location
    Brazil - São Paulo
    Posts
    257

    kill bill effect?

    Hi guys! can u help with this one pls.... i want to make an effect like the kill bill site... its an image like a restaurant, i want that when mouse moves right the image goes left, if the mous egoes up the image goes down... i tryed to make something with

    getProperty(_root,_xmouse) and then try to eval if the new position of it is bigger then the first or lower, the thing is, theres a good way to eval if mouse is going right or left, up or down...? its like the opposite of draging....avoiding...

    thx for replys;;;

    http://killbill.movies.go.com/vol1/flash/

    (u got to wait a bit till it goes where i want, when uma turman is with her sword and theres a nightclub behind) thx again!

  2. #2
    graphic designer
    Join Date
    Aug 2002
    Location
    Brazil
    Posts
    112
    You can make a fake interativity... with transparent buttons sending actions to movement the movie like in this movie:
    http://www.flashkit.com/movies/3D/Ef...1144/index.php

    --- in portuguese ---
    resumindo, dependendo do nivel de precisão, vc não precisa quebrar tanto a cabeça com programação, apenas use os famosos migués...
    ----

    I hope it, in english, is:
    resuming, depending of precision's stage, you don't need to break your head with coding, only use the famous tricks...
    |calve|brazil|

  3. #3
    Senior Member
    Join Date
    Sep 2000
    Location
    Brazil - São Paulo
    Posts
    257
    Oi cara, valeu pela dica!! Mas uma coisa que eu queria muito saber é se dá para fazer algo assim : cada pixel q o mouse vai para direita a imagem vai para esquerda, você sabe fazer isso?


    Hi M8, thanks for the tip!! But something i wanted a lot to know is if its possible to make something like this: each pixel that the mouse moves right, the image goes left, does anybody know how to do it? (and with easyng if its possible)

  4. #4
    graphic designer
    Join Date
    Aug 2002
    Location
    Brazil
    Posts
    112
    Inside mc:

    code:
    onEnterFrame = function() {
    this._x = int(600 - _root._xmouse);
    this._y = int(400 - _root._ymouse);
    }



    600 is width and 400 is height of document.

    that's a sample:
    Attached Files Attached Files
    |calve|brazil|

  5. #5
    Senior Member
    Join Date
    Sep 2000
    Location
    Brazil - São Paulo
    Posts
    257
    Thats it! thanks m8! (funny i have to speak in english with a brazilian :> but more ppl may have the same question yght?:>) Well that worked perfect, but i need to make another quetion....can i control the speed? its too fast.... is it dificult to do with ur code? Cause i really want to use it , its a clean code i like it :>

    thx for repply...if u have msn pls sen dme a pm :>
    thanks again

    (anyone that know how to speed down the pan with that code pls tell em :>)

  6. #6
    graphic designer
    Join Date
    Aug 2002
    Location
    Brazil
    Posts
    112
    Don't you uses the timeline?
    migué

    (Really, we need to disseminate the experiences... and if english is more accessible, we use it)

    icq: 11440624
    e-mail: alessandro@raioxnet.com.br
    |calve|brazil|

  7. #7
    Senior Member
    Join Date
    Sep 2000
    Location
    Brazil - São Paulo
    Posts
    257
    I d]couldnt understand what u meaned...if i use timeline?????

    (Anyone know how to create that effect, pls enlight me)

  8. #8
    graphic designer
    Join Date
    Aug 2002
    Location
    Brazil
    Posts
    112
    Why don't you uses the timeline of movie?
    Adding frames between actions, etc, will delay the movie speed.

    I will try work a sample to you (to cheio d trampo).

    T+
    |calve|brazil|

  9. #9
    Senior Member
    Join Date
    Sep 2000
    Location
    Brazil - São Paulo
    Posts
    257
    i DID IT! thanks everyone (valew cara!) but i manage to make it with a nice code like this on the background movie:




    Code:
    onClipEvent (load) {
    	this.xpos = 0;
    }
    onClipEvent (enterFrame) {
    	this._x += (this.xpos-this._x)/12;
    }
    onClipEvent(enterFrame){
    	if (_root._xmouse>=0 && _root._xmouse<=740 && _root._ymouse<=370 && _root._ymouse>=52){
    	this.xpos = -(int(_root._xmouse/14)-30);
    	}
    }

    and this on the front mc


    Code:
    onClipEvent (load) {
    	this.xpos = 0;
    }
    onClipEvent (enterFrame) {
    	this._x += (this.xpos-this._x)/8;
    }
    onClipEvent(enterFrame){
    	if (_root._xmouse>=0 && _root._xmouse<=740 && _root._ymouse<=370 && _root._ymouse>=52){
    	this.xpos = int(_root._xmouse/14)-30;
    	}
    }
    and it worked :>

  10. #10
    graphic designer
    Join Date
    Aug 2002
    Location
    Brazil
    Posts
    112
    (muito bom!)
    good job!

    sorry by me don't helped you anymore, advertising is a hard market! (mercado fdp... hehehe)

    I´ll like to see your work completed, send-me a e-mail when it has finished, if be possible.

    Success to you.
    |calve|brazil|

  11. #11
    The G5 SP N_R_D's Avatar
    Join Date
    Apr 2004
    Posts
    1,118
    dont forget the put up the movie so we can see it =)

  12. #12
    Senior Member
    Join Date
    Sep 2000
    Location
    Brazil - São Paulo
    Posts
    257
    Hi guys, I´ll surelly post the fla for u tomorrow, i just have a problem with my internet at work i couldnt do so...but i will!!!


    thanks for the help m8s,

    N_R_D....fla here tomorrow :>

  13. #13

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