hey guys
I am working on a project where i am creating a button list
I am a complete beginner in flash (i used to work simple stuff on Macromedia Flash 5 years ago) and for some reason i find that simpler, just too old
Anyway, a brief description about my project is as follows:
1- I have a background and 11 button bg’s
2- when the 1st scene loads, the 11 button bg’s slide from the side at a simultaneous motion where the 1st bg slides in then the next and so on
3- while sliding the bg the text (the actual clickable button) appears and then the bg disappears
Thats what ive done so far
Now what i want is, when i hover the 1st text “Home” for example, i want the bg for that button to slide in from the side with a motion (similar to how it slided in when loading the scene)
and when i hover out the button it should disappear
I thought of making 11 different scenes that will do it for me using action script but it didnt work, i tried to apply the “GoToAndPlay” command and create a frame with that action somewhere far away, it still didnt work
my code in the action script is this
on(rollOver) {
gotoAndPlay(75);
}
and this is the error message i get
1087: Syntax error: extra characters found after end of program.
the only reason i am doing this is because when i define the text and make it a button, i double click it and i dont know what i am missing but it doesnt show me the (UP, DOWN, OVER, HIT) screen where i insert how it should act, however, in that screen there is only 1 frame for each action that will apply to THAT layer or button i am editing, which i dont want because i want another layer to slide in
I know my whole topic isnt explained in the best way therefore i have uploaded the swf and it is posted below
http://www.piglatinhiphop.com/newsite/project.html
Also i am facing another problem thats not making any sense to me at all
on when i click a button I want to open a page in an iframe, therefore i set this code
on (press)
= function (){
getURL ("index.htm","I1");
}
i check the syntax and nothing is wrong with it, i play the file it keeps looping although i have set a code to stop it from looping or playing any further frames, i remove the code above and it stops like its supposed to… any suggestions ?
thanks