Cuepoints & play command

I know this should be simple, but I'm an ActionScript novice
& can't work this out...
I've embedded cuepoints into an flv, and coded buttons to
seek to them. But, because I have autoplay set to false, clicking
buttons before setting the flv playing just goes to the cuepoint
but doesn't play. The feedback i've had from testing is "why don't
the buttons work" - people don't think to hit the "play" button as
well...
can someone tell me how to alter the code I have, to
incorporate a "play" command?
function cue1() {
var c = this._parent.my_flvPb.findCuePoint("tips");
this._parent.my_flvPb.seekSeconds(c.time);
seek_btn_1.onRelease = cue1;
Thanks, Matt.

Should have worked this out earlier - all I needed was this:
function cue1() {
this._parent.my_flvPb.seekToNavCuePoint("tips");
this._parent.my_flvPb.play();

Similar Messages

  • I wanna play command and conquer generals

    i wanna play command & conquer generals on my macbook air but unsure of how to do that

    What do the instructions for installing the game say?

  • Satellite A series switches off while playing Command and Conquer 3

    Hello everyone,
    this has happened to me second time. While I was chilling out playing Command and Conquer 3 skirmish, laptop suddenly switched itself off. I was running on external power and the battery was full. What is even more strange, it was impossible to switch it back on until I removed the battery and plugged it back in.
    I bought this game around March and was able to beat the 3 campaigns without such attractions.
    I suspect this may be caused by overheating, since after the shutdown the laptop is quite hot. What do you think? I bought it in January.
    In my desktop I occasionally removed the fan and hoovered the heatsink, it tended to accumulate quite a lot of dust sometimes. It is not that easy in case of laptops. Any suggestions? Cheers.

    Hi,
    you should make a bios update, because I had a similar problem with my A100 and after the bios upgrade to the newest version (5.60) I had no problems anymore. Maybe it helps.
    The other thing is, if you have a ventilation system which is clobbed with dust, then you should take a can with compressed air (you can get it in every electronic market/shop) and gently lead some air in short blows through the ventilation holes. (like 2 secs. blow then wait, 2 sec. blow then wait and so on; just make short blasts :) )
    Then the ventilation should be clear.
    Otherwise bring your machine to an service partner for a hardware checkup because some loose flat cables in the inner of the machine could be probably a reason that the machine does not power on properly..
    Greets

  • How can I stop the play command from looping?

    Hi
    When I play my sequence the play head loops back to the start point. In my keyboard layout I have play in my space button (and not the the loop button)
    Any ideas?
    Thanks

    ctrl+L toggles loop playback on/off

  • Netflix- works fine until I select "play" for an item. Then the message "unable to connect" 104 appears. This is puzzeling as Apple TV is already connected and working fine up to this step.

    Things were woking fine, then for no reason the connection to Netflix got crazy.  Netflix appears on screen and performs everything as though it is connected to Netflix.  The menu options display and I am allowed to select a movie to play. Once I enter the play window frame I press the play command on the remote and get a "unable to connect with Netflix" message 104. Tried contacting Netflix but that is impossible too.  Any suggestions?

    I am getting the same problem since the last upgrade.  Both Netflix and Apple blame the other, no one wants to help...  Apples best solution so far is to replace the apple tv box....

  • Why does my html widget not play sound in ibooks?

    I've designed a widget that plays sound correctly in every other browser. It uses an AAC-MPEG4 with the .m4a file extension on all of the sounds. I know the code is working correctly because as I said, it works in any browser. I've checked to volume controls and speakers of the ipad, they work and are turned all the way up. I just wonder if ibooks somehow does not support the javascript .play() command...

    flammer4 wrote:
    Now THIS worked!   First the message displayed, and when I viewed the page
    source, the code that you suggested earlier appeared.
    Now, why can't I get this when I enter the code directly?
    L.
    This proves what I believed and that is you are not naming the file correctly.  It has got a hidden file extension and if you were using Windows, I would have told you how to reveal the file names properly including hidden extensions of known file names.  I know nothing about MACs so you have yto wait until Murray Summers or John Waller comes here.  They know about Apple MACs and they have been in the business longer than anybody here.
    In windows, if we want Notepad to keep the names as it is we normally name the file as:
    "welcome.html"       including the quotes so that Notepad will know that it is not the normal text file to be opened in notepad or wordpad (TWO text editors in Windows)
    Perhaps you should use my file as a template and then change the text to:
    <p>The quick brown fox jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.  The quick brown fox jumps over the lazy dog.</p>
    Hope this helps.

  • Stop/Play action script

    I have two scenes, one has an audio player that I have to put
    a stop action on, the other is an animation in the background I
    need to loop. How can I do that and play both scenes at the same
    time so the animation loops, and the audio only plays once through.
    The fla file can be downloaded at www.websperations.com/flash
    Thanks!

    The code you show should work so you may have some implementation issues.
    For the stop button error you should go into your publish settings and select the option to permit debugging so that the error includes a line number for what's causing the error.  A 1009 error indicates that some object your code is trying to target does not exist as far as the code sees it.... which can be due to a number of reasons, such as assigning code in a frame where the targeted object does not exist.
    For the second error, it appears to be an issue loading (or possibly finding) the file.  Does the sound start playing on its own when you first run the code?
    Usually an error of any kind will prevent a file from running properly, so it may just be an issue of fixing just one of them.
    You normally don't have to wait for a sound file to completely load before executing a play command... that woiuld be counter-productive to the concept of streaming sound.  In theory, a play command following a load command will execute but the sound will not start until a sufficient buffer exists.

  • Stop Play action script 3 for mp3 on layer

    I this the wrong way to write a stop play for mp3 on layer.
    I have buttons and sound within a movieClip.
    Should I give outside movie clip instance name
    Thanks
    play_btn.addEventListener(MouseEvent.CLICK, playSound);
    stop_btn.addEventListener(MouseEvent.CLICK, stopSound);
    function playSound(e:MouseEvent):void {
        this.play();
    function stopSound(e:MouseEvent):void {
        stop();

    The code you show should work so you may have some implementation issues.
    For the stop button error you should go into your publish settings and select the option to permit debugging so that the error includes a line number for what's causing the error.  A 1009 error indicates that some object your code is trying to target does not exist as far as the code sees it.... which can be due to a number of reasons, such as assigning code in a frame where the targeted object does not exist.
    For the second error, it appears to be an issue loading (or possibly finding) the file.  Does the sound start playing on its own when you first run the code?
    Usually an error of any kind will prevent a file from running properly, so it may just be an issue of fixing just one of them.
    You normally don't have to wait for a sound file to completely load before executing a play command... that woiuld be counter-productive to the concept of streaming sound.  In theory, a play command following a load command will execute but the sound will not start until a sufficient buffer exists.

  • Configuring Mac Mini to automatically play QT file on startup

    I'm trying to configure a new Mac Mini 2.3GHz running Lion to function as a very dumbed down media player for a video art piece which is being installed at a client's office. Basically, I'd like to configure it so that from 7:30am-7:30pm it continuously loops a specific ProRes 422 HQ Quicktime file in full screen mode. Ideally it would then sleep from 7:30pm to 7:30am at which point it would wake and immediately start playing the file again. If the machine were ever restarted I'd also like it to automatically start playing that QT file. The goal is to minimize the amount of intervention required by the client. I already know how to configure the OS to sleep on a schedule and also how to make a QT file loop and play in full screen mode. Any thoughts anyone might have as to how best to accomplish this would be tremendously appreciated. Thanks!

    See my and other replies in the following thread.
    https://discussions.apple.com/message/16116427#16116427
    It is possible to add the line
         Present document 1
    before the play command to get it to play full-screen.
    To summarise you configure the Mac to turn on and off at the times you want, you configure it to auto-login as a user, and you configure that user account to run a version of my AppleScript.

  • Play Audio On Scroll?? (nothing works for me...)

    I am using a form of parallax on the stage which controls the time playback based on the position of the scroll. This app (page) will be part of an iPad DPS package (one of many pages). I am including the script from the stage, and a link to download the package. I want the audio to play only when the user begins scrolling. It can play through then stop. I have tried placing it on the timeline and setting a playback action at a point on the timeline - nothing; I have tried making it play by putting it into a symbol and adding actions at keyframes on the timeline to play the audio -- nothing. The only way it will play is by selecting the autoplay option in the element properties which is not what I want. I have also tried (see below) an action on the stage to play the audio:
    // insert code for scroll event here
    var animationHeight = 5120;
    var stageHeight = sym.$("Stage").height();
    var scrollPos = sym.$("Stage").scrollTop();
    var duration = sym.getDuration();
    var percent = scrollPos / (animationHeight - stageHeight);
    var time = duration * percent;
    // Update timeline
    sym.stop(time);
    // Play the audio track.
    sym.$("rafting_audio_element")[0].play();
    I think it has something to do with the time=duration*percent; -- I think it is preventing the audio from being played in realtime? YES / NO? Any help GREATLY appreciated.
    Thanks in advance!!
    LINK TO PUBLISHED ANIMATE FILES (not finished)...
    Dropbox - edge

    Hello again,
    Thanks for posting the composition files - that really helped.
    What's happening is there is not an actual "rafting_audio_element" audio element at the Stage level (it's a symbol), so it never gets the play command you put in the Stage scroll event, because that audio element doesn't exist on the Stage's timeline.
    To play the audio element directly, first get the symbol it's in, and then issue the play command to the audio element, like so:
    sym.getSymbol("rafting_audio_element").$("rafting_audio")[0].play();
    If you want to actually play the symbol instead of the audio element directly, try this:
    sym.getSymbol("rafting_audio_element").play();
    Either of those should play your audio element (the second indirectly).
    hth,
    Joe

  • Load swf AFTER playing to end of root timeline

    Don't know if this can be done or not...
    I have my Home page - 5 Navigation buttons on the page. Each
    button "onRelease" will load an external swf file ( a new page).
    The problem i'm having is getting the the buttons to play the rest
    of the root timeline (after "Stop) before it loads the external
    swf. The rest of the timeline is just a short fade to Alpha 0 of
    all buttons before the new page comes in.
    any help?
    thanks in advance.

    michaeltowse wrote:
    > Could you not assign a variable which is then picked up
    at the end of the main
    > timeline. This variable could be used within a loadMovie
    command. Your buttons
    > would have the variable declaration and then a play()
    command.
    >
    What you seem to need is some sort of non unloading loading
    of the movie.
    You got the level loading method, the movieclip loading
    method and the
    dedicated loader class.

  • Is there any way to play all files in a directory by one url?

    Hi all,
    I am testing fms this days, I have put all my files(such as 1.mp3,2.mp3...n.mp3) in my directory.
    I can play single file fine with url like this:
    rtmp://localhost/mp3/mp3:x/2
    but i want to know is there any way to play all files in my direcotry?
    for example, user click the play button, the player(smp) automatic plays all files in the directory, link windows media server.
    Should I use playlist? Or there is another better way?
    Thanks a lot.

    Hi,
    FMS do not directly take a directory to play files, the file names have to be fetched some way (through script if needed) to make a playlist and then the play command needs to be repeated as many times.
    Thank you !

  • Grid Control: transaction play with trace problem

    I'm using OEM Grid Control 10g, an Oracle Application Server 10g, and an Oracle Database 10g, all running on Linux.
    I'm trying to use OEM Grid Control for performance tuning.
    I've created a Web Application target and a transaction for my web app.
    Then I go to Manage Transactions, select my transaction and click "Play". After transaction play, I can click on "Show Results". All works fine.
    Instead, "Play with trace" doesn't work. The transaction is played, but when I click on "Show Results" it displays: "Error: Unable to get trace data" and displays only the same informations displayed after a simple "Play" command.
    I've searched in log files, in particular $ORACLE_HOME/sysman/log/emoms.log in EMGC10g ORACLE_HOME contains:
    2004-06-23 11:13:46,137 [EMUI_11_13_45_/console/webapp/e2e/trace/postresults] ERROR csm.target endElement.500 - Invalid element: name
    2004-06-23 11:13:46,137 [EMUI_11_13_45_/console/webapp/e2e/trace/postresults] ERROR csm.target endElement.500 - Invalid element: bad_parameters
    Tracing on application server is activated.
    Is this a bug?

    Hi Rob,
    It doesn't seem to write anything to the emagent.trc file. Makes you wonder whether the agent is running properly - it looks like it is:
    Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
    Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
    Agent Version : 10.2.0.4.0
    OMS Version : 10.2.0.4.0
    Protocol Version : 10.2.0.4.0
    Agent Home : /rbhp/u1/oracle/product/agent10g
    Agent binaries : /rbhp/u1/oracle/product/agent10g
    Agent Process ID : 6747
    Parent Process ID : 6737
    Agent URL : https://rbhp:1830/emd/main/
    Repository URL : https://rbhclusc:1159/em/upload
    Started at : 2009-10-01 15:54:51
    Started by user : oracrbh
    Last Reload : 2009-10-01 15:54:51
    Last successful upload : 2009-10-01 16:20:35
    Total Megabytes of XML files uploaded so far : 1.13
    Number of XML files pending upload : 0
    Size of XML files pending upload(MB) : 0.00
    Available disk space on upload filesystem : 30.70%
    Last successful heartbeat to OMS : 2009-10-01 16:23:06
    Agent is Running and Ready
    $
    I've just noticed that the upload is an https rather than an http - is this right?

  • Help! First Play Woes DVDSP4 confused non-newbie

    I thank you if you are able to shed some light on this.
    We have made many discs with a first play track, logos, legal etc. All work fine but our most recent project is not, for no reason we can see.
    We have a 30sec video as the first play, before going to main menu, works fine on very first play but pressing stop twice on a DVD remote, then play again does not return to the first play but plays another track completely (the longest on the disc, if that is any clue) Ejecting the disc and re-playing works as it should. We have tried on many set tops with the same result, however on a Mac or PC with playback software it seems fine.
    Here's what we have tried with no change in result, each new attempt had a completely fresh build and image:
    - Disabled user control on first play track (this was the only difference between this and other discs we have made that work)
    - Deleted offending (longest) track, removed assets from project, re-imported m2v and aif, made new track and connections
    - Changed track order in project outline (a long shot!)
    - Set global return to the first play track (and set individual returns)
    - Imported 2sec black, set this as first play, then end jump to original intro
    - Added 5x 2sec tracks cascading from start to intro in an attempt to displace the file location of the offending track and try to create same issue but with a different track appearing, still got the same (longest) track
    - Deleted offending track, removed all traces from project, deleted assets from Finder and re-encoded fresh from FCP timeline
    - Changed asset file names as 3 track assets including the first play and offending track shared 1st 5 characters the same, relinked assets
    - Swapped menu button track targets again to displace offending track's position in the image, no change
    Can anyone suggest what else we might try? What is making the DVD players think this is a special track and ignore the first play command?
    Is it anything to do with the last ProApp or MacOS update?
    Basically a small orchard   Mac OS X (10.4.7)   9 Machines on Network
    Basically a small orchard   Mac OS X (10.4.7)   9 Machines on Network

    Stop Stop will play Title 1 on the disc. Thats all there is to it.
    In the Outline tab you need to be in the By VTS view (if you are using dvdsp 4) and not By Type. Click the little <-> (icon) in the top right of the Tab to toggle between views or drag the right side of the Tab to reveal both at the same time.
    Whatever you want to play after the Stop Stop should be the Track in VTS 1. So this could be the Warning, a black bit of vid that jumps to a script, its upto you! The normal thing to do is to have Title 1 as the main show but its upto you as i said.
    FWIW, often authors will disable all UOPs, even Stop, on the warnings & logos so users cant quickly press Stop Stop to skip all that stuff and begin watching the movie,
    -Jake

  • Can't Get Music to Play in LR2 Slideshow

    I cannot get LR2 to play songs from my playlist in iTunes on my Mac.  I've read through the threads on this forum, refreshed the list on LR's slideshow section, tried repairing permissions, created new playlists in iTunes-- still no success.  Does it matter that the songs are ACC files?  (I'd think that that is correct for a Mac, but am I overlooking something?)
    Maybe my iTunes selection isn't local enough for LR2.  As an example, I have one of the selected songs under Mac HD:Users:Me:Music:iTunes:iTunes Music:Marc Shaiman:The American President:End Title.m4a.  Should it be placed elsewhere to make LR "see" the selection?
    Any help would be appreciated!

    Does it matter that the songs are ACC files?
    You mean aac? No those play fine on my machine, as well as mp3 files. AFAICT it will work for any format that iTunes can play, even protected files.
    I have one of the selected songs under Mac HD:Users:Me:Music:iTunes:iTunes Music:Marc Shaiman:The American President:End Title.m4a.  Should it be placed elsewhere to make LR "see" the selection?
    The iTunes folder should be in the default location (which yours appears to be, apart from the non-standard drive name) for Lightroom to see the playlists. But the most important thing is extremely simple. iTunes has to already be running. Lightroom as of version 2 somewhere simply sends a play command to iTunes. This allows you to play anything in your iTunes Library now, even protected files bought from the iTunes store before they went completely DRM free. Sometimes I've noticed that you need to have already played the starting song for a little in iTunes before it will work correctly.
    Now, I have to say that Lightroom's slideshow module is really quite useless. I usually just export jpegs and run a slideshow in iPhoto or Aperture. Far higher quality (Lightroom's slideshow is always quite fuzzy, no matter what kind of preview you generated), better iTunes support, and far more versatile in general.

Maybe you are looking for