Getting a flv file to start playing with no sound

Hello,
I am trying to get my flv file to start playing when the page is loaded with no sound, but I am have no luck. The flv file starts playing fine with the sound on, and I can turn the sound off with my volume controller, but I need it to start playing with no sound. Please help.
var restartTimer:Timer = new Timer(19000,1);
restartTimer.addEventListener(TimerEvent.TIMER, startTimer)
var myImage:mcImage = new mcImage;
var myReplayBtn:mcReplayBtn = new mcReplayBtn;
//--------------------Video Controls---------------------
var videoConnection:NetConnection = new NetConnection();
videoConnection.connect(null);
var videoStream:NetStream = new NetStream(videoConnection);
videoStream.play("sebring09.flv")
var metaListener:Object = new Object();
metaListener.onMetaData = onMetaData;
videoStream.client = metaListener;
var video:Video = new Video(195,132);
video.attachNetStream(videoStream);
addChild(video)
swapChildren(whiteOutline, video)
video.mask = myMask
video.x = 7.5;
video.y = 3;
function onMetaData(data:Object):void
//------------------------Timer---------------------
function startTimer(event:TimerEvent):void
addChild(myImage)
myImage.x = 9;
myImage.y = 20;
addChild(myReplayBtn)
myReplayBtn.x = stage.stageWidth/2;
myReplayBtn.y = stage.stageHeight/2 - 12;
myReplayBtn.addEventListener(MouseEvent.CLICK, replayMovie)
myReplayBtn.buttonMode = true;
function replayMovie(event:MouseEvent):void
videoStream.play("09_Sebring_incar_Cut.flv");
removeChild(myImage)
removeChild(myReplayBtn)
restartTimer.start();
restartTimer.start();
//-------------------------Audio Controls---------------------------------
var soundVol:SoundTransform = new SoundTransform();
var soundVolume:Number = 1;
// Code that handles the volume slider
var trackBounds:Rectangle = track_mc.getBounds(track_mc);
var xPos:Number = trackBounds.x;
var yPos:Number = trackBounds.y;
var widthPos:Number = trackBounds.width-track_mc.slider_mc.width;
var heightPos:Number = 0;
var bounds:Rectangle = new Rectangle(xPos,yPos,widthPos,heightPos);
track_mc.slider_mc.x = widthPos;
track_mc.mouseEnabled = false;
track_mc.slider_mc.buttonMode = true;
track_mc.slider_mc.addEventListener(MouseEvent.MOUSE_DOWN,dragSlider);
stage.addEventListener(MouseEvent.MOUSE_UP,stopSlider);
function dragSlider(event:MouseEvent):void {
event.target.startDrag(false,bounds);
addEventListener(Event.ENTER_FRAME,setVolume);
function stopSlider(event:MouseEvent):void {
track_mc.slider_mc.stopDrag();
removeEventListener(Event.ENTER_FRAME, setVolume);
function setVolume(event:Event):void {
soundVolume = track_mc.slider_mc.x/widthPos;
soundVol.volume = soundVolume;
SoundMixer.soundTransform = soundVol;

you can use the soundmixer's soundtransform to control all volume but, unless you have multiple sounds, you should probably use the netstream's soundtransform.
in either case, to start your video with no sound, assign the volume property in you onMetaData function:
function onMetaData(data:Object):void {
var st:SoundTransform = videoStream.soundTransform;
st.volume = 0;
videoStream.soundTransform = st;

Similar Messages

  • TS1424 my recent downloaded songs play for about 1 min then they stop sound file continues to play with no sound

    song plays but the sound stops on recent downloaded songs, i did delete and redownload with no luck

    Try again. If the problem persists contact the iTunes Store support staff through the report a problem links in your account history, or via Contact Support.
    tt2

  • IMac G5 running OS 10.4.11. Started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup. I can get into safe mode. Tried install disc for disc utility and reloaded OS. Still get blue screen.

    I have an older iMac G5 running OS 10.4.11. The other day I started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup.
    I can get into safe mode. But no regular startup.
    I tried disabling bluetooth, thinking that might be related. It didn't help.
    I even tried using the install disc to run disc utility. That didn't work so I reloaded the OS.
    But I still get hung on the blue screen when trying a normal startup.
    All help would be appreciated.

    Try resetting the PMU/SMU and PRAM/NVRAM. You'd need to identify the mode of resetting depending on the model of your G5 iMac. The Apple support sites that would help you for this are –
    http://support.apple.com/kb/HT1436
    http://support.apple.com/kb/HT1939
    http://support.apple.com/kb/HT1767
    http://support.apple.com/kb/HT1379
    I hope this solves your problem.

  • HT3775 how I get an .flv file to play on my Mac?

    How can I get an .flv file to play on my Mac?

    If all you wan't to do is view the .flv video file and do nothing else to it, video players like VLC and Niceplayer will do the trick. Installing the PERIAN extension to Quicktime will also do the trick.
    http://perian.org/
    http://www.videolan.org/vlc/
    http://code.google.com/p/niceplayer/

  • FLV File does not play when published to my web server

    Hi. I have created a short video in VC3 and selected the FLV option to create a web page. When I uploaded the entire file content to my web server (windows 2003 server hosted at Network Solutions) the FLV file will not play. Now... if I do the same with a WMV tile, the video plays.
    You can view the file at
    http://www.airforcehomeseller.com/videos/va_education/VATutorials/index.htm
    We have another video published in WMV format, although the video vs audio sync is out of wack at the moment, at
    http://www.airforcehomeseller.com/videos/Energy%20Pricing%20101/index.htm
    What am I doing wrong?
    Any help would be greatly appreciated.
    G-II

    Hi again
    You should probably double-check to ensure the standard.js file was also copied in when the HTML page was imported. It should be there but it never hurts to double check.
    You might also perform a double-check to ensure things ended up in the correct folder (if you are organizing your project into folders). It could be that you moved the HTML page into a different folder and orphaned the JavaScript file.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • My audiobooks just recently starting playing with an echo - any suggestions to fix this issue?

    My audiobooks recently started playing with an echo.  Any suggestions on how to fix this issue?

    I've got to agree with Allan. It sounds like the hard drive is corrupt at least. It's possible it might be physically failing. Without backups, it's possible your data is already gone. You need a professional to help you.
    If you do not have an Apple Store near you or simply don't have the time to spare, there are some things you can try, but you must understand that it's possible these things could make the chances of recovering your data worse than they already are. Perform the instructions to follow at your own risk!
    First, you can try repairing your hard drive with Disk Utility. If that works, see if you can start up the machine. If you can, the very first thing you need to do is back up any data you don't want to lose. You may still need to take other steps, as your system may be damaged as well, but getting the data is the important part.
    If Disk Utility cannot repair the problems, you can try DiskWarrior. It can repair problems that Disk Utility cannot. However, it also increases the risk of destroying your data if it fails. If it works and you can start up the machine, do the same as I advised for following success with Disk Utility.
    If repairs (with either) were successful, but the machine still won't start up, you can try reinstalling the system. Hold down command-R at startup and then just install right on top of the existing system. If all goes well, you'll be able to start up afterwards and can get your data backed up. If all goes badly, it'll further decrease the chances of getting your data back.
    If neither can repair the damage, you're in bad shape. You will need a professional to help you, unless you are willing to lose all your data.

  • People I send the files to cannot "play" with the interface.

    Hi,
    I've just bought Xcelsius 2008 and made a report.
    On top of too many bugs, I have a major issue: when I send it to colleagues for them to get their comments, they actually canot "play" with it.
    Can you help?
    Cheers
    D

    What format did you send them in?
    Are you sure your colleagues have the correct version of Flash Player installed? 
    Xcelsius requires Flash 9.

  • I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2)

    I spilled some pop on the back of my iPad. I cleaned it off and everything seems to be going good but when I play music it will either play with no sound or play then continue with no sound. What can I do to fix this (without being costly, it's a iPad 2) this happens with other music apps too. Please I need help!

    You can try resetting your iPad by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists. If it doesn't work, there isn;t much anyone here can do for you. It may be a physical problem with your speakers.

  • I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    I have a iPhone 4S and when watching videos on the internet sound cuts out as the video is playing. The rest of the video plays with no sound. Sometimes when I pause It and play again sound comes back but not all the time. can anyone help?

    The "restore disk" is built into the Mac. See About Recovery.
    Need more specifics about what error messages you got while installing Adobe Flash.
    However, you can almost avoid Flash altogether by setting YouTube to play the HTML5 version instead.
    Click the Try something new! link at the bottom of the YouTube page.
    I don't know about the sound issue. Might be hardware as you think. Try other headphones to check.

  • How I can unlock an encryption on my macbook pro ? device is not starting only with sos sound & black screen I don't know what should do ?

    how I can unlock an encryption on my macbook pro ? device is not starting only with sos sound & black screen I don't know what should do ?

    You have to take the computer to the Apple store.
    http://support.apple.com/kb/HT4790
    Best.

  • Videos play with no sound!!!!

    All the videos that I have in itunes play with no sound. the picture is fine, Just no sound! This seems to be the way it is for videos that I have imported, and videos that I have purchased from the music store.

    Holy Cow,
    I think I figured my problem out. Go here -
    http://docs.info.apple.com/article.html?artnum=93610
    Do the exact opposite, uncheck the box. When I unchecked it, the sound problems disappeared, I can hear everything, the voices sync up with the video again, and it seems to work.
    We'll see how long this lasts...
    Good luck!

  • FLV files won't play on testing server

    I've created a site with several videos on multiple pages. They play on my local computer but will not work when uploaded to my server. I get an error in opening the page and a "plug-in cancelled" message in the Activity window in Safari. Other FLV files play from other servers (even those I created and placed in other site files using the same method). I feel certain that something in my upload is causing the problem, but I cannot find any missing files or misplaced files on the server. NO FLV files are playing on the entire site.
    A page in question is: http://www.hensondesigns.com/kpc/COMEDIANS/Guy_Branum-bio.html
    (disregard the second and third videos on the page which are embedded from YouTube; it's the first video that won't play)
    I've got the Scripts folder uploaded and the skin file within the COMEDIANS folder on my server.
    Does anyone have any ideas what's wrong? I'm sure it's something simple but I have no idea.
    Thank you in advance for your time and help.

    Hans-G,
    Thanks for checking the page to try to help. I apologize--I figured out the issue and didn't have a chance to remove my question from the forum. The issue was being caused by the files being on my server--somehow they weren't being found. I made an adjustment in Dreamweaver and they now work. Thanks again!
    Is there a way to remove this entire post? I realize it will be of no help to anyone else, and I don't understand the problem and solution well enough to add details to make it helpful.

  • FLV files will not play in flash player

    I'm an old GoLive user and I'm becoming very frustrated with
    the new CS3 software. I am trying to encode a simple quicktime
    movie into flash using Adobe flash encoder and then embed it into
    my web page. Even when I use all the default settings in flash
    encoder still nothing will play the movie even Flash Player 9. I've
    posted it to my server and embedded it into my Dreamweaver page,
    uploaded the new scripts and I still just get a blank white box
    where the movie should play. Has anyone else come across this? I've
    followed through the help menu and it appears like everything works
    except it won't play.
    Thanks,
    Adam

    I finally got some help from another forum and figured out
    what I was doing wrong. Firstly to view the flv files on your
    machine use VLC player. If they play in their entirety the way they
    should there is nothing wrong with the encoding. When you embed the
    flv files in dreamweaver be sure to upload the skin and upload the
    flv file first and link to its remote http address and not the
    local address.
    Adam

  • FLV file won't play vid and audio for more than 3 secs

    I tried to convert this FLV file to MOV using ffmpeg, and here the error i get
    /usr/bin/ffmpeg -i internetmarketing.co.at/be87.flv internetmarketing.co.at/be87.mov
    FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
    configuration: --prefix=/usr --libdir=${prefix}/lib --shlibdir=${prefix}/lib --incdir=${prefix}/include/ffmpeg --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --mandir=${prefix}/share/man --enable-libvorbis --enable-pthreads --enable-libfaac --enable-xvid --enable-libdts --enable-amr_nb --enable-amr_wb --enable-pp --enable-libogg --enable-libgsm --enable-x264 --enable-liba52 --enable-libtheora --extra-cflags=-Wall -g -fPIC -DPIC --cc=ccache cc --enable-swscaler
    libavutil version: 49.4.0
    libavcodec version: 51.40.2
    libavformat version: 51.11.0
    built on Feb 4 2008 14:49:27, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
    [flv @ 0x7fc0b4b41160]Unsupported audio codec (6)
    [flv @ 0x7fc0b4b41160]Unsupported audio codec (6)
    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 55.92 (671/12)
    Input #0, flv, from 'internetmarketing.co.at/be87.flv':
    Duration: 01:45:56.4, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: flashsv, bgr24, 640x480, 55.92 fps(r)
    Stream #0.1: Audio: 0x0006, 22050 Hz, mono
    File 'internetmarketing.co.at/be87.mov' already exists. Overwrite ? [y/N] y
    Output #0, mov, to 'internetmarketing.co.at/be87.mov':
    Stream #0.0: Video: mpeg4, yuv420p, 640x480, q=2-31, 200 kb/s, 55.92 fps(c)
    Stream #0.1: Audio: aac, 22050 Hz, mono, 64 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Unsupported codec (id=0) for input stream #0.1
    [ps23240]$
    that's the error i get, and supposedly ffmpeg should be able to handle this conversion
    http://ubuntuforums.org/archive/index.php/t-431941.html
    ...so i have QT Pro, and it plays the vid and audio for 3 secs and then only plays video. I'd like to be able to use the vid and import it into iMovie. That's what I'm going for...
    ...suggestions

    It seems that I can't login to the developer forums. I'm in the university program and when I try to login to apples developer forums I'll always be redirected to the login screen.

  • FLV files won't play in other programs

    Has anyone experienced this...
    I encode FLV's using PP CS3 with no hickups during the encoding. They play fine in Windows Media Player (latest version). But not all players play them. I put them on our streaming server and they won't play in our web pages using the Dreamweaver player. They play fine if i use the jeroenwijering media player but not Adobe's own media player which comes with Dreamweaver.
    My biggest problem is that I have several FLV files that I need to convert to some other video format (AVI, MPG, etc.) But none of the programs I've tried will even recognize the FLV files created with PP CS3.
    I used Movavi FLV converter and Riva FLV Encoder and a couple others and nothing works.
    Has anyone else experienced this and have they found a solution?

    I cannot help you with the playability issues of your FLV's, but:
    My biggest problem is that I have several FLV files that I need to convert to some other video format (AVI, MPG, etc.) But none of the programs I've tried will even recognize the FLV files created with PP CS3.
    I use Moyea's FLV Plug-in for PrPro. IIRC, it works fine in CS3, though is not supported under CS4.
    To date, I have yet to be handed an FLV that it would not Import and edit properly. Thing that I like about it, is that it's a true plug-in and there is no conversion necessary.
    I've used FLV-to-AVI, and it's slow. Also, the conversion is an extra step.
    Good luck,
    Hunt

Maybe you are looking for

  • How to pass a variable from HTML to Flash

    I have built my flash ad banner in Flash 9 and now want the HTML code to pass the url over to the flash movie that it should jump to when clicked. The info in the help file seems out of date for the latest HTML template as it uses mainly JavaScript t

  • Removing header/footer from CHM printout WITH code

    How can I remove the header and footer of a CHM printout (from the PRINT button) with HMTL code? I've tried adding this to the CSS style sheet but it doesn't work: <style type="text/css"> @media print{   body{ background-color:#FFFFFF; background-ima

  • Itunes movie trailers

    is there a place you can complain about the trailers they post for movies soon to be released on itunes.  Wow i saw that Highlander comes out tomorrow and just watched the trailer and it makes no sense of what the movie is about it looks like they ju

  • HT201210 can not update software on my iphone

    i plug in my old iphone to use as music an will not let me restore or conecet , it tells me to contact you guys an i do not have apple carrier any more i just want to use it

  • App store says FCPX is installed but it isn't

    Final Cut Pro was not updating on my Mac Pro, version 10.0.0 was installed and the App Store didn't show any updates. So I trashed the application and expected the App Store to allow me to reinstall. However the App Store still says "INSTALLED". Any