×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    44

    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 ".

    Flash content error : 4

    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...

  2. #2
    Nokia Developer Champion
    Join Date
    Jul 2008
    Location
    Pakistan
    Posts
    1,065

    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 removing fscommand2("StartVibrate", 200, 0, 0);
    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

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    44

    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...

Similar Threads

  1. Flash Content Error: 9
    By Seth Muriithi in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2009-11-09, 15:01
  2. Application created using Flash lite packaging tool does not close with End button
    By pasi.hytonen@starcut.com in forum [Archived] Flash Lite on Nokia Devices
    Replies: 1
    Last Post: 2009-09-03, 22:57
  3. Replies: 1
    Last Post: 2008-01-28, 11:04
  4. Replies: 0
    Last Post: 2007-11-30, 05:18

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×