everytime i try to do one of the tutorials… and i hav eto copy and paste some actionscript it never works because the “onclipevent” thing loads up (all i want is the “on release” and down) automatically and when i try to delete it it deletes and the whole and when i try to do the on release manually it doesn’t let me do the _root.contents. etc thing… instead it puts the location after the url… anyone know why?
onClipEvent (load) {
on (release) {
_root.contents.loadMovie(“music.swf”);
}
}
Well, from the looks of that code, it indicates that onClipEvent handlers are used for movieclips, so you’ll be removing that line and the last line if you want it only for a button. To do this manually, set your actionscript editor from basic to expert mode. Make sure when you press the action-arrow button, you have Expert Mode checked on. Here is how:
well i am trying to load a movie you see in the same window and i am doing the tutorial. http://www.kirupa.com/developer/mx/full_site.htm
i made a stupid mistake and tried to copy that script onto a movieclip button isntead of a button… but im still trying to get mymovie clip button to load a separate movie! do you know of a different step i should take…