Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

button to load image in different frame

New Here ,
Feb 12, 2016 Feb 12, 2016

Please help me , the example if i click button or movie clip in first frame, and then in next frame or spesific frame, automatically can load the same image or desirable on the button or movie clip before.
I am confuse, what shoul i do.. get value in button and save in data manager or create new class file or how?? i dont know, i am new in as 3.0

anyone can help me with example simple program or fla file?? really appreciated, thank you

TOPICS
ActionScript
242
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 13, 2016 Feb 13, 2016
LATEST

If you are working with the timeline then what you can do is store data in variables based on clicking the button so that when you get to another frame you can check the values of those variables to determine what to do at the destination frame.  For instance, if you wanted an image to appear then your button could assign a value to a variable that indicates the image identity.  When you reach the frame you have code there that check if that variable has a value, and if it does then it loads the image it identifies.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines