[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fwd: [Swftools-common] Loading external images
From: |
Eduardo Silva |
Subject: |
Fwd: [Swftools-common] Loading external images |
Date: |
Sun, 25 May 2008 10:36:23 -0400 |
Hi Stephen,
thanks for your tip :)
Now I'm loading the image before any frame statement but now when the
actionscript is loaded (and the image is shown) the frames are not
working...something like this:
.sprite external
.end
.action:
var loader = new MovieClip();
loader.loadMovie("http://somefile.jpg");
_root.attachMovie(external, loader);
.end
.frame 10
.put external x=0 y=0
.frame 50
.change external x=200
is necessary any aditional step ???
thanks
Eduardo.
On Sun, May 25, 2008 at 9:00 AM, Stephen Moran <address@hidden> wrote:
> Hi Eduardo,
>
> My only thought would be that perhaps you are trying to load a progressive
> scan .jpg using a flash version prior to when they were supported. Either
> try to load a non-progressive scan .jpeg or make sure the flash version is
>>= 8, as I think that's when they added progressive .jpg support.
>
> -Steve
>
> Eduardo Silva <address@hidden> wrote:
>
> Hi,
>
> I'm building a simple flash movie using swfc and trying to load an
> external image inside an actionscript block , this is my example:
>
> .flash filename="test.swf" compress bbox=850x335
>
> .sprite external
> .end
>
> .frame 20
> .action:
> _root.createEmptyMovieClip("test", 200);
> var loader = new MovieClip();
> loader.loadClip("http://someURL/someFILE.jpg");
> _root.attachMovie(external, test);
> .end
>
> .frame 50
> .put external x=10 y=10
> .stop
> .end
>
> actionscript seems to get the image from the given URL but is not
> shown in the movie... any ideas???
>
> thanks
>
> Eduardo Silva
> http://edsiper.linuxchile.cl
>
>
>
>