# User controls

**URL:** <https://forum.kirupa.com/t/user-controls/8982>\
**Category:** flash\
**Created:** [December 2, 2002, 8:22am UTC](https://forum.kirupa.com/t/user-controls/8982 "2002-12-02T08:22:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![D\_Gonzalvez](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@D\_Gonzalvez](https://forum.kirupa.com/u/D_Gonzalvez)\
**Post date:** [December 2, 2002, 8:22am UTC](https://forum.kirupa.com/t/user-controls/8982/1 "2002-12-02T08:22:08Z")

</div>

Thank you Kirupa for the code to embed a flash movie in html at  
[http://www.kirupa.com/developer/flash5/html.asp](http://www.kirupa.com/developer/flash5/html.asp)

It works well. I would, however, like my users to have control to start the movie when they want. At the moment it starts when it loads up. I’d like to have a button for users to click to start the movie.

How can I do this?

Also the sound plays in IE but not in Netscape 6.2. I cannot figure out why.

Thank you

DG

---

<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:** [December 2, 2002, 5:28pm UTC](https://forum.kirupa.com/t/user-controls/8982/2 "2002-12-02T17:28:33Z")

</div>

Have Stop action on the beginig of your movie (at the point that you want the users choose to play or not), then add a buntton and this code (on the button)

```php
on (press){
   play();
}

```

=)

---

<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:** [December 3, 2002, 6:52am UTC](https://forum.kirupa.com/t/user-controls/8982/3 "2002-12-03T06:52:44Z")

</div>

Thank you Guigo

I’ll give it a try.

DG

---

<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:** [December 3, 2002, 11:30am UTC](https://forum.kirupa.com/t/user-controls/8982/4 "2002-12-03T11:30:28Z")

</div>

If you find any dificulties, don´t exitate to ask me again.

And by the way, **Welcome to Kirupa forum** , I´m sure you will stay here for long. There is no flash forum like this one, everyone here is friendly and helpfull, if not hilarious (see Phil Jayham posts).

Glad to help.

=)

---

<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:** [December 4, 2002, 1:23am UTC](https://forum.kirupa.com/t/user-controls/8982/5 "2002-12-04T01:23:05Z")

</div>

I have something to ask. The movie doesnt stop, then go on when I click “Play movie” It just goes on

---

<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:** [December 4, 2002, 11:18am UTC](https://forum.kirupa.com/t/user-controls/8982/6 "2002-12-04T11:18:24Z")

</div>

I don´t understand you. Can you explain it a lil better?

=)

---

<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:** [December 8, 2002, 3:47am UTC](https://forum.kirupa.com/t/user-controls/8982/7 "2002-12-08T03:47:49Z")

</div>

> \*Originally posted by Guig0 \*  
> \*\*If you find any dificulties, don´t exitate to ask me again.

And by the way, **Welcome to Kirupa forum** , I´m sure you will stay here for long. There is no flash forum like this one, everyone here is friendly and helpfull, if not hilarious (see Phil Jayham posts).

Glad to help.

=) \*\*

Guigo

The button works, however, the sound starts before the images in the movie. I’d like both to start together.

Thanks for your help.

DG

---

<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:** [December 8, 2002, 10:30am UTC](https://forum.kirupa.com/t/user-controls/8982/8 "2002-12-08T10:30:17Z")

</div>

place the keyframe that contains the sound one frame after the keyframe that contains the button

=)

---

<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:** [December 8, 2002, 6:12pm UTC](https://forum.kirupa.com/t/user-controls/8982/9 "2002-12-08T18:12:38Z")

</div>

🙂 Thanks. I got it to work.

\<:} Merry Christmas to you too.

DG
