# \[Flash8\] Problem combination xml dropdown & transitions tut

**URL:** <https://forum.kirupa.com/t/flash8-problem-combination-xml-dropdown-transitions-tut/224416>\
**Category:** flash\
**Created:** [May 2, 2007, 7:33am UTC](https://forum.kirupa.com/t/flash8-problem-combination-xml-dropdown-transitions-tut/224416 "2007-05-02T07:33:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nicholas\_Carter](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@Nicholas\_Carter](https://forum.kirupa.com/u/Nicholas_Carter)\
**Post date:** [May 2, 2007, 7:33am UTC](https://forum.kirupa.com/t/flash8-problem-combination-xml-dropdown-transitions-tut/224416/1 "2007-05-02T07:33:09Z")

</div>

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
