Skip navigation
Flex_CRJ
Currently Being Moderated

flex how to remove file to user directory

Nov 20, 2012 9:10 PM

Tags: #file #app #remove #after #content #flex #application #user #server #10 #only #in #login #to #where #how #i #download #if #am #the #directory #. #some #1 #valid #give #response #day #ten #ex(if #(nov #nov #10) #(expired #name:"contentsocialscience.swf")

flex how to remove file to user directory

 

Ex(if i am download content  server to application directory .

     In the content where valid only ten day (nov 1 to nov 10)

 

Nov 10 If i  am login the app  server give some response (expired file name:"ContentSocialScience.swf") after how to remove the content .

 
Replies
  • Currently Being Moderated
    Nov 20, 2012 10:16 PM   in reply to Flex_CRJ

    Try this:

     

    var swfFile:File = File.userDirectory.resolvePath("your file path/ContentSocialScience.swf");

     

    if(swfFile.exists)

                                                      {

              swfFile.deleteFile();

                                                      }

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points