Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Border Around HTML



How do you get the border of the browser to fit exactly around a flash site? Do you do it in flash, or in the html?



FlashKit > Flash Help > Flash Newbies
Posted on: 03-30-2002, 01:38 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

SWF Has Border In Html Page
I have an html page sized the same as the swf file but when the page loads there is a border on the top and left side of the page causing the image to be shifted and losing part of it. The swf is 1000x600 pixels. I have a component that I got off another site that basically lets you name a button then just drag the component onto the stage and tell it that when you click so called button it will pop up the page you want with the right dimensions specified. It does all this but it just has this little border that needs to go.

Is their another way I should try?

Thanks
kcorp

Html Default Border.......
when you insert anything into a html document....picture/movie...

whatever it seems that there is a default border around the element...

is there a way to get rid of this default border so that the element comes directly to the edge of the browser....

please help...

thanks...


Cullen

Flash Has Border In HTML
hey guys,
i want to place a swf file between two png files in a html doc, so that they all look like one piece.
but the swf file has a border around it so that it doesnt connect to the images files.
when i use three png files its fine and it looks like one piece, but the swf file seems to break it up.

how can i get rid of this border? i tried adding, "scale = noborder" but that didnt work.

if you have any advice, or if you need more information let me know.
thanks guys
Ross

Flash HTML Border On IE?
Hi All,
I have a menu that over laps html with this current code....


ActionScript Code:
<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><tr><td>
 
 
                <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
STYLE="POSITION: absolute; TOP:5;VISIBILITY:VISIBLE; ZINDEX:2"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"
width="755" height="350" id="menu" align="middle">
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="movie" value="flash/menu.swf?t=1" />
                <param name="quality" value="high" />
                <param name="wmode" value="transparent" />
                <param name="bgcolor" value="#ffffff" />
                <embed src="flash/menu.swf?t=1" quality="high" bgcolor="#ffffff" wmode="transparent"
width="755" height="350" name="menu" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
                </object>
 
 
 
            </td></tr></table>


For some reason... on some machines i get this little border around the flash movie in the browser. Only applies to a certain few and lucky me... my client's browser does it.

Does anyone know why? or how come this little issue occurs?

Additional info:
If you roll over the movie area it appears, if you click the movie it goes away untill the page is refreshed.

Thanks All,

Html Center Flash Border
i was looking to make a site, with a flash border all around the outside of an html block in the center, which would act as the viewing area using "iframe" code. what would be the easiest way to do this? just ake little blocks of flash around it? or is there a way to make a box in flash that would act as an iframe and could load html files?

Html, Embedded Flash, No Border
id like to place my swf in the upper left corner of the browser. there's normally a ~10 pixel border. possible? how? thanks a bunch.

How Do I Remove The Border Around My MX Content I HTML
Im getting a border around my embeded MX content.
I know you could have this problems when using HTML.

i recall there was some comands to remove the borders i HTML, so that my Flash content fully fits in my popup window.

i think that should resolve it!?

but i cant remember the HTML tags to eliminate the borders or where to put em. Can someone refreshen my memory!??

Removing The Flash Border In HTML
Hello there,

Does anyone know if it's at all possible to remove the, clear, dotted border around any Flash in a HTML document? I've seen several websites which don't have the border around. I've created a Flash menu for my website and having the border makes this difficult, one has to click on the menu then one has to click on the button to lead them to where they want to go.

Regards,

Kristopher (UK).

Flash Object In HTML - No Border?
I have a flash site which is being published into HTML right through FLash. It's on 100% but I can still see a little borders all the way round. I managed to include <body leftmargin=0 rightmargin=0 marginwidth=0 marginheight=0> which does the job but it only works in Firefox, not IE(ver.7).

Is there a way how to use ActionScript/JavaScript in flash to make it appear on REALLY 100% of the window?

Thanks for help.

Removing Border In HTML Page
Hi all,

I have a flash movie, embedded into my HTML document, all is fine and dandy, but there is a white border on the right hand side of the move, and black lines, bottom and i think on the top, but not on the left.

http://www.cerulean.co.uk/Web2/HarrisDev/pages/photo_frame.htm

CODE                  <!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" id="slideshow" align="middle" border="0">
<param name="allowScriptAccess" value="sameDomain"  />
<param name="movie" value="slideshow.swf"  /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="slideshow.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="slideshow" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

How Can I Get Rid Of This Border And Side Scroll In My FLash HTML
Hi ALl !!!

