Delete a Var?

Discussion in 'Jiggy Runtime Development' started by hockeypanda32, Apr 27, 2008.

  1. hockeypanda32

    hockeypanda32 Well-Known Member

    Joined:
    Dec 18, 2007
    Messages:
    2,183
    Likes Received:
    89
    Device:
    iPhone 4 (Black)
    I am making a new app in jiggy now and I need help on deleting my var, here is the sample code I am using.

    Code:
    
    if ( theButton == 1 )
    {
    //Set Skin
    
    FileManager.move( "/Blank/Blank.png" , "/Blank2/" );
    
    var Set = new UIAlertSheet();
    Set.setTitle(' Skin Set ');
    Set.setBodyText(' The Skin has succesfully been added on. ');
    Set.addButtonWithTitle('Continue',null);
    Set.onButtonClicked = function( b ){
      this.dismiss(true);
    
    Set.popupAlertAnimated( true );
    }
    
    
    Ok so can someone add a sample code of how after the Skin is et than
  2. PAEz

    PAEz New Member

    Joined:
    Jan 29, 2008
    Messages:
    201
    Likes Received:
    10
    the var?....you mean the UIAlerSheet?

    Please Register or Log in to view images


    try adding a } to above the Set.popupAlertAnimated( true );
    cant test it or nothn, just noticed ya didnt close the functions block.
    dont know if i understood ya question properly but hope that helped.

Share This Page