[转]BrowserCanvas,动态改变FLASH舞台大小

原文:BrowserCanvas. The World’s Easiest Way to Dynamically Resize Flash
其实还是需要Javascript的帮助的,只不过无需写在页面中了,在Flash”内部处理”了。
ExternalInterface目前为止我只是用来和页面的JS通讯,像作者这样用从来没有考虑过,把JS写到Flash”内部”了…
例子:
Advanced Controls Demonstration (Basic Embed | SWF Object)
Random Resize (Basic Embed | SWF Object)
不用在页面中加入改变SWF容器高宽的JS代码,代码看起来很干净。

2 comments to [转]BrowserCanvas,动态改变FLASH舞台大小

  • Hello! I simply would like to give you a big thumbs up for the excellent info you have right here on this post. I’ll be coming back to your website for more soon.

    [Reply]

  • Dexter McCluster Jersey, Authentic Johnathan Joseph Jersey, wholesale jerseys china, Vincent Jackson Jersey Authentic, Authentic Chiefs fans Jersey, Michael Turner Authentic Jersey, Dexter McCluster Authentic Jersey, Authentic Reggie Bush Jersey, Brandon Marshall Authentic Jersey, Ndamukong Suh Jersey, Brandon Marshall Jersey Authentic, Authentic Reggie Bush Jersey, Authentic Dallas Clark Jersey, wholesale jerseys china, Vincent Jackson Authentic Jersey, Michael Turner Jersey Authentic, Wholesale Sports Jersey Shop, Authentic Ndamukong Suh Jersey, Dallas Clark Authentic Jersey, Johnathan Joseph jersey, Wholesale MLB Jerseys

    [Reply]

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">