Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Flash : Zoom/Blur

    I have a picture of a corridor, and I want it so when you click on the picture it zooms in to it (to where it's black at the end of the corridor), and blurs at the same time (I can imagine what I want it to look like!).

    I'm totally new to Flash really so how would I go about doing this?

    The only tutorial I've found is this, http://www.tutorialized.com/tutorial...ur-Effect/7201 , but it doesn't seem to be what I want really.

  • #2
    New Coder
    Join Date
    Aug 2005
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    hi
    this is very possible to achieve..
    first make a tween with the image of the corridor getting bigger. It will go off the working area but thats ok, just make sure u have the blackness of the corridor in the middle.

    now u have a zooming in effect. to make it blur you could try making the brightness a little darker or maybe fiddle with the alpha.

    hope this helps.

    if your doing it frame by frame, go into photoshop and use the blur tool. this will take longer tho.

  • #3
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    OK done! Nearly!

    At the moment my timeline looks like the pic attached...

    Layer 2 is the normal image, Layer 3 is the blurred image. I've created a tween so it zooms in between frames 15 and 30.

    How do I do it though so that frames 1-14 infinitely loop until the image is clicked, then frames 15-30 play?
    Attached Thumbnails Attached Thumbnails Flash : Zoom/Blur-timeline.png  

  • #4
    New Coder
    Join Date
    Apr 2005
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could just make what you have done into a movie clip instead, put it on the first frame, and type
    Code:
    stop()
    in the actions panel of frame one. It will play infinitely. Now make the image you want clickable into a button and type
    Code:
    on (release) {
       gotoAndPlay(2)
    }
    That will make it go to frame two when you click the image.

  • #5
    Senior Coder
    Join Date
    Dec 2004
    Location
    Essex, UK
    Posts
    2,636
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Cheers. Leading back to another one of my posts - http://www.codingforums.com/showthread.php?t=67876 - How can I also delete the 'scanlines' when the image is clicked?

    This is creating the lines -
    PHP Code:
     // Scanlines 
    _root.createEmptyMovieClip("scanLines"1000); 
    with (scanLines) { 
         
    lineStyle(00x000000,30); 
         
    moveTo(00); 
         
    lineTo(Stage.width0); 

    for(
    i=0;i<Stage.height;i++){ 
         
    duplicateMovieClip("scanLines","scanLines"+i,i); 
         eval(
    "scanLines"+i)._y i*3

    // By Frost_0ni 
    I tried the following, but I think that there are many different clips named scanLines ? Will I need to loop through them to delete them somehow?

    PHP Code:
    on (release) {
        
    removeMovieClip("scanLines");
           
    gotoAndPlay(15)



  •  

    Posting Permissions

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