PDA

View Full Version : newbie ?: why doesn't scrolling textbox work inside easing menu


Runehm
10-12-2005, 08:36 PM
I am making my website with a menu of buttons on the left, and a masked easing area wich slide in the "hotspot when a button is pushed.

My question is:

Why canīt I get a simpel dynamic scrolling textbox to work in this movie?
There is no problem when I create the dynamic textbox in root of the scene, but if I want the textbox to just be on one place in my masked graphics, it fails. ??? why??

I dont know a lot about how the scenes work and such, maybe you canīt run a movie inside another, or `?

Thanks for your answers to this totally newbie (but leaning).

some the code I use:

onClipEvent (load) {
_x = 0;
_y = 0;
div = 5;
}
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
_root.home.onRelease = function() {
endX = 0;
endY = 0;
};
_root.works.onRelease = function() {
endX = -250;
endY = 0;
};
_root.skills.onRelease = function() {
endX = -500;
endY = 0;
};
_root.bio.onRelease = function() {
endX = 0;
endY = -200;
};
_root.links.onRelease = function() {
endX = -250;
endY = -200;
};
_root.contact.onRelease = function() {
endX = -500;
endY = -200;
};
}