LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-30-2003, 01:50 PM
bat7's Avatar
bat7 bat7 is offline
Registered User
 
Join Date: Aug 2003
Posts: 325
Rep Power: 10
bat7 is on a distinguished road
Cyborg multiple triggers - frame programming

When attaching programming on a button itself, one is able to attach multiple triggers:
Actionscript:
on (release, keyPress "<Enter>"){
trace ("hello");
}
The question is:
If one programs on the frame, is there a similar way of attaching multiple-triggers. As for example:
Actionscript:
myButton.onPress = function(){
trace("hello");
}
I would like this function to be triggered by onPress AND by the ENTER key, but I do not kow how to do it.
The only way I can think of is by writing twice the same function. Is there a simple way to achieve multiple triggers while programming on the frame??
Any advice is greatly appreciated!!!
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
keyframe and frame span multiple frames lse123 Newbies 8 10-29-2006 04:03 PM
preloader frame is huge when it should be tiny in bandwidth profiler ctcrmcou Newbies 3 10-02-2006 12:04 PM
movie will not stop at selected frame Dynamic Fluids Flash MX 2004 3 11-12-2004 06:18 AM
Multiple Fill-In-The_Blanks on one Quiz Frame? mrmyers Newbies 3 01-14-2004 11:06 PM
loading Multiple scenes at a same time using "if frame loaded action" kaleem25 General Flash 1 04-17-2003 08:43 AM




All times are GMT. The time now is 02:19 AM.