Actionscript 3 :: Limit To Number Of Items In Flash Context Menu?
Aug 17, 2010Is there a limit to number of items that can be added to Flash ContextMenu, I am trying to add 16 items but only 15 are displayed.
View 2 RepliesIs there a limit to number of items that can be added to Flash ContextMenu, I am trying to add 16 items but only 15 are displayed.
View 2 RepliesIs there a way to group context menu items into a tree like structure?Like the Quality in built in menu.You can test it on any flash that has the built in items enabled.Right Click -> Quality -> Low.Can you do the same with custom items?For example:Right Click -> Custom Options -> Option 1
View 5 RepliesI'm using a Repeater object in Flex. Would be possible to stop the repeater after 50 iterations.. even if my dataProvider is bigger ?
I want to display only the first 50 items. I'm using MXML to implement the repeater.
Anybody know how to create a custom context menu (right click menu) in Flash?
If it's not possible, wouldn't it be a good idea for Macromedia to put some kind of event or something in there?
I am aware of how to reset the right-click context menu to just "settings", but when the file is opened in Flash Player directly from a computer instead of on the web, the drop-down menu in the player is still available. You can even press ctrl+enter to play. My searches just come up with solutions to the right-click menu, and I have a client who wants me to get rid of this menu for a game I've already made.
View 2 Replieshow to make a sub-menu for a flash context menu. I have tried to create a menu item that is a menu in itself, but it wouldn't work.
View 1 RepliesI want to disable the context menu in flash movie.I have tried some solutions on the internet but none of them work.I am using Flash CS4 with ActionScript 3.I am really frustrated and would appreciate a straight-forward working solution.
View 3 RepliesSo I can know with the key map what characters I can use there.
View 1 RepliesIs there a way to add custom fields to the built in browser context menu using Javascript?I know flash/actionscript can do this, how are they doing it? Example: right click onand see the custom context menu.Is this possible with pure javascript or do you have to use flash?Note, I'm looking for adding to the built in browser context menu, not using custom javascript popups to mimic them.
View 2 RepliesI Wrote this code but (redraw region) is still visible what can i do to hide it
ActionScript Code:
var my_menu:ContextMenu = new ContextMenu();
my_menu.hideBuiltInItems();
var my_notice = new ContextMenuItem("Heights Agency - Visit our site");
[code]....
Since this is my first post here, I'd like to say hi to you all, and glad to be where I can share both enthuisasm and possible issues with Adobe Flash in general.And, regarding this first post, I'll be more than glad if someone could help me with this.It's a simple straight forward issue: Can a link of "Settings" inside Context (Right Click) Menu be placed in a movie as a simple link that opens it in a same manner (as in pic 2)?
View 1 RepliesHow create Context menu in AIR application plus how add sub menu against any parent item in Flex?
View 2 RepliesI need to add a couple menu items to an existing Flash menu that I did not create, but I am having trouble figuring out how to make the buttons stay highlighted until you click another one. Best way to simply describe my problem since is to simple show you. The first 5 links work exactly as they should. But the last 2 (Careers and Client login) do not stay go highlighted on the loaded page. [URL]
View 9 Repliesi wanted to place some credits item in the right button menu (no links, so no events, just a label with credits). i was looking the contextmenu help, and there is an example of how to add items, disable default items and so on, but i could not find how to attach the menu to the movie (the basic part). i tried both on 'stage' and it tells me that stage does not have a property called contextMenu, so i tried to attach it to a sprite, it runs ok and compiles ok but when i right click on the sprite i get the default menu
var _menu_item:ContextMenuItem = new ContextMenuItem("here goes [code].....
how to add a right click menu with a custom item?
What is the keyboard shortcut to open a context menu in Flash? Shift+F10 doesn't work.. Now I am trying to implement a key-down event handler like below:
public function customKeyHandler(e:KeyboardEvent):void { if (e.keyCode == flash.ui.Keyboard.F10 && e.shiftKey)
But this is not working as the F10 key in flash is reserved by the system and cannot be used in action script according to this [URL]
how to go about enabling context menu in Flash to be opened using keyboard (not mouse right click) ??
What is the keyboard shortcut to open a context menu in Flash? Shift+F10 doesn't work.. Now I am trying to implement a key-down event handler like below:
public function customKeyHandler(e:KeyboardEvent):void { if (e.keyCode == flash.ui.Keyboard.F10 && e.shiftKey)
But this is not working as the F10 key in flash is reserved by the system and cannot be used in action script according to this [URL]
how to go about enabling context menu in Flash to be opened using keyboard (not mouse right click) ??
I am trying to find the best way to improve the user experience when interacting with a context menu in a Flex application. I already know that the context menu in Flex is quite limited in terms of how it is constructed and what it can show.
What I was hoping to do was to implement something similar to what Microsoft Word does in 2010 or later, where when right clicking a little floating palette is displayed above the common popup menu. I was hoping that there was a way to 1) listen for an event that is triggered when a context menu is displayed, and 2) determine the location of the context menu so that I could display a floating palette above the context menu as in Word. So far, I have not found out how to accomplish either of these things.
I suspect that there might be some focus and stage management issues with this approach generally, but I was hoping to at least get to the point where those issues were discovered.
I write a flex application. I added some custom menu items in context menu. when I compiled this code using flashplayer 10.0, it works fine and my added context menu items are shown when I Right-Click. But when I compile same code for flashPlayer 10.1, menu items that I added in context menu are not shown when I Right-Click. I am using sdk 3.5.
I am doing this;
private var cm:ContextMenu = new ContextMenu();
var versionMenu:ContextMenuItem = null;
var dateMenu:ContextMenuItem = null;
if(model.appVersion.length > 0) {
versionMenu = new ContextMenuItem(model.appVersion);
[Code] .....
var contextMenu:ContextMenu = new ContextMenu();
contextMenu.hideBuiltInItems();
var contactList : ContextMenuItem = new ContextMenuItem("Add to Existing List");
[Code]....
All coding on contactListItemRenderer.as and call to datagrid like
<mx:DataGridColumn itemRenderer="com.view.Contact.ContactListItemRenderer"
dataField="fullName" headerText="Full Name" />
My Flex 3 application uses a custom cursor and has to show a customized context menu when the user performs a right click. The problem is the customized menu is shown only when the default arrow cursor is shown. When I change it to the custom cursor, the standard context menu appears instead of the customized one.
Is there a way to have both custom cursor and customized context menu in a flash application?
I am developing aplication using flash 2.1. I want to disable the flash lite context menu which gets open when user clicks on Pocket PC. How to do this?
View 1 RepliesWithin a Chrome extension, how can I inject items into the context menus of 3rd party flash objects?
Is it possible to simply inject items using JavaScript? Is it possible to wrap the players in a container .swf that adds our context menu item along with the items included by the original swf?
Edit: To be clear, what I'd like to do with my extension is add a context menu item to any 3rd party Flash program. So for instance, if a user visits YouTube, I'd like to add my own menu item along with YouTube's custom items.
How i open my custom menu over right click on Text Area control, currently default menue of paste, Copy, Cut etc is opened.Please keep in mind that i want to open custom context menu over TextArea Control of Flex.
View 1 RepliesIs this possible through flash?
I have to create a flash uploader where you can define the maximum number of files that can be selected.
I am trying to load MC's from an array but I need to make it so that after ever 2 MC's the Yposition changes down say 300px so that I have a new line. I have tried using if(see at the bottom of this script.) bellow but it doen't work.[code]...
View 2 RepliesI just noticed that the last thing I added won't show up, unless I add it earlier to the display list. But then the last thing in my display list no longer appears. Is there a maximum # of items that can be displayed?
View 3 RepliesI've been trying to create a menu bar like this [URL] but the menu bar I create doesn't come over the items on the website. How to create those type of menu bar.
View 2 RepliesI am working on a DVD User Interface for my final project in Photoshop. For extra credit points I am trying to figure out how to make the menu items to light up when the pointer is touching the menu icon.
View 1 Repliesscrolling 2 sprites. Look at the image below. [URL] FLA LINK (please take a quick look)[URL] I have this entire program working but i need to scroll the left menu and the menu where all the items are added. One more thing, the right menu can have only an few items at a time that do not need scrolling but when more are added then the scrolling will need to take effect.
View 0 Repliesdoes anyone know how to make right clicking work in as3?i don't want a context menu to appear, i just want it to work as an EventListener for MovieClips.For example, imagine that RIGHT_CLICK is a MouseEvent, it would look like this:[code]i know the code wont end up looking like this, but does anyone know how to pull off this same idea using a right click?[code]
View 8 Replies