Yeah, completely experimental code.
It does following things:
* It replaces the embed codes in the html without id and with the same
url as the swf that is running to
embed codes with a proper id
* It allows to create "JavaScript" code that receives directly a
reference to the embed code it comes from
(important if you have more than one Flash running on the same page)
* It automatically takes care of error handling
yours
Martin.
On 27/02/2012 07:28, Omar Gonzalez wrote:
What is your script trying to do exactly? I see it handling divs and
rewriting the Flash div for some reason? I'm not really sure what the .as
and .js file are working to do together. I guess I might have misunderstood
what you wanted to do with the JS bridge you originally mentioned to Erik.
Do the browsers give a more accurate value for the dpi? I haven't tried
querying for that value in any projects yet.
--
Omar Gonzalez
s9tpep...@apache.org
Apache Flex PPMC Member