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
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.
2 matches
Mail list logo