hi… please do you friendly hearted fellows know a way around this???
i have titles which should serve as buttons, buttons which zoom in and out with the mouseover AS. in fact i used the base work for this from an .fla dowloaded from this Kirupa site… but i can’t seem to find it anymore from the search function… here’s where i had hoped somebody else had downloaded this tutorial to use aswell??
look at my URL… to see if it throws any light onto what i’m harping on about :
THE question concerning the AS behind this technique is as follow… how the fook do i put links to the buttons… because i dont know where to put in the action script… there is so much AS in it that i havent got a clue WHAT to do… just to link to an external .swf or even another URL…
any active brains out there? i had too much pop last nite!!
oh right? i swear it was here, but i could be mistaken with the actionscript.org or flashkit pages… sorry.
anyroad, here’s the .fla… have a rummage around that if you have the remotest inclination, and furthermore should you be willing to find out where to attach some AS for the buttons individually, being as they are all instances of the same MC, then i would be very grateful… and it doesnt matter where the destination is… preferably though, saying that… when the user clicks on the different buttons, he loads in a new .swf for each one… i guess that’ll be using some of that snazzy AS to load them into empty MC’s on the “homepage” timeline…
with it??
i hope my incompetence could lead to a sensible answer and maybe help out other users thinking about the same question…
Ok, open up a movieclip symbol by double clicking it.
Inside the movieclip symbol you will see 2 layers. Right click on the one with the label “Layer 2” and open the actions panel.
In there you will see [AS]this.onRelease=function(){
trace(“release called”);
}[/AS] and you can change that to [AS]this.onRelease = function() {
_root.container.loadMovie(movieToLoad);
};[/AS] You will need to change the code within the onRelease to do what you want, but the main part to focus on here is the “movieToLoad” variable.
Now go BACK to the main timeline and right click on the movieclip symbol itself. Open the actions panel and inside will be something like [AS]onClipEvent (load) {
//just change the name here
myText = “B.S.F.C”;
}[/AS] Add in the movieToLoad variable like this [AS]onClipEvent (load) {
//just change the name here
myText = “B.S.F.C”;
movieToLoad = “myFile.swf”;
}[/AS] Add this movieToLoad variable to all the other buttons and you are set.
Brill… thanks very much indeed… it’s a good exapmle of zooming text isnt’ it? well i like it anyway… feel free to download it everyone… p.s. thx lost in beta you’re the best!! :thumb: