Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Error : object # has no method 'open'

$
0
0

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


Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>