Hi all,
I planning to build an AIR application. In this application the user
can create libraries that consist of multiple value Entry objects.
Each EntryVO should look like this (there will be more properties of
course) :
package vo
{
[RemoteClass(alias="vo.EntryVO")]
import flash.net.registerClassAlias;
import flash.utils.ByteArray;
public class EntryVO
{
[Bindable]
public var image_data:ByteArray;
[Bindable]
public var image_name:String;
public static function register():void
{
registerClassAlias("vo.EntryVO", EntryVO);
}
}
}
To simplify the uploading and downloading process I want to transfer
images as ByteArrays to a .NetBackend.
My question: What are my limitations here file size wise? Let's say I
have 10 EntryVO. An each of these
has an 1 MB byte array embedded.
That means that my libraryVO (10 x 1 MB EntryVO) would have a file
size of 10 MB.
Will this work at all? Is there a progress event for remote
operations? I guess it will take a while to transfer
a 10 MB AMF message.
Thanks for any input!
Cheers
Robin