A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Flash Video Background in my Website...

  1. #1
    bAUHAUS
    Join Date
    Jul 2010
    Location
    Eagle Pass TX
    Posts
    2

    Smile Flash Video Background in my Website...

    Hi there.

    I've been trying to make a flash website with a video background; I've been trying to use the FLVPlayer with no controls, but theres no loop option nor resize...all of my work is on Flash CS3

    I'll be very grateful if one of you flash gurus help me to get this together.

    Thanx.

    Here's an example of what I want to do: http://www.matter.to/

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    2,849
    If you're using Actionscript 3, it should be a matter of making your player the same size as your stage and embedding it in the page at 100%. Say you gave your player an instance name of "videoPlayer", the code would be:

    Code:
    import fl.video.VideoEvent;
    videoPlayer.addEventListener("complete", startAgain);
    function startAgain(e:VideoEvent):void{
    	videoPlayer.play();
    }
    That'll make it loop.

  3. #3
    bAUHAUS
    Join Date
    Jul 2010
    Location
    Eagle Pass TX
    Posts
    2
    Thanx a lot! I really appreciate it...is there a way that the video resizes depending on the browser resolution?

    Thanks again have a party weekend!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center