Please check the following link:

HOw may i get rid of the white border (true fullscreen) as well as get rid of that scroll at the side there

javascript:NewWindow=window.open('http://www.kevro.co.za/emercial/streamtech3.html','KEVRO','width='+screen.availWid th+',height='+screen.availHeight+',left=0,top=0,to olbar=No,location=No,scrollbars=No,status=No,resiz able=No,fullscreen=Yes'); NewWindow.focus(); void(0);

Many many many thanks to anyone that can help me..

Cheers !!!

Loomster

Border Around Flash Image In Html Table, Shouldn't Be There
On this page:

http://www.techartisans.net/speedMin...php?flash=true

you will find a table which includes one flash image. For some reason the flash image appears a pixel or two smaller than the table cell it is in, and so there is a dark blue border around it (it was a white border until I set the background color of the flash to dark blue). The cell is 326 pixels in height, and colspan=2 so it never actually says it is 360 wide, but it is. The flash image is also 360w x 326h.

I played around with adjusting the size of the flash but it didn't change much, just made the border slightly skinnier or fatter. I also took a good look at the widths and heights of the table cells, and they are all correct.

One strange thing was when I took out the spacer row that Flash creates when it publishes the html. The whole thing went out of wack, nothing matched up, even tho the widths and heights are correct. It's all just weird.

Any ideas why this might be happening, and how to fix it?

Thanks, Emily

Html In Flash Table Border And Cell Background Color
how can I add a border, and or background color in the cells, to this table?

var rowHeaders = "<b>Quantity </b><b>Price($) </b><b>Re-order Price($)";
var row_1 = "300 1180 705";
var row_2 = "500 1280 755";
var row_3 = "1000 1475 1175";
var row_4="2000 2370 2070";
var row_5 = "3000 3350 3050";
var row_6 = "5000 4650 4350";
var row_7 = "10,000 7999 7699";
table_txt.htmlText = "<textformat tabstops='[100, 200]'>";
table_txt.htmlText += rowHeaders;
table_txt.htmlText += row_1;
table_txt.htmlText += row_2 ;
table_txt.htmlText += row_3 ;
table_txt.htmlText += row_4 ;
table_txt.htmlText += row_5 ;
table_txt.htmlText += row_6 ;
table_txt.htmlText += row_7 ;

thanks B

How To Put A Solid Color Border Outline On A Table (without The Shadow Effect, Html)
I just wanna know how to put a solid, hairline black border around a table... even better, around a <td>. All i know how to do is the border with the dumb shadow thing. If anyone could help me, itd be appreciated =D

Removing The Border And Controling User(s) Window Size When Publishing To HTML
Is anyone familiar with a method of removing that ugly border one get's when publishing to html... furthermore is it possible to control the size of the window that pops up when someone types in your URL or clicks on a link that goes to your site?

Linux: Unwanted Black Border On Left And Top Border In Mozilla
hello to all!
As the subject say, I'm having a visualization problem in Mozilla or Galeon (linux). It display an unwanted 1px black border on the top and left of the movie. I have tried any kind of publishing settings and changing the canvas background but seems doesn't solve this weird problem.
In konqueror it display well.
I have tried also changing the margin or paddings in css but without any result.
Any advice?

RE - Adding Border To Shape After Deleting Border...
I have a shape, a rectangle that I drew on my stage with a thin line border. I deleted the border, but now I decided that I'd like to add the border back. When I go to click on border - it gives the red slanted line symbol for no border. When I click on that and then click on a swatch, it just defaults back to the red line - meaning no border.

Is there a way to simply re-add the border without having to redraw the shape from scratch?

Thanks to anyone who can help.

No Border
somehow when I publish my fla. it is supposed to be bleeding out of the page but there is this horrible border there...I don't know what to do anymore...
I published as "match movie".

Thank you in advance

? Jpg Pop-up Border ?
On my website I have thumbnail images which I have load a Chromeless pop-up containing the larger image when clicked.(larger image is a jpg )....

Ok Great Flash Knowing people this is the part where nobody comes up with a solution !!

The problem is with the large jpg's which are launched in the pop-up's !! The image's have a border round the leftside and top?
No matter how much I try and fine tune the size of the pop up, the border remains .

Obviously there must be a solution because loads of sites us pop-up jpgs, which fit perfect etc etc..

