πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.livemotion
Article #139

Control a movieclip from another swf file

#139
From: moosbach
Date: Tue, 19 Dec 2006 21:59
20 lines
1395 bytes
hello i am trying to control a movieclip from another movieclip. so i have the controll buttons on control.swf and want to start a specific movie-clip group of animation.swf.

beer posted these advises but it doesn't work.

HereοΏ½s an example.

swf on level0 loads another one in level1. Now, if you want to control a movieclp in the swf on level0 from the swf in level1, your have to use this script:
_level0._root.movieclip.Play();

Other way, if u like to control the swf in level1 from the level0.swf, type:_level1._root.movieclip.Play():

Hope this helps!

P.S.: you can move variables from one level to another, too. Just ask me if u need that.

:beer

could anybody help me?
thanks.
moosbach
Technical Details
Message-ID: <3bc29f25.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f6a55,261b143b03e9486d,start
X-Google-Attributes: gidf6a55,public
X-Google-Language: ENGLISH,ASCII
From: moosbach <moosbach@yahoo.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!news.albasani.net!news.isoc.lu!webcrossing
Newsgroups: adobe.livemotion
Subject: Control a movieclip from another swf file
Message-ID: <3bc29f25.-1@webcrossing.la2eafNXanI>
Date: Tue, 19 Dec 2006 13:59:54 -0800
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit