开发者

Flex DownloadProgressBar preloader override

开发者 https://www.devze.com 2022-12-26 14:39 出处:网络
I\'m watching this video, which is pretty good http://www.gotoandlearn.com/play?id=108 It shows how to inherit from DownloadProgressBar to create a customer preloader for your flex app. The DownloadPr

I'm watching this video, which is pretty good http://www.gotoandlearn.com/play?id=108 It shows how to inherit from DownloadProgressBar to create a customer preloader for your flex app. The DownloadProgressBar class has an overridable getter for the property 'preloader.' Isn't this poor design? What does a property called preloader hav开发者_JAVA百科e anything to do with a class for a DownloadProgressBar?


The preloader property is write-only, so there is no overridable getter. As for it's purpose, from the documentation:

The Preloader class passes in a reference to itself to the display class so that it can listen for events from the preloader

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号