I presume I just need to add some code somewhere to alleviate the problem....... but what code do I use ? and where do I put it ??

Can anyone please help... this has been a proper pain in the arse for ages.

cheers....

No Border
Can someone give me the html tag for no border?

Need To Get Rid Of Border
there seems to be a border around my movie. i have a window that pops up the exact resolution of my movie, and there is black to the left and on above the movie, and the movie is pushed down to the right, so part of it is cut off. how do i get rid of this so it will size exactly into the pop up window?

Add Border
I would like to add a a black border to my mc.

Whats the script to add a border and how do you set its
size?

onClipEvent(load)
{storeX = this._x;
storeY = this._y;
storeW = 130;
storeH = 100;
}
this._width = storeW;
this._height = storeH;
}
on(press)
{this.swapDepths(1000);
this._x = -2;
this._y = 26;
this._width = 469.5
this._height = 323;
}
onClipEvent(mouseUp)
{this.swapDepths(-16838);
this._x = storeX;
this._y = storeY;
this._width = storeW
this._height = storeH
}

No Border?
I need to put a swf in a new pop up window with no scroll bar and toolbars. I know how to make a window pop up. But when I place the swf file into the window, it leaves a small border thats about 3 pixels on the left and top. Is there a way for me to get the swf file to fit exactly into the window? thanks in advance

Border
anyone know how to get no border and no menue around projector file?

