> > I don't know enough about how to "cast" an "as_object" to a MovieClip to 
> > understand what's going on. How is this supposed to work?
> 
> There are many such cases in Gnash. Gnash is pickier about types
> than the proprietary player. This case should be not too hard to fix,
> probably just change the ensureType to require an as_object should work.

Indeed, I've tested it manually and MovieClip.getURL() works when attached to 
any as_object. I'll commit a fix to trunk shortly. getSWFVersion() is more 
complicated. I've added some automatic tests showing version-dependent 
behaviour. I expect there are many more cases like this, so more testing is 
welcome.


_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev

Reply via email to