Flash content error : 4 on clicking close button
Hi Guys,
I have developed an product in flashlite which it release ready but during the testing stage when i click on the close button i am getting the below error and the flashlite application is not exiting have to force exit by going to " options exit ".
[B]Flash content error : 4[/B]
Below is the code for my close button.
btnClose.onRelease = function ()
{
status = fscommand2("StartVibrate", 200, 0, 0);
fscommand2( "Quit" );
}
Can anyone please help me resolve this issue.
Regards,
Elmi...
Re: Flash content error : 4 on clicking close button
Hi Elminator,
" content error : 4" means "Actionscript stuck". Are u sure , your code doesnt get into an infiite loop ? Because i dont think these lines can cause this issue. Few suggestions :
1- Try to test ur application by [B]removing fscommand2("StartVibrate", 200, 0, 0);[/B]
2- Check your code throughly for any loop that can be an infinite loop.
3- Are u getting this error in standalone Flash Lite player?
4- Try to run a simple application with a button and a fscommand2( "Quit" ); on it to make sure that this is not the actual API causing Content Error 4.
Best Regards,
SajiSoft
Re: Flash content error : 4 on clicking close button
Hi Saji,
Thanks a lot for your support now the error is not popping up after removing the command " fscommand2("StartVibrate", 200, 0, 0);"
I think before executing this command the application was getting exited due to some time delay so it was popping the error.
Regards,
Elmi...