PDA

View Full Version : Integrating Sencha Animator Result with Sencha Touch



koesno
4 Aug 2011, 5:26 PM
Hi,

Can the results of Sencha Animator be shown in Sencha Touch application ?
If it is possible, is there any tutorial to do this ?

Thanks.

arnebech
5 Aug 2011, 12:34 PM
Yeah, that should be possible.
You can use an iframe to refer to the exported animation.
As for learning more about Sencha Touch, you can find more info in the learn section (http://www.sencha.com/learn/touch/) and the Sencha Touch forums.

Something like this might work:



var animationPanel = new Ext.Panel({
fullscreen: true,
html: '<iframe src="path/to/export.html" width="300" height="300"></iframe>'
});

nigelskeels
7 Oct 2011, 8:00 AM
Is there another Sencha Touch way to do this without an iframe?

Some people have mentioned using Ext.Ajax.request but I can't find any working examples of this.

Thank you,

Nigel

arnebech
7 Oct 2011, 9:40 AM
If you don't mind getting your hands dirty, you could copy the html and the css (and js if needed) manually. Note that this might lead to some namespace conflicts and you need to go over the css rules to make sure they don't affect other elements on your page (in particular there is a ol and li rule that is currently global).

We're planning to make this easier in the future!

mingoxlapista3
23 Oct 2012, 9:42 AM
Hi! Do you get it now?