Hey everyone.
I used the Kirupa Tutorial for Advanced Rollovers to create my navigation menu and within one of the movie clips I have additional buttons that show up on the roll over.
I know that you need to place the onPress code on the frame that the buttons actually live. I have a trace("mix_btn: "+mix_btn); to find out if the button is being found.
My problem is that I dont know how to get the code below to actually dynamically load and external SWF into a container on the main timeline. A friend of mine suggested a MovieClipLoader or onLoadInit Handler but I have no idea how to use those. (I’m a noob and proud of it!).
Any suggestions?!!! Ill give someone a prize if they know how to make this happen!!
(this is my latest version of a onPress.)
mix_btn.onRelease = function() {
_root.createEmptyMovieClip("container", getNextHighestDepth())
loadMovie("musicMixes.swf", container);
container._x = 0 ;
container._y = 0 ;
Here is a link to my source files.
http://www.djlukasz.com/portfolio.zip