This content has been marked as final. Show 3 replies
"spinmar" <email@example.com> wrote in message
> Hi all,
> I read some messagges on yhis forum about how to discover download speed
> Well it's quite clear to me...
> So using a movieclip and loadmovie, with methods getBytesLoaded and
> getBytesTotal and getTimer I can discover download speed.
> But what is not clear to me is how to discover upload speed.
> For example http://www.speakeasy.net/speedtest/ ccan discover download and
> upload speed.
> Discovering upload speed ....
> Any hints?
> Can you give me some advice?
Pretty cool app, as far as display and presentation.
For the upload speed....
Without being positive, the first thing I would think of is using LoadVars
to send some large amount of POST data to the server.
Well, I should be able to print the upload speed, so I shoud be able to get TotalBytes, bytes sent every X seconds.
I think that Filereferce should be ok, but I don't understand how to choose a file without user. Being clear, I have a movieclip, so I should sent this to my server. Can I create a filereference with this movieclip?
Loadvars seems to be fine but with the method sendAndLoad can you send a movieclip? Can you check the upload getting the bytes sent every X seconds?
Can I attach a listener to my Loadvars object?
Can I send (with the method sendAndLoad ) a jpg file to my sever? In this way with the listener object (listener.onProgress) I could monitor upload process....
What do you think?