On 12/7/05, Johan Lopes <[EMAIL PROTECTED]> wrote:
Hi Steve,

Sorry to ask this slightly OT (but still relevant) question.

I'm creating a simple viewer in Eclipse and I'd like to attach or
place a SWF inside that viewer. Am I right in understanding that I can
use your method as described here:
http://dctc.sjtu.edu.cn:81/svn/wonder/trunk/javaflash/src/java/sjtu/dctc/wonder/javaflash/demo/AflaxDemo.java
to achieve this or am I on the wrong path?

Thinking about it, I don't even need any calls or any form of
communication happening between the newly added SWF and the host (in
this case Eclipse).

Thanks for any pointers,

You may reference to http://dctc.sjtu.edu.cn:81/svn/wonder/trunk/javaflash/src/java/sjtu/dctc/wonder/javaflash/test/TestFlashUI.java
That is a general example to show how you can embed a FlashPlayer widget onto any SWT control. This applies to both windows and linux.
But you should notice that in linux, you must make sure the container is a real native widget that means it has a real handle (handle!=0) because FlashPlayer needs this to create a Gtk2Xtbin.
You are welcome. :-)

--
Best Regards
Steven Gong
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to