Dear designers,
(ref; smooth transitions tutorial & xml driven dropdown menu tutorial)
Need some help with this please:
I have a problem adjusting my AS to play the 2nd half of my loadClip movie with my xml dropdown generated buttons. As I progressed (instead of opening an external URL, as explained in the tut) I load an external movie with a loadClip action:
Actions = Object();
Actions.loadClip = function(swfVar){
mcl.loadClip(swfVar,“container”);
};
This works fine untill after the midframe. In the transitions tut I have to specify what movie to load. This is also the script that looks at where my current movie is in the root timeline.
*(//name of my button)*products_btn.onRelease = function() {
if (_root.currMovie == undefined) {
_root.currMovie = “productsmovie”;
container.loadMovie(“productsmovie.swf”);
} else if (_root.currMovie != “productsmovie”) {
if (container._currentframe>=container.midframe) {
_root.currMovie = “productsmovie”;
container.play();
Now the bold moviename cannot be used in this way because I use swfVar (xml dropdown tut)as a name to refer to the generated_mc to action. If you know what I mean…
Other words: I dont have a productsbutton to refer to as to which movie to load and most important 2nd half of movie to finish. Now it just starts loading my new movie.
I hope you can help me with this, if you need more info please let me know so I can help you help me!
Thanks in advance!
Nick