A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flash Cs5 help needed

  1. #1
    Junior Member
    Join Date
    Jul 2010
    Posts
    9

    Flash Cs5 help needed

    i made a slide show with a square transition effect which i found on the internet, but there seem to be three lines in the middle which pops out from nowhere, how do i get rid of it?? anyone can please help me.

    here is the flash file:
    http://tradewebsite.clanteam.com/Sou...lash slide.fla

    and here is the outcome:
    http://tradewebsite.clanteam.com/Sou...ash slide.html

  2. #2
    AKA [ Paul Bainbridge] webdreamer's Avatar
    Join Date
    Aug 2001
    Location
    Glasgow, Scotland, UK
    Posts
    3,320
    Hi that is happening because somewhere in your code math ceil() or round() is not being used to round the mask width and height to the highest integer value.
    I changed
    Actionscript Code:
    maskWidth = image.Width/cols;
    maskHeight = image.Height/rows;
    to
    Actionscript Code:
    maskWidth = Math.round(image.Width/cols);
    maskHeight = Math.round(image.Height/rows);

    Seems to do the trick.
    .: To me AS is like LEGO, Only for the big Kids :.
    - Site - Blog - Twitter - Linkedin
    bringmadeleinehome.com

  3. #3
    Junior Member
    Join Date
    Jul 2010
    Posts
    9
    thank you so much, it worked!!!

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