# I need AS(action script) Help

**URL:** https://forum.kirupa.com/t/i-need-as-action-script-help/200684
**Category:** programming
**Created:** [September 14, 2006, 7:41am UTC](https://forum.kirupa.com/t/i-need-as-action-script-help/200684 "2006-09-14T07:41:49Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![silverneo188](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@silverneo188](https://forum.kirupa.com/u/silverneo188)
#### Post date: [September 14, 2006, 7:41am UTC](https://forum.kirupa.com/t/i-need-as-action-script-help/200684/1 "2006-09-14T07:41:49Z")

</div>

does anyone know the full action script for making a sequence where i select a object and it removes it from my money var.? i got the var(variable) and the money, and the object i want the flash to take the money from when i click on it. I just need help with the code! PLZ SOMEONE HELP!

I also want it to make a messege saying not enough cash if you dont have the right amount. it needs to update the dynamice text of the money when button is pressed.
