Prev | Current Page 798 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

js??? > < /script >
< body >
< div class=???window??? >
< div class=???label??? > Flash 8 < /div >
< div id=???flash8_container??? class=???cont??? > Flash 8 < /div >
< /div >
< div class=???window??? >
< div class=???label??? > Flash 9 < /div >
< div id=???flash9_container??? class=???cont??? > Flash 9 < /div >
Chapter 15: Putting It All Together with haXe Remoting
431
< /div >
< script type=???text/javascript??? >
var swf = new SWFObject(???client8.swf???, ???flashmovie8???, 320, 40, 8, ???#ffffff???);
swf.write(???flash8_container???);
swf = new SWFObject(???client9.swf???, ???flashmovie9???, 320, 40, 9, ???#ffffff???);
swf.write(???flash9_container???);
< /script >
< script type=???text/javascript??? src=???server.js??? > < /script >
< /body >
< /html >
Flash movies are embedded using the SWFObject library that can be downloaded from this web address
http://blog.deconcept.com/swfobject/
Flash - to - JavaScript Connection Binding to an Object Instance
When using JavaScript as a server, it is possible to bind a specific object instance to a connection
instead of relying on the invocation of static methods.


Pages:
786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810