# Beginner needs help! - How to play nonlinearli a movie clip?

**URL:** <https://forum.kirupa.com/t/beginner-needs-help-how-to-play-nonlinearli-a-movie-clip/20778>\
**Category:** flash\
**Created:** [May 13, 2003, 11:05am UTC](https://forum.kirupa.com/t/beginner-needs-help-how-to-play-nonlinearli-a-movie-clip/20778 "2003-05-13T11:05:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lpashov](https://avatars.discourse-cdn.com/v4/letter/l/f07891/32.png) [@lpashov](https://forum.kirupa.com/u/lpashov)\
**Post date:** [May 13, 2003, 11:05am UTC](https://forum.kirupa.com/t/beginner-needs-help-how-to-play-nonlinearli-a-movie-clip/20778/1 "2003-05-13T11:05:56Z")

</div>

Hello, 🙂  
Can anybody tell me how to solve my flash problems?

1. I would like to set such an action to a flash menu, so to play nonlinearly some parts of a movie clip.

For example, if I have a movie clip with 30 frames, to be able when clicking on item1 from the menu, to play movie from 1-st to the 10-th frame (and then to stop), but if I click on item3, to play movie from 20-th to 30-th frame.

1. I would like to start a flash in a HTML frame, and on some events (for example from a flash menu in this frame) to change whole (this) frame (with the flash) with a common HTML page.

Maybe the questions are very simple, but I am new with flash.

Thank you in advance 🙂  
Lyubo.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 13, 2003, 12:04pm UTC](https://forum.kirupa.com/t/beginner-needs-help-how-to-play-nonlinearli-a-movie-clip/20778/2 "2003-05-13T12:04:18Z")

</div>

1. use this code on the button

[AS]  
on(release){

gotoAndPlay(“clip1”);

}  
[/AS]  
clip1 should be the name of the frame you want to go to. This can be any name that you chose. You could also put in a number ie 20 and it would go to 20 but its best to use names incase you change the number of frames.

1. use  
[AS]  
getURL("/mypage/index.html")  
[/AS]  
this will go to the url that you indicate and replace the flash with the new html page that you specify
