Animated Smartclip Navigation Tutorial

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.

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?

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

[/QUOTE]

Prophet.

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

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.

 
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();
}
}