How can I choose an external skin to load (SWF) for my application BEFORE any others skin to be applied ?
Something like :
<fx:Style source="my.url/"+ hereVariable + ".css" />
or with styleManager.loadStyleDeclarations2(...)
on initialize or preinitialize events but it always crashes before my dynamic skin is loaded.
Error: Required skin part XXX cannot be found.
but my skin part XXX is in my SWF file that I'm trying to load...
Thanks for any help
最后一个选项是从脚本中创建您自己的样式对象,并将其与stylemanager一起使用
var path:String =“ my.url /” + hereVariable +“ .css”;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.