A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: [WIP] L.O.D - Short Trailer

  1. #21
    Hype over content... Squize's Avatar
    Join Date
    Apr 2001
    Location
    Lost forever in a happy crowd...
    Posts
    5,926
    "Maybe as well as blurring the screen when it's paused, you should fade to grayscale"

    Hmmm where did you get that idea from ?

    Squize.

  2. #22
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    hey that´s right I have seen that effect as well on zelda the windwaker before- so what about it?

  3. #23
    Script kiddie VENGEANCE MX's Avatar
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,590
    Yeah Squize, we both know where I got the idea from (and it wasn't Wind Waker )

    Hooligan, scrollRect is a beautiful and crafty property (looks like I referred to it as a function earlier, whoops). Here's how it works:

    mc.scrollRect = new Rectangle(startX, startY, maskWidth, maskHeight);

    If you want to display the area 5 pixels up and 3 pixels left, we'd do this:

    _root.scrollRect = new Rectangle(-5, -3, Stage.width, Stage.height);

    (Although depending on your stage resize settings, you might want to replace Stage.width and Stage.height with fixed numbers instead, like 550 and 400).

    Also, note that you'll need to add this line to the start of your movie:

    import flash.geom.Rectangle

    In order to be able to use the Rectangle object.
    http://www.birchlabs.co.uk/
    You know you want to.

  4. #24
    Who needs pants? hooligan2001's Avatar
    Join Date
    Apr 2001
    Location
    Somewhere
    Posts
    1,976
    Thanks vengence i'll try it out and see hoe it goes. Thanks for all the input guys. I hope to have another demo up soon for crits / comments.

    Thanks again

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