Hi, It works;
You need to do this in your class; [Embed(source="myOtherIcon.png")] private var helpIcon:Class; ... (somewhere in AS) myPanel.titleIcon = helpIcon; This has to be embedded at sometime when you compile. The catch is setting the titleIcon with a type Class property. Peace, Mike On 14 Apr 2007 18:45:48 -0700, joshua gatcke <[EMAIL PROTECTED]> wrote:
I am hoping someone could help me figure out how to change the Panel.titleIcon via AS during runtime. So far from the documentation, it looks like I have to use @Embed and cannot use a runtime loaded image. I tried creating a bindable object then manipulating that via AS, with no avail. Thanks in advance for your help.
-- Teoti Graphix http://www.teotigraphix.com Blog - Flex2Components http://www.flex2components.com You can find more by solving the problem then by 'asking the question'.

