|
-
making AS inside a MC perform
im builing a website the loads external .swf from the main movie. now im no pro so i cant get the external movie's action script to work.
if the external movie is called "section3.swf" and the rollover has a instance name of "how" how do i make it perform its rollover????
i thought it would b something like so
section3.swf.how.onRollOver = function(){
section3.swf.how.gotoAndPlay("overIt");
section3.swf.how.back = false;
section3.swf.how.play();
}
section3.swf.how.onRollOut = function(){
section3.swf.how.back = true;
}
any suggestions?
-
OOP is one letter from OOPS
You would have to do that coding in the section3.swf and then compile it.
-
sorry but im a rook. whats compile? and what part of the code in section3 needs to b edited
-
OOP is one letter from OOPS
in the section3.swf place the code you want:
how.onRollOver = function(){
how.gotoAndPlay("overIt");
how.back = false;
how.play();
}
how.onRollOut = function(){
how.back = true;
}
Compile just means publish the SWF.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|