cheerq / flexmdi

Automatically exported from code.google.com/p/flexmdi
0 stars 0 forks source link

TitleIcon #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
TitleIcon in a MDI window

Original issue reported on code.google.com by phpr...@gmail.com on 29 Aug 2008 at 7:48

GoogleCodeExporter commented 8 years ago
Huh?

Original comment by ben.clin...@gmail.com on 29 Aug 2008 at 12:32

GoogleCodeExporter commented 8 years ago
private var Icon:String="assets/ico/login.png";
[Embed(source="String(Icon)")]
private var showIcon:Class;

......

MDIWindow.titleIcon=showIcon;

errors:
string(Icon) does not have arecognized extension, and a mimeType was not 
provided
Unable to transcode String(Icon)

Original comment by phpr...@gmail.com on 31 Aug 2008 at 8:43

GoogleCodeExporter commented 8 years ago
private var Icon:String="assets/ico/login.png"; // "assets/ico/login.png" form 
mysql

Original comment by phpr...@gmail.com on 31 Aug 2008 at 8:44

GoogleCodeExporter commented 8 years ago
please help me!~think~

Original comment by phpr...@gmail.com on 31 Aug 2008 at 9:48

GoogleCodeExporter commented 8 years ago
I don't think you can embed assets like that. Try this:

[Embed(source="assets/ico/login.png")]
private var showIcon:Class;

Original comment by ben.clin...@gmail.com on 31 Aug 2008 at 11:43

GoogleCodeExporter commented 8 years ago
I know!But 

private var Icon:String="assets/ico/login.png"; from mysql 

php  ->  $Icon = ="assets/ico/login.png"
mxml ->  Icon:String="$Icon"; 

I hope that the dynamic changes in the value of icon.

Original comment by phpr...@gmail.com on 1 Sep 2008 at 8:53

GoogleCodeExporter commented 8 years ago
Hello! Please help me. How i can dynamically set titleicon from web 
(http://.../pic.jpg)?

Original comment by aapla...@gmail.com on 30 Apr 2013 at 7:33