# Animated Smartclip Navigation Tutorial

**URL:** https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311
**Category:** flash
**Created:** [August 17, 2004, 6:15pm UTC](https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311 "2004-08-17T18:15:34Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 27, 2004, 10:45pm UTC](https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311/21 "2004-08-27T22:45:22Z")

</div>

yer, check out the “A-C \> Color.setTransform” part of your ActionScript Dictionary and use a simple on(enterFrame) to set the transform… and increment the variable you have in place of your desired colour value (ie. rather than have a number for a setTransform arguement, have a variable such as i and on the on(enterFrame) increment it by 1 or 5 or 10 or whatever)

Prophet.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 29, 2004, 10:59pm UTC](https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311/22 "2004-08-29T22:59:56Z")

</div>

Man O man do I wish I found this thread about 2 days ago. I had the same probelm… major head aches.  
I want to place a transition mc between each button. Would I place code like this?

On the button

on (rollOver) {  
if(\_global.down!=this.\_name){  
gotoAndPlay(“Start”);  
}  
}  
on (rollOut) {  
if(\_global.down!=this.\_name){  
gotoAndPlay(“Stop”);  
}  
}  
on (release) {  
\_rootFpress  
}  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “home”;  
container.loadMovie(“home.swf”);  
} else if (\_root.currMovie != “home”) {  
if (container.\_currentframe\>=container.midframe) {  
\_root.currMovie = “home”;  
container.play();  
}  
}  
}

On the stage layer1

\_root.currMovie = “home”;  
container.loadMovie(\_root.currMovie+".swf");

function red(){  
trace(“filename”)  
\_root[\_global.down].gotoAndPlay(“Stop”)  
\_global.down = “but1”  
}  
function middle(){  
trace(“file/name”)  
\_root[\_global.down].gotoAndPlay(“Stop”)  
\_global.down = “but2”  
}  
function drama(){  
trace(“file/name”)  
\_root[\_global.down].gotoAndPlay(“Stop”)  
\_global.down = “but3”  
}

Is this right?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 30, 2004, 12:27am UTC](https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311/23 "2004-08-30T00:27:38Z")

</div>

its too late for me to even start trying to figure that one out 😉  
but whoi knows, maybe Lukus will address it in the revised version we will hopefully be seeing soon 😉

> [@kirupa](#):
>
> Hello Prophet!  
> Thanks for the update on that. I removed the tutorial from the Flash MX list earlier today after Lukus (the tutorial writer) referred to some of the issues you addressed.
> 
> Hopefully a revised version from Lukus will hit the site soon
> 
> Cheers!  
> Kirupa
> 
> [QUOTE=Prophet]first off, greatest respect to you and all the tutorialers
> 
> but a few people have come up against problems with the Animated Smartclip Navigation Tutorial
> 
> here is the forum thread that has arisen and there are solutions to issues with that tutorial in there as well…  
> [http://www.kirupaforum.com/forums/showthread.php?t=66846&page=1&pp=15](http://www.kirupaforum.com/forums/showthread.php?t=66846&page=1&pp=15)  
> it might be worth updating it to save confusion and enhance the tutorial (if you or Lukus have the time of course!)
> 
> just a cheeky suggestion anyway
> 
> regards, and keep up the good work!
> 
> Prophet.

[/QUOTE]

Prophet.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 27, 2004, 1:58pm UTC](https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311/24 "2004-09-27T13:58:05Z")

</div>

Hey prophet, can you make the buttons call extrenal SWF files?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 27, 2004, 10:59pm UTC](https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311/25 "2004-09-27T22:59:30Z")

</div>

add a function on the main timeline that each button calls on press  
like section1, section2, section3 ect. and give the buttons their  
matching instance for the \_root press function on each smartclip  
to load specific external content.

```auto
 
function section1(){
if (_root.currMovie == undefined) {
_root.currMovie = "section1";
container.loadMovie("section1.swf");
} else if (_root.currMovie != "section1") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "section1";
container.play();
}
}
 

```

[Previous page](https://forum.kirupa.com/t/animated-smartclip-navigation-tutorial/61311.md?page=1)
