i'm developing a standalone Flash player for Linux based on
libflashplayer.so and it's almost finished, but i've encountered an
interesting problem with Google Maps Street View drawing in windowed
mode (via XEMBED). Actually, i call NPP_SetWindow with right width and
height (i.e. the width and height of GtkWindow above which the GtkSocket
is situated) like for any other flash movie, but on Google Maps i can
see the world bihind a gray rectangle which usually serves as a border
(see http://imageshare.web.id/images/4cxzto3lqyotmloy7o.png ). That
rectangle is always 800x500 and never changes its size. But when i
change the GtkWindow's size i just can observe other parts of the world
behing the static rectangle. On a native browser that gray rectangle
changes its size accordingly to NPP_SetWindow call (i.e. size given with
that call).
What did i forget? Should i make some gtk_* command with my
GtkWindow\GtkSocket with NPP_SetWindow or there's some other secret of
proper rendering?
Regards,
Georg
I had that set up. After several hours (over a week's worth of
searching). It turns out that it's a permissions thing. Even with
allowscriptaccess set to always it wouldn't send invoke commands to a
locally started file. I had to create a dummy URL to return for
top.location. I'm sure there is another way around it, but I couldn't
find it (doesn't mean it isn't on the internet, just that I used the
wrong keywords or didn't read well enough.)
Thanks!