Results 1 to 3 of 3
  1. adma84's Avatar
    Posts
    285 Posts
    Global Posts
    323 Global Posts
       #1  
    Lots of questions tonight, thanks for all of the help all!

    So in my fillups app, I go through 3 or 4 scenes before the user is finished importing their data. They need to be able to go backwards in case something hoses up, but on the final stage, I would like to delete the previous scenes (free up memory, prevent them from doing the final commit twice, etc...)

    I know I can use Mojo.Controller.StageController.getScenes() to get an array of scenes, but how can I delete the scenes below mine, so that the top one is the only one remaining? Thanks!
    My Programs: TipIt(TipCalc), FillUps
  2. Tibfib's Avatar
    Posts
    345 Posts
    Global Posts
    347 Global Posts
    #2  
    Palm Mojo Framework - Mojo.Controller.StageController

    I think this is what you need.

    Use either popscene or popsceneto. It sounds like popsceneto will work best for you.
  3. adma84's Avatar
    Posts
    285 Posts
    Global Posts
    323 Global Posts
       #3  
    popping a scene tends to make the next one below the current scene, the new current scene (plus it would lose the scene i am trying to keep) I ended doing more swapScenes...but I feel like this should have been possible
    My Programs: TipIt(TipCalc), FillUps

Posting Permissions