Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 21st, 2012, 01:37 AM
alexgallz alexgallz is offline
gettin **** cold ouside bro
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2010
Location: Sofia, Bulgaria
Posts: 133 alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 10 h 22 m 48 sec
Reputation Power: 148
Flash Player - 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.

Reply With Quote
  #2  
Old February 21st, 2012, 05:05 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 9 m 55 sec
Reputation Power: 3163
Facebook MySpace
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?

Reply With Quote
  #3  
Old February 21st, 2012, 05:28 AM
alexgallz alexgallz is offline
gettin **** cold ouside bro
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2010
Location: Sofia, Bulgaria
Posts: 133 alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 10 h 22 m 48 sec
Reputation Power: 148
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

Reply With Quote
  #4  
Old February 21st, 2012, 05:38 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 6,663 Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)Tann San User rank is General 33rd Grade (Above 100000 Reputation Level)  Folding Points: 14767 Folding Title: Novice Folder
Time spent in forums: 1 Month 1 Week 3 Days 20 h 9 m 55 sec
Reputation Power: 3163
Facebook MySpace
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!!!!!

Reply With Quote
  #5  
Old February 21st, 2012, 07:16 AM
alexgallz alexgallz is offline
gettin **** cold ouside bro
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2010
Location: Sofia, Bulgaria
Posts: 133 alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level)alexgallz User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 10 h 22 m 48 sec
Reputation Power: 148
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > Flash Player - Hiding scroll bars

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap