Border of Flash SWF Cut Off in CSS Layout

  • zaiah
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Dec 15, 2007
  • Posts: 375
  • Status: Offline

Post May 29th, 2008, 11:39 pm

Hey. I created this website http://bodybalanceliving.com/about.html a little while ago. And I embedded a (1) Flash movie that was setup to radomly play a series of seperate movies. The problem is I hand coded the site with Html and CSS (the HTML doesn't validate http://validator.w3.org/check?uri=http%3A%2F%2Fbodybalanceliving.com%2Fabout.html&charset=%28detect+automatically%29&doctype=Inline&group=0
but the CSS does. Anyways to the problem, Something is cutting off part of the very outside edge of the flash movie. I can't understand why. I'm starting a new site and I want to settle (learn) what the problem is before I use some of the same code. My next site I need to make the transition look as seemless as possible.
Any help in the right direction would be greatly appreciated.

P.S. The guy stiffed me on payment, so I shut the site down. he acquired someone else to build the hybrid flash site you will see if you go to http://www.bodybalanceliving.com . True story, the guy and his "customers" think the site should be the way I did it. But off course with more (un-needed) Flash movies. Maybe a little more. But you don't want to make a flash site this heavy. Especially when you get 57,000 hits in one month. Oh that was my design. I know it's not the greatest, but I put a lot of work into it, to only get stiffed in the end. Learning experience. Always get all of your money before hosting on their server.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post May 29th, 2008, 11:39 pm

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post June 6th, 2008, 5:55 am

zaiah did you get this figured out? I assume your talking about a 1px border that isn't showing up correct?

I've had similar problems with flash and the deal, as close as I can tell, is that flash's border's are slightly offset.

So if you have a 100x100px box with a 1 px border the left edge of the border is at 0 and then the right edge of the border starts at 100 essentially making your box 101px wide, even though flash still reports it as the same size. Thats not a huge deal for items on the stage, but when your trying to place a border on the entire stage you actually would have to make the border 1px smaller than the stage width and height.
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • zaiah
  • Proficient
  • Proficient
  • No Avatar
  • Joined: Dec 15, 2007
  • Posts: 375
  • Status: Offline

Post June 7th, 2008, 10:19 pm

Okay. I will try that. So if I want the border to show and I have a movie that is 100px wide, I should make the actually 99px?
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post June 9th, 2008, 10:00 am

yup. you would want 99px instead of 100px. Messed up huh?
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 33 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.