Re: [flexcoders] change Panel.titleIcon via actionscript

2007-04-15 Thread Michael Schmalle
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

[flexcoders] change Panel.titleIcon via actionscript

2007-04-14 Thread joshua gatcke
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.