A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Loading External FLVs From Server

  1. #1
    Junior Member
    Join Date
    Nov 2008
    Posts
    3

    Loading External FLVs From Server

    Hi,
    I am completely new to Actionscript 3.0, although I have some experience with 2.0. What I'm trying to do is have a series of buttons at the bottom of the page that each load up a different FLV file from my server in the same place at the top of the page when a button is rolled over.

    I've figured out how to get a button to recognize it's been rolled over with actionscript, but I can't seem to figure out how to load up external FLVs from a server on rollover. Can someone point me in the right direction where I can find this code?

    I'm not even sure I'm going in the right direction. Maybe I should be loading the FLV into a blank movie clip and then calling the movie clip on rollover?
    I tried directly placing a movie clip with the FLV embedded in the rollover state of a button, but the FLV never loaded and it seems like a ridiculous way to do it anyway.

    Thanks for any help!

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    You can use the source or load function.

    componentname.source="movie.flv";
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    3
    Thanks, that helps; I'll give it a try.

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