I want to jump to a specified frame in an animation to show different stages.
With the original SWF-file this works fine when I call a Javascript function
Here is the original HTML code:
<OBJECT id="flashname" data="'.$flashmovie.'" type="application/x-shockwave-flash" width="600" height="332">
<PARAM NAME=movie VALUE="'.$flashmovie.'">
<PARAM NAME=quality VALUE=autohigh>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
Your Browser is not able to show this object.
</OBJECT>
In javascript I simply called:
flashname.TGotoFrame('_flash0',frameNumber);
Now I have a Swiffy HTML file and would like to have the same effect. But it doesn't work.
The swiffyobject is shown, but always the first frame. I could not switch to another frame by default.
I tried
var stage = new swiffy.Stage(document.getElementById('flashname'), swiffyobject, { });
stage.start();
stage.gotoAndStop("frame");
stage.flashname.TGotoFrame('_flash0', 1);
stage.TGotoFrame('_flash0', 1);
flashname.TGotoFrame('_flash0', 1);
Any Ideas how to solve this problem?