Hi,

What I'm trying to do is:

1. I've got a timeline sound inside a button (as a Event Sound on frame 2) that 
sits in a library  (Flash CS3)
    Button is obviously exported for action script as Symbol1 with a base class 
flash.display.SimpleButton


2. embed that symbol in my app (Flex Builder 3)

        [Embed(source="test.swf", symbol="Symbol1")] private var MyButton:Class;
        public function testSound()
        {
                var butt:SimpleButton = new MyButton();
                addChild(butt);
        }


All looks simple enough to work but a problem is that... sounds doesn't play !!

Please help as I'm banging my head second day.

Thanks guys,

Marcin.

This email is intended only for the person or entity to which it is addressed 
and may contain information that is privileged, confidential or otherwise 
protected from disclosure. Dissemination, distribution or copying of this 
e-mail or the information herein by anyone other than the intended recipient, 
or an employee or agent responsible for delivering the message to the intended 
recipient, is prohibited. If you have received this e-mail in error, please 
immediately notify us by calling the Help Desk at +44 20 7675 9666
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to