PDA

View Full Version : Is using swf in logometer possible?


kbellis
10-24-2010, 04:31 PM
I'm thinking about building an animated swf (first sketch (http://panocea.us/images/panocea5.2.swf) and my first Flash project :) to be used in place of the default FFC static image+animated image (progress bar). For any FCC users, is this something that can be accomplished in FFC?

I've been studying this a little bit and am encouraged by Tommy's work (http://wirestam.com/panos/Flash/plugins/logoMeter.html), but so far, in the 8 examples Tommy has kindly offered, they all appeared to be static images. Can a swf be used instead? And is there anyway of tying its duration dynamically to the download's duration; in other words, if the swf animation is 12 seconds long, and the download is whatever - 5 to 15 seconds long - can a parameter be passed to speed up or slow down the swf?

Tommy's page indicates that Sizes are implicitly set; however, can anybody answer why?

As always, any reply is much appreciated.

Kelly

allSaints
10-24-2010, 09:10 PM
Hi Kelly,

yes, an animated swf can of course be used. Here (http://wirestam.com/panos/Flash/logoMeter/logometer8x.html) is an example of a very simple swf file used.

But passing parameters to it - telling how long the download will take... no, I don't think so - then you would have to have a tailor-made plugin that supports this function.

And how long will the loading take - does anyone know? It doesn't always load in a steady stream...

Tommy

kbellis
10-25-2010, 12:30 AM
Hi Tommy,

Thank you for the reply.

Am I correct in thinking that I only need to fiddle with the xml file by calling for the specific swf?; e.g:

<logoMeter>

size=150x150
imageL=img/ball.swf
fontSize=10
textPos=10:65
textSize=130x20
textColor=0xFFFFFF
textLoaded=Loading pano: %P%
textLoadFailure=loading failed
textParsing=parsing
postCommand=lens2.alpha%3D1,8000

</logoMeter>

allSaints
10-25-2010, 08:54 AM
Kelly,

yes, as you can see in the xml I used for the example, you just have to specify one of the image parameters as your swf file.

And I was using my standard logoMeter plugin without any modification.

Tommy