Flex :: Copy And Paste Missing In Context Menu?
Mar 31, 2011
I'd like to add copy and paste functionality to context menu in my Flex application. After creating a separate dummy project for testing, I realize that such options (cut, copy, paste, and delete) are already available in this dummy project without any coding. Both projects are compiled using Flex 4 SDK, run in the same brower (IE) and have the same version of Flash Player (10.2.153.1). However, different context menu are displayed. Here are the difference:
Orig Project: Print, Show Redraw Regions, Debugger, Settings, Global Settings, About Flash Player...
Dummy Porject: Cut, Copy, Paste, Delete, Select All, Settings, Global Settings, About Flash Player...
View 1 Replies
Similar Posts:
Dec 2, 2011
Is there a way to copy an image into an Air app through the context menu (right-click menu) or at least to detect if there is an image within the clipboard?
View 1 Replies
Dec 10, 2010
In my flex 4 project I am using some Spark TextInput components. It doesn't show copy and paste in the right click menu by default. The user needs to copy some text and paste into it. How can we enable this?
View 2 Replies
Nov 18, 2011
Our users want to copy and paste some rows from an Excel spreadsheet, or a chart generated in Excel, into a text box within a Flex application.It would be ok for it not to be fully functional, like an ActiveX object, embedded in the flex app. If it converted it to a static image, that would be fine. But I don't know of any Flex component that supports this.
View 1 Replies
Feb 10, 2011
I'm turning to you folks for answers because this really blows my mind... Let me explain:I'm using a slightly modified spark NumericStepper as an item editor in a datagrid. I had to modify the original because for some reason it's values only went up to 10.So i extended NumericStepper like so:
<?xml version="1.0" encoding="utf-8"?>
<mx:NumericStepper xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code].....
View 1 Replies
Sep 21, 2011
How create Context menu in AIR application plus how add sub menu against any parent item in Flex?
View 2 Replies
May 30, 2009
I have animated a slideshow effect where one frame moves out teh way and another moves into framei am happy with it and now want to repeat it with all teh other images in the slideshowthe problem is, when i copy the keyframes (with a tween) on the first image that I did and try and paste them onto the 2nd image in my series, it actualy charges the image as well ! So that the second image becomes the firts image on the keyframes.Is there a way just to copy the opacity and motion animation ONLY ? My guess is there must be because to animate each picture by hand with a custom ease in & out curve would take forvever
View 3 Replies
Jan 21, 2011
I'm trying to work out a better way of doing this animation. I'm working on a project where I need to animate multiple robots picking up parts and dropping them. I've attached a quick demo of the kind of movement I need.At the moment I have a Part MovieClip inside a Robot MovieClip (so it will rotate with the robot) What I can't work out how to do smoothly is, how do I release this Part Movie Clip so I can transfer it to another robot & rotate it following the second robot.I can't seem to copy/paste the Part's last position from the 1st Robot's animation to the 2nd Robot without it changing scale/position. Leaving me to basically position a new copy of the Part MovieClip until it sort of lines up with the old parts and switching between the two in the timeline.
View 1 Replies
Oct 14, 2009
I have a Flex app with a viewport that loads a series of other swfs. I would like to place a context menu over top of the SWFs when the user right-clicks. To that end, I have set up a fairly standard context menu where each item has a ContextMenuEvent.MENU_ITEM_SELECT event handler. One problem: The eventHandler never gets called.
If I place the context-menu code anywhere else in the app, i.e. not on top of a loaded SWF, everything works fine. However, when I place the exact same code on the SWF viewport, the context menu items appear, but the eventHandlers are never called.
View 2 Replies
Feb 3, 2010
How we add context menu in datagrid column header.
View 1 Replies
Feb 20, 2011
On my web app, I want to be able to remove the Flash context menu and only leave the ones really needed like the textarea contextmenu.
View 1 Replies
Mar 22, 2011
I have a UIComponent (tried it also with Canvas) and some icons in it (sub views). On the UIComponent I defined some extra ContextMenuItems. Now when I'm testing it, the context menu appears only on the subviews (icons) with a right-click. I've checked the documentation but found nothing about required properties for using context menus. Why it's only on subviews?
View 3 Replies
Jul 27, 2011
Is there any way to know the parent/component which initiates context menu? I have a panel which contains different custom components. i want to open respective popup window of custom component from context menu when user right click on the respective component.
How can i find the parent custom component which initiates context menu?
for ex:
custom compoent: 1. Label, 2. Buttom
context menu Item: properties
On right click over 'Label' opens a context menu which has item 'properties', on clicking properties it should open custom popoup window showing properties of Label. similarly, for Button.
I am trying to listen Event on click of context menu, but it is not useful.
View 1 Replies
Apr 13, 2009
Is there any way I can put a paragraph that people can copy and paste?
View 4 Replies
Jul 27, 2009
I have Flash CS3 Professional, 9.0.Iopy-pasted the below code in and I got this compilation error:Quote:1037: Packages cannot be nested.
Code:
package{
import fl.controls.Button;
[code].....
View 1 Replies
Jan 1, 2010
I'd like to copy and paste a set of keyframes and frames at the end of the exisiting timeline... maybe several times to extend the timeline. However I've been a bit flumoxed as to how a simple chore like that is done. It does not appear one can copy the frames, then set the cursor at the end and past the frames ahead of cursor, Or do I have to create multiple layers to get the same effect by placeing them end to end down the timeline.
In the included screen shot, I'd like to copy/paste the frames on layer1 on down the time line but still on layer 1. As you can see I've started using layers to create the same effect... but is that really the way to do it?
View 3 Replies
Jul 10, 2011
I noticed that if you type in tab characters in a Textfield that has embedFonts equal to true and you copy and paste the complete text in that same Textfield, then you loose the tab characters. If no embedded fonts are being used then all works fine.
View 4 Replies
Jan 19, 2003
I was trying to follow the photo gallery instructions in Flash MX from this site. I was fine until I got to the line that said... "now copy and paste this code into the actions dialog box." Well, when I opened the action box...where/how do you paste this action. I opened the action box, then clicked movie control, but I do not see a line to add the code. [URL]..
View 1 Replies
May 27, 2010
Is it possible to create submenu in context menu (right click menu) in Adobe Flex?
Menu1 >
- Menu1.1
- Menu1.2
[code].....
View 2 Replies
Feb 2, 2011
Is there any workaround to create submenu in a flex context menu other than stopping right click from javascript.
View 1 Replies
Mar 21, 2011
I have a Flex application, running with Flash Player, not AIR, that contains a Tree that I would like to put a custom context menu on.
Tried just doing <mx:Tree ... contextMenu="{MyClassWithStatic.menu}">, but that didn't do anything.
Went searching, and found this quote from some Adobe docs somewhere
In Flex or Flash Builder, only top-level components in the application can have context menus. For example, if a DataGrid control is a child of a TabNavigator or VBox container, the DataGrid control cannot have its own context menu.
so went upwards, trying each parent element until I reached my <Application>-element, which is consistent with what they wrote.
Tried making a Flex component, based on Group (the default) which contained my tree, and the context menu on the top-level element there, hoping it would work, but to no avail.
Is there any other way to manage this that I haven't found yet?
The code I use to create the menu:
var menuItems:Array = [];
var rename:ContextMenuItem = new ContextMenuItem("Rename");
rename.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,
[Code].....
View 3 Replies
Jan 29, 2012
I want to be able to copy text which is in italics already from a text box and then paste it into word with it still being in italics.
Is there anyway of copying a word and keeping the italic attribute so that when pasted in a word document it still remains in italics?
View 2 Replies
May 31, 2009
I have a created one complex button that I intend to use more than one. When I copy-paste the buttons in CS3 and try to change the text of just one, the text of every buttons is changed.I right-click on the button and select "duplication symbol" to change the features of the button independantly of the others. However the text never gets duplicated and all of my buttons show hte same text.
View 7 Replies
Jul 5, 2009
I've download a flash template from:[URL]I just wanted to use the menu, so I copy the movieclip and paste it into my stage then use AS 3.0 to control it.It's working fine when I only have 1 item on the menu.But when I paste more than 1 they all seem to share the same attribute, when i edit the text of 1 the rest get edited too.
View 3 Replies
Aug 13, 2009
I always used this shortcuts for copy/pasteCut - Shift+DelCopy - Control+InsertPaste - Shift+InsertSo this shortcuts doesnt work in Flash IDE. I've addet this shortcuts in Edit -> Keyboard ShortcutsBUT IT STILL DOESNT WORK !!!I dont wanna use Control+X Control+C Control+Vwhy shortcuts customizing doesnt work ?
View 28 Replies
Apr 2, 2012
I have a button with animations on scroll-over. How can I 'duplicate' this button, as I want several more buttons with the same template, just different text (and different functions called)?
Sorry for the foolish question, but the Duplicate button is frustrating, as when I change the text in the new button it changes the text in the other button. It's like I'm changing a template.
Perhaps it is a misunderstanding of symbols? I believe symbols are basically template classes...is there a way to generate a new instance of a button symbol?
View 2 Replies
Nov 3, 2006
im makin an arkanoid game where you have to destroy bricks with a ball. I tested the game with a single brick on the screen, and it works fine (the brick gets destroed when the ball hits and adds to the score as well).
But as soon as i try to multiply the movie clip to have lots of bricks on the screen, the ball does not recognize the movie clip and goes straight through it.
Further more, after hitting a particular brick, they all disappear at once!
View 3 Replies
Jul 22, 2010
I'm working for a client that needs me to put a lot of information into flash. He had someone do all the typing and all that in word, with formating and I went through and changed text colors where needed, and now when I'm trying to put it all into flash, it doesn't take any formatting at all. No indents, none of the bold settings, and none of the color settings. I really can't re-do all of the formatting, it would take ages and ages. There must be some way to get this formatting into flash from word (actually using a free program called bean, because i can't even get a copy/paste from word to work at all)
View 3 Replies
Feb 22, 2010
How to add custom component in context menu of datagrid.Here custom component like one text box with formatting details.
View 1 Replies
May 13, 2011
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.
View 1 Replies