-
1. Re: Same-Origin-Policy error ?
vivekuma Nov 2, 2014 6:06 AM (in response to nbtx)Can you share the composition with us to check it out?
-
2. Re: Re: Same-Origin-Policy error ?
nbtx Nov 2, 2014 7:05 AM (in response to vivekuma)Here is the link, thank you :-)
Click on the button "select a muscle"
In the menu, click on Frontalis. A composition will open with an animation and a little text.
In Chrome the text will be "title". It should be frontalis, like on the others browsers.
Thank you,
Nicolas
-
3. Re: Re: Same-Origin-Policy error ?
nbtx Nov 2, 2014 7:13 AM (in response to nbtx)Better link here : http://demo.ovh.eu/fr/84dd79d7f3193cc71ce2c7ea108727cb/
-
4. Re: Same-Origin-Policy error ?
vivekuma Nov 2, 2014 9:20 AM (in response to nbtx)Chrome due to security reasons does throw that error.
But there is one workaround you can try with:
In file muscle-01_edgeActions.js, replace
//Edge symbol: 'stage'
(function(symbolName) {
})("stage");
with
//Edge symbol: 'stage'
(function(symbolName) {
Symbol.bindElementAction(compId, symbolName, "document", "compositionReady", function(sym, e) {
// insert code to be run when the composition is fully loaded here
sym.getComposition().getStage().$('title').html('Frontalis');
sym.getComposition().getStage().getSymbol('an-01').play(0);
});
})("stage");
hth,
Vivekuma
-
5. Re: Same-Origin-Policy error ?
nbtx Nov 2, 2014 10:30 AM (in response to vivekuma)Thank you for your answer :-)
It's a good idea to start action when the composition is loaded but I also need to trigger actions when I click on a button (I have a submenu that should allow me to play parts of the animation in the iframe).
Nicolas


