# Tutorial - The with() Statement

**URL:** https://forum.kirupa.com/t/tutorial-the-with-statement/187118
**Category:** flash
**Created:** [April 26, 2006, 7:49pm UTC](https://forum.kirupa.com/t/tutorial-the-with-statement/187118 "2006-04-26T19:49:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![iwojcik](https://avatars.discourse-cdn.com/v4/letter/i/8797f3/32.png) [@iwojcik](https://forum.kirupa.com/u/iwojcik)
#### Post date: [April 26, 2006, 7:49pm UTC](https://forum.kirupa.com/t/tutorial-the-with-statement/187118/1 "2006-04-26T19:49:30Z")

</div>

I’m no expert (never tried the with statement and I dont have flash) but should [this tutorial](http://www.kirupa.com/developer/actionscript/with.htm) replace the code:

theContent\_txt.text = “the business is mine”;  
theContent.\_x = 456;  
theContent.\_y = 345;

by

theContent\_txt.text = “the business is mine”;  
theContent\_txt.\_x = 456;  
theContent\_txt.\_y = 345;

If it aint the case, could someone please try to explain why!
