dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: simple FLV question?

  1. #1
    Member
    Join Date
    Nov 2003
    Location
    In the Valley, Ca.
    Posts
    78

    simple FLV question?

    example to my problem. lets say

    I have a button on "frame 1" that says go to and play "frame 2" there is also a "stop" on frame 1

    on "frame 2" I have an "Flv" and a "stop".

    the button makes it go to "frame 2", the flv plays.

    here's the question. how do I get the "swf" to go back to "frame 1" after the flv has finished playing?

  2. #2
    Junior Member
    Join Date
    Jan 2010
    Posts
    7
    sanchini,

    Make sure you have a separate layer for your actions. Name it actions and make sure it is the top-most layer. At the very end keyframe of your actions layer ( or wherever you want it to go back to the beginning ) actionscript this.

    gotoAndPlay("Scene 1", 1);

    that is if you didn't change the name of your main scene.

    Let me know if that works.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center