1568 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
rahulbist says

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.

1 post
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Sold between 100 and 1 000 dollars
  • United States
deCatch says

Did you try to put margin: 0; in your html?

1549 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 6-7 years
  • Referred between 100 and 199 users
  • Sold between 50 000 and 100 000 dollars
dSKY says

yeah, you need to edit the css. Try setting the margin and padding to 0.

1568 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
rahulbist says

css is not solving the problem. anything else I can do?

556 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Sold between 1 000 and 5 000 dollars
  • United States
ThemeScience says

Got an example so I can see? I will try to help.

1568 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
rahulbist says

hi codeempire,

here is the image

image
Image

1568 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
rahulbist says

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.

556 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Sold between 1 000 and 5 000 dollars
  • United States
ThemeScience says
rahulbist said
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.

#flashcontent
{
float:left;
width:100%;
height:100%;
margin:0;
padding:0;
border:0;
border-thickness:0;
}

try that :)

1568 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • India
  • Referred between 1 and 9 users
  • Sold between 100 and 1 000 dollars
rahulbist says

thanks codeempire :)

you rock dude :). its working.

thanks a lot :) :)

556 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 10 and 49 users
  • Sold between 1 000 and 5 000 dollars
  • United States
ThemeScience says
rahulbist said
thanks codeempire :)

you rock dude :). its working.

thanks a lot :) :)

My pleasure

by
by
by
by
by
by