By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,135 Members | 1,184 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,135 IT Pros & Developers. It's quick & easy.

Simulate the "Swap instance button" in ActionScript

P: 2
Hi there,

I am a newbee. searched intensively for a quite simple problem but couldnt find an answer. Here is my problem:

I have two layers with 2 movie clips. The movie clip on layer 1 stays static, the movie clip on layer 2 fades in on a few frames, thus I crossfade from clip 1 to clip 2 (actually it is a bit more complicated what I am trying to do). At the end of the fade, i would like to replace the movie clip on layer 1 with the movie clip on layer two (that is I want the instance on layer 1 to point to the "parent" on the instance on layer 2. Then I want to move back to the beginning frame and place a different movie onto layer 2. All this so I can reuse my crossfading routine again now fading to a third, forth, fifth... movieclip.
Or put differently, I want to simulate the "Swap..." button below the "instance of:..." text in ActionScript.
AttachMovie to my little knowledge seems to do something different.
Confusing? Silly?
Any help appreciated. Thanks in advance!
Jun 24 '07 #1
Share this Question
Share on Google+
3 Replies


Atran
100+
P: 319

P: 2
Hi Atran,

thank you for your reply! It wasn't exactly what I was looking for, but I managed anyway to solve my problem. I had to use AttachMovieClip, just needed to go one level further down. typical beginners mistake. Thank you anyway for your help!
Jun 28 '07 #3

P: 1
so... what was your solution?
Nov 12 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.