Hi-

richard_smith_ons wrote:
> I don't know if it's possible to do a "real" progress bar like in 
> Flash. Below is my code for a "fake" one. [...]
>
>> In the same idea, is there a way to do like Flash when it is first 
>> loaded : Displaying an image like "Loading…" while all the loading 
>> is fully processed…

Richard supplies a good workaround.  As he says, there is nothing in 
SVG1.1 (which is what most UAs support) to handle progress events, but 
it is part of SVG Tiny 1.2 (and all later specs) [1].

If you really need a true progress bar for now, rather than simply 
showing a "waiting" graphic, you could poll the server for the size of 
each chunk that needs to be downloaded, and reflect that in the overall 
proportion of the download bar that you reveal, but there is no real way 
to get the connection speed, so it will be limited in its accuracy.

[1] http://www.w3.org/TR/SVGMobile12/svgudom.html#events__ProgressEvent

Regards-
-Doug



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to