[Top][All Lists]

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

Re: [Swftools-common] weird issue when loading external SWF

From: Pablo Rodríguez
Subject: Re: [Swftools-common] weird issue when loading external SWF
Date: Sun, 22 Feb 2009 11:01:48 +0100
User-agent: Thunderbird (X11/20090114)

Replying to myself, thanks to http://www.actionscript.org/forums/showthread.php3?t=123830.

It seems that the audio object should be created using "new Sound(this)" instead of "new Sound ()" so that the audio from the external file can be recognized by the loader.

Just in case it might be useful for future reference. Thanks anyway,


Pablo Rodríguez wrote:
Hi there,

using a snippet Chris Pugh sent to the list three days ago, and following some tips on how to load external SWF content from http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14190, I tried to create an external loader for http://randomfoo.net/oscon/2002/lessig/free_culture.swf.

The source is the following:

.flash filename="001v3.swf" bbox=800x600 version=10 fps=12
.box placeholder color=blue height=180 width=240 fill=blue

.sprite images
  .put placeholder
        loader = new MovieClipLoader();
        loader.loadClip("free_culture.swf", placeholder);

But it doesn't work 100% error free. For some strange reason, when previous or next slide is selected, slide changes, but sound is played always from the beginning of the audio file, which is obviously wrong.

Is there no way to rewrite the .sc file above to avoid the use of sprites?

What am I doing wrong?



reply via email to

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