×

Discussion Board

Results 1 to 3 of 3

Thread: App Diagnostic

  1. #1
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Brazil
    Posts
    111

    Question App Diagnostic

    Hello there,

    I built my Flash Lite app using a main structure to load and unload movies, to release allocated memory.
    I'm using removeMovieClip method too, to garantee the cleaning.

    My tests droping the swfs at "Other" folder and watching the free memory avaiable and the app behavior was successfully.
    -------------------------------------------------------------------------------------------------------

    The problem is, when I packaged the app in a sis file, a strange issue appear.

    I'll explain the situation:

    When the user finish the 3 stages of the game, the application send him to the end animation (another frame in main movie, unloading the previous). On that window, the user can choose between, click at any place to skip the final animation or wait until the credits list terminate (60 seconds), both options redirect to main menu, unloading the actual movie and reloading the main menu.

    So, If the user choose to skip that animation, and start another game immediatelly (up to 60 seconds), the game goes to Main Menu from any point (which means that the tween of credit list is still alive) .

    The question is, when I package my app in a sis, the Flash Player just lose the control to alocated memory? It's C++ the owner now?

    I'm trying to diagnose my app with y-task, but unfortunatelly when I try to install, it gives me an error "Expired Certificate". I've tried to workaround changing the date time (past and future) of my phone, but it didn't work too

    regards,
    Atila Correia
    SCJP, SCWCD, SCJA and MCP C#
    Game Developer and 3D Modeller
    www.atilacorreia.com
    www.linkedin.com/in/atilacorreia

  2. #2
    Regular Contributor
    Join Date
    Feb 2005
    Location
    Karachi, Pakistan
    Posts
    277

    Re: App Diagnostic

    Hi,

    The best way to release and reallocate memory in FL is by replacing the existing content in same MC. i.e. you have a content_mc object on stage, and you load your game's stage1.swf in it. when level is done, you can simply load stage2.swf in same content_mc clip, without need to use removeMovieClip. You will notice that memory is reallocated immediately.

    You can see the memory usage in FL by using my FL toolkit Oxygen available at http://wiki.forum.nokia.com/index.ph...Developers_Kit

    I guess, using this trick your other issue might also be solved.

    If your SIS is a FL stub application, then yes. The stub application defines how much memory FL can use. If its using FL as embedded, then memory will be same as when you start SWF from File Manager.

    Tip: For expired certificate, you can temporarily change your device's date few months back, install the SIS and set the date back to current.

    Hope it helps,

    // chall3ng3r //
    Faisal Iqbal (skype: chall3ng3r)
    Flash Mobile Specialist | Orison Technologies
    _____________________________________
    blog: F·L·A·S·H·I·S·M
    swf2go: www.swf2go.com

  3. #3
    Regular Contributor
    Join Date
    Mar 2008
    Location
    Brazil
    Posts
    111

    Re: App Diagnostic

    Thanks Challenger, I was changing the date time for 1 year back. A few months works fine,

    regards,
    Atila Correia
    SCJP, SCWCD, SCJA and MCP C#
    Game Developer and 3D Modeller
    www.atilacorreia.com
    www.linkedin.com/in/atilacorreia

Similar Threads

  1. Changing App Mgr settings from J2ME app
    By ddbhasin in forum Mobile Java General
    Replies: 6
    Last Post: 2007-09-21, 07:18
  2. why my app is not shown in emulator?....due to i have change UID
    By bharats in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-09-12, 06:49
  3. renaming app, how??
    By Audun Holme in forum Symbian
    Replies: 2
    Last Post: 2007-05-13, 12:10
  4. Dialog's clipping area (again). Nokia experts, please help
    By synov in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-06-26, 14:35
  5. 7650 - go back, close my app not closing the container app
    By geran in forum Digital Rights Management & Content Downloading
    Replies: 1
    Last Post: 2002-12-05, 09:58

Posting Permissions

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