Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 10-25-2006, 10:23 AM
Junior Member
 
Join Date: 10-25-06
Posts: 4
iTrader: 0 / 0%
problem with resizing and swf.

1.I've made a menu in flash but I can't change it's size...I've tryed to change the width and height but it's not working...;(...
2.the other thing is that when i resize the window the it all messes up...I think it's all working without the menu.swf(the resizing) but with it the main div hide s under the menu.swf..
Please help!!

<html>
<!-- Created on: 2006-10-14 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="">
<style type="text/css">
body {background: url("../../../../../Pulpit/Nowy folder (2)/wood002.gif")}
hr.M { color:#682D1A;}
div.container {width: 100%; height: auto;}
div.header {width: 100%; height: auto; background: #682D1A; text-align: center}
div.left {width: 20%; height: auto; background: #E3610D; float: left; }
div.main {width: 80%; height: auto; background-image: url("../../../../../Pulpit/Nowy folder (2)/new21.gif"); float: right;}
div.footer {width: 100%; height: auto; background: #682D1A; text-align: center; float: left}
</style>
</head>
<body>
<div class="container">
<div class="header"><img src="baner.gif" border="0" width="468" height="60" alt="" align="middle"></div>
<div class="left">
<hr class="M"></hr>
<hr class="M"></hr>
<object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"

width="150"
height="200">
<param name="BGCOLOR" value="#E3610D">
<param name=movie value="menu.swf">
<param name=quality value=high>

<embed src="menu.swf"
quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"
width="150"
height="200"
bgcolor="#E3610D">
</embed>
</object>
<hr class="M"></hr>
<hr class="M"></hr>

</div>
<div class="main"><p>text </p></div>
<div class="footer">text</div> </div>
</body>
</html>
 
Reply With Quote
  #2 (permalink)  
Old 11-07-2006, 11:47 AM
Izzmo's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 11-01-03
Location: Kansas
Posts: 1,356
iTrader: 1 / 100%
You might want to post this in the Coding Forum instead.
__________________
Izzmo
Coding Guru Extraordinaire
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
 
Reply With Quote
  #3 (permalink)  
Old 11-09-2006, 03:52 AM
Jason's Avatar
Contributing Member
Latest Blog:
None

 
Join Date: 05-17-04
Location: London, United Kingdom
Posts: 712
iTrader: 0 / 0%
Thumbs down

Welcome to v7n!

Try This-

Quote:
<html>
<!-- Created on: 2006-10-14 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<meta name="generator" content="">
<style type="text/css">
body {background: url("../../../../../Pulpit/Nowy folder (2)/wood002.gif")}
hr.M { color:#682D1A;}
div.container {width: 100%; height: auto;}
div.header {width: 100%; height: auto; background: #682D1A; text-align: center}
div.left {width: 20%; height: auto; background: #E3610D; float: left; }
div.main {width: 80%; height: auto; background-image: url("../../../../../Pulpit/Nowy folder (2)/new21.gif"); float: right;}
div.footer {width: 100%; height: auto; background: #682D1A; text-align: center; float: left}
</style>
</head>
<body>
<div class="container">
<div class="header"><img src="baner.gif" border="0" width="468" height="60" alt="" align="middle"></div>
<div class="left">
<hr class="M"></hr>
<hr class="M"></hr>
<object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0"

<width="300">
<height="400">

<param name="BGCOLOR" value="#E3610D">
<param name=movie value="menu.swf">
<param name=quality value=high>

<embed src="menu.swf"
quality=high
pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash"
<width="300">
<height="400">

bgcolor="#E3610D">
</embed>
</object>
<hr class="M"></hr>
<hr class="M"></hr>

</div>
<div class="main"><p>text </p></div>
<div class="footer">text</div> </div>
</body>
</html>
Any better? If not, increase the size of your elements in your SWF file (writing, images) in your program you made it in.

Keep us posted!

Last edited by Jason; 11-09-2006 at 03:55 AM. Reason: Forgot the Welcome...
 
Reply With Quote
  #4 (permalink)  
Old 11-13-2006, 12:51 PM
Izzmo's Avatar
v7n Mentor
Latest Blog:
None

 
Join Date: 11-01-03
Location: Kansas
Posts: 1,356
iTrader: 1 / 100%
Thumbs up The answer

Actually, that's wrong Jason You can't do that in any HTML formatting

I run a Flash Gaming website (http://www.pod-gaming.com) so I know this.

You have put the width and height in the totally wrong place.

This is where you should put it:

Code:
<embed src="menu.swf" width="300" height="400" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="150" height="200" bgcolor="#E3610D">
This will fix your problem.

I do not know why you spaced out your variables so much, but if it works, stay with it !
__________________
Izzmo
Coding Guru Extraordinaire
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resizing an animated .gif avatar tuzaj Graphic Design Forum 162 08-26-2010 05:54 PM
resizing images JamieJelly Digital Photography Forum 7 09-19-2007 05:51 AM
CSS Font Resizing Under Firefox bytech Coding Forum 5 08-23-2006 11:31 AM
Resizing a big animation kwvarga Graphic Design Forum 5 02-16-2006 04:07 AM
ImageMagick Resizing Issue ATLien Coding Forum 8 12-10-2004 07:50 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:58 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.