Hi, my first post here, provided me with much help already
Basically, I have an animated movie-button with the following code:
on (rollOut, dragOut) {
gotoAndPlay("_close");
}
on (release) {
loadVariables(âblank.txtâ, â_root._mainâ);
loadMovie(âmarbleback.swfâ, â_root.MainMovieâ[_x=232.8, _y=16.7]);
stop();
}
Once I press it the movie loads as I would like, but the buttonit originates from vanishes⌠the same thing happens when I set another button to unload the movie. I assume its something basic I have missed, I could just get the movie to load the button once it has been laoded itself, but I would rather not have my buttons vanishing, or at least have a good reason why. Fairly new to Flash MX. Any help appreciated muchly. I have done a few searches of this and similar sites, nothing like it yet.
Nope, itâs in the sidebar, the movie loading is exactly the same size as teh hole it fits in, no overlap, the button just vanishes, the code is simple it looks like itâs unloading or being sent to the back⌠I rewrote the code for a different button, does teh same thing, loads the movie file but the button disappears. I havnt used unloadmovie anywhere, nothing else refers to the buttons, the movie loads into a MC thats currently just a colour but it has a dynamic text field over it (on the stage, not in the loading movie) some fo my buttons load a new text file into the dynamic field, others load a blank file into it and load a movie behind it. Again nothing refers to the buttons.
Please help I was hoping it would be some kinda well known bug, but I guess its not.
PS: Just checked and the button isnât moving to the back, they overlap the edge and in test movie even the edge moves, it might be moving to the coordinates of the movie im directing?
Iâm 56k and have solved problem, it was adding teh [_x etc. to position the movie where i needed it, for some reason this causes the movie to load in the button instead of the named target and in the location I had stated before, obviously my ignorance of commands at fault, Iâve now realigned my crosshair on the corner i need to play move snugly and can remove the coordinates. Thanks for trying to help anyway.