dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: My first paying project!

  1. #1
    Flash rules all. steiner_99's Avatar
    Join Date
    Aug 2002
    Location
    Kitchener Canada
    Posts
    277

    My first paying project!

    I'm not sure how to explain this properly, but I'll try.

    I am working on a demo project which has 6 scenes,
    -"main,play all,1,2,3,4"
    on the main scene I have 5 buttons which link to the 4 sections of the demo movie.

    If a user clicks on "play all" it demo simply plays through scenes 1 - 4 then back to main.

    but If a user clicks on "1","2","3","4", it only plays that individual scene, until it is finished, then back to "main"

    did ya get it?
    I think I need an (IF) statement at the end of scenes 1 - 4,
    but I'm unsure how to use it properly?
    anyone know?
    anyone know of some good demo tuts?
    Last edited by steiner_99; 06-25-2003 at 11:51 PM.
    What you learn is meant to be forgotten, so you can flow freely.
    -Bruce Lee

  2. #2
    Slackware 9.0 Runes_Tooth's Avatar
    Join Date
    Mar 2002
    Location
    Crono Triggyarr
    Posts
    508
    You could have each scene automatically continue playing. Then have an if statement that would cause the movie to return to the main scene if a certain value were set to something.

    Say clicking "Play All" would put the value 1 in _root.playall

    You would have this at the end of every scene:
    Code:
    if (_root.playall != 1){
      gotoAndPlay("mainScene",1);
    }

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