The javascript interface interprets whitespaces differently in Flash vs HTML5 and causes problems in Flash.
Assume you have the following code:
|
Quellcode
|
1
2
3
|
set(kdata,'Tasty');
js(clicky.log(get(kdata)));
js(clicky.log( get(kdata) ));
|
In the first case with both HTML5 and Flash what gets passed to javascript is:
click.log('Tasty')
In the second case HTML5 passes
click.log('Tasty') but Flash passes
click.log('get(kdata)')
IMO the HTML5 and Flash implementations really should be consistent and, unless I missed it, better documented.