Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-07-2004, 04:07 AM   #16
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

why mate when this beutifull featuer are in
PHP Code:
var zoomMenu_cm = new ContextMenu(theHandlers);
zoomMenu_cm.hideBuiltInItems();
//
zoomMenu_cm.customItems.push(new ContextMenuItem("My Zoom In"zoomIn));
zoomMenu_cm.customItems.push(new ContextMenuItem("My Zoom Out"zoomOut));
zoomMenu_cm.customItems.push(new ContextMenuItem("My 100%"the100nullfalse));
zoomMenu_cm.customItems.push(new ContextMenuItem("My Show All"showAll));
zoomMenu_cm.customItems.push(new ContextMenuItem("My Quality"theQuality,true));
//
function zoomIn(menuObj) {
    if (
_root._xscale<=500) {
        
_root._xscale += 100;
        
_root._yscale += 100;
    }
    
zoomMenu_cm.customItems[2].enabled true;
}
function 
zoomOut() {
    if (
_root._xscale>=50) {
        
_root._xscale -= 25;
        
_root._yscale -= 25;
    }
    
zoomMenu_cm.customItems[2].enabled true;
}
function 
the100() {
    if (
_root._xscale != 100) {
        
_root._xscale 100;
        
_root._yscale 100;
    }
    
zoomMenu_cm.customItems[2].enabled false;
}
function 
showAll() {
    
_root._xscale Stage.width/2;
    
_root._yscale Stage.height/2;
}
function 
theQuality() {
    if (
_quality == "HIGH") {
        
_quality "LOW";
    } else if (
_quality == "LOW") {
        
_quality "HIGH";
    }
    
trace(_quality);
}
//
_level0.menu zoomMenu_cm
Attached Files
File Type: zip customMenu.zip (19.8 KB, 142 views)
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 06-07-2004, 08:53 AM   #17
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 25,328
Default

Yo, farafiro... What am I looking at with your code???

Is it FMX 2004 specific code???

My browser, FP 7.0.19.0, cannot recognize the right click though... What am I missing???
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 06-07-2004, 09:10 AM   #18
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

huh
why, you should see it in your browser
I donno about the stand alone player
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 06-07-2004, 09:13 AM   #19
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

ok
check it here
http://www.geocities.com/a_fayek/customMenu.swf
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 06-07-2004, 09:54 AM   #20
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 25,328
Default

Yup... That works... Thanks...
That's going to be F7 only solution though...
Oh, well... Someday, people will move on...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 06-07-2004, 09:58 AM   #21
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

lol
Quote:
That's going to be F7 only solution though...
so why it's posted in here
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 06-07-2004, 09:59 AM   #22
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 25,328
Default

Yup... I know...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Old 06-07-2004, 10:02 AM   #23
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: EGYPT
Posts: 12,439
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

heheheeeeeeee
so, go update your pro man
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
farafiro is offline   Reply With Quote
Old 06-07-2004, 10:03 AM   #24
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 25,328
Default

Um... Not before I get new car for my wife...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Reply


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 Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:37 PM.


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