nextFrame() help


i have picture (as movie clip) is: scene1.site.friends_btn.pic1_friends

 

in clip frame 1 picture frame 2 picture. trying change picture in frame 2 when clicked.

 

i tried:

 

onpress = function() {

    nextframe();


}

 

 

in action script in pic1_friends. have tried in script of site

 

friends_btn.pic1_friends.onpress = function() {

 

friends_btn.pic1_friends.nextframe();

 

}

 

 

 

the cursor changes when hover on picture doesn't change when clicked. doing wrong?

 

 

*edit

 

seems problem mouse press. put trace command in there , nothing happens.

seems though mixing versions in code.

 

nextframe() part of as3

 

the .onpress = function() method of button handling as2

 

which have project set for?



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino DUE ADC to DAC Piezo 30 Khz-100Khz

Indesign and MathType fonts