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

Help with actionscript3 in animate

New Here ,
Jun 15, 2023 Jun 15, 2023

Hello i am trying to use actionscript 3 to make pretty much a small interactive menu . in the below code i am trying to make it do that when mouse down go from this movie clip to frame 3 and stop but also i want it to go to a different movie clip and stop it at frame 1. I am new to actionscript. both of these are inside of a 3rd movie clip

 

 

stop();
this.addEventListener(MouseEvent.MOUSE_DOWN, move);
 
 
 
 
 
function move(event:MouseEvent): void {
gotoAndStop(3);
MovieClip(root).Menugoside_mc.findus_mc.gotoAndStop(1);
 
}

this is the code i am working with but it doesnt make the findus movie clip go to frame 1 

131
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
Community Expert ,
Jun 15, 2023 Jun 15, 2023

Hi.

 

Does the main timeline go to frame 3 when you click? if so, is there a Menugoside_mc instance in frame 3?

 

Please let us know.

 

Regards,

JC

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
Community Expert ,
Jun 15, 2023 Jun 15, 2023
LATEST

does MovieClip(root).Menugoside_mc.findus_mc exist when mousedown?  ie, do you see an error when you mousedown?

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