A Flash Developer Resource Site

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    54

    Actionscript for video player

    Hi, I'm trying to add 2 or three separate video players to my site but cant get them to play, I believe my answer lies in the lack of action script on the players, I could use a simple step by step setup for this.
    I'm using Flash CS5 any help would be greatly appreciated.
    K

  2. #2
    Member
    Join Date
    Sep 2006
    Posts
    54
    Or maybe just the loading code that goes on the layer with the player

  3. #3
    AS2 Coder
    Join Date
    Mar 2010
    Posts
    607
    Are you using the FLV Playback component, or a made by you player? If is the first, just add 3 Flv playback components from the component panel in Windows > Components , put different instance name to them "player1" "player2" and so on, and specify the video file to load in the corresponding player in the Component Parameters on the Properties Panel where it says "contentPath". There browse for your video files and finally, after contentPath you will see your video file complete directory eg: contentPath: C:\Desktop\MyVideo1.flv

    Hope that helps
    - Something better now, let's code! )

  4. #4
    Member
    Join Date
    Sep 2006
    Posts
    54
    That dones the trick thanx.

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