PDA

View Full Version : button and movieclip conflicts :(



future_pilot
November 14th, 2003, 03:35 PM
Hello my brothers + sisters -
My question revolves around my current dillemma;

In Flash MX I guess you can't embedd buttons in movieclips? Are buttons onlly allowed to be static elements in a movie?

I'm constructing a news section for a site with 3 cycling images in a single movieclip - with the intent to have a layer of 3 buttons within that movieclip, designated to run over their respective images, triggering an html page of news - I did this, exported and uploaded to my server with no luck on the web- the links didn't work and all I got was a little hand over the images, almost as if the computer was mocking me...
Does anyone know a way to efficiently use buttons in a variant way I have explained above, or am I just sh*# out of luck?
Anything would help.
thank you
F-pilot

blah-de-blah
November 14th, 2003, 07:52 PM
hmm, well it should work. You are saying that putting a button inside a movieclip doesn't work?? Maybe if you can show me your fla or an example that would be good :)

future_pilot
November 17th, 2003, 09:16 AM
Thanks for the reply, but yeah it goes like this;
12fps .fla;
30 frame movieclip;
3 buttons, existing in the same clip, with a 10 frame interval each - so that the clip cycles through 3 diff. buttons - and this did not work(button commands failed)-does this make any sense? I would think something this straightwoward would work

RelandR
November 17th, 2003, 12:51 PM
yes ... your computer is mocking you... ;)
buttons can live in clips..
what are the codes on the buttons ?

..maybe "attatch" the fla for a look ???

future_pilot
November 17th, 2003, 12:55 PM
each of the 3 buttons has attached code to pull up 3 seperate URLs

kill.robot.kill
November 17th, 2003, 01:04 PM
put a trace on each of the buttons

on (release) {
trace("I am a button");
}

I have a feeling that its your code, not the buttons,