# Spaces

**URL:** https://forum.kirupa.com/t/spaces/8216
**Category:** Uncategorized
**Created:** [November 15, 2002, 11:40pm UTC](https://forum.kirupa.com/t/spaces/8216 "2002-11-15T23:40:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jeremy](https://avatars.discourse-cdn.com/v4/letter/j/82dd89/32.png) [@jeremy](https://forum.kirupa.com/u/jeremy)
#### Post date: [November 15, 2002, 11:40pm UTC](https://forum.kirupa.com/t/spaces/8216/1 "2002-11-15T23:40:38Z")

</div>

I was just wondering how strict flash is when it comes to spaces with AS.  
something like:  
varName = 23;  
vs.  
varName=23;

which do you think is better? and where (if anywhere) would someone run into problems using one way versus the other.

---

<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: [November 16, 2002, 12:13am UTC](https://forum.kirupa.com/t/spaces/8216/2 "2002-11-16T00:13:53Z")

</div>

It isn’t too strict on that.

If you use MX there is an autoformat button in the Actions panel, I love that button, youdon’t have to worry about spacing or putting the ; symbols in the right place, or indenting right. Just press the button and it does that for you.

It does not automatically close } tags though and it will not format if there is an error in your code (which is a good thing).

It is good to know when and when not to space or add things though, but as a backup there is always that 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: [November 16, 2002, 1:14am UTC](https://forum.kirupa.com/t/spaces/8216/3 "2002-11-16T01:14:22Z")

</div>

thanks, I didn’t even know about that 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: [November 16, 2002, 3:38am UTC](https://forum.kirupa.com/t/spaces/8216/4 "2002-11-16T03:38:59Z")

</div>

No problem 🙂