Why - Oh Why...can't I Get Rid Of Border In Pop Up? Anyone...?
Hi there,
just finished 2 flash presentation for a fashion designer, can't seem to get anywhere with controlling the size of my pop up window..... :'(

I'm using the script Viper32817 gave me on here ages ago, it always works but at the moment I'm stuck... it's a bit of java script that gets called from the flash button and lets me control size and positioning, as well as the scrollbars etc...

The problem is now that I have entered the exact same size as the flash movie for the pop up window but there's always a small border (maybe about 2-3 pixels) around it no matter what I do...
The thing is that for the 'diva' selection I am starting off with pink as main colour but the finish is blu, so on end of movie the border does look very ugly....

If anyone could spare me a sec and have look at what I mean:
http://www.graphiceyedea.co.uk/venol/nicolerenee
(the actual site is not mine, only the flash presentations)

Any thoughts, tips or links would be greatly appreciated, don't know what to do anymore....
hoping for a solution to this headache...
Prisca

Cant Get Rid Of Border
HI,
Ive figured out how to get a movie to fit to screen but I cant figure out how to get rid of the border around the edges. Heres an example of what I'm talking about http://exquisitelycheap.com/untitled-2.html.
Thanks

Getting Rid Of Border
hello

i have managed to open a html file fullscreen however i have the flash background color border down thel eft hand side and along the top. Is there anyway of getting rid of this.

thanks

Where Does This Border Come From?
When I publish my site I get this white border about a cm think from the left and top of the screen. The site i've designed is to sit flush from left to right of the browser window and from top to bottom. So why do I get a white border pushing all my site in a cm?? I've gone through every publishing combination I can and re worked my design but nothing works. Any suggestions as to eliminating the nasty white border would be great
cheers

I Can't Get Rid Of The Border Help
I don't understand why a black border appears on my movie clip. I am attaching the FLA here if anyone can help I would REALLY appreciate it.

1px Border
Yet another question: How can I get images to have a simple black (or white) 1 Pixel border and have the .swf file display that correctly? So far when I do that (the border is drawn in photoshop and imported to flash as .png) in the resulting .swf the image will have a border on two sides and none on the other two. I suspect that's due to jpeg compression?
I could draw a box in flash and match that to the image, but that looks like too much work for a lot of images.
I could raise jpeg quality, dunno if that works, but wouldn't be satifactionary due to loading time.
Any other ideas?

Getting Rid Of The Border Around Pop-ups
Hi

I want to open a movie in a pop up which is exactly the same size as the movie ie when I do it now there is a border of around 18px around it.

Is there a way of getting rid of this border??

cheers Max

Box Border
I'm a SUPERNEWB and I was wondering what it's called when a line starts at one point and continues all the way around and end at the same point creating a box.

Better yet a link to a tutorial would be cool. I don't know what that effect is call so I'm having trouble doing a search.

This might be totally wrong, but my idea was drawing the box then making a radial swipe as a mask, kinda like when PacMan dies, but in reverse.

Border
I would like to make a border in flash that i can move like a frame. this way I don't have to move everything around to change what is seen, i can just change/move the border. I need the actionscript to do that though... which I do not know. If there'anyone out there who knows it and can post it, or knows the link in FlashKit, please help me out.
thanks a lot.
Slicey

[F8] Get Rid Of Border Around Swf
I know this has been I asked several times and I've followed the suggestions offered but can't get it to work. I want to get rid of the border so the swf fits snugly in the browser with no scroll. I don't know html, so any help you provide will be appreciated. I have published from Flash and tried adding this...<BODY ... MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0" LEFTMARGIN="0" RIGHTMARGIN="0" BOTTOMMARGIN="0" SCROLL="NO">...to the html page generated by Flash, but no luck. Any suggestions? Thanks in advance.

Border
Read quite a few related threads on white border around the flash movie and tried a couple of suggestions.

I still unable to get around this problem.

1. I have a JPEG file which is 800x100 size at top of page.
2. My flash publish setting is 800x600.

Added below to the HTML
<BODY bgcolor="#FFFFFF" leftmargin= "0" topmargin="0" marginwidth="0" marginheight="0">

but the white border persisted.

Can someone please advice.

Thks in advance.

How To Get A Border ?
I'm using Flash Professional 8. I'm using the attached code to play a couple FLV files locally with the FLVPlayback component. Everything works fine but I would like to have a border around the movie just as a nice finishing touch. I tried to do this programatically but it does not show when previewed. Is there a way I can do this - I don't mind creating a border and loading it from the library if that is part of the answer. Thank you very much.










Attach Code

my1_btn.onRelease = function (){
myPlayer.contentPath = "JSDemo14.flv";
}

my2_btn.onRelease = function (){
myPlayer.contentPath = "s3.flv";
}

Border?
How would I make a 1 pixle border around my flash movie?

Without The Border
Hi guys
All i need to know is how to create a stand alone clock without the
windows frame outside...
Please help.........................
:h urt:

Mc On The Border
How can I attach a mc to always stay on the right (left, bottom, or top) of any given movie clip (without scaling with it) no matter what scale or position a given movie clip has? Similar to the loading percentage text found on:
http://www.okflavor.com/heliozilla/HELIOS.html
go to the print section, then go to the metropop cover and _hopefully_ it loads slow enough for you to see how the preloader works.


thanks in advance
-seth

Border
I want to be able to create a border like this site: http://www.variavelm.com/
around the flash site, does anybody know of a good tut or is it easy enough to post here? Thanks!

Swf Border?
Hi,
I have a set of images on my web site, some are .swf and some are .jpg. I have them set in a

table and they work OK only I want a border around them, with the .jpg I can get a border with

the script below but I cant get a border around the .swf.
does any one have any ideas?

<tr>
<td>
<img src = "imagesp4.jpg" height="500" width = "500" border = "10">
</td>
</tr>

<tr>
<td>
<embed src = "imagesp11.swf" height="500" width = "500" Type =

"application/x-shockwave-flash" border = "10">
</td>
</tr>

Border Around My Web Paes
Hi
quite simple one (i hope )
everypage i make has a black border around it
how do i delete it/ make my webby fill the page?
take a look at http://www.clan-vatu.cjb.net

thx
lev

Border Troubles
No matter what alignments I select when I try to publish my full screen flash movie, It always creates a small border to the top and left of the movie. All I want is no border, IS there a way to turn this off?

Erasing The Border
When you publish the flash movie how do you erase the border? Every flash site I see has one-to me it's annoying.
Amordicai

THIN Border
I have an irritating problem. Whether it is a newbie thing or not - im not sure. I like to create a thinner border on a table (using dreamweaver ultradev) - that is less than "1".

I really hope there is someone how can help me even if it doesnt have anything with flash to do....

Thanks guys

Can You Get A Border Around Text?
Not exactly sure how to do it....What am I missing?


Thanks!

Michael

Border Round .swf
Anyone know if there is a way of applying a stroke or a border to a .swf?

I want to embed the movie and have a neat hairline border around it. Maybe it's an html issue, but if I new that I wouldn't be here!

Any thoughts appreciated!


telekin:
__________________________________________________ __________

Border On Flash EXE
I know that there is a software to Director that put a special border/frame on the Director projector. Some like you can create a border like a TV and the projector will use the center area to show the content of director file. There is something like that to put border on flash exes (projector) ?????

Copyright © 2005-08 www.BigResource.com, All rights reserved