[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Swftools-common] any suggestion?
From: |
Pedro Jorge Caridade |
Subject: |
Re: [Swftools-common] any suggestion? |
Date: |
31 Oct 2005 16:58:07 +0000 |
Dear Matthias
Thanks for your replay. I tried your suggestion but I am having a
strange behavior. The sprite doesn't stop at frame 71, or choosing other
frame. Also creates a strange stop at random frame. Example, running the
first time stops don't stop, pressing play, stops at random frame, when
it stops. This is a strange behavior, no?
Pedro
On Sun, 2005-
10-23 at 12:20, Matthias Kramm wrote:
> On Mon, Oct 17, 2005 at 03:44:15PM +0100, Pedro Jorge Caridade wrote:
> > One final question about swfc format. Now, like I told, I'm using a swfc
> > file with a stop() command:
> >
> > .swf MyElec "electrod.swf" #this file loop forever
> > .put MyElec
> > .frame 71 #Last frame
> > .action:
> > stop(); //Stop it!
> > .end
> > .end
> >
> > and then insert it in another swfc which have the buttons etc, with
> > actions like
> > .swf ExtFile"electrod.swf" #this file loop forever
> > .put ExtFile
> > .....
> > #Button
> > .action
> > ExtFile.MyElec.play();
> > .end
> >
> >
> > Can I create single swfc format file with a sprite gathering these
> > instructions and skip this two step problem?
>
> You can, using the .sprite command.
> The syntax would be
>
> .sprite ElecSprite
> .swf MyElec "electrod.swf"
> .put MyElec
> .frame 71
> .action:
> Stop();
> .end
> .end
> .put ElecSprite
> .....
> #Button
> .action:
> ElecSprite.MyElec.play();
> .end
>
> HTH,
>
> Matthias
>
>
>
>
> _______________________________________________
> Swftools-common mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swftools-common