| Ultrashock Forums
• AS3 - Resume Upload - possible? |
|||
![]() |
||||
| Search this Thread | Thread Tools | Display Modes |
|
|
|||||||||||||||||||||||||
![]() |
Ultrashock Member Comments:
17 Creative Assets
|
2008-06-20
#2 |
||
|
|
2008-06-20
#3 |
||
|
If serializing a FileReference is what's necessary - would this work? http://www.mikechambers.com/blog/200...-in-adobe-air/ I hesitated delving too deep w/ this as it's in reference to an AIR project, but perhaps ... ? |
|
17 Creative Assets
|
2008-06-20
#4 |
||
|
The File class is a bit different to FileReference because the FileReference's name property is read-only which means you wouldn't be able to restore the name/path of the file again when the object was restored. I don't think the full system path to the file is public either. If the filename/path is stored as a private variable within the FileReference class then this isn't going to be possible unfortunately. So, getting a FileReference object to serialise properly is possible but restoring the filename/path when the object is restored probably isn't, and that puts a big spanner in the works.
|
|
|
2008-06-24
#5 |
||
|
blech - that's no fun ... I wonder if it's possible to write your own FileReference ... Thanks Nutrox for your input!
|
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|


4 comments
| 1288 views


17 Creative Assets
Linear Mode
The first question is an interesting one though. I don't think that will be possible either unless a FileReferenceList object can be serialised properly. I can try a few things out for you later today if it will help.