swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] help with loader (please)


From: Pablo Rodríguez
Subject: Re: [Swftools-common] help with loader (please)
Date: Wed, 18 Jun 2008 20:08:00 +0200
User-agent: Thunderbird 2.0.0.9 (X11/20080213)

Huub Schaeks wrote:
> Hello Pablo

Hi Huub,

many thanks for your reply.

> I expect the swf files swfc generates have to load completely before
> they start playing. I believe this to be true for swf files in general,
> but I'm no expert on flash.

I'm afraid that I haven't expressed myself accurately (or I generated a
misunderstanding here).

I don't need that the main presentation starts playing before is
completely loaded before is played, I only need a counting
_root.getBytesLoaded().

It works for swfc generated files, using a preloader
(http://ousia.justfree.com/orphanworks-loader.txt) and combining both
(http://ousia.justfree.com/orphanworks-preloader.swf), but the audio
doesn't work. This works fine with Mozilla. I don't know about Opera.
And IE needs the file to be completely downloaded to play anything.

Following Matthias' suggestion, I tried to merge preloader and main
presentation into a single file
(http://ousia.justfree.com/loader-orphanworks-script.txt).
_root.getBytesLoaded() doesn't work here
(http://ousia.justfree.com/orphanworks.swf). As already reported, the
issue here is that _root.getBytesLoaded() doesn't count bytes loaded, it
displays the bytes loaded when the counter is first shown and when the
file has been downloaded.

I don't understand why _root.getBytesLoaded() does work in
http://ousia.justfree.com/orphanworks-preloader.swf and not in
http://ousia.justfree.com/orphanworks.swf. Sorry, but I use the same
commands and I guess this might be a bug.

The weird thing here is what I have just discovered: using
http://ousia.justfree.com/orphanworks-loader.txt and combining it with
http://ousia.justfree.com/orphanworks-original.swf using swfcombine,
audio is not found, but _root.getBytesLoaded() works fine with Firefox
(http://ousia.justfree.com/orphanworks-preloader.swf). Modifying the
preloader (http://ousia.justfree.com/loader-orphanworks-loader.txt),
generates http://ousia.justfree.com/loader-orphanworks-loader.swf, that
can find and play the audio. Sorry, but if this is not a bug, it's too
tricky for me.

Can anyone check this? (http://ousia.justfree.com/contents.swf contains
all the required stuff, but it should be renamed to *tar.bz2 first.)

Greetings,


Pablo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]