How do I start a streaming .flv at a point other than the beginning of the video file?

I have a 1.5 hour flv video that is streaming from a
Microsoft 2003 box with Wowza Media Server installed. Using
Actionscript 3 and the FLVplayback component I would like to start
the video at a point about 10 seconds from the beginning.
This code snippet does not work:
myVideoFile.seek(10);
myVideoFile.play();
Though the video seeks to the proper point in the video file,
the play() call sends it back to the beginning. Thanks for your
help!

That's the ticket!
<totallyRocks>Jamesabth</totallyRocks>

Similar Messages

  • How to create a window with its own window border other than the local system window border?

    How to create a window with its own window border other than the local system window border?
    For example, a border: a black line with a width 1 and then a transparent line with a width 5. Further inner, it is the content pane.
    In JavaSE, there seems to have the paintComponent() method for the JFrame to realize the effect.

    Not sure why your code is doing that. I usually use an ObjectProperty<Point2D> to hold the initial coordinates of the mouse press, and set it to null on a mouse release. That seems to avoid the dragging being confused by mouse interaction with other nodes.
    import javafx.application.Application;
    import javafx.application.Platform;
    import javafx.beans.property.ObjectProperty;
    import javafx.beans.property.SimpleObjectProperty;
    import javafx.collections.FXCollections;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.geometry.Point2D;
    import javafx.geometry.Pos;
    import javafx.scene.Node;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ChoiceBox;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.AnchorPane;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.Window;
    public class CustomBorderExample extends Application {
      @Override
      public void start(Stage primaryStage) {
      AnchorPane root = new AnchorPane();
      root.setStyle("-fx-border-color: black; -fx-border-width: 1px; ");
      enableDragging(root);
      StackPane mainContainer = new StackPane();
        AnchorPane.setTopAnchor(mainContainer, 5.0);
        AnchorPane.setLeftAnchor(mainContainer, 5.0);
        AnchorPane.setRightAnchor(mainContainer, 5.0);
        AnchorPane.setBottomAnchor(mainContainer, 5.0);
      mainContainer.setStyle("-fx-background-color: aliceblue;");
      root.getChildren().add(mainContainer);
      primaryStage.initStyle(StageStyle.TRANSPARENT);
      final ChoiceBox<String> choiceBox = new ChoiceBox<>(FXCollections.observableArrayList("Item 1", "Item 2", "Item 3"));
      final Button closeButton = new Button("Close");
      VBox vbox = new VBox(10);
      vbox.setAlignment(Pos.CENTER);
      vbox.getChildren().addAll(choiceBox, closeButton);
      mainContainer.getChildren().add(vbox);
        closeButton.setOnAction(new EventHandler<ActionEvent>() {
          @Override
          public void handle(ActionEvent event) {
            Platform.exit();
      primaryStage.setScene(new Scene(root,  300, 200, Color.TRANSPARENT));
      primaryStage.show();
      private void enableDragging(final Node n) {
       final ObjectProperty<Point2D> mouseAnchor = new SimpleObjectProperty<>(null);
       n.addEventHandler(MouseEvent.MOUSE_PRESSED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(new Point2D(event.getX(), event.getY()));
       n.addEventHandler(MouseEvent.MOUSE_RELEASED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            mouseAnchor.set(null);
       n.addEventHandler(MouseEvent.MOUSE_DRAGGED, new EventHandler<MouseEvent>() {
          @Override
          public void handle(MouseEvent event) {
            Point2D anchor = mouseAnchor.get();
            Scene scene = n.getScene();
            Window window = null ;
            if (scene != null) {
              window = scene.getWindow();
            if (anchor != null && window != null) {
              double deltaX = event.getX()-anchor.getX();
              double deltaY = event.getY()-anchor.getY();
              window.setX(window.getX()+deltaX);
              window.setY(window.getY()+deltaY);
      public static void main(String[] args) {
      launch(args);

  • How do I get an iPod touch to turn on other than the normal way. It has been dropped and all I can get is a blank screen. Have tried holding the HOME button down for 30 sec. but that didn't work.

    How does one get an iPod nano to turn on other than the "normal" way? This one has been dropped and all I can get is a blank screen. I have tried holding down the HOME button to restart it but no go. When I connect it to my computer, I am told to enter the PASSCODE which I cannot do as there is no touchpad.

    David ..
    Your topic refers to an iPod touch
    Then you say:  How does one get an iPod nano to turn on ......
    If it's an iPod touch, try a reset.
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.
    If that doesn't help, whether it's an iPod nano or touch, it probably needs service >  Apple - Support - Service Answer Center

  • How can we move a member in a BSO cube other than the manual move in EAS?

    When I add a member to the dimension, it gets added at the bottom.
    Is there a way we can add at the top as a first child of that current member. I don't want to sort.
    Or is there a way we can move the member by any other means other than manually moving it?
    because I would like to schedule this process.
    Thanks,

    unless you delete and readd the members of the dimension (sorted in the dimension build file in the order you want, or using the sort frature, there is no way to add the members as you want (Well you could use the api to do it) but I don't think that is what you are looking for

  • How do I start firefox in safe mode on a Mac as the equivalent of holding option key whilst starting doesn't open dialogue on Mac?

    I am trying to reset toolbars and am following firefox's help instructions. How do I start firefox in safe mode on a Mac as the equivalent of holding option key whilst starting doesn't open a dialogue box on the Mac?

    Thanks Morbus.. I hadn't noticed that but it was already set at Mac. I tried it again and it worked this time... but alas my main problem persists:
    My back and forward buttons don't work in Firefox and I've lost all of my bookmarks! I've tried a few of the suggestions but without success at the moment.
    Particularly unhelpful are the instructions to back-up your lost bookmarks - which I can't do cos they're lost!!

  • Hi, i signed up to  photoshop cloud packaage, how do i start using photoshop? i'm unable to download the photoshop

    Hi, i signed up to  photoshop cloud packaage, how do i start using photoshop? i'm unable to download the photoshop

    Nobody can tell you anything without proper system info or other technical details.
    Mylenium

  • TS3297 iTunes puts up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one. How I can clear that messag

    I've been running iTunes on WinXP for years with few problems.  I have all my iTunes files on an external USB drive. I just bought a new PC running Win7, 64-bit.
    I connected the external USB drive to the new PC and installed 64-bit iTunes on it. When iTunes started up, I pointed it at the iTunes directory in the external drive, using Edit > Preferences > Advanced > iTunes Media Folder Location. It showed a progress bar that it was updating the iTunes Library. I signed in and authorized the new machine. I have one spare authorization.
    Then iTunes put up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one.
    When I click OK, the iTunes Store page remains blank, apart from saying "iTunes Store" in the middle of the page.
    I went to "View My Account" and pressed the Reset button to "Reset all warnings for buying and downloading items", but that doesn’t fix this particular warning. I also tried Edit > Preferences > Advanced > Reset Warnings and Rest Cache.
    But still, every time I click the “App Store” button in the iTunes Store window, the message appears. If I click the Books, Podcasts or iTunesU buttons, these display normally.  So I’m stuck with being unable to purchase apps, other than through my iPad and iPhone.
    If I move the external drive back to the XP machine, the same thing happens.  If I go to another PC - a notebook running Vista - everything is normal.
    Any idea how I can clear that message?
    Thanks for any help you can offer.

    Further info on my question above.
    I have tried re-validating my credit card, which apparently fixed it for some. 
    I have also tried uninstalling, re-downloading and installing again.
    Neither of these steps fixed the problem.

  • How to maintain itunes on a drive other than the system drive

    I would like to have itunes on a drive other than the Windows 7 operating system drive, and have it stay there.
    Never mind...I found a post which applies.

    Hi Maciejhttp://forums.adobe.com/people/Maciej%20Przepi%C3%B3ra
    Thanks for your inputs.
    I have memory leaks in my code. I have tried iDialog->Release() code which reduces some of the memory leaks
    Though I want to use more clean method of InterfacePtr.
    "To prevent reference counts  from incrementing, as in Type 1a and 1b, use this constructor, which does not  call IPMUnknown::AddRef:"
    Which Constructor you are pointing out, I didn't get it.
    I tried InterfacePtr<IDialog> iDialog((IDialog *)iWidgetParent->QueryParentFor(IID_IDIALOG));
    It started giving me assert again.
    Please give an example how to do it or which InterfacePtr constructor doesn't call AddRef().
    Many thanks for helping me with this.
    D

  • I just updated to Adobe Reader 11.0.07 on my Mac 10.6.8 and now the video files don't work.  How do I uninstall the update and return to the previous version?

    I just updated to Adobe Reader 11.0.07 on my Mac OS version 10.6.8 and now the video files don't work.  How do I uninstall the update and return to the previous version?

    I received a notice from Chris Campbell at Adobe that stated : "....we are aware that Macs created between 2006 and 2008 are currently running into problems using the latest release of Flash Player (version 13)."  My question is will the update of Adobe Reader 11.0.07 cause this problem with Flash Player 13 on my Mac?  Sometimes when I try to view streaming video I get sound but no video.
    >

  • The video file jumping to the start point.

    Hello, Is anyone know why the video file, when he get to the end he is jumping to the start point, And Is there  any way to prevent this?
    thanks a lot
    anat/

    Hi Anat,
    Can you please confirm complete version of Adobe Captivate (Help > About Adobe Captivate).
    How have you inserted the video? multi slide synchronized video or event video?
    Is it jumpiing to the start point of the video or the start of your project?
    In which format have you published your output?
    Thanks.

  • How can Reader v 9  be installed to a volume other than c:?

    How can Reader v >9  be installed to a volume other than c:? such as g:?
    and is there a distrubution executable available so Reader can be installed on a machine that is not connected to the Internet?

    download the .exe from the ftp service and use it to target the install directory:
    ergo
    ftp://ftp.adobe.com/pub/adobe/reader/
    and pick OS and version and language thus:
    ftp://ftp.adobe.com/pub/adobe/reader/win/9.x/9.5.0/en_US/AdbeRdr950_en_US.exe

  • How do I assign a file to a drive other than the drive that contains my program software?

    I've just installed a video editing program on my new Mac Pro Xeon 64 bit workstation. I want to ensure that all my media files reside on a drive other than the drive that contains programs. I had no problem doing this on my old Dell. How do I do this on my Mac Pro? -- Gary

    Application Preferences.
    Next time, 'what' program would also help.
    Most people do setup with a dedicated boot drive with OS and apps, .then use other drives or array(s) for media, scratch as needed, including external hardware RAID.

  • How do i install reader to a drive other than the boot drive?

    how do i install reader to a drive other than the boot drive?

    Hi nicksdaddy,
    There is an offline version:
    http://get.adobe.com/reader/enterprise/
    Hope that helps!
    Stacy

  • How can I install Adobe Reader 11 to a drive other than C:\?

    I downloaded Reader 11, but at no point during the installation process am I prompted for an installation location.  How can I install this to a drive other than the C:\?  I keep my C:\ and data storage drive separate so in the event the OS crashes I won't lose my data.  I have limited storage capacity since I'm on a laptop so I didn't make my C:\ very large, so that I would have more room for my D:\.  Any suggestions?
    Sincerely,
                    LT Gannon

    having data on a different drive is a good idea.  installing programs on a drive different from you os containing drive is generally not a good idea.  but if you have the expertise and are sure of what you're doing:
    mac:  ftp://ftp.adobe.com/pub/adobe/acrobat/mac/11.x/11.0.00/misc/
    win:  http://www.adobe.com/support/downloads/detail.jsp?ftpID=5515

  • How can I open a PDF into an iBooks folder other than PDF folder?

    How can I open a PDF directly into a folder in iBooks other than the PDF folder?  I have different folders made and am currently having to open into the PDF folder and then move to the correct folder. Can I open directly into the needed folder? 

    No, I don't think so. The pdf isn't capable of knowing which folder you would like it to open in – all it knows is that it is a pdf. It's up to you to put it in the appropariate folder.

Maybe you are looking for