I have tried to get the 

The embedded name is flashxx

var m;

if (navigator.appName.indexOf ("Microsoft") !=-1) {
  m = window["flashxx"];
} else {
  m = document["flashxx"];
}

then I want to access the methods of Flash:

m.Print();
m.GotoFrame(2);
etc

In qooxdoo I try the "sun" example demo and modify it:

flashObj.getContentElement().setAttribute("name", "flashxx");

flashObj.getContentElement().Print();
flashObj.getContentElement().GotoFrame(2);
etc

var val = flashObj.getFlashElement();

which always gives null. Should it be null?


Now I do not know how to access these methods! Someone can help me with that?

I want to control the Flash from outside Flash by scripting in javascript 
inside qooxdoo.

Stefan                                    
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to