I spent some time recently working with ActionScript 3 and Adobe Flash. One of the common issues encountered by novice ActionScript developers is that when loading resources, the path to the resources should be relative to the page on which the Flash Player is embedded, instead of from the SWF file.
If you have an ASP.NET web page, a master page, a user control and an SWF file, the relative path to the resource should be relative to the ASP.NET web page irrespective of where the Flash object is embedded (embedding the Flash object on the master page or user control doesn't change the fact that it is rendered as a part of the page).
Sunday, March 29, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment