i am a beginner in Flash webdesign…
i made a page using the action script for an movieclip:
onClipEvent (load) {
_x = 425;
_y = 313;
speed = 10;
}
onClipEvent (mouseDown) {
endX = _root._xmouse;
if (endX < 283) {
endX=283
}
if (endX > 540) {
endX=540
}
endY = _root._ymouse;
if (endY < 180) {
endY=180
}
if (endY > 418) {
endY=418
}
// acum testez interactiunea...
//menu1
if ((endX < 308) and (endY < 216)) {
_root.contents.loadMovie("inscrieri.swf");
}
//menu2
if ((endX < 258) and (endY > 358)) {
//something here
}
//menu3
if ((endX > 491) and (endY < 281)) {
//something here
}
}
onClipEvent (enterFrame) {
_x += (endX-_x)/speed;
_y += (endY-_y)/speed;
}
this made the movieclip to go where you click(it is limited to the center of the screen)
i tested when it arrives over the “link” to the pages of the site…
now the problem: how can i go to an other page when it arrives over the “link” to that page?
i saw this somewhere(in the tutorials on this site):_root.contents.loadMovie(“inscrieri.swf”);
but i don’t works:-/ :-/ :-/