| JohnnieNeutron 2005-05-26, 4:19 am |
| :evil; Help, I am writing a pretty simple flash slide show in which I use the
gotoSlide command. when I run the presentation and click on the button, the
screen transistions to that slide and then after 4.5 seconds it hopes back to
the origunally slide. I have tried adding action layers to the child slides
with the 'stop();' command and this does nto seem to stop the slide from
hopping back to the title page. Please help!
Johnnie
on (release) {
// GoTo Screen behavior
if((this.profile.statsslide != undefined) && (this.profile.statsslide !=
null))
{
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(screen instanceof mx.screens.Slide)
{
screen.gotoSlide(this.profile.statsslide);
}
}
// End GoTo Screen behavior
|