swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Loading external images


From: Eduardo Silva
Subject: [Swftools-common] Loading external images
Date: Sun, 25 May 2008 08:51:02 -0400

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




reply via email to

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