AS2 CS3: Video Player Class w/ NetStream Video Object

is it possible to use the properties of the videoPlayer class
with a video object that is not wrapped in a flvplayBack component.
I am having trouble using the maintainAspectRatio property with my
current video object. Additional question, If you use a flvPlayBack
component are you forced to use a skin for the controller or can
you use a controller that was built in the swf of the video
object?

somethin

Similar Messages

  • Video player won't display video after OS update

    Just installed new OS update on my Z30. Video player will not display video but I have audio 

    Hi and Welcome to the Community!
    Hmmm..."just installed"...hmmm...how long ago please? And have you conducted several reboots since, and let it "settle" for about 48 hours?
    Also, "new OS update"...can you be more specific please? Each user is separately controlled (usually by their own carrier) as to what OS they receive, so "new" for one may not be the same version as "new" for another.
    Let us know.

  • Hi, Could you please suggest a video player, that support all video formats?

    Hi, Could you please suggest a video player, that support all video formats?

    This is probably as good as it gets:
    https://itunes.apple.com/app/media-player-playerxtreme-hd/id456584471
    You won't find anything that plays "all video formats", because of the restrictions built into the iOS.

  • Using a custom video player (skin) for Event Videos?

    Hi
    I'd like use something other than the 9 standard video skins that come with Captivate 6 (Halo, Clear and Corona). Is it possible to use a custom video player or at least a different skin for an Event video?  And, if so, does anyone know where I could find a collection of custom skins (free or otherwise)?
    Thanks
    Paul

    Well sure enough, that WPF MediaKit indeed uses D3DImage for the WPF interop. In fact he does things very similar to me except mostly he seems to use DirectShow whereas I'm 100% Media Foundation. Maybe should rethink that... If only DirectShow had H264
    support in Windows 8. Stupid licensing issues. Anyway thanks again for that link.

  • Video Player doesn't respect video aspect ratio

    I've noticed an error with the way the video player handles .m4v playback.  The playback aspect ratio is wrong.  The pre's screen ratio is 1:1.5 and the video is vertically stretching non 1:1.5 playback inappropriately.  I'm not talking about the auto zoom feature (bottom right button while video is playing).  
    For example, I have tropic thunder which was created with x264 with a DAR of 1.19:1.  I took the original 16:9 video and removed the black border on the top & bottom prior to the encode.  On the iPod Touch & Sony Video Walkman (NRZ series), they correctly display the aspect ratio with the same file being used on the Pre.
    The Pre should be *reducing* the vertical size of the video to match the DAR of the Pre's screen, but it isn't- and that results in people looking vertically stretched when they shouldn't be.
    Travis
    Post relates to: Pre p100eww (Sprint)

    I do the same but there is a difference between SAR & DAR. When your application is resizing the video, the SAR is used by the encoder and dictates how many pixels needs to be present at a specific x or y quantity when resizing. That ratio is stored within the movie. The DAR of the display device has to be taken account by the player to properly fit the movie on screen and within proper proportions. This allows any movie at any resolution to be properly scaled and fit to the display attached to the playback device.
    In the case above a 1:1.19 movie is not being properly scaled for playback on a 1:1.5 screen.
    Also, 1.0.4 hasn't resolved this. 
    Message Edited by ttmcmurry on 07-01-2009 06:30 PM

  • Flex 4 Video player not showing the video in any other machines

    I created a new Flex 4 project, and used Video display component and source was set to a file in src folder. It works fine in my computer. But after moving the content from bin-release  to another machine, video is not showing.
    The flv file is in the bin-release folder.

    At a quick glance, all your files seem to be there, but I
    notice your
    Scripts folder is in the site root folder, and all your other
    files are in
    the special folder. Might be something wonky there.
    If you are on a Linux server, you might double check the
    upper * lower case
    matching between your links and file/folder names.
    Does your host confirm the mime type support for flv ?
    "glm96" <[email protected]> wrote in message
    news:frpa8j$e6q$[email protected]..
    > I've gone through the process of trying to put a flash
    video online
    > (
    http://www.communitymx.com/content/article.cfm?cid=A98BB).
    >
    > I can see the gray box with f icon in Dreamweaver, but
    can not see it
    > online
    > via my Mac (Friefox) or PC (IE):
    >
    http://miamiradioadvertising.com/special/carlin.html
    >
    > I've uploaded all the files (including the skins, the
    page, and the .flv
    > files).
    >
    > Any ideas of the problem?
    >

  • Want to select which video player to use. FF22 mobile has no "options" in the tools

    only get default video. Neither settings nor tools in ff has an option to change this. app manager says ff is using the default. I have Dice video player, MX video player, and android stock video player but I'm constrained to using ff's default.
    I'm using a Samsung galaxy note 10.1 with 4.1.2 jelly bean and ff 22.
    i don't care for flash but just FYI the site you provide for Adobe to download an older version of flash does not work for this mobile device.
    thanks for any help you can offer.

    You can download and save the video by long tapping on the playing video to open it in a 3rd party player.
    We are not going to embed 3rd party video players inside Firefox. That would be plugin behavior (like Flash) the web is moving away from that sort of behavior.

  • ANN: HTML5 Video Player Dreamweaver Extension Released!

    Hi All,
    Just wanted to let you know about the great HTML5 Video Player we just released at DMXzone!
    Meet the present and future of HTML5 Video - the HTML5 Video Player Dreamweaver extension! DMXzone's plug-in free, easy to use and fast  video player is ready to shows off the potential of HTML5 internet  revolution. With a full browser compatibility and special support for iPad/iPhone it's a great tool in creating stunning pages.
    Packed with four amazing skins, fullscreen option and built-in support  for Vid.ly encoding and YouTube it  marks the beginning of a new era in Web design. Of course, for the  easiest implementing on a website, there's a super simple Dreamweaver UI  to lead you through the process. Based on jQuery and the great open  source video player Projekktor, the HTML5 Video Player guaranties a fully compliant HTML5 video in all browsers.
    So if you are interested check the many videos and demos about the HTML5 Video Player on DMXzone.
    Greetings,
       George Petrov
       DMXzone.com
    PS. There are also many other HTML5 Dreamweaver Extensions we have being releasing recently, like the HTML5 MP3 Player and HTML5 Slideshow! So you might want to check them out as well!

    HTML5 <video> is a web standard now.  You don't need widgets for this.
    Simply copy & paste the following code into a new, blank document.  Replace poster image and sample videos with your own.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 with Video</title>
    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    </head>
    <body>
    <!--begin video-->
    <video width="500" height="325" poster="Your_poster_image.jpg" controls>
    <!--these are legitimate 6 sec, sample videos for testing purposes.-->
    <source src="http://techslides.com/demos/sample-videos/small.webm" type="video/webm">
    <source src="http://techslides.com/demos/sample-videos/small.ogv" type="video/ogg">
    <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
    NOTE: If you see this, you're using an
    outdated browser that doesn't support
    the video tag. </video>
    <!--end video-->
    </body>
    </html>
    Nancy O.

  • Sound from video plays after video player removed from stage

    I have a website http://www.droolpigs.com when I go there if I click the video archives button then play a video  then click on the home or photos button or one of the alternate  background buttons on the left the video goes away as it should but not  always the audio (especially when I click while the video is still  buffering).  Is there a command I can use to kill the sound from the  flvPlayback component and nothing else(I have a mp3 player there also I  so I don't want to use the SoundMatrix class.
    btw the videos are all played on an instance of the flvPlayback component.

    That didn't work.  I found this posting where someone claimed to access the netstream object in flvPlayback
    video1.addEventListener(VideoEvent.STATE_CHANGE, onVideoStateChange);
            private function onVideoStateChange(evt:VideoEvent)
                ns = evt.target.getVideoPlayer(evt.vp).netStream;
                video1.removeEventListener(VideoEvent.STATE_CHANGE, onVideoStateChange);
                setNetstreamObject();        
    I attempted to instantiate ns this way var ns:NetStream = new NetStream(); but the compiler was expecting a argument.
    I'm about ready to ditch flvPlayback and try my luck with the NetStream class.

  • Timecode on video player

    Is there anyway to get a timecode into a video player without
    using netconnection/stream (i.e. using the flv playback component
    and captioner?)

    You have to read time elapsed inside some listener (enter
    frame or timer) directly from the instance of the NetStream class
    time property: stream.time. I understand FLVPlayback does it for
    you (I have never worked with it - I write my own playback routine)
    but, still, you have to somehow get it out of FLVPlayback instance.
    But you, perhaps, know that already.
    According FLVPlaybackCaptioning documentation (
    http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/video/FLVPlaybackCaptioning.h tml)
    this componenet works with FLVPlayback only:
    "The FLVPlaybackCaptioning component downloads a Timed Text
    (TT) XML file and applies those captions to an FLVPlayback
    component to which this component is partnered."
    It seems you cannot use it with your custom playback routine.
    Why not to write your own close caption component? It is easy
    - just parse XML and display text related to a particular time
    stamp. Anyway you read the current time of the playback - a couple
    more lines of code will not hurt.

  • Video Player issue

    I Launched a site a couple of days ago and the site has a video player with video on it the basic one on CS3 and it shows up on Google Chrome, Firefox, Safari etc except Internet Explorer and i don't know why!!!!!! HELP???? Please

    90% of browser rendering problems are code related.  You have quite a few things that need attention.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fworldcookingstars.com%2F
    Most Flash embed code is not valid XHTML.  To make it valid use this on-line tool
    http://www.validifier.com/
    Also, you have references to files located on your local hard drive
    <div class="logo"><a href="file:///C|/Users/Austin%20Hirsch/AppData/Roaming/Macromedia/Dreamweaver%208/Configuration/BuiltIn/adrianTNT.com%20Templates/index.html">
    These references should be reconciled to files contained in your DW local site.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Video Player Error when "scrubbing" ahead of available content

    Hi there, hopefully someone can help me work out this problem
    I've been having for the past two days!!
    I have a built my own AS3 Flash video player and the
    'scrubber' bar appears to be causing an error message when dragged
    too far ahead (I assume because it's dragging ahead to a part of
    the video which has yet to fully load). This problem doesn't happen
    when debugging the movie in Flash but does appear when loaded into
    a HTML page.
    The error message I'm getting is....
    quote:
    Error #2044: Unhandled NetStatusEvent:. level=error,
    code=NetStream.Seek.InvalidTime
    at VPlayer()
    My VPlayer Class (which creates the video player) code is as
    follows....
    NOTE: to find the scrubbing code look for the comment "//
    Handle the scrubbing through the video playback" and you'll see
    that I've attempted to wrap the scrubbing code in a Try/Catch
    statement (which doesn't seem to work as it doesn't catch any
    errors so you can remove that Try/Catch statement if you feel it's
    not needed)
    Any help is greatly appreciated as I'm banging my head on the
    desk trying to work out how to fix it. I'm relatively new to AS3 so
    this may (hopefully) be an easy fix
    Kind regards,
    M.

    Thank you!! :)
    Your reply helped solve the problem.
    I was adding the event listener to the wrong element. I was
    originally adding it to the NetConnection....
    e.g.
    connection.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    ....but I was supposed to be adding it to the NetStream....
    i.e.
    _stream.addEventListener(NetStatusEvent.NET_STATUS,
    netStatusHandler);
    Thank you!
    Kind regards,
    M.

  • An image changing to FLV Video Player in AJAX Update Panel

    Hi,
    I'm trying to design part of a website can seen as video gallery. I have videos related to subcategories; and subcategories that related to categories.
    I was using popups but now want to change it. Simply, firstly there are images and descriptions(in an update panel) of videos on page. After clicking thumbnail, the region includes thumbnail and description wil be changed to FLV video player.
    Outside of updatepanel player is working good. but when i move it into updatepanel; doesn't working in IE. Because JS code (AC_FL_RunContent(.....)) is not working in updatepanel. Tried another script (like alert('hello!');), it's working. I think i have problem with the function named AC_FL_RunContent(...). It's working as i want, if open page with Firefox.
    Looked for this in google. Visited many pages, but never find a solution for this nor source of problem. I hope someone can help me
    Using ASP.Net. I'm attaching my tree structure and codes below:
    Default.aspx
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"%> 
    <! 
    DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" //www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    html xmlns ="http://www.w3.org/1999/xhtml">

    head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="StyleSheet.css" rel="stylesheet" type="text/css"/>
    <script type ="text/javascript">
    function  
    MM_CheckFlashVersion(reqVerStr,msg){
      with (navigator){
          var isIE = (appVersion.indexOf("MSIE") != -1 && userAgent.indexOf("Opera") == -1);
          var isWin = (appVersion.toLowerCase().indexOf("win") != -1);
          if (!isIE || !isWin){
            var flashVer = -1;
            if (plugins && plugins.length > 0){
                var desc = plugins["Shockwave Flash"] ? plugins["Shockwave Flash"].description : "";
                desc = plugins["Shockwave Flash 2.0"] ? plugins["Shockwave Flash 2.0"].description : desc;
                if (desc == "") flashVer = -1;
                else{
                  var descArr = desc.split(" ");
                  var tempArrMajor = descArr[2].split(".");
                  var verMajor = tempArrMajor[0];
                  var tempArrMinor = (descArr[3] != "") ? descArr[3].split("r") : descArr[4].split("r");
                  var verMinor = (tempArrMinor[1] > 0) ? tempArrMinor[1] : 0;
                  flashVer = parseFloat(verMajor + "." + verMinor);
            // WebTV has Flash Player 4 or lower -- too low for video
            else if (userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 4.0;
            var verArr = reqVerStr.split(",");
            var reqVer = parseFloat(verArr[0] + "." + verArr[2]);
            if (flashVer < reqVer){
                if(confirm(msg))
                  window.location = http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash;
    function  callFLVP(){
      AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0','width','320','height','240','id','FLVPlayer','src','FLVPlayer_Progressive','flashvars','&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=./VideoGallery/serpende&autoPlay= false&autoRewind=false','quality','high','scale','noscale','name','FLVPlayer','salign','lt','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','FLVPlayer_Progressive');
    </ 
    script>

    script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    </ 
    head>
    <body onload="MM_CheckFlashVersion('7,0,0,0','Content on this page requires a newer version of Adobe Flash Player. Do you want to download it now?');">
      <form id="form1" runat="server">
          <ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />
          <div>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:Literal ID="thumbLiteral" runat="server"></asp:Literal>
            </ContentTemplate>
            <Triggers>
                <asp:AsyncPostBackTrigger ControlID="showvideoButton" EventName="Click" />
            </Triggers>
            </asp:UpdatePanel>
            <asp:Button ID="showvideoButton" Text="Video" runat="server" onclick="showButton_Click"/>
         </div>
       </form>
    </ 
    body>
    </ 
    html>
    Default.aspx.cs
    public partial class _Default : System.Web.UI.Page
         protected void Page_Load(object sender, EventArgs e)
              thumbLiteral.Text = "<img src id=\"imgThumb\" src=\"./VideoGallery/small/serpende.jpg\" />";
         protected void showButton_Click(object sender, EventArgs e)
              string strNoScriptBlock = "";
              strNoScriptBlock += "<noscript>";
              strNoScriptBlock += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\"320\" height=\"240\" id=\"Object1\"><param name=\"movie\" value=\"FLVPlayer_Progressive.swf\" /><param name=\"salign\" value=\"lt\" /><param name=\"quality\" value=\"high\" /><param name=\"scale\" value=\"noscale\" /><param name=\"FlashVars\" value=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=false&a utoRewind=false\" /><embed src=\"FLVPlayer_Progressive.swf\" flashvars=\"&MM_ComponentVersion=1&skinName=Clear_Skin_1&streamName=serpende&autoPlay=fal se&autoRewind=false\" quality=\"high\" scale=\"noscale\" width=\"320\" height=\"240\" name=\"FLVPlayer\" salign=\"LT\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash\" /></object>";
         strNoScriptBlock += "</noscript>";
         string strScriptBlock = "";
         strScriptBlock += "<script>";
         strScriptBlock += "callFLVP();";
         strScriptBlock += "</script>";
         ScriptManager.RegisterClientScriptBlock(this, typeof(string), "strScriptBlock", strScriptBlock, false);
         thumbLiteral.Text = strNoScriptBlock;

    Let's check this first;
    If you have problems with current Shockwave Flash plugin versions then check this:
    * see if there are updates for your graphics drive drivers
    '''https://support.mozilla.org/kb/upgrade-graphics-drivers-use-hardware-acceleration'''
    * disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    '''https://forums.adobe.com/message/4468493#TemporaryWorkaround'''
    * disable hardware acceleration in the Flash plugin
    '''https://forums.adobe.com/thread/891337'''
    See also:
    * '''http://kb.mozillazine.org/Flash#Troubleshooting'''

  • How can i make RealPlayer the default video player?

    I use safari 3.0.4
    When it accesses sites containing video, it plays it in Flash (eg YouTube)
    How do I get safari to use realplayer instead? (Even my Firefox 2.0 uses flash) (I have RP 10)
    I am teaching a course in media literacy and show some of the uploaded old tv commercials to my students. i want to show next year's class some of the same commercials, so i want to save the ones I find this year while they're available.
    At school, I work on a pc, and it plays video back in RealPlayer which gives me a 'download' option, so i can save these commercials.
    But when i find good clips at home, on my mac, all I can do is note the urls, then do it all again at school to get to them to download. it would be much easier if i could download them as I find them, then take them to school on my portable drive.
    any solution?
    Thank you
    Elizabeth

    At school, I work on a pc, and it plays video back in RealPlayer which gives me a 'download' option, so i can save these commercials
    RealPlayer v. 11.0.0 (may still be in beta) now includes that Downloader - a very useful item!
    It is a free download but they will ask for money in July. Must be why they call it RealPlayer Plus!
    You can get it here:
    http://uk.real.com/player/mac/
    I have had it for a couple of weeks and have had no problems.
    As for making RealPlayer the default video player, IMO that is not a good idea. There is a lot of stuff out there that RealPlayer would not be able to handle.
    These are the downloads and the settings you need in order to view/hear pretty much everything that the net can throw at you: The setup described below has proved repeatedly successful on both PPC and Intel macs, but nothing in life carries a guarantee!
    It is known to work in the great majority of cases with Safari 3.0.4, QT 7.3 or 7.4 and OS 10.4.11. (If you are running Leopard, ensure that all plug-ins have been updated for OS 10.5.2, but please see my footnote).
    Assuming you already run Tiger versions OS 10.4.9 or above (this has not yet been verified with Leopard) and have Quicktime 7.2 or above, and are using Safari 2 or 3, download and install (or re-install even if you already had them) the latest versions, suitable for your flavor of Mac, of:
    RealPlayer 10 for Mac from http://forms.real.com/real/player/blackjack.html?platform2=Mac%20OS%20X&product= RealPlayer%2010&proc=g3&lang=&show_list=0&src=macjack
    The new RealPlayer Plus (v.11) is still in beta and therefore free, but works well on Tiger. It includes a download function, and you can get that here:
    http://uk.real.com/player/mac/
    Flip4Mac WMV Player from http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx (Windows Media Player for the Mac is no longer supported, even by Microsoft)
    Perian from http://perian.org/
    You should read this support page http://perian.org/#support in case you need to delete older codecs.
    Adobe FlashPlayer should first be uninstalled using the appropriate uninstaller available here: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157&sliceId=2 and then the latest version obtained from here: http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash and installed.
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS, but please see my footnote if you are running Leopard.)
    In earlier versions than QT 7.1.3 in Quicktime Preferences, under advanced, UNcheck Enable Flash, and under Mime settings/Miscellananeous only check Quicktime HTML (QHTM).
    You should also ensure, if you are running Tiger 10.4.11 or Leopard, that you have downloaded and installed the correct version for your Mac of Security Update 2007-009.1.1, which also deals with the Quicktime/Flash issues you may have experienced, such as the '?'. What happened was that both Quicktime as well as Adobe FlashPlayer tried to play the Flash video at the same time. This no longer happens. (N.B. Security Update 2007-009 1.1 requires both a restart and a permission repair.)
    If you get problems with viewing video on a website try moving this file to your Desktop:
    Hard drive/Library/Internet Plug-Ins/QuickTime Plugin.webplugin
    and then restarting Safari. If all now works, you can trash that file.
    In Macintosh HD/Library/Quicktime/ delete any files relating to DivX (Perian already has them). However it should be noted that Perian is not an internet plugin and will not play DivX files imbedded on a website. For that you will need the DivX Player browser plugin available from http://www.divx.com/divx/mac/
    Now go to Safari Preferences/Security, and tick the boxes under Web Content (all 4 of them) to enable Java.
    Lastly open Audio Midi Setup (which you will find in the Utilities Folder of your Applications Folder) and click on Audio Devices. Make sure that both Audio Input and Audio Output, under Format, are set to 44100 Hz, and that you have selected 'Built in Audio'.
    Important: Now repair permissions and restart.
    You should also consider having the free VLC Player from http://www.videolan.org/ in your armory, as this plays almost anything that DVD Player might not.
    FOOTNOTE
    If you are running Leopard:
    Some users have mentioned that the latest Flash Player (v.9.0.115.0) conflicts with Leopard, and that they have needed to revert to v. 9.0.47. This can be downloaded from here:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266&sliceId=1

  • Flash Video Player Need Help

    Hello everyone I am hoping someone here can help me.  I am going to school and I have an action scripting class.  For my final project we have to make a flash video player with a custom skin to upload to our websites. We did something similar to this with our first project which we made a player where the movies where embedded in the file itself but this is supposed to be a youtube like flash player where we can call in the files from another source.   
      We kind of got pressed for time and were not able to go into detail with this project so the teacher gave us the code and I put it in exactly how it should be but im pretty sure i have something misplaced or I am missing a step. I get 8 different errors when I go to test the movie. and nothing works.  Can someone please tell me what I am doing wrong or can you point me in the direction of a tutorial on this  as I have been searching for tutorials on this with no luck. 
    Here is my Action Script 3.0 CODE:
    import fl.video.FLVPlayback;
    import fl.controls.List;
    var vid:FLVPlayback = new FLVPlayback();
    vid.source= "fashion.flv";
    addChild(vid);
    vid.skin="SkinOverPlayStopSeekMuteVol.swf";
    vid.x=100;
    vid.y=300;
    vid.skinAutoHide="true";
    vid.width=500;
    vid.height=280;
    var vidList:List = new List();
    vidList.x= vid.x+10;
    vidList.y= 200;
    vidList.width=200;
    vidList.height=100;
    vidList.addItem({label:"Bathroom Behavior",data: "bathroom.flv"});
    vidList.addItem({label:"Chase Scene",data: "chase.flv"});
    vidList.addItem({label:"VMCAD Fashion Design Commercial",data: "fashion.flv"});
    addChild(vidList);
    vidList.addEventListener(Event.CHANGE,playVid);
    function playVid(e:Event):void{     
    vid.source=e.target.selectedItem.data;
    Here is a screenshot of the errors I am receiving.
    Please help me 
    thanks
    Message was edited by: BTwardy

    I don't know if what you posted is all that is in that as file, but you need to declare a package, then call the import statements, then declare the class name.  Like this:
    package {
         import flash.display.Sprite;
         import flash.events.Event;
         import fl.video.FLVPlayback;
         import fl.controls.List;
         public class Main extends Sprite {
              public function Main() {
                   var vid:FLVPlayback = new FLVPlayback();
                   vid.source= "fashion.flv";
                   addChild(vid);
                   vid.skin="SkinOverPlayStopSeekMuteVol.swf";
                   vid.x=100;
                   vid.y=300;
                   vid.skinAutoHide="true";
                   vid.width=500;
                   vid.height=280;
                   var vidList:List = new List();
                   vidList.x= vid.x+10;
                   vidList.y= 200;
                   vidList.width=200;
                   vidList.height=100;
                   vidList.addItem({label:"Bathroom Behavior",data: "bathroom.flv"});
                   vidList.addItem({label:"Chase Scene",data: "chase.flv"});
                   vidList.addItem({label:"VMCAD Fashion Design Commercial",data: "fashion.flv"});
                   addChild(vidList);
                   vidList.addEventListener(Event.CHANGE,playVid);
              function playVid(e:Event):void{     
                   vid.source=e.target.selectedItem.data;
    Then click on your stage in Flash, then open the properties window, and fill the Class text field with:   Main
    Make sure the as file is saved in the same folder as the flv.

Maybe you are looking for

  • Adding new assignment block in the sales order component

    Hi , In sales order ,  qty filed is available at line item general details  level .now my requirment, the qty field has to display  in the new assinment block. i am thinking to create new view and context  node in the same component and ii will add t

  • My iPod is stuck on a song. Is there a way to fix it?

    Okay, so my iPod touch is stuck on a song. I can go to other songs, but as soon as a song I've selected(that's not the stuck one) finishes the whole music app shuts down and when I go back into it, it's back to the stuck song. Is there a way to fix i

  • Populating a pdf from database with ASP

    Hi, I have been tasked to see if it is possible to fill in http://www.uses.doleta.gov/pdf/eta9061.pdf this government form and several others dynamically from a database. Does anyone have an idea if it can be done via ASP or am I looking at recreatin

  • My iMac is dying. What do I replace it with?

    I'm pretty sure my Graphics card is dead. See my post here https://discussions.apple.com/message/21496843?ac_cid=op123456#21496843 I don't know what to do, I'm sure I'm looking at a $300+ bill if not more like $500. For that price, I should just star

  • Email alert tone doesn't work

    I have my iPhone set to "chime" to be alerted when a new email comes in but it's not working? Any idea's/suggestions? Thank you.