A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: SoFake zoom question

  1. #1
    Member
    Join Date
    May 2005
    Posts
    45

    SoFake zoom question

    anyone seen Sofake's website will know what i'm on about, I have produced the same navigation as sofake but I have the problem of zooming in.
    When you zoom in it just loads up the windows you have clicked on, it doesnt actually zoom, anyone know how I can get it to zoom in?

  2. #2
    Junior Member
    Join Date
    Jun 2004
    Posts
    15

    scale

    scale the parent of your menus

  3. #3
    Member
    Join Date
    May 2005
    Posts
    45
    Ok. So how do I do that, here is the code I have already which works fine for scaling OUT, what do I do to make it scale IN?

    function SCALE(CLIP, SET) {
    //scale
    start = CLIP._xscale;
    end = SET-start;
    CLIP._xscale = start+(end/5);
    CLIP._yscale = start+(end/5);
    //visible
    if (CLIP._xscale<850 && CLIP._xscale>=.1) {
    CLIP._visible = 1;
    } else {
    CLIP._visible = 0;
    }
    }

    set1 = main1._xscale=0;
    set2 = main2._xscale=0;
    set3 = main3._xscale=.8;
    set4 = main4._xscale=4;
    set5 = main5._xscale=20;
    set6 = main6._xscale=100;

    what do i need to change to make my movie scale IN?

  4. #4
    Junior Member
    Join Date
    Jun 2004
    Posts
    15
    change the +'s to -'s?

  5. #5
    Member
    Join Date
    May 2005
    Posts
    45
    no, tried it and it doesn't work. It can't be that hard can it?

  6. #6
    Member
    Join Date
    May 2005
    Posts
    45
    Can anyone help with this question, I need to figure it out quickly.

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