However you would use sIFR with javascript, you wrap in java native
methods...

I don't know about it, or feel like learning it right now, but it goes
something like this:

Include the script tag in your gwt.xml module definition, ensuring
that all .js and .swf are in your page.

Wrap native calls like this:

package com.yourclass.client.sIFR;

public class sIFR implements EntryPoint{
private JavaScriptObject xSrc = Source();
private static native JavaScriptObject Source()
/*-{
return {src: '/sifr3/avenir.swf'};
}-*/;
private static native void Activate()
/*-{
$wnd.sIFR.activate(@com.yourclass.client.sIFR::xSrc);
}-*/;
public static native void Replace(String xSelect,String xMode
/*-{
$wnd.sIFR.activate({
selector:xSelect,
wmode:xMode
});
}-*/;


public void onModuleLoad(){
Activate();
Replace("flash-title","transparent");
}



...I have no idea if this works or not, I just made it up from the
"I'm Feeling Lucky" page google gave 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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to