Hi all,
I am new to gwt ansd also for Flash environment.
My application requires to access SWF file output with gwt Widgets.
It works fine in viewing the contents of swf file when specific Widget/Panel
listens for an event.
I have a requirement in such a way that, I need to pass the values
from gwt to Flash and collect them in Flash and viceversa. But, how to do
this?
I spent 5 to 6 hours regarding this and atlast, I fixed it here.So
that, there will be atleast a single hand which is ready to reply my query.
Also, during my search through Google, I found the following slices of code:
SWFWidget swfWidget = new SWFWidget("my.swf", 100, 100);
swfWidget.addFlashVar("var1", "value1");
swfWidget.addFlashVar("var2", "value2");
swfWidget.addAttribute("attributeName1", "attributeValue1");
swfWidget.addAttribute("attributeName2", "attributeValue2");
swfWidget.addParam("paramName1", "paramValue1");
swfWidget.addParam("paramName2", "paramValue2");
RootPanel.get().add(swfWidget);
Setting flash parameter 'wmode' to value 'transparent' will look like this:
SWFWidget swfWidget = new SWFWidget("my.swf", 100, 100);
swfWidget.addParam("wmode", "transparent");
RootPanel.get().add(swfWidget);
What does these represent?
Or How does the SWFWidget gets affected with these pieces of code?
Please explain me in detail...
I will be waiting for your replires....
Thanks in advance...
Srihari.Ch
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---