Hi,

I want to embed a sencha animation with 2 scenes in an iframe and i want to control the sencha file from outside. How can I access "the startSceneByID()" from outside?

I tried it like this:

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="javascript">
function navScene(sid){
window.frames.sencha_content.AN.controller.startSceneByID(sid);
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
</head>

<body><iframe width="480" height="320" src="index.html" id="sencha_content" name="sencha_content"></iframe><br/><a href="javascript:navScene(0)">Click...</a>
</body>
</html>

Thanks a lot...

Chris