# Help! The play button

**URL:** <https://forum.kirupa.com/t/help-the-play-button/265213>\
**Category:** Uncategorized\
**Created:** [July 6, 2008, 11:51am UTC](https://forum.kirupa.com/t/help-the-play-button/265213 "2008-07-06T11:51:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![omnimaqq](https://avatars.discourse-cdn.com/v4/letter/o/eada6e/32.png) [@omnimaqq](https://forum.kirupa.com/u/omnimaqq)\
**Post date:** [July 6, 2008, 11:51am UTC](https://forum.kirupa.com/t/help-the-play-button/265213/1 "2008-07-06T11:51:15Z")

</div>

I have created an opening scene for my animation and i put in a play button which people can click on and i want the people to click on this play button and this will start playing my animation from another .swf file on my computer. i also made a button called quiz which i want it to link to the quiz i made on flash. It is like when you play a DVD and it’ll have the main menu where you choose play and audio and stuff.

Really glad if anyone can help me out.

Thanks

P.S my .swf file is called openingscene  
👼

---

<div class="post-metadata">

**Author:** ![BenBart](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Post date:** [July 6, 2008, 4:52pm UTC](https://forum.kirupa.com/t/help-the-play-button/265213/2 "2008-07-06T16:52:07Z")

</div>

I would suggest putting all of the content into the same file rather than loading each piece as a separate swf.

Are you using actionscript 2, or 3?.

There is an actionscript 2 example of what you are trying to do at:  
[http://www.kirupa.com/developer/mx/full\_site.htm](http://www.kirupa.com/developer/mx/full_site.htm)

---

<div class="post-metadata">

**Author:** ![omnimaqq](https://avatars.discourse-cdn.com/v4/letter/o/eada6e/32.png) [@omnimaqq](https://forum.kirupa.com/u/omnimaqq)\
**Post date:** [July 7, 2008, 12:23am UTC](https://forum.kirupa.com/t/help-the-play-button/265213/3 "2008-07-07T00:23:35Z")

</div>

[quote=BenBart;2354244]I would suggest putting all of the content into the same file rather than loading each piece as a separate swf.

Are you using actionscript 2, or 3?.

There is an actionscript 2 example of what you are trying to do at:  
[http://www.kirupa.com/developer/mx/full\_site.htm[/quote]](http://www.kirupa.com/developer/mx/full_site.htm%5B/quote%5D)

Thankyou for your quick reply. i am currently using actionscript 3…at least i think so…and what do you mean by putting content in same file as in i make a folder called my animation or something and then put the animation i am going to use in that folder? or…:stare:

EDIT:i’m actually using AS2 (just found out)

---

<div class="post-metadata">

**Author:** ![omnimaqq](https://avatars.discourse-cdn.com/v4/letter/o/eada6e/32.png) [@omnimaqq](https://forum.kirupa.com/u/omnimaqq)\
**Post date:** [July 7, 2008, 12:47am UTC](https://forum.kirupa.com/t/help-the-play-button/265213/4 "2008-07-07T00:47:13Z")

</div>

on (release) {  
\_root.contents.loadMovie(“main\_content.swf”);  
}

that was on the tutorial site you gave me so do i just replace “main\_content” with the name of my animation and get rid of \_root and change content into my instance name?  
that’s what i did but i still failed to play the quiz i wannted to play and i imported that into my library…
