Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
JohnnieMiami99 #1
Newbie Help - button events not firing
Hello!
I have Flash MX 2004 and I am having a problem with 3 of my 5 buttons. For
those 3, they do not respond to the button click. Here is the code I have for
each button:
on (rollOver) {
// Gallery
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(9);
}
on(release)
{
//Goto Webpage Behavior
getURL("http://www.macromedia.com");
//End Behavior
}
Any help would be appreciated.
Thanks!
JM
JohnnieMiami99 Guest
-
Button Column Objects, events' not firing
I am having the same problem have you found anything out? *** Sent via Developersdex http://www.developersdex.com *** -
Adding Button at runtime: Events not firing
Im adding a button at runtime but the DataGrid1.ItemCommand event does not fire. I also have a button that I added at design time and this button... -
Why all my Datagrid Events not firing?
I have created a datagrid on an ASP.Net form, When I try to capture any of the "Command" events e.g. (ItemCommand) the event does not fire. I have... -
Newbie - Rendered controls not firing events - help please
Hello, I have 2 user written rendered controls. If I put them on a page one at a time they work OK. If i put them on the page at the same time... -
Two events firing, but I only need one...
I have a page with several datagrids on it. There is one main visible table, and two invisible tables that become visible when someone clicks a... -
kO2n #2
Re: Newbie Help - button events not firing
Hi,
Are those buttons targeting the timeline that they are on? Are you sure you've
applied the actions to the button instances and not the timeline itself?
Also, getURL("http://www.macromedia.com"); add _blank if you want the page to
open in a new window. So,
getURL("http://www.macromedia.com", _blank);
Viru.
kO2n Guest
-
JohnnieMiami99 #3
Re: Newbie Help - button events not firing
Hi Viru!
As I mentioned, I'm a newbie...so here come the stupid newbie questions.
How do I know if I have applied the action to the button and not the timeline?
I have selected the blue box over my button and added the code to that. Sorry,
still learning....
Thanks!
JM
JohnnieMiami99 Guest
-
rlc5611 #4
Re: Newbie Help - button events not firing
you are probably applying the actions to the button because you should get an
error if it were in the main timeline something like "mouse events are only
permitted for button instances". Just a comment on the reply below. I think you
would have to put the _blank in quotes as "_blank". At least I do.
Do you have anything else in your movie like any components? Some of the
components are causing weird problems with button focus and can force a rollOut
even if you did not actually roll out. I know the comboBox does this.
Another thing, it looks like you are frame-jumping based on the mouse actions
on the buttons. Are all the buttons on every frame in the area you are jumping
around in as one button or are you splitting the buttons up (multiple
instances) into different keyframes? Try putting your buttons on a layer by
themselves (all can be on one layer) and keep this layer continuous without any
new keyframes.
rlc5611 Guest
-
JohnnieMiami99 #5
Re: Newbie Help - button events not firing
Hi and thanks for the feedback!
I thought they all had to be on different layers? For example, when I
created my button it created 4 layers. I do have other buttons but no other
controls like combo boxes. I think you are right about the frame jump too
since the action on the first 2 buttons is very different then the action on
the last 3 buttons (which happen to be the ones I am trying to update). Here
is the movie: [url]http://www.soft-ally.com/kimberleeduncan/flash/delta15.swf[/url]
Thanks!
JohnnieMiami99 Guest



Reply With Quote

