PDA

View Full Version : embedded dropdown menu not working



esaks
November 8th, 2004, 10:27 PM
so heres the deal i have a drop down menu that for some reason is not picking up button presses, im starting to think its because the drop down menu is within another movie clip, but its driving me nuts, any reasons why an embeded movie clip wouldnt be picking up a hitTest or a this.onRelease ??? ahh driving me nuts heres my code im using the undocumented tween class :crazy: :crazy: :crazy:

onClipEvent(load){
//portfolio dropdown
this.onRelease = function() {
easeType = mx.transitions.easing.Regular.easeInOut;
var begin = _root.portfoliolink_mc.portwebdev_mc._y;
var end = 300;
var time = .5;
var mc = _root.portfoliolink_mc.portwebdev_mc;
ballTween = new mx.transitions.Tween(mc, "_y", easeType, begin, end, time, true);
this.gotoAndPlay(2);
}

this.onRollOut = function() {
easeType = mx.transitions.easing.Regular.easeInOut;
var begin = 300;
var end = 35;
var time = .5;
var mc = _root.portfoliolink_mc.portwebdev_mc;
easeback = new mx.transitions.Tween(mc, "_y", easeType, begin, end, time, true);
this.gotoAndStop(1);
}
}

even when i trace it it doesnt pick it up. help pleeeeaaase. this script is within a movie clip within a movie clip

esaks
November 9th, 2004, 12:06 AM
okay i figured out why i wasnt getting the hitTest, i have a rollover action on the first movie clip so the mouse clicks arent even getting to the embedded movie clip. but i still dont know how to fix it. help. anyone????

dboers
November 9th, 2004, 01:16 AM
Can you post your Fla ?