Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
NT #1
Button and addEventListener
Okay,
It looks to me like I need to lie to flash to make this work. Can someone confirm that I am not being incredibly stupid here:
Scenario 1:
------
private var next_btn:Button;
next_btn.addEventListener( "click", this );
Result: Error: There is no method with the name 'addEventListener'.
Scenario 2:
--------------------------
private var next_btn:MovieClip;
next_btn.addEventListener( "click", this );
Result: Works Perfectly
.....
So, even though I actually have a button, do I need to lie to flash and pretend it is a MovieClip so that it lets me use the method?
Help. I really don't want to change all of my classes,
ML
NT Guest
-
How to spry addEventListener?
How can I display all the items when selecting a category (menu)? At the moment is showing only the first item from the dsData set. in the <div... -
Dynamically adding Dropdown, Text Box, Add Button and Remove Button
Hi Everyone, I am facing a poblem in creating a row which contains following scenario in ASP.NET |DROP_DOWN_LIST | |TEXT_BOX| ... -
sending arguments to addEventListener
I'm trying to create a wizard based application. I'm having trouble sending arguments to my "back" and "next" buttons using addEventListener. ... -
Opening a new window with a link button button column on a datagrid
Hi all, I have a datagrid with a button column set as a link button. When clicked I want it to open a new window in which to display the results... -
JavaScript Access to Button in form tags (webcontrol or html button)
Hello, I have a button called LoadBtn, which exists in <form name="Form1" runat=server></form> tags. I then have javascript loaded outside of...



Reply With Quote

