FLV to play and then pause?

Hello,
          I am using the videosourcepro code for a video player. What I would like to do is have the video play to a specific point and then pause. The code is as follows, opening up with the video playing and then the option of pressing the first button to play the same video
var nc:NetConnection =new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
amyvideo.attachVideo(ns);
ns.play("1.flv");
// xml playlist
// create an XMl object
var vidList:XML = new XML();
// ignore white spaces
vidList.ignoreWhite = true;
vidList.onLoad = function() {
// put the nodes of xml into array
var videoArray:Array = this.firstChild.childNodes;
// iterate through video array
// and add videos to the listbox
for (var i = 0; i<videoArray.length; i++) {
videoList.addItem(videoArray[i].attributes.desc, videoArray[i].attributes.url);
// when xml is loaded play first item
ns.play(videoList.getItemAt(0).data);
// highlight first video in listbox
videoList.selectedIndex = 0;
// create a listener that responds
// to changes in the listbox
var vidListener:Object = new Object();
vidListener.change = function() {
// play the item selected in listbox
ns.play(videoList.getItemAt(videoList.selectedIndex).data);
// register the event listener to listbox
videoList.addEventListener("change", vidListener);
// load xml file
vidList.load("videos.xml");
button1.onRelease = function(){
ns.play("1.flv");
gotoAndPlay(1);
                    Thank you in advance,
                                                             WonderWendy

Hi btbhutch,
If you have songs on your iPad or iPhone that restarts or skips during playback, I would suggest that you troubleshoot using the steps in this article - 
iOS: Songs or other audio content are skipped during playback
Thanks for using Apple Support Communities.
Best,
Brett L 

Similar Messages

  • At night, as soon as I plug my iphone to be recharged, my iphone starts behaving abnormaly.  It is like somebody has taken control of it.  I see the screens moving, music starts playing and then stopping, etc.

    At night, as soon as I plug my iphone to be recharged, my iphone starts behaving anomaly.  It is like somebody has taken control of it.  I see the screens moving, music starts playing and then stopping, etc.  I have noticed that several nights.  What I do is in Settings is to change  into Plane Mode, thinking that, may be if I do that, somebody that has taking control of it will not be able to download data.  Yesterday night, I was awakened by an alarm, whose setting I did not changed. When I looked over, the alarm screen changed to Settings and the Plane Mode changed alone in front of my eyes, from on to off.
    I have not observed such a situation during the day. Only when I plug the cable.
    I suspected that may be there is no Trojan installed. May be the cable, which is a spare cable, has been modified by a hacker, and it has electronics installed in the connector.  But tested with the original cable, and the behavior was the same, as described above.

    Thanks Meg for your reply.
    It could be that both cable are bad. But, anyway, you would not expect any of these manifestations, even with a bad cable. I had bad cable for my 4s, and never saw such a thing! 
    I contacted by chat the support of Apple.  They told me that this behavior could be a software problem and recommended me to do a full recover of my iphone. That meant, putting in at the factory conditions and recup all the data from the backup.  I did that, and the behavior did not change.  The backup was made with the data of my PC, not icloud.  Tomorrow will try with icloud and check if that will work. 

  • The sound doesn't work.  It's set appropriately in settings, the volume is turned up all the way with the side buttons, but no volume.  When we try to play songs, it acts like it's going to play and then goes back to the play list.  Restored and still no

    It's set appropriately in settings, the volume is turned up all the way with the side buttons, but no volume.  When we try to play songs, it acts like it's going to play and then goes back to the play list.  Restored the device and still no sound.

    Try A and B
    (A) Restart iPad
    1. Hold down the Sleep/Wake button until the red slider appears.
    2. Drag the slider to turn off iPad.
    3. Turn iPad back on, hold down the Sleep/Wake until the Apple logo appears
    (B) Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • When I choose an album to play in my itunes library, only one song will play and then itunes stops. Also, when I click on next, itunes just stops playing.

    When I choose an album to play in my itunes library, only one song plays and then itunes stops. Also, when I click on the next button, itunes stops. How can I play an entire album through without stopping after each song?

    Sounds like you have accidentally unchecked all items. In the Songs view ctrl-click on any empty checkbox.
    tt2

  • HT204406 am having issues with songs playing in there entirety.  song starts playing and then half way stops and starts playing the second song of say a minute or so and then no sound until end of second song.   it then starts to play third song and it do

    any one having issues with songs playing in there entirety using itunes match?  plays parts of songs and skips and starts playing second song.  part and then keeps playing with no music.  does this on every set of songs.

    I'm having this issue on my iPod and now none of my songs on iTunes will play. Not fix yet though. Have you had any luck?

  • Multiple Behaviours on EventTrigger, how to have an animation play and then navigate to new page?

    Hi
    Very new to this and coming from a VB6 background.  I have a Login Grid that I want to scroll off the screen on a successful login attempt and then navigate to a new page in a WPF application.  How do I achieve this please, I have added a ControlStoryboardAction
    that plays the animation and also a NavigateToPageAction but I don't seem to be able to get them to work in a sequence, i.e. do the ControlStoryBoardAction first and when the animation stops then do the NavigateToPageAction. Its the sequencing that I'm
    having trouble with.
    I'm used to different Forms for each 'screen' coming from my VB6 days so maybe my approach is off?  Any help is much appreciated.
    Thank you

    Split the button from the image of the button:
    Put your 'poster' graphic on a PDF entirely on its own and import it as a layer with print turned off, as you've done, but add the sound and the button to the PDF as normal - setting the button to the 'invisible rectangle' style. The button will still "print" but of course there's nothing visible.
    The Import as layer feature in Acrobat works, but to be blunt it's a bit of an afterthought, and doesn't like anything strange on the layers you bring in. OCGs (layers) came from Illustrator as a way to move files between applications, and Acrobat needed to have some basic grasp of them just to fiddle about with stuff like watermarks, but it's not a full-featured OCG editor.

  • My ipod turns itself on, starts playing, and then dead battery.

    My 80g ipod video turns itself on, changes the playlist, then starts playing and kills my battery. the next time i try to use it, its dead. i am constantly recharging it and or picking it up and its playing a different playlist than i was just listening to. i.e. listening to "all" music, then turn it off, couple of minutes pass, i pick it up and its playing the "Rock" playlist. anyone have any suggestions?

    Try resetting your ipod. If that dosent work you can restore you ipod.

  • Why does a movie or TV show stop during play and then takes you to the main ATV icon screen?

    This weekend while watching a movie it stopped and went directly to the main ATV screen?  Also while watching TV shows I witnessed the same issue about halfway through each.  Also, when returning to the movie or TV show it acts like the first time viewing and does not give you the option to resume playing.

    Same issue, just cuts out to black and then goes back to the home screen.  Happened about 4 times while watching one TV show. I'm using Software version 6.0 (6646.65)

  • How can I bookmark, in iTunes, so that the songs I play and then stop in middle of song then come back later - it will start where I left off.  What is the switch in iTunes to make this happen?  Thank You

    In iTunes I would like to set it to bookmark where I am holding in a song on my iPOD.  Let's say I want to play a song that I listen to yesterday and stopped playing it in the middle on my iPOD.  Today, I want to listen, on my iPOD, to the same song and have it start playing where I left off yesterday.
    Can someone please tell me what I have to do in iTUNES to have this feature on my iPOD?
    Thank You
    Dovid

    iTunes does not have provision for automatically storing one kind of media on a separate drive, so you have some basic decisions to make first.  Do you want these movies to still appear in your iTunes library, or are you content with browsing filenames on a drive in Finder when you want to look for one?  The second's the easiest thing because then you don't have to have an external drive permanently turned on and attached to your computer (wired or wireless).  To do that you literelly only need to drag your movies folder to an archive drive and delete movies from iTunes.  To watch them again you can add it back to iTunes while holding down the option key so the movie is used from its location on the external drive.
    There's ways to move the movies to an external drive while keeping them in iTunes but the external drive iwll always have to be turned on and connected to the computer or you will see a bunch of broken link exclamation marks.
    Realize what you are talking about is not "backup".  Backup (which you should do) is putting a second or more copy of items on external drives for the day when your internal drive fails and everything on it is lost, inclduing all your home photos and perhaps things that have been pulled from the iTunes Store and can no longer be re-downloaded.

  • White background before pushing play and then the menu comes up

    After I drag the template and set the buttons, when I burn it and
    put the DVD in...the first thing that comes up is the a white background
    underneath the buttons. Then when I push play, my template background
    shows up before the movies starts.

    Hi
    Try in DVDSP Prefrences changing your MEnu Encoding settings from Hardware to Software based, or vice vers, depending what you have selected now.
    Build again and try !! That used to solve that problem.
    Hope that helps !
      Alberto

  • I am having problems streaming movies to my ipad from my mac. The movie starts and then pauses and then starts again. any ideas?

    I am having challenges streaming movies from my Mac Mini to my IPAD 3, the movie will load (after what seems a bit too long) and start to play. It then stops after 30-50 seconds and if I leave will start again, but repeat the start stop thing. Its almost like it stops to buffer than starts again. I have had the same issue appear wiht my Iphone 5.
    Thoughts?

    Welcome to the Apple Community.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.

  • How do I play and then copy DVD movie to mac for film editing

    I have just come home with my new mac book pro.  As recomended by the reseller I have connected an external  slim portable DVD writer/reader so that I can view, ...DVD's.  I am unable to view or copy the file contacts to the mac so that I can then later open the file in imovie for editing and clipping.
    I would very much appreciate your assistance on this.  I am trying to make a home movie of old cine films that have been converted to DVD.

    Copertop wrote:
     ...  I am trying to make a home movie of old cine films that have been converted to DVD.
    You need to use a video encoder such as Handbrake (Free)
    https://www.macupdate.com/app/mac/12987/handbrake
    or
    iFFMpeg - Shareware ($20.40)
    https://www.macupdate.com/app/mac/35846/iffmpeg
    Once encoded you can edit using Final Cut or iMovie

  • My album i purchased a few months ago is not playing all the songs anymore. It will start off with one song playing and then sometimes not even half way it jumps to another song. I havent been on Itunes in awhile to mess with anything on that.

    The album is Maroon 5 new cd. If anyone had problems with that. It is the only album that is not working right.

    Is the Wi-Fi button greyed out?  Try this article: http://support.apple.com/kb/TS1559
    Also, make a backup to iTunes of the device.  Then restore it as a new device.  If you still have wi-fi greyed out, then contact Apple again, and explain that you believe you have a hardware issue.  They may still ask for a $19 deposit, but if it is actually hardware related, then you won't be charged the $19.  Only if it is software related do you get charged that $19.

  • Screen will not come on and the laptop just beeps three times and then pauses then three beeps. Any suggestions?

    Having trouble with my MAC Book Pro, when I turn it on the screen does not come on and the laptop beeps 3 times and pauses and beeps 3 times again continuously.

    Three beeps indicates a RAM problem.  Take the RAM modules out, clean the contacts with alcohol and install them.  Make certain they are properly seated.
    If you have installed new RAM reinstall the original RAM.
    Ciao.

  • QT plays and then stop

    I have this problem with QT, I visit the site (tsl.org) as I go to free broadcast I have the problem with QT. The following happens" it sometimes play for seconds, minutes then stops or it begins at the beginning again or as the bar reach the end QT stops playing. It realy is frustrated. This broadcast is continious. This accure for 2monds now I never had this problem before with QT. Somebody anybody help, help, help!!!
    aiwen

    Try installing the free flip-4-mac component.
    http://www.flip4mac.com/download.htm

Maybe you are looking for