PDA

View Full Version : button behaviour


tantorboy
06-26-2001, 09:57 AM
hello

this is the problem

basically in my library i have a button symbol called news and a movie symbol called banner, the banner is a movie that should appear at the top of the screen. it simply fades and scrolls in from the right and says news.

i want to be able to press the news button and the news banner scrolls in.

i have tried to include the movie in the button symbol but on a seperate layer and i put it in the down frame so i can see the movie but i need to hold the mouse down to view the entire movie

i have tried to inc the movie on a seperate layer in the scene but i dont know how to tell the button to call the movie

i have a feeling it has something to do with the tell target or goto options

i do have a small simple fla if someone would like to have a look

i am using flash 4 btw

any help would be greatly appreciated thank you

martin

matt poole
06-26-2001, 02:01 PM
put the button on the main stage, attach:

_root.banner.play()

...to it, making sure that you have also named the MC in the instances box, not just in the library. (Also make sure there is a 'stop' command in the first frame of the MC).

Have a look at the tutorial on paths too, this should help with understanding levels in flash it worked for me...

tantorboy
06-26-2001, 02:41 PM
thanks mate

will check it out


thanks again for your time and help

matt poole
06-27-2001, 04:36 PM
no probs,