I try to create a button on click to redirect me to another view of a controller from the index file I followed instruction and i read lot of article and i still get the same error
object #<view> has no method 'open'I have in index.js as controller
function goPlay(e) { var w = Alloy.createController('play').getView(); w.open(); }in index.xml :
<Button id="btnPlay" class="btn btn-play" bottom="0">play</Button>the play is the view trying to get it
Note i use alloy framework on windows 7 platform using android emulator
Please help