[Top][All Lists]

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

Re: [Swftools-common] swfc

From: Sairam Suresh
Subject: Re: [Swftools-common] swfc
Date: Wed, 24 Oct 2007 14:16:52 -0700

Try passing an absolute url path for your photo variable, and make sure the swf is being fetched from the same domain as the movieclip. I've run into a similar problem before and I remember that being a solution.


On 10/24/07, Mark D. Zarecky <address@hidden> wrote:
The following actionscript works fine when I specify a version 6 file format
and compile with swfc. If I specify version 7 or 8, the sprite does not
appear on the stage.

Is there a problem with the actionscript ( i.e. deprecated in 7 and 8) or
do you think it is just an idiosyncrasy in the way swfc compiles it?
Any input would be appreciated.

.flash bbox=300x300 name="load_external_jpeg.swf" fps=15 version=6
compress background="">
.sprite photo_sprite
    externalPhoto._x = 0;
    externalPhoto._y = 0;
    externalPhoto.loadMovie(_root.photo);  // flashVar photo= photo.jpg

.put photo_sprite


Sairam Suresh
              . . .  turn your digital videos into flipbooks!
reply via email to

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