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

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

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