If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2004
    Member #
    is there a way i can create a button which does something like this:?

    gotoandplay( 'scene1', 12-31 THEN 'scene4, 7-81);

    ? any help would be greatly appreciated. The only work-around i can tihnk of is to create a new scene containing the desired frames, but this would be duplicating existing imagery and code, which is very crude.

    Thanks guys

    Geraint Lewis


  3. #2
    Senior Member
    Join Date
    Mar 2004
    Member #
    I think I understand the problem your having. Here's what I would do: First create a variable, call it whatever you'd like and put it on your button. Add the actions so that when you click the button, it sets the variable to 1. Then, just add your normal actions on the button to make it go to the scene:
    on(press) {
    gotoandPlay('scene1', 12) or whatever the syntax is...
    Now, on scene 1, frame 31, have the following actions:
    if (that variable = 1) {
    gotoandPlay('scene4', 7)
    Now, on scene 4, on frame 81 have:
    if (that variable = 1) {

    I think this would acoomplish what your going for.

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 12:21 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: