Hi,
This is really blowing up my brains Please HELP. Somebody Please help me 
The Javascript integeration in flash8 has totally changed. There are some few more steps to follow. I went through the online help available on macromedia.com and also I tried to read many other explanations but being a newBee to actionScripts, I could not figure out the
externalInterface and addCallback
Can anyOne please help. In myCase I have tried something fancy like the browsershake into an animation.
- The html page of my animation contains the following script -
<SCRIPT LANGUAGE=“JavaScript1.2”>
function shake_xy(n) {
if (self.moveBy) {
for (i = 10; i > 0; i–) {
for (j = n; j > 0; j–) {
self.moveBy(0,i);
self.moveBy(i,0);
self.moveBy(0,-i);
self.moveBy(-i,0);
}
}
}
}
function shake_x(n) {
if (self.moveBy) {
for (i = 10; i > 0; i–) {
for (j = n; j > 0; j–) {
self.moveBy(i,0);
self.moveBy(-i,0);
}
}
}
}
function shake_y(n) {
if (self.moveBy) {
for (i = 10; i > 0; i–) {
for (j = n; j > 0; j–) {
self.moveBy(0,i);
self.moveBy(0,-i);
}
}
}
}
//–>
</SCRIPT>
[CENTER]________________________________________________________________[/CENTER]
The frame in flash where I need the browser to shake has the following script -
getURL(“javascript:shake_x(20)”);
I would just like to know how to make it work in flash8 using the externalInterface and addCallback. I have the sourceFIles here
Thanks,
Regards:)