[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: |
17 Oct 2005 15:44:15 +0100 |
Thanks for your explanation Matthias. I was expecting that, when having
an external swf which was already created by swfc it lose the memory
about the name of the movieclip inserted.
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? I was thinking of something
like
.swf MyElec "electrod.swf"
.sprite MyMc
.put MyElec
.frame 71
.action:
stop();
.end
.end
and in the buttons call this sprite like
.action:
MyMC.Play(); //or MyMc.MyElec.play();
.end
but i don't get the same behavior that i get with two step: it does not
stop, sometimes stop randomly in other places.
Thanks for all attention
Pedro
On Sun, 2005-10-16 at 18:45, Matthias Kramm wrote:
> On Thu, Oct 13, 2005 at 07:10:50PM +0100, Pedro Jorge Caridade wrote:
> > Now to stop it in the first frame, instead of filetoload.stop(); as I
> > expected I need to use filetoload.stopfile.stop();. Is this normal?
>
> Yep, that's normal. A MovieClip inside a MovieClip needs to be
> referenced using the movie1.movie2.movieclip notation.
>
> That's btw. the one thing that also breaks master/slave combining when
> using swfcombine on SWFs with ActionScript.
>
> Greetings
>
> Matthias
>
>
>
>
> _______________________________________________
> Swftools-common mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swftools-common