A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: video background

  1. #1
    Junior Member
    Join Date
    Feb 2010
    Posts
    17

    video background

    Hi

    Does anyone know away to get a looped video sfw file in to the background of an html webpage like this http://byblos.hr/ but with css over the background instead of Flash?

    Thanks

  2. #2
    Developing For Dunkets mneil's Avatar
    Join Date
    Mar 2007
    Location
    Lincoln City
    Posts
    2,156
    Yes, but it's much more involved than few posts in the newbies section will get you!

    You'll first need to build your fla file and import your video. You won't want to use the video component in flash. Instead, you'll need to look into loading a movie into a adding a video instance in the library and then attaching an flv file to it and playing it with actionscript. Creating a video object and adding it to the stage and using attachVideo will get you started there.


    You'll also need to scale the movie to 100% of the screen resolution. So you'll need to use stage listeners and onResize().

    Lastly, you'll have to know enough about how flash is displayed in the browser and what css can get html over top of the movie. Flash will need to be embedded as transparent and then you'll have to use positioning to pull your html content above flash.

    I know this is very vague but there are a lot of steps to get to where you're going. I'd suggest with starting with getting video to play in flash using actionscript.
    http://code.mneilsworld.com/
    Text Effects | Bubbles | Dynamic Resize
    4 weeks , 20 papers ... thats 2 dollars .....Caassshhh!

  3. #3
    Junior Member
    Join Date
    Feb 2010
    Posts
    17
    hmmm, thanks for the insight mneil, unfortunately that sounds way out of my Flash knowledge base. I suppose there's not a tutorial anywhere or maybe a mix of tuts that can get me there?

    thanks

  4. #4
    Developing For Dunkets mneil's Avatar
    Join Date
    Mar 2007
    Location
    Lincoln City
    Posts
    2,156
    I always recommend
    http://www.gotoandlearn.com/

    That place, I don't think, will not have exactly what you're looking for. However, it will talk about the stage listener, full screen flash, and video. And, they're video tutorials that all actually work so you don't get to the end and find out the tut was junk.

    I would suppose that if you watched all of the videos there you could go from beginner to intermediate or so. Maybe that will help you?
    http://code.mneilsworld.com/
    Text Effects | Bubbles | Dynamic Resize
    4 weeks , 20 papers ... thats 2 dollars .....Caassshhh!

  5. #5
    Junior Member
    Join Date
    Feb 2010
    Posts
    17
    Thanks, I'll give it a try.

Tags for this Thread

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