# Simple problem. How can I create an ac3 object in mxml?

**URL:** https://forum.kirupa.com/t/simple-problem-how-can-i-create-an-ac3-object-in-mxml/276286
**Category:** flash
**Created:** [November 25, 2008, 1:03pm UTC](https://forum.kirupa.com/t/simple-problem-how-can-i-create-an-ac3-object-in-mxml/276286 "2008-11-25T13:03:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![beczesz](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@beczesz](https://forum.kirupa.com/u/beczesz)
#### Post date: [November 25, 2008, 1:03pm UTC](https://forum.kirupa.com/t/simple-problem-how-can-i-create-an-ac3-object-in-mxml/276286/1 "2008-11-25T13:03:24Z")

</div>

Hi!  
I want an ac3 object in my mxml.  
I have an error in this code. I haven’t connect until now ac3 and mxml, I think the problem is very simple.

1084: Syntax error: expecting identifier before doubledot.

\<mx:Application  
xmlns:mx=“[http://www.adobe.com/2006/mxml](http://www.adobe.com/2006/mxml)”  
xmlns:comp="…/ptest.\*"\>  
\<mx:Panel title=“Tutorial” width=“300” height=“200”\>  
\<comp:Sdd id=“pl” /\>  
\</mx:Panel\>  
\</mx:Application\>

The ac3 class:

package ptest  
{  
import flash.display.SimpleButton;  
import flash.display.Sprite;

```
public class Sdd extends Sprite
{
	public function Sdd()
	{
		this.addChild(new SimpleButton());
	}
}

```

}
