# Flash slide presentation, anybody use this?

**URL:** <https://forum.kirupa.com/t/flash-slide-presentation-anybody-use-this/258286>\
**Category:** flash\
**Created:** [April 22, 2008, 7:09pm UTC](https://forum.kirupa.com/t/flash-slide-presentation-anybody-use-this/258286 "2008-04-22T19:09:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![eboy](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@eboy](https://forum.kirupa.com/u/eboy)\
**Post date:** [April 22, 2008, 7:09pm UTC](https://forum.kirupa.com/t/flash-slide-presentation-anybody-use-this/258286/1 "2008-04-22T19:09:53Z")

</div>

I have the lovely task of working in a Flash slide presentation file. This uses the mx.screens.Slide class and I am having some trouble getting an action to work.

I am able to go from slide to slide through the behaviors, what I cant figure out is how to go to a particular frame in the timeline of a slide. I have been using code below and it works, just not when I try to add a keyframe number to it, any suggestions would be really appreciated.

```auto

on (release) {
	if ((_root.presentation.slide4 != undefined) && (_root.presentation.slide4 != 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(_root.presentation.slide4(1));
		}
	}
}

```

This is the section thats troubling me, you can see I am trying to go to a particular frame in a slide.

```auto
screen.gotoSlide(_root.presentation.slide4(1));

```
