External SWF With Dynamic Content - Green Border Fix
July 22, 2008
I found that when trying to load an external SWF that contained dynamic content into a movieclip, an unwanted green border was appearing around the external SWF when testing it in my browser. Here’s the fix:
- Create an ampty movieclip with the instance name STAGE
- Add a behaviour to load external movie clip onto the STAGE
- Add the following actionscript (AS2) on a seperate layer:
stage._lockout=true; /* gets rid of the green border bug */
stage.loadMovie(”external_swf.swf”);
Leave a Reply