You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why i make the project with flash cs6,the ane can't be init?
when is call "MMExtension.getInstance().MMInit("300007180353", "956434F022E4872D", "0000000000", 1, "Paycode", "ProductNUM", 1);",the app will trace the Error"init
handler_status
level:MMBillInit:try_init:null,code:MMBillInit
------------------"
then i call "MMExtension.getInstance().MMBilling(30000718035301);" the app will trace the Error"handler_status
level:MMBill:Another request is processing,code:MMBill
------------------"
I have make the "mmiap" folder into the app
can you tell me where is wrong?
my source is:
package {
import flash.display.MovieClip;
import flash.events.Event;
import com.mm.ane.MMExtension;
import flash.events.*;
//import com.sg.ane.mm.*;
public class Main extends MovieClip {
public function Main() {
// constructor code
this.addEventListener(MouseEvent.CLICK, sdk_handle);
//for()
this.addEventListener(Event.ADDED_TO_STAGE, addet);
}
private function addet(e:Event) {
MMExtension.getInstance().addEventListener(StatusEvent.STATUS,handler_status);
}
private function handler_status($evt:StatusEvent):void
{
showInfo('------------------');
showInfo('handler_status');
showInfo('level:', $evt.level, ',code:', $evt.code);
showInfo('------------------');
}
protected function handler_getStorageBTNclick($evt:MouseEvent):void
{
clearInfo();
showInfo('====================');
showInfo('====================');
showInfo('====================');
}
protected function handler_getSystemInfoBTNclick($evt:MouseEvent):void
{
clearInfo();
}
protected function handler_getPackageInfoBTNclick($evt:MouseEvent):void
{
showInfo('====================');
}
private function showInfo(...$args):void
{
var __info:String = '';
for (var i:int = 0; i < $args.length; i++)
{
__info += $args[i] ;
}
trace(i)
infoTA.appendText(__info);
infoTA.appendText("\n");
}
private function clearInfo():void
{
infoTA.text = '';
}
protected function sdk_handle(event:MouseEvent):void
{
var b = event.target;
trace(b.name)
//return;
switch(b.name)
{
case "init":
showInfo("init");
//MMExtension.getInstance().MMInit("00000000000","00000000000","00000000000",1,"Paycode","ProductNUM",1);
MMExtension.getInstance().MMInit("300007180353", "956434F022E4872D", "0000000000", 1, "Paycode", "ProductNUM", 1);
break;
case "bill":
showInfo("bill");
//MMExtension.getInstance().MMBilling(0);
MMExtension.getInstance().MMBilling(30000718035301);
break;
case "query":
showInfo("query");
//MMExtension.getInstance().MMQuery(0);
MMExtension.getInstance().MMQuery(30000718035301);
break;
case "billnext":
showInfo("billnext");
//MMExtension.getInstance().MMBillingNext(0);
MMExtension.getInstance().MMBillingNext(30000718035301);
break;
case "clean":
showInfo("clean");
//MMExtension.getInstance().MMClean(0);
MMExtension.getInstance().MMClean(30000718035301);
break;
case "exits":
showInfo("exits");
//MMExtension.getInstance().MMUnusb(0);
MMExtension.getInstance().MMUnusb(30000718035301);
break;
}
}
}
}
The text was updated successfully, but these errors were encountered:
why i make the project with flash cs6,the ane can't be init?
when is call "MMExtension.getInstance().MMInit("300007180353", "956434F022E4872D", "0000000000", 1, "Paycode", "ProductNUM", 1);",the app will trace the Error"init
handler_status
level:MMBillInit:try_init:null,code:MMBillInit
------------------"
then i call "MMExtension.getInstance().MMBilling(30000718035301);" the app will trace the Error"handler_status
level:MMBill:Another request is processing,code:MMBill
------------------"
I have make the "mmiap" folder into the app
can you tell me where is wrong?
my source is:
package {
}
The text was updated successfully, but these errors were encountered: