我正在尝试使用一些YUI-Uploader的示例和说明,但由于许多问题,我感到沮丧。
- The "YUI Library: Uploader" cheat sheet s simple use case doesn t work for me because all the listed methods except
addListener()
do not exist on the myUploader object. - The example is for version 2.5.1 and includes a method called
browse()
, which not only was removed in version 2.6.0 but I cannot find any documentation for how to use the 2.5.1 version if I so choose. - I can t find the source FLA to the
uploader.swf
file so that I could theoretically diagnose all these issues.
有人成功使用过2.6.0 YUI上传器吗?如果有的话,有什么常见的干扰JavaScript应该避免,或者更好的示例可以遵循吗?谢谢。
谢谢回复。
I might note that I finished my "uploader" project before receiving any responses to this. Part of my problems were due to some of the examples being for v2.5.1 and another part were due to not using an event listener to see when the component was ready. I got the most help from just dissecting what Flickr did.