# Flash help

**URL:** <https://forum.kirupa.com/t/flash-help/235531>\
**Category:** Uncategorized\
**Created:** [August 12, 2007, 10:42am UTC](https://forum.kirupa.com/t/flash-help/235531 "2007-08-12T10:42:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stillbeating](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@stillbeating](https://forum.kirupa.com/u/stillbeating)\
**Post date:** [August 12, 2007, 10:42am UTC](https://forum.kirupa.com/t/flash-help/235531/1 "2007-08-12T10:42:12Z")

</div>

Hi there, I’m new to this site…

I’m making an RPG sorta game, where you select enemies and fight them, and im having some difficulty with scripts… here are my 2 problems…

1, i want it so that when you defeat an enemy its button deletes, (i’ve tried putting some scripts in the “win” frame, but to no avail, so what is a script i could put in the “win” frame that would delete that button?

2, i want it so when you defeat ALL the enemies, (and all of their buttons have been deleted) a NEW button pops up on the home page and you fight the boss. so, what scripts should i do for that?

your help will be greatly appreciated.  
thanks. 🙂

ps, if you did’t understand what i meant by my game, check out my lame little site, and you’ll see what i mean ,[\<here\>](http://www.stillbeating.zoomshare.com) (its only what i’ve got so far, the files called RPG DEMO)

pps, sorry for posting this in the wrong forum section.
