premetto che non è tutta farina del mio sacco:
questo è il codice per p1.codice:on (release) { // Locate the screen that is the target of the behavior if (n>0) n--; // questa è roba mia if (n==0) indicatore=""; else indicatore=n+"/24"; if (n==0) descrizione=""; else descrizione=des[n-1]; // fine roba mia var screen = null; var target = this; while((screen == null) && (target != undefined) && (target != null)) { if(target instanceof mx.screens.Screen) { screen = target; } else { target = target._parent; } } // If there's a Slide to apply the behavior to, then do so if(screen instanceof mx.screens.Slide) { screen.rootSlide.currentSlide.gotoPreviousSlide(); } }

Rispondi quotando