Now, what i have is couple of buttons inside that movie clip any they just don't work.For instance , i wanna load a new movie into the main timeline by clicking on one of those buttons.But it does not work?What am i doing wrong here?
Hi blanius,
i want load movie button in mc8 to load an external movie.I tryed with load function but it didn't work.I also tryed with geturl, didn't work again.
Ok still a little short on information.... But I'll take a stab at it.
you want mc8 to load a external clip into the main timeline I think... Note that this will remove the movie mc8 as well I believe if it's a child of the main timeline.
Thank you for your swift reply, it worked well but its not what i wanted.Now i have an mc that loads external movie.But i wanted buttons i had in that mc to load external movies.
I can't get those buttons to work.Is there a solution to this problem.I used clips as buttons movie clip and i put some buttons in it which were supposed to load some external movies.
something like this if this kind of code is possible:
Well that's what I said would happen.... Think of movies as containers, this includes the root movie, which you generally would not want to load anything into. What you want to do then is have an empty movie clip and perhaps name it "container" then in your buttons assignments (assuming that you are putting the AS in the main timeline) would look like:
I spent couple of hours trying to figure out this.I put the website i am working at here so if you can just take a look.
All of my buttons inside "about us" mc load the same movie which i dont want.And when it loads it, why is my loaded movie in the left lower corner.
Wow, Ok you have a rollover action in clip that shows three buttons and then in the Actionscript you refer to btn6 but there is no btn6 in that clip.....
I suggest you first delete ALL of the scripts then NAME your movieclips and buttons to avoid confusion. Then write your scripts using the names. Remember to think of ALL movie clips as containers and you have to be specific about where they are when referring to them in script. For example if the button is IN mc1 then from the root time line it's mc1.btn1..
Look in the koolexchange.com and you'll see a couple of templates that do exactly what you are trying to do. They should get you going. There are like three from Laurence Henshall and one or two by AntZ and at least one by me there.
Thank you blanius for your answers!I did look in the koolexchange and i noticed that all the drop down menus are "on release".There is no any onrollOver example.So i decided to put the menu in the movie clip and put go to frame actions on buttons.That worked well, though it's not rollover thing, but never mind.It is kool anyway.
Have anybody ever played with onrollover drop down menus?
When i tried using Chris's movie clip as button code,i just couldn't get to the buttons inside the movie clip.I have no idea why!I ve tried everything i knew.I got an impression that mouse did not "see" the buttons inside a clip.