Page 1 of 1
SBL2e - Access a file in Flash
Posted: Mon Sep 06, 2010 10:34 pm
by cmo
I'd like to access a file in the standard html folder (ex. Index.htm) on a SBL2e. Are there any examples or docs that can give me some guidance? I assume it's a bit unique compared to the other NB devices since the SBL2e device is all integrated onto one chip.
Any help is appreciated. Thanks.
Re: SBL2e - Access a file in Flash
Posted: Tue Sep 07, 2010 11:00 am
by Forrest
I assume you are talking about the
SBL2e, not the
SBL2e chip.
If you look at a few of the examples, the HTML works the same (at least in upper level code). Place the files in the html folder and StartHTTP();
Re: SBL2e - Access a file in Flash
Posted: Tue Sep 07, 2010 12:19 pm
by pbreed
What to do you mean access?
To read?
Or to Modify?
If you mean to read and it is not an HTML or XML file then you can get it out of the htmldata.cpp file.
If it is html or XLM then the function calls or variable encodings are encoded into the file record.
Take a look at htmldata.cpp and look at the structures in there.
Paul
Re: SBL2e - Access a file in Flash
Posted: Wed Sep 08, 2010 6:20 pm
by cmo
Thanks for the response guys. I should have said read instead of access. Paul you pointed me in the right direction - htmldata.cpp. Thanks.