Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-16-2008, 05:40 PM   #1
I must have ADHD
Join Date: Oct 2004
Location: Toronto
Posts: 130
Default RightClick tutorial; would it be Okay?

Since the flash right click has been the bane of many a designer/developer since future splash, I thought, perhaps it would be time to show people how to get rid of it, and make their own. Adobe themselves have posted a method for getting rid of it; yet, only due to the need posed by their Captivate consumers.


Since Adobe has provided the code necessary to do it, there wouldn't be a liability concern.

I was hoping I could get a yes or no; or perhaps even a "go ahead sounds cool".

The Article would be structured something similar to this:

  • Disabling the flash rightclick
    • How to edit the html code in your page
    • A breakdown of the javascript required
  • Making the call
    • How to send data back to/call a flash function from javascript
    • How to use the data once it has been sent back to flash
  • What's on the Menu
    • A code overview and breakdown
    • A step by step process of how to implement the class.
arpace is offline   Reply With Quote
Old 04-16-2008, 05:45 PM   #2
Super Moderator
ASWC's Avatar
Join Date: Dec 2007
Location: Greenville, SC
Posts: 6,742

can be cool, can you make it AS2/AS3?
Super Duper!
ASWC is offline   Reply With Quote
Old 04-16-2008, 09:49 PM   #3
I must have ADHD
Join Date: Oct 2004
Location: Toronto
Posts: 130

It would actually be easier for me to do it in AS2, considering that is what I was coding with for the past few years before I shifted to AS3; thus, I don't think making it in both AS2/3 would be a problem.

Maybe a little help to point out where something seems too complicated, or too over complicated, might be nice.

I also thought that it might be a good idea to show them how to call a function that makes a custom div layer visible, and hides it on selection, so users can get a handle on the menu in or out of flash. Is this a good idea, or should it be left for another tutorial?

I just don't want this to seem to daunting to the newbie; yet, interesting enough to someone that has been coding in flash for a while.

Last edited by arpace; 06-14-2008 at 01:29 PM.
arpace is offline   Reply With Quote
Old 03-14-2011, 07:12 PM   #4
Registered User
Join Date: Mar 2011
Location: Planet earth
Posts: 15

How did it go with this tutorial?
hellodummies is offline   Reply With Quote
Old 12-20-2011, 01:45 PM   #5
Registered User
Join Date: Dec 2011
Posts: 9

It's could be awesome if this can be use on AS2.
katerine is offline   Reply With Quote
Old 08-27-2013, 07:51 AM   #6
Registered User
Join Date: Aug 2013
Location: viet nam
Posts: 1

i think this ís code ..

function Main() {
stage.addEventListener(MouseEvent.CLICK, AddImage);

function AddImage(e:MouseEvent):void {
var newImage:CoolImage = new CoolImage();

newImage.x = mouseX;
newImage.y = mouseY;
newImage.scaleX = 0;
newImage.scaleY = 0;

newImage.alpha = 0;
newImage.addEventListener(Event.ENTER_FRAME, ZoomImage);
function ZoomImage(e:Event):void {
var imageMC:MovieClip = MovieClip(e.target);
imageMC.scaleX += .05;
imageMC.scaleY += .05;

if (imageMC.scaleX < 4) {
imageMC.alpha += .05;
} else {
imageMC.alpha -= .05;
if (imageMC.alpha < .8) {
imageMC.removeEventListener(Event.ENTER_FRAME, ZoomImage);
nhunglth is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
To the tutorial writing staff: XML portfolio tutorial! richarddd ActionScript 2.0 0 07-12-2007 09:16 AM
Requesting help on a tutorial Whistle ActionScript 1.0 (and below) 3 03-23-2005 10:47 PM

All times are GMT. The time now is 08:26 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.