# Need help on sephiroth's AS3 Serializer

**URL:** <https://forum.kirupa.com/t/need-help-on-sephiroths-as3-serializer/324216>\
**Category:** flash\
**Created:** [August 9, 2011, 8:14am UTC](https://forum.kirupa.com/t/need-help-on-sephiroths-as3-serializer/324216 "2011-08-09T08:14:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zen08](https://avatars.discourse-cdn.com/v4/letter/z/6de8d8/32.png) [@Zen08](https://forum.kirupa.com/u/Zen08)\
**Post date:** [August 9, 2011, 8:14am UTC](https://forum.kirupa.com/t/need-help-on-sephiroths-as3-serializer/324216/1 "2011-08-09T08:14:50Z")

</div>

Im trying out sephiroth’s AS3 Serializer but it throws errors like this that is found on his class  
‘1004: Namespace was not found or is not a compile-time constant.’

i know what the error means. What i don’t know is how to fix it. Anyone has any ideas about sepy’s Serializer class in AS3 and how to make it work?

here’s the code i’m trying to test (base on his example) but it throws error:

```auto

stop();

import flash.net.*;
import org.sepy.io.Serializer;

var fromString:String = 'a:5:{i:2;a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:3;}s:1:"k";d:23.440000000000001278976924368180334568023681640625;s:1:"i";i:-11;s:1:"o";b:1;s:5:"class";O:3:"foo":2:{s:3:"boo";s:5:"index";s:3:"foo";i:1;}}';
var result:* = Serializer.unserialize(fromString);
trace(fromString);
trace("----------");
trace(result);

```

EDIT: Apparently, the mx\_internal is not working. How do i make this one work? Im using Flash CS4 by the way.
