Hi everyone,
I needed borderless video in as3.
I tried
video.width = stage.stageWidth; video.height = stage.stageHeight;
and in html page, I set width and height to 100%;
the video is stretching with the size of browser. but , still there is thin html border around video.
I don’t want that. I want video to fill whole browser window, just like a image background.
I tried
stage.scale = “noScale” and “exactfit” but, problem remains.
Is there anyway by which I can do that?
please help me.
thanks in advance.
Did you try to put margin: 0; in your html?
- Author was Featured
- Bought between 1 and 9 items
- Europe
- Exclusive Author
- Has been a member for 5-6 years
- Referred between 100 and 199 users
- Sold between 50 000 and 100 000 dollars
yeah, you need to edit the css. Try setting the margin and padding to 0.
css is not solving the problem. anything else I can do?
Got an example so I can see? I will try to help.
css
flashcontent
{ float:left; width:100%; height:100%; margin:0; padding:0; }
I want the video to fill the fullscreen, there should be no black border around it.
rahulbist said
cssflashcontent
{ float:left; width:100%; height:100%; margin:0; padding:0; }
I want the video to fill the fullscreen, there should be no black border around it.
#flashcontent
{
float:left;
width:100%;
height:100%;
margin:0;
padding:0;
border:0;
border-thickness:0;
}
try that 
thanks codeempire 
you rock dude
. its working.
thanks a lot

rahulbist said
thanks codeempire![]()
you rock dude
thanks a lot. its working.
![]()
![]()
My pleasure

