# AS3 - namespace in a namespace

**URL:** <https://forum.kirupa.com/t/as3-namespace-in-a-namespace/307924>\
**Category:** flash\
**Created:** [April 13, 2010, 4:13pm UTC](https://forum.kirupa.com/t/as3-namespace-in-a-namespace/307924 "2010-04-13T16:13:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rCANE](https://avatars.discourse-cdn.com/v4/letter/r/96bed5/32.png) [@rCANE](https://forum.kirupa.com/u/rCANE)\
**Post date:** [April 13, 2010, 4:13pm UTC](https://forum.kirupa.com/t/as3-namespace-in-a-namespace/307924/1 "2010-04-13T16:13:16Z")

</div>

hi all!

how can i declare a namespace within a namespace in AS3? ( if it’s even possible to do )

this is what i like to do:

```php

private namespace defaults
   defaults namespace client
      client static var width:int

```

…but sadly this isn’t working for me… ☹

i want to acces like this:

```php

trace( defaults::client::width )

```

THX
