#1
  1. No Profile Picture
    gettin **** cold ouside bro
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2010
    Location
    Sofia, Bulgaria
    Posts
    133
    Rep Power
    149

    Hiding scroll bars


    Hey guys.
    I have a bit of an issue here. I haven't used flash in quite a while(4 years or so) and it does seem like my knowledge of it is at the level of my chemistry knowledge. So-here is the deal. I got sent an swf file yesterday(they won't send me the fla file and decompiling it doesn't do the job). So here is my problem-instead of modifying the source resizing it(lets say changing its height from 650 pixels to 640) would do just fine. The problem is that no matter what i do when i try to do it scrollbars appear. Which kind of ruins the whole point of the exercise. So are there any other ways of doing this-effectively hide the bottom 10px? thanks.
  2. #2
  3. No Profile Picture
    Gotta get to the next screen..
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2003
    Location
    Legion of Dynamic Discord
    Posts
    6,678
    Rep Power
    3164
    If you just want to cut off the bottom of the Flash file then you could use CSS and set overflow to hidden:
    Code:
    #flash-wrapper
       {
          display: block;
          width: 400px;
          height: 640px;
          overflow: hidden;
       }
    Apart from that, you would have to alter the SWF which means getting the source file(s).
    Quis custodiet ipsos custodes?
  4. #3
  5. No Profile Picture
    gettin **** cold ouside bro
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2010
    Location
    Sofia, Bulgaria
    Posts
    133
    Rep Power
    149
    yeah.. thats the question-how do i cut it off... as for the css-the scrollbars are from the swf file... its not the browser
  6. #4
  7. No Profile Picture
    Gotta get to the next screen..
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2003
    Location
    Legion of Dynamic Discord
    Posts
    6,678
    Rep Power
    3164
    No, you leave the SWF at the original dimensions and then use the CSS to cut it off. That way the SWF thinks it is still at the original dimensions and won't show the scrollbars whilst the CSS is what actually cuts off the displayed area.

    Comments on this post

    • alexgallz agrees : awesome!!!!!
    Quis custodiet ipsos custodes?
  8. #5
  9. No Profile Picture
    gettin **** cold ouside bro
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2010
    Location
    Sofia, Bulgaria
    Posts
    133
    Rep Power
    149
    idk... as i said i left flash years ago so idk... ill give it a go when i get home. thanks!

    edit:
    i couldnt resist and had to try it now... YOU BRILLIANT LITTLE MAN!!!!!! THANK YOUUUUUUUU!!!!
    Last edited by alexgallz; February 21st, 2012 at 07:21 AM.

IMN logo majestic logo threadwatch logo seochat tools logo