Flash Advisor logo
:: Desktop Shortcut
:: Flash Help
Advice from Experts

+ Reply to Thread
Results 1 to 3 of 3
  1. #1

    Default Simple stop FLV video script on Enter_frame

    I have a FLV video that I need to stop when my flash video reaches a certain frame.
    I named my video "SMB3video"
    Using AS3.

    I don't want something super advanced, just keep it as simple as possible.


    I tried to create a script which gave me no errors until it reached the frame for the timeline.

    Code:
    this.addEventListener(Event.ENTER_FRAME,ent_frame);
    
    function ent_frame() {
        SMB3video.stop();
    }

  2. # ADS
    Join Date
    Always
    Posts
    Many
     
  3. #2

    Default

    Quote Originally Posted by KingOfHeart View Post
    I have a FLV video that I need to stop when my flash video reaches a certain frame.
    I named my video "SMB3video"
    Using AS3.

    I don't want something super advanced, just keep it as simple as possible.


    I tried to create a script which gave me no errors until it reached the frame for the timeline.

    Code:
    this.addEventListener(Event.ENTER_FRAME,ent_frame);
    
    function ent_frame() {
        SMB3video.stop();
    }
    Whats the error you are getting? can you paste it here? Have you tried just putting " SMB3video.stop();" at the frame you want the video to stop? instead of having the listener?

  4. #3

    Default

    I deleted the FLV a little while ago because I wanted to go 100% flash.
    However, I did learn that it was easier to just do stop it by the frame then to do a listen.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Sponsors
Create Speaking Characters for your website and Flash movies. 15 Day Free Trial