I don't quite understand. Maybe we need to do something to make id's
be in the application class scope? There's no particular reason to
use global, in fact, not using global is probably better.
On 2008-03-28, at 17:15 EDT, Henry Minsky wrote:
I was writing a test case like this
<view id="foo" ..>
<script>
foo.setAttribute('x', ...);
</script>
And it doesn't compile in swf9 because foo is not in scope of the
application class.
Should we be wrapping the body of the script in a 'with (global)
{ ...}' so
it has access to global id's like that?
Or should be be discouraging using global id's in that fashion? We
need them
for applications certainly..
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]