Addchild browser resize
Hey Guys! I got my external swf to center...However, when I resize my browser the external swf dissapears off the screen (I can still hear it's music though) Anybody have any suggestions? Heres my class code:
package {
import flash.display.Sprite;
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
public class Main extends Sprite{
private var container:Sprite;
public function Main(){
container = new Sprite();
this.addChild(container);
var url:URLRequest = new URLRequest("index2.swf");
var loader:Loader = new Loader();
loader.load(url);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
this.stage.scaleMode = StageScaleMode.NO_SCALE;
this.stage.align = StageAlign.TOP_LEFT;
private function completeHandler(event:Event):void{
this.addChildAt(bg,0)
this.container.addChild(event.target.content);
this.container.x = this.stage.stageWidth/2 - event.target.width /2;
this.container.y = this.stage.stageHeight/2 - event.target.height /2;
bg.width = stage.stageWidth;
bg.height = stage.stageHeight;
bg.x = 0
bg.y = 0
this.stage.addEventListener(Event.RESIZE, resizeHandler);
private function resizeHandler(event:Event):void{
this.addChildAt(bg,0)
this.container.x = this.stage.stageWidth/2 - event.target.width /2;
this.container.y = this.stage.stageHeight/2 - event.target.height /2;
bg.width = stage.stageWidth;
bg.height = stage.stageHeight;
bg.x = 0
bg.y = 0
try:
private function resizeHandler(event:Event):void{
this.addChildAt(bg,0)
this.container.x = this.stage.stageWidth/2 - event.target.width /2;
this.container.y = this.stage.stageHeight/2 - event.target.height /2;
bg.width = stage.stageWidth;
bg.height = stage.stageHeight;
bg.x = 0
bg.y = 0
addChild(container); // <- added
Similar Messages
-
Help on font sizes and browser resizing issues
When browsers resize the text, they can have a significant impact on the my designs. I am using CSS positioning, and not tables. I am also using relative font sizes, usually ems. I can get everthing to look right on my pages when the browsers are set at the normal or medium text size. But, i run into problems when the browser is set at the large or largest text size. I need help dealing with this issue in general. But, here's an example that best illustrates the problem:
I set some white-colored text on a dark background in a banner at set at 800px x 50px. The font size is set at 1 ems. The background color for the rest of the page is white. So, when the white-colored text fits easily within the banner, everything works okay. But, when the browser resizes the text, the white text flows beyond the dark background color of the banner and becomes invisible on the white background of the page. Is there some way to use margins, padding, or line size to manage this type of situation?
What are the best tactics to use regarding font size when using CSS positioning ?
Thanks for any help on this question.Thank you for your prompt response. I will put my page on a test server when I can. But, for now, here is my code below.
I get your point about flexibility.The question is how? What are the best approaches to use? I have the sense that more experienced designers have some conventional tactics for ensuring the pages read reasonably well even when the text size is enlarged in the browsers, but I am not sure what approach might work in general.
Part of the issue with this particular design is that I am actually using a background image in the header/banner. And it has a set height:51 px. I don't want it to repeat it vertically whenever someone enlarges the text size in their browser.
Again, I would appreciate any help offered.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #000000;
#Container {
height: 600px;
width: 800px;
margin-right: auto;
margin-left: auto;
background-color: #FFFFFF;
#Banner {
width: 800px;
background-image: url(images/800x51bluebackgroundbanner.jpg);
background-repeat: repeat-x;
background-position: left top;
height: 51px;
#astandardlink {
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
color: #333399;
text-align: left;
#FlashArea {
float: left;
height: 400px;
width: 800px;
#leftBlock {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
color: #000000;
text-align: justify;
float: left;
width: 58%;
margin-right: 1%;
margin-left: 1%;
line-height: 1.5;
#rightBlock {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
color: #000000;
text-align: justify;
float: right;
margin-right: 1%;
margin-left: 1%;
width: 32%;
clear: right;
line-height: 1.5;
#Logo {
text-align: left;
vertical-align: middle;
float: left;
margin-right: 1em;
#Bannertext {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
color: #FFFFFF;
text-align: center;
float: left;
width: 30%;
line-height: 3;
white-space: normal;
display: block;
#Email {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
color: #FFFFFF;
text-align: right;
margin-right: 0.3em;
line-height: 1.5;
background-repeat: no-repeat;
background-position: left top;
margin-bottom: 1%;
padding-bottom: 1%;
.imageleft {
vertical-align: middle;
float: left;
clear: left;
margin-right: 1em;
a:link {
color: #FFFFFF;
text-decoration: none;
a:visited {
text-decoration: none;
color: #FFFFFF;
a:hover {
text-decoration: underline;
color: #CC0000;
a:active {
text-decoration: none;
color: #FFFFFF;
-->
</style>
</head>
<body>
<div id="Container">
<div id="Banner">
<div class="imageleft" id="Logo"><a href="pricinginfo.html"><img src="images/Logo177x51.jpg" alt="Darragh Logo" width="177" height="51" border="0" usemap="#Map" /></a>
<map name="Map" id="Map"><area shape="rect" coords="8,7,166,41" href="pricinginfo.html" alt="Darragh Logo" />
<area shape="rect" coords="167,39,168,53" href="#" /></map></div>
<div id="Bannertext">wines to savor with family and friends </div>
<div id="Email"><a href="mailto:Darragh Cellars, Proprietor, Andrew Aitken [email protected]">Darragh Cellars, Proprietor, Andrew Aitken [email protected]</a></div>
</div>
<div id="FlashArea"><img src="" alt="" name="FlashArea" width="800" height="400" id="FlashArea" style="background-color: #CCCCCC" /></div>
<div id="leftBlock">Darragh Cellars produces boutique wines that express a balance between earth and fruit. Our wines are crafted to provide a rich wine experience for all palates.- Proprietor, Andrew Aitken Produced & Bottled ByCRUSHPAD San Francisco, CA www.crushpadwine.com </div>
<div id="rightBlock"><a href="pricinginfo.html" id="astandardlink">Reservations & Contact Information</a>: Darragh Cellars offers an extremely limited supply of Pinot Noir and Chardonnay vintage wines. Reservations may be placed directly with Proprietor Andrew Aitken. </div>
</div>
</body>
</html> -
ECC Transaction iView Error on Browser Resize
Hello.
I have created hundreds of SAP ECC Transaction iViews in the portal. After doing some testing, I realized that any time a browser window is modified when an ECC transaction iView is within display, the resize causes the transaction iView to refresh. Upon refreshing, the transaction throws error or works as if the user submitted the transaction on the backend, instead of just remaining in the same state.
For instance, if you have an SAP Transaction iView to an ECC system for tcode QM01 and it is accessible through the Detailed Navigation, this iView can be opened either in its own browser window, or within the desktop inner page. If configured to pop-up in a new browser window and you click or drag to resize the browser window, the transaction refreshes, and throws the error: "Fill in all required entry fields." This is the same error that is thrown in ECC when a user submits the transaction with no data. Similarly, if you have the iView configured to open within the portal framework and you click on the transaction it opens in the desktop inner page. If you maximize/restore down the browser window displaying the portal, the transaction refreshes within the desktop inner page and throws this same error, like it was submitted.
It happens with every ECC transaction iView that I have created, but does not happen with SRM IAC iViews, Web DynPro iViews, or SUS functionality iViews. This leads me to believe it is a problem in ITS. Does anyone know what is going wrong, or how to fix this?
Thanks for any help!
AlexaHi,
Super admin has permission for end user for all the iViews. So he will be able to view the iView. As mentioned, please check if the end user permission is given for the end user to access the iView. Also check if the permission is given for that particular system. To check permissions, go to System Administration -> Permissions -> Portal permissions -> Portal Content. Check for iView and system that you have created.
Regards,
Harinin S -
External SWF Disappears on Browser resize
I am loading external swf's inside content_2 and when i resize my browser the external content OR content_2 disappears. Can someone help me as to what I need to do to stop this. I've tried adding an onresize function but that does not work. Here my as3 code:
scroll_sb2.scrolling("content_2", "area_2", 0.18); // Range from 0.00 to 1.00
stage.addEventListener(Event.RESIZE, resizeHandler);
function resizeHandler(e:Event):void
scroll_sb2.x = stage.stageWidth - scroll_sb2.width - 2;
scroll_sb2.y = 0;
scroll_sb2.height = stage.stageHeight;
area_2.x = stage.stageWidth/2 - area_2.width/2;
area_2.y = stage.stageHeight/2 - area_2.height/2;
area_2.y = 0;
area_2.height = stage.stageHeight;
content_2.x = stage.stageWidth/2 - content_2.width/2;
content_2.y = stage.stageHeight - content_2.height; // comment this line if you whant to remove the carrusel affect on resize browser
backgroundMC.x=0;
backgroundMC.y=0;
backgroundMC.width=stage.stageWidth;
backgroundMC.height=stage.stageHeight;
downbg_mc.x = 0;
downbg_mc.y = 0;
downbg_mc.width = stage.stageWidth;
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.dispatchEvent(new Event(Event.RESIZE));
var mem:String = Number ( System.totalMemory / 2048 / 2048 ).toFixed ( 2 ) + 'Mb';
trace ( mem );Guys can you PLZZZ Help me out with this. I've been researching this ALL day with no solution, I'v
e posted this in THREE forums and I havent gotten ONE response. Plz assist me!
ALSO..This is the action script that's in my scrollbar movie:
var sd:Number;
var sr:Number;
var cd:Number;
var cr:Number;
var new_y:Number;
var drag_area:Rectangle;
var scroll_content:MovieClip;
var scroll_content_area:MovieClip;
var scrolling_speed:Number; // 0.00 to 1.00
//.............. SCROLL BUTTON .............//
scroll_scroller.buttonMode = true;
addEventListener ( MouseEvent.MOUSE_OVER, mouse_over );
addEventListener ( MouseEvent.MOUSE_OUT, mouse_out );
function mouse_over ( event:MouseEvent ) {
scroll_scroller.alpha = 0.7;
function mouse_out ( event:MouseEvent ) {
scroll_scroller.alpha = 1;
//.............. END scroll button...........//
function scrolling( ct:String, ct_area:String, speed:Number ):void
scrolling_speed = speed;
if( scrolling_speed < 0 || scrolling_speed > 1 ) scrolling_speed = 0.50;
scroll_content = parent[ct];
scroll_content_area = parent[ct_area];
scroll_content.mask = scroll_content_area;
scroll_content.x = scroll_content_area.x;
scroll_content.y = scroll_content_area.y;
scroll_scroller.x = scroll_scrollable_area.x;
scroll_scroller.y = scroll_scrollable_area.y;
sr = scroll_content_area.height / scroll_content.height;
scroll_scroller.height = scroll_scrollable_area.height * sr;
sd = scroll_scrollable_area.height - scroll_scroller.height;
cd = scroll_content.height - scroll_content_area.height;
cr = cd / sd * 1.01;
drag_area = new Rectangle( 0, 0, 0,scroll_scrollable_area.height - scroll_scroller.height );
if ( scroll_content.height <= scroll_content_area.height )
scroll_scroller.visible = scroll_scrollable_area.visible = false;
scroll_scroller.addEventListener( MouseEvent.MOUSE_DOWN, scroller_drag );
scroll_scroller.addEventListener( MouseEvent.MOUSE_UP, scroller_drop );
this.addEventListener( Event.ENTER_FRAME, on_scroll );
function scroller_drag( me:MouseEvent ):void
me.target.startDrag(false, drag_area);
stage.addEventListener(MouseEvent.MOUSE_UP, up);
function scroller_drop( me:MouseEvent ):void
me.target.stopDrag();
stage.removeEventListener(MouseEvent.MOUSE_UP, up);
function up( me:MouseEvent ):void
scroll_scroller.stopDrag();
function on_scroll( e:Event ):void
new_y = scroll_content_area.y + scroll_scrollable_area.y * cr - scroll_scroller.y * cr;
scroll_content.y += ( new_y - scroll_content.y ) * scrolling_speed;
// END -
Java script browser resize issue
i'm building a website in dreamweaver for a friend and he
wanted the browser to resize to a specific size once the user goes
to the site. the script i have now works fine, but then when i go
to another page, the browser bounces out and then resizes. is there
a script that would just keep the browser the same size without
having to bounce out? thanks.
and click on any of the left side nav links to see the
browser quickly bounce out and then resize. thanks.How rude.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"oiruop" <[email protected]> wrote in
message
news:fpki5e$2f5$[email protected]..
> i'm building a website in dreamweaver for a friend and
he wanted the
> browser to
> resize to a specific size once the user goes to the
site. the script i
> have now
> works fine, but then when i go to another page, the
browser bounces out
> and
> then resizes. is there a script that would just keep the
browser the same
> size
> without having to bounce out? thanks.
>
> here's the link to view the issue yourself.
>
http://www.ohhello.tv/index2.html
>
> and click on any of the left side nav links to see the
browser quickly
> bounce
> out and then resize. thanks.
>
> <SCRIPT>
>
> window.resizeTo(724,1000);
>
> </SCRIPT>
>
>
> <SCRIPT LANGUAGE="javascript">
>
> var width = screen.width
>
> var height = screen.height
>
> document.write("<body
onUnload=window.resizeTo("+width+ "," +height+")>")
>
> </SCRIPT>
> -
Keeping things aligned / in place when stage / browser resized
Hi,
I'm trying to work out how to keep objects aligned when the user resizes the browser window.
I want the contents of the window to remain in view similar to how photoshop wourks when the window is resized. I also want any child components to remain "in place" relative to the position within the window.
do I have to listen for the stage resizing and recalculate the position of the child components?
Thanks
Timhi
use the layout features of flex to manage sizing/positioning of objects: http://www.adobe.com/devnet/flex/videotraining/exercises/ex1_05.html -
How to stretch and shrink with browser resize
Is there a simple way to force stretch and shrink all
components and text as the browser window resizes? I tried 100%
width and height in the application tag but that only resizes the
main container. I want to also resize eveything inside the main
container and all the subcontainers including all text and all
graphic objects. With SVG this was simple. I also tried the
"Resize" effect but again that just resized the container and not
the elements inside the container. Any suggestions would be greatly
appreciated. Thanks.Each child container is based on it's parent container. So if
you set a child height and width to 100%, it will stick to the
height and width constraints of the parent container. In other
words, you have to set the constraints from the top most parent
container, down to the bottom container and components. See this
slight modification of your example below. Setting both panels to
height/width = 100%, both panels resize accordingly as the window
is resized.
<?xml version="1.0"?>
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
creationComplete="onResize();" resize="onResize();">
<mx:Script>
<![CDATA[
[Bindable] public var thisWidth:Number;
private function onResize():void{
thisWidth = this.width;
if (this.width >= 1020){
pnl1.setStyle("fontSize", 10);
if (this.width < 1020 && this.width >= 500){
pnl1.setStyle("fontSize", 8);
if (this.width < 500){
pnl1.setStyle("fontSize", 5);
]]>
</mx:Script>
<mx:Panel title="Panel 1" width="100%" height="100%"
id="pnl1" fontSize="10">
<mx:Panel title="Panel 2" width="100%" height="100%">
<mx:Canvas width="100%" height="100%">
<mx:Button label="Submit" horizontalCenter="0"
verticalCenter="0"/>
<mx:Label text="{thisWidth}" right="10" bottom="10"/>
</mx:Canvas>
</mx:Panel>
</mx:Panel>
</mx:Application>
Changing the font size is not as easy. All I can think of is
setting the font size based on the current size of the window, as
in my example above. -
How to open a new browser resized... ?
Please, I want to make a link that opens a resixed "pop up"
window.... I can do it using the Behaviors option.. but the problem
is that whe I do it, the cursor does not change the shape from
"arrow to hand shape" so nobody knows that it is a link... ! how
can I solve this ?? thanx in advance... and happy new year !Post a URL to your page. That will make it a lot easier for
anyone to
help you
Sw Jiten skrev:
> Hi again Mista: your code was running perfect when I run
it from my PC.... it
> creates a resized popup, but after uploading my file...
when I run it ... it
> opens a browser window... not a pop up... the way I
want... why ?? Jscript is
> able... thanx...
>
Kim
http://www.geekministry.com -
I've noticed that when using a lightbox there's an error that commonly occurs. When you close the lightbox, it shifts the browser window size around 5 pixels and creates scrollbars and then shifts back. It's a small error, but looking at the code it looks like it's resizing the background when closing for some reason, and adding the scrollbars and then shifting the browser window size.
(Reposted from old forum – Since the bug is still there when using lightbox)
Is anyone with adobe gonna comment on issuse. Why would pay for Muse if there is no help from the support team when help or feedback is wanted.???I'm now getting a similar error, My website is a single page, anchor scrolled site, and so has a scrollbar at the side.
When lightbox is opened, the sidebar goes, making the site jump sideways, then back again when the lightbox is closed and the scrollbar reappears.
It's very untidy looking and I really dislike it. -
JProgressBar leaves double behind when browser resized (Applet)
I have an applet that runs inside the browser (IE). It has a progress bar. If I initially open the browser without having it maximized, let the applet load and run the program such that the progress bar starts, an then resize the window, the progress bar shows up towards the upper left corner as it should, but it also continues to show up in the space it was before, which means it is now over other components. The old "double" does not update it's value as the correct one does, but keeps the value in it that it was when it started. I am updating the progressbar using SwingUtilites.invokeLater. Please let me know any ideas you may have, or sections of code I should post to help out. Here is the code that updates the panel
private void updateStatus(final int i, final JProgressBar progressBar)
Runnable update = new Runnable()
public void run()
progressBar.setValue(i);
SwingUtilities.invokeLater(update);I am not moving the progressbar. It resides on a panel in my applet.
My applet's contentpane has a border layout. In the WEST position, I have a panel. This panel also has a border layout. It has a JList (in a scroll pane) in the CENTER position, and it has the progressBar in the NORTH position:
nodeListPanel.add(nodeScroll, BorderLayout.CENTER);
nodeListPanel.add(listProgress, BorderLayout.NORTH);The progress bar moves when the browser window moves. The details should be done by the layout manager. All of my other components appear correctly after the window is resized, only the progress bar leaves a double.
The only difference between the progress bar and my other components, that I can think of, is that it is, of course, constantly updated, whereas the others are updated at one particular instant in time, which is unlikely to coincide exactly with the resizing of the window.
Here is the code that starts the process that updates the progress bar.
* Gets the List of Nodes of all nodes in the database.
private void getNodeListData()
Runnable r = new Runnable()
public void run()
Runnable r2 = new Runnable()
public void run()
//disable some buttons
filteringList = true;
nodeList.clear();
SwingUtilities.invokeLater(r2);
Creator create = panel.getCreator();
final Vector newNodes = create.getAllNodes(apply, listProgress);
Runnable r3 = new Runnable()
public void run()
nodeList.setData(newNodes);
filteringList = false;
//Enable some buttons }
SwingUtilities.invokeLater(r3);
Thread getNodes = new Thread(r);
getNodes.start();
return;
} -
Centering content on browser resize
Hi. I have my main flash .swf set to 1024 x 700 pixels. I
have a movie clip that goes from one end to the other at the bottom
and another movie clip at the top (which I want centered). Plus, I
want the bottom movie clip to resize when the browser window is
resized. I don't want the top movie clip to resize at all. Is this
possible?
I manually changed the width and height of the .swf in the
source code to 100%. But the main .swf does not resize when the
browser window resizes.
Here's my code for the main .swf:
Stage.align = "TL";
Stage.scaleMode = "noScale";
sizeListener = new Object();
sizeListener.onResize = function() {
trace (Stage.width)
trace (Stage.height)
Stage.addListener(sizeListener);
What code do i put for the bottom movie clip?What do you mean by "registered on the left" for my movie
clips? Where x=0?
I added the code you gave me to my bottom movie clip and it
squished my bottom movie towards the center of the stage. When I
tried to resize the browser window, the movie clip didn't resize
with it. Nor did my browser have any scroll bars.
Any idea what I'm doing wrong? -
Hi All,
I am facing a problem in my flex application.
The problem is whenever the browser is resized i am not getting any scroll bar in the flex application .
I have enabled the scroll policy in my application .
But i am not getting any scroll bar.
Should i need to activate the scroll bar of the browser ?Hi
To enable Scroll in your application use horizontalScrollPolicy="
on" verticalScrollPolicy="on"
on your Application tag.
If the width of your application exceeds the width of your window screen then the scrollbar will come.
Hope this helps -
Browser resizing displays mobile site
Has anyone been able to use a script that will display the mobile version on a desktop when you minimise the width of the browser window on a desktop?
I appreciate Muse uses its own code for redirecting but only does it when you use the actual device.
I like the idea of demonstrating this kind of responsiveness on a desktop without telling a potential client to view it on their mobile.
Regards
AlanIf you're using CSS Media Queries, you'll need some scripts or Conditional Comments to help older, lesser browsers along. Since no mobile devices use IE8 browser, this usually isn't a significant problem. Just feed pre-IE9 a fixed width, centered layout and you should be OK.
Nancy O. -
Refreshing problem on browser window resizing
Hi
I know this problem is quite common and a lot of people tried to solve this. So meybe someone could give me some info how to make an applet to be properly shown after browser resizing? Now it looks awfull, the part with buttons and textfields seems to be repainted correctly but sometimes is covered by Image object that is supposed to be in one place - but seems to travel around the page during resizing and moving browser window from one side of the screen to the another.
Can anybody help me, please?
aniaThe way I personally do this is to set the entire page into one large Table, with a width of 100%.
If you are already using tables within your code, then you need to be sure you don't have any large width= values set. Also, if your site has fancy graphics, you need to find somewhere on the page to allow some 'stretching' of those graphics.
Here's a quick example of a page that will automatically adjust based on screen size (remember, just because they are viewing at 1280 x 1024 resolution doesn't automatically mean that their browser is maximized.. it could be reduced/resized on their screen to smaller dimensions - this code will fix that)
<table border="0" cellspacing="0" cellpadding="4" width="100%">
<tr><td bgcolor="black"><font color="white"><b>This could be a navigation area<Br>Just putting it here for demonstration</b></font></td>
<td width="100%" bgcolor="silver"><font color="black"><b>This could be the main area, and since it has a width of 100% it will stretch horizontally based on how much actual screen space is available on the viewers browser window</b></font></td>
<td align="right"><font color="navy">This is a right column, and since it is set to 'align=right' it will allow the center column to strech back and forth</font></td></tr></table>
By experimenting with setting the width= attribute on different columns, you can get different results. Just remember to set the main table width at 100%, and be sure t have at least one TD that has a width of 100% and you should be good to go
WHeis -
How can I resize my Flash site to fit any screen resolution?
I built a 100% flash site with tiled framing but I have a
problem. My flash was built 766 x 750 pixiels. When viewed at
resolutions greater than 1024x768 the webpage looks great but
anything less than that it looks like @#$@. I know most people
probably view at 1024 x 768. Is there anyway to auto resize based
up on screen resolution or something to detect the screen size and
adjust the webpage accordingly.
www.platlimosvc.com
Below is my html (index.html) for my flash movie:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>Untitled</title>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<link href="style.css" rel="stylesheet"
type="text/css">
</head>
<body>
<table cellpadding="0" cellspacing="0" border="0"
style="width:100%; height:100%">
<tr>
<td valign="top" style="width:100%" height="750">
<table cellpadding="0" cellspacing="0" border="0"
width="766" style="height:100% " align="center">
<tr>
<td valign="top" width="234" style="height:750px ">
<object
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swfl
ash.cab#version=6,0,29,0" width="766" height="750">
<param name="movie" value="flash/xxxx_main.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<!--[if !IE]> <-->
<object data="flash/xxxx_main.swf"
width="766" height="750"
type="application/x-shockwave-flash">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="pluginurl" value="
http://www.macromedia.com/go/getflashplayer">
FAIL (the browser should render some flash content, not
this).
</object>
<!--> <![endif]-->
</object>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="width:100%; height:1px;
background-color:#6C6C6C">
<table cellpadding="0" cellspacing="0" border="0"
style="width:100%; height:1px">
<tr>
<td valign="top" style="width:50%;
height:1px"></td>
<td valign="top" style="width:766; height:1px">
<table cellpadding="0" cellspacing="0" border="0"
width="766" style="height:1px ">
<tr>
<td valign="top" width="766" style="height:1px
"></td>
</tr>
</table>
</td>
<td valign="top" style="width:50%;
height:1px"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" style="width:100%; height:100%">
<table cellpadding="0" cellspacing="0" border="0"
style="width:100%; height:100%">
<tr>
<td valign="top" style="width:50%;
background:url(images/bottom-3.gif) top right;
height:100%"></td>
<td valign="top" style="width:766;
background-image:url(images/bottom-5.gif); height:100%">
<table cellpadding="0" cellspacing="0" border="0"
width="766" style="height:100% ">
<tr>
<td valign="top" width="766" style="height:100%
"></td>
</tr>
</table>
</td>
<td valign="top" style="width:50%;
background:url(images/bottom-4.gif) top left;
height:100%"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>tlcarl,
> I know most people probably view at 1024 x 768.
You think so? Even if they have their resolution that high
(which is
fairly standard, nowadays), do you think most people maximize
their browsers
to fill that whole area?
> Is there anyway to auto resize based up on screen
> resolution or something to detect the screen size and
> adjust the webpage accordingly.
There is, indeed. :) Check out the Stage.onResize event in
the
ActionScript 2.0 Language Reference. That event is dispatched
when the
browser (or whatever container) is resized -- in cases where
the SWF is
embedded with percentages. If that's your aim, you'll need to
code against
that event, which can be done like this ...
http://www.quip.net/blog/2006/flash/how-to-position-movie-clips-browser-resizing
It can take a bit of thought, depending on the complexity of
your goal,
but the result is usually worth it. The site in your URL is
already built,
so this wouldn't do much of anything without opening the
hood, so to speak,
and completely rebuilding the engine. A Flash movie has to be
designed and
programmed to respond to the Stage.onResize event.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design."
Maybe you are looking for
-
Download link to upgrade AppWorld does not work on BB9900
Hi, I just got a new BB9900. When I opened AppWorld I got the message that I needed to upgrade to a newer version of AppWorld. I clicked the link to open the BB site in my browser, and clicked through on 'update today', I then end up at download si
-
Enable Reader users to save form from Acrobat Pro 6
I've found details on how to enable Adobe Reader users to edit & save forms when you use Acrobat Pro 8 or 9, but I can't seem to find anything on how to do it when you use Acrobat Pro 6. Can anyone help? ~ Taya
-
R6034 C++ Runtime Error
If I remove itunes and re-install it, will I lose my library?
-
I have been having some computer problems with my mac. I came across tune up my mac one day and I downloaded it but it was only the trail version. Once it was done running you had to purchace it. Is there someplace where I can get a full version do
-
My MBP refuses to upgrade its firmware
Hi I have a MacBook Pro whose firmware requires to be upgraded. The system info says indeed: Versione Boot ROM: MBP22.00A5.B01 Versione SMC: 1.12f5 but, once the MacBookProFirmwareUpdate starts, it says that no firmware update is needed. Can anyone h