Reply to Re: Flickr Kook Has Been Caught!

Your name:

Reply:


Posted by SpaceGirl on 09/26/07 14:15

On Sep 26, 2:59 pm, Onideus Mad Hatter <use...@backwater-
productions.net> wrote:
> >Nope. AS3 in Flash 9 does not support right click, as far as I'm
> >aware. There's not even a mouse event to fire.
>
> *shakes head*
>
> You're just not getting this, are you? When you right click on a
> Flash file you will get a menu for options pertaining to the flash
> file itself. While there isn't (and never was) functionality for
> directly right clicking on an embedded object in a Flash file you can
> simulate right click functionality using the methods posted by both

AS3 is even drive, right? There is no event for right clicking.
There's mouseEvent.CLICK (and lots of other events), but no
mouseEvent.RIGHT_CLICK or anything like that. The only work-arounds
require *external code* (JS), which means you are reliant on the
browser hosting your Flash movie to be capable of doing this. Most do,
some don't.

So, this leaves us with the ContextMenu Class, which lets you edit
items on the existing menu (bar two). But you don't seem able to
create your own :(

I'm going to experiment with this tonight!

> Travis and I (obviously you haven't read them or something) The
> method involves editing and adding menu items to the primary Flash
> file's right click menu. The only limitation that I'm aware of is
> that there are a couple menu items that can't be altered/removed so
> you're stuck with them by default.

Yes, this is the problem I have.

> You can also DYNAMICALLY alter the
> menu items that show up in a right click depending on whatever
> variable circumstances you setup.

I want to be able to trap right clicks! Oh well.

> PS - read slower, in my last post I never said anything about saving
> XML data to a database.

Hmm.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация