Re: how to embed flash in gwt?

2010-02-24 Thread Martin Trummer
or simply build your html fragment and use the html-widget
http://google-web-toolkit.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/ui/HTML.html

if you don't want to use 3rd party libs

On 23 Feb., 20:14, Anoop John anoopjoh...@gmail.com wrote:
 See the code below. You have to download gwt2swf.jar file and import
 pl.rmalinowski.gwt2swf.client.ui.SWFWidget;

 SWFWidget frame=new SWFWidget(flash/sample.swf);
 frame.setHeight(200px);
 frame.setWidth(200px);
 new FlexTable().setWidget(0, 0,frame);

 On Feb 23, 11:58 pm, mariyan nenchev nenchev.mari...@gmail.com
 wrote:

  Hi,

     i have been given some flash clips that i must embed in my gwt
  application. I have no idea from flash, any suggestions?

  Regards.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how to embed flash in gwt?

2010-02-24 Thread mariyan nenchev
OK, i tried this gwt2swf lib but it is not working.
1) I created eclipse project with GEP
2) I added the inherit tag in the gwt.xml
3) I added the lib to my classpath
4) I created public folder and put there some swf
5) final SWFWidget swfWidget = new SWFWidget(myflash.swf, 300, 200);
swfWidget.addFlashVar(bridgeName, example);
RootPanel.get(test).add(swfWidget);
6) Run in dev mode, but nothing is displayed.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how to embed flash in gwt?

2010-02-24 Thread mariyan nenchev
Hi, i was having path problems. Excuse me!

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



how to embed flash in gwt?

2010-02-23 Thread mariyan nenchev
Hi,

   i have been given some flash clips that i must embed in my gwt
application. I have no idea from flash, any suggestions?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: how to embed flash in gwt?

2010-02-23 Thread Anoop John
See the code below. You have to download gwt2swf.jar file and import
pl.rmalinowski.gwt2swf.client.ui.SWFWidget;

SWFWidget frame=new SWFWidget(flash/sample.swf);
frame.setHeight(200px);
frame.setWidth(200px);
new FlexTable().setWidget(0, 0,frame);




On Feb 23, 11:58 pm, mariyan nenchev nenchev.mari...@gmail.com
wrote:
 Hi,

    i have been given some flash clips that i must embed in my gwt
 application. I have no idea from flash, any suggestions?

 Regards.

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.