# Kirupa, new tutorial

**URL:** <https://forum.kirupa.com/t/kirupa-new-tutorial/42083>\
**Category:** Uncategorized\
**Created:** [February 4, 2004, 10:57pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083 "2004-02-04T22:57:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyezberg](https://avatars.discourse-cdn.com/v4/letter/e/77aa72/32.png) [@eyezberg](https://forum.kirupa.com/u/eyezberg)\
**Post date:** [February 4, 2004, 10:57pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/1 "2004-02-04T22:57:40Z")

</div>

…if you want it.  
It’s just a quicky, as someone was asking for how to use the new ContextMenu, I made a quick example with what can be done, wrote a few lines to go with it in Word, and here you go…

Feel free to change anything you want to… all yours 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 4, 2004, 11:05pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/2 "2004-02-04T23:05:19Z")

</div>

the contextmenu is a lot of fun 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 5, 2004, 2:39am UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/3 "2004-02-05T02:39:34Z")

</div>

Eyez - the tutorial is nice! I’ll have it added shortly - before the weekend 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 5, 2004, 8:12am UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/4 "2004-02-05T08:12:29Z")

</div>

Thanks, K 🙂  
An afterthought: you may want to add in somewhere that for the textfield (copy/cut/paste/select all) / url (open/open new win…) context menus, the user doesn’t have to do anything, it’s built in…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 5, 2004, 2:42pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/5 "2004-02-05T14:42:43Z")

</div>

Yeah - I’ll mention that :cowboy:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 5, 2004, 7:03pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/6 "2004-02-05T19:03:08Z")

</div>

Cool tut eyez =)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 12:24am UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/7 "2004-02-10T00:24:40Z")

</div>

Hey eyez!  
The tutorial is here: [http://www.kirupa.com/developer/mx2004/contextmenu.htm](http://www.kirupa.com/developer/mx2004/contextmenu.htm)

I have not linked it on the site yet. Are there any changes that you would like me to make?

Cheers!  
Kirupa :rambo:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 7:43am UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/8 "2004-02-10T07:43:07Z")

</div>

> /_the function can be anything you want, it will have to take these 2 parameters, but then the code to execute is really all up to you, I used (here) a getUrl to open the mail client with a predefined subject and message header; in the swf also a gotoAndPlay/Stop, a regular getURL to open a \_blank webpage to the forums, another item linking to Flashkit which is set to disabled, and finally a function to have the bug¡¦s head clip play to another frame, it is really anything you can come up with…!_/  
> //finally, we need to associate the new menu with a clip (or button, or textfield), and we¡¦re done.  
> mail\_mc.menu = mail\_cm;  
> //do not get confused with the code hint extensions : \_cm for contextmenu, \_mc for movieclip ! ƒº

some funky characters in this comment!? the f° at the end, and the bugi|s and wei|re !? Is that your spellchecker or mine?

Rest looks ok, if anyone wants to review/comment/correct/add, please feel free to 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 10:02pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/9 "2004-02-10T22:02:02Z")

</div>

Fixed that error eyez. Not sure why that happened. I bet it was because I was copying all of the text from Word and pasting them in Notepad before inserting them using FrontPage :beam:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 10, 2004, 10:18pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/10 "2004-02-10T22:18:45Z")

</div>

microsoft…  
😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 17, 2004, 9:01pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/11 "2004-02-17T21:01:54Z")

</div>

Think we could rename it to “Right-click Context Menu” ? I think more people will be able to look at the title and understand the tutorial better that way. Wuddaya think?

(btw, nice job eyez ;))

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 17, 2004, 10:18pm UTC](https://forum.kirupa.com/t/kirupa-new-tutorial/42083/12 "2004-02-17T22:18:46Z")

</div>

Yup, better for search too,  
thx sen’ 😉

I noticed a typo somewhere, have to re-read,  
on some letter combinations, my left hand  
always wins over the right and the letters get inverted;  
also I used \_cm for the contextMenuItem in  
some place(s?), should be \_cmi really…
