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”
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());
}
}
}