Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8688517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:23:14+00:00 2026-06-12T23:23:14+00:00

I wrote an action script code for two frames,lets say frame 1 and frame

  • 0

I wrote an action script code for two frames,lets say frame 1 and frame 10. Now onClick() event on frame 1, i wrote like this.

 on(release){
gotoAndStop(10);
} 

Now from frame 1 to frame 10 i want to send some data like a boolean variable. So that i can execute appropriate action in frame 10.

Please let me know the possibilities of passing data between frames.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:23:15+00:00Added an answer on June 12, 2026 at 11:23 pm

    The timeline in Flash is really the top-level MovieClip and therefore any properties you set on it are accessible from any frame at that level. I would declare the variable in the first frame on your actions layer (before the stop() action I assume you must have) like so:

    var myBoolean = false; // set default
    

    In the action for your button you can set the value of your boolean:

    on(release){
      myBoolean = true; // myBoolean should be in scope from here, if not you could use _root.myBoolean
      gotoAndStop(10);
    } 
    

    And in frame 10 you can create a new frame on your actions layer and write the appropriate logic according to the value of the boolean:

    if (myBoolean) {
     // ...
    } else {
     // ...
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this code in book jQuery in action page 99 Why he wrote this line
I'm doing form validation using a PHP script. I initially wrote this code in
I wrote this script to change the usb keyboard layout automatically on plug-in import
I wrote a batch script which recursively updates my source code against the company's
I'd like if someone could give me some advice on creating this script, which
i have problem in javascript email validation, I wrote code something like, //emp.php <form
I had a jQuery / HTML code similar to this: <form action="/SomeAction" method="post"> <input
I wrote this code (which posts to a PHP page) so that if guests
Is Delphi have any ability to write script of IDE actions? I would like
I try to write Activator action for changing current song rating. I now that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.