flex - Functions called in incorrect sequence, or earlier call was unsuccessful -


in application,

i did trace statements of file

for example

if(oldfile.parent.tostring()!=file.parent.tostring()) 

there other file print statements , , seems encounter error stated below. error not appear every time. example ran application 20 times, encounter error once.

error: error #2037: functions called in incorrect sequence, or earlier call unsuccessful. @ error$/throwerror() @ flash.filesystem::file/resolvecomponents() @ flash.filesystem::file/get parent()

may not checking existence of file before calling it. refer link might full.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -