views:

15

answers:

0

I am a newbie flash developer who is trying to create a "message box" symbol in my flash application. This message box should appear on an event, so I have as2 code like this which is trying to achieve that: (mcError1 is the instance of my symbol).

    _root.mcError1.visible = true;
    _root.mcError1._x = 100;
    _root.mcError1._y = 80;
    _root.mcError1._width = 300;
    _root.mcError1._height = 150;

My problem is that, when my symbol appears, all the different components such as alert, buttons and labels start falling apart. So, this is how how ,

it looks after falling apart. And, this is how alt text I defined it, while creating it.

I am clueless here. I must be missing something very basic? No matter what I do (grouping them or creating different layers etc..), they just still fall apart!

Appreciate your help and suggestions.