Use of contextmenu will crash in new flashplayer
hi all,
i am using flex 2.0 final addition to create context menu
support in my application
i am sucessfully able to create context menu but when i am
trying to select any item from contextmenu in flash player 9.0
final release it will crash the aplication insteadof opening a
popup menu according to my application
so can any one tell me what was exact prob to solve this
situation because right now i am migrating my application frm flex
beta 3 to flex final...and this menu also work perfactly in beta3
but same thing not working in final version...
here it is code..
ContextMenu myContextMenu = new ContextMenu();
var item:ContextMenuItem;
this.contextMenu = myContextMenu;
item = new ContextMenuItem("Criar pasta para "+folder);
myContextMenu.customItems.push(item);
item.addEventListener(flash.events.ContextMenuEvent.MENU_ITEM_SELECT,
function():void{menuItemCreateFolderHandler(folderData);});
private function
menuItemCreateFolderHandler(folderData:String):void
vAction="create";
showWindow(true,folderData);
plz give me proper solution aasp...
thanks in advance
Edit:
DOH! Please ignore my question; I figured it out. It looks
like it was related to the fact that I was attempting to remove the
ContextMenu item on mouseOut of the button, and when moving the
mouse to select that menu item, the mouseOut occurred.
Was a solution ever found for this, or a bug filed?
I'm running into similar issues now that I'm starting to play
with ContextMenus. The menu options appear fine, but when an option
is selected, the browser crashes.
In the sample below, 'ROOT' is added to the context menu for
the panel. Clicking this causes no problems. Hovering over either
button adds a new menu entry below 'ROOT' and if it is clicked,
that is when the crash occurrs.
Sample Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application pageTitle="Testing ContextMenu" xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="absolute" creationComplete="addContextMenu()">
<mx:Script>
<![CDATA[
import mx.controls.Label;
import mx.controls.Alert;
public var myContextMenu:ContextMenu = new ContextMenu();
private function addContextMenu():void
myContextMenu.hideBuiltInItems();
myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT,
menuSelectHandler);
myPanel.contextMenu = myContextMenu;
var item:ContextMenuItem = new ContextMenuItem('ROOT');
myContextMenu.customItems.push(item);
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,
menuItemSelectHandler);
private function secondMenuAdd(buttonLabel:String):void
var item:ContextMenuItem = new ContextMenuItem(buttonLabel);
myContextMenu.customItems.push(item);
item.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,
menuItemSelectHandler);
private function secondMenuRemove():void
myContextMenu.customItems.pop();
private function
menuItemSelectHandler(event:ContextMenuEvent):void
private function
menuSelectHandler(event:ContextMenuEvent):void
]]>
</mx:Script>
<mx:Panel top="10" bottom="10" left="10" right="50"
id="myPanel" layout="horizontal">
<mx:Button label="change menu" id="changeButton"
mouseOver="secondMenuAdd(event.target.label)"
mouseOut="secondMenuRemove()" />
<mx:Button label="second menu" id="secondButton"
mouseOver="secondMenuAdd(event.target.label)"
mouseOut="secondMenuRemove()" />
</mx:Panel>
</mx:Application>
Similar Messages
-
Will not shut down (must use Task Manager) & will not open new window
When I shutdown FF the FF window disappears, but a new FF cannot be started unless I manually end FF from Task Manager. When running I cannot "open Link in a new window" - nothing happens, but opening a link in a new tab works.
I am running FF3.6.13 on Windows XT. I ran antivirus software, so I don't think I'm infected. All other programs work fine. I deleted and reinstalled FF. I deleted FF and installed an older version. No luck.See this: <br />
https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_hang-at-exit -
using search or google something it will crash or closing unexpectedly
You are right, but how could i send it to Apple? when the phone company first replaced my iphone they had in stock alots of iphones and they just sent mine back to Apple and gave me a new one, so all i did is to give them my phone, but now how could i sent it to Apple? and i cant send it by myself, and the store wont do that, its a lost for them.. so sending it to Apple wasnt an option from the begining.
and for the record, i dont think the store where i bought it is an authorized shop.. its just a store who boughts phone's from Apple in a low price and sells it in much more money.. -
When I try to log onto my Apple ID to use facetime, it will not work and tells me to check my connection. I have even tried creating a new apple ID but the same message appears. I do not understand why this is happening, could anyone help me resolve this issue it is very frusterating that I can not enable facetime or imessage.
I could do that, however when I select the icloud button (or whatever the heck it is) I am asked to enter the apple id and password. So if you are suppose to create another one for icloud you'd think it would give you the option at this point which would be logical.
-
In illustratorCC2014, I tried to configure the use of the GPU of the new features.
I have installed the java.
I have a 3D set in navidia control panel.
illustrator CC2014 will not start.
I have not repaired even if you restored in navidia control panel.
I will add information here. HP Z400 Workstation, windous7Pro, NAVIDIA Quadro 2000, Intel Xeon CPU W3565 3.2GHZIn illustratorCC2014, I tried to configure the use of the GPU of the new features.
I have installed the java.
I have a 3D set in navidia control panel.
illustrator CC2014 will not start.
I have not repaired even if you restored in navidia control panel.
I will add information here. HP Z400 Workstation, windous7Pro, NAVIDIA Quadro 2000, Intel Xeon CPU W3565 3.2GHZ -
I have purchased Adobe Acrobat and my order number is 281998924. My previous Sony computer which used to Windows 7 crashed. I purchased a new Toshiba computer with Windows 8. How can I download the Adobe acrobat? I assume I don't have to pay for the program again? Thank you for all your help! Angelo.
If you had purchased Acrobat Standard subscription.
You need to download the application from below website :
www.cloud.acrobat.com
Sign in with Adobe ID and Password and once signed in click on Acrobat tab and download the application.
Sign in - Adobe ID -
Hi, I have already bought Adobe Photoshop and Lightroom for 1 year. Now I will change my PC to Mac. Can I use Photoshop and Lightroom in my new Mac?
Yes.
Mylenium -
I have an iPhone 3gs and will be getting a new iPhone 4s. Once I have updated my existing 3gs with iCloud and backed up to my computer, will I be able to transfer my existing data to my new 4s using iCloud or will I need to do this from my iMac.
ThanksThe Apple genius at the Apple store told me this would work. It failed. Basically, updating your iPhone 3GS to iOS5 wipes your 3GS of its data so you can't really do this. Some data worked. Music, photos etc didn't work at all.
I suggest avoiding iCloud completely for a few weeks until Apple gets it working. -
Firefox will not open any tabs on my browser. I've tried using all alternatives to open a new tab - using the 'plus' (+) button doesn't work, 'control + T' doesn't work, going to File and clicking 'new tab' doesn't work either? Help please!
Your suggestion worked! Thanks!
-
I am currently using IPhone 4, but recently bought an IPhone 4s. Is it possible for me to keep using both phones? The IPhone 4 will just be an Ipod Touch and Iphone 4S will be my new phone. Thanks..
Using an iPhone without a wireless service plan
-
Hello! A friend of mine will go to New York soon for holidays. Can she buy for me an Iphone 5s unlocked ,so i can use it in Greece?
Also...
It is Prudent to purchase the Phone in the Country it is intended for use in... It will then work as expected.
AND...
iPhone Warranty > The warranty is only valid in the country of original purchase... Except for EU Countries...
http://www.apple.com/uk/legal/statutory-warranty/ -
iphoto on my used mac mini will not open my photos from my new macbook air, it says something about updating the software, but i checked and there arent any updates available... please help
Sorry for the second post..
I currently do not have an older version of iPhoto to test this on, but you might also try coping the Originals from the iPhoto Library of iPhoto 11.
To do that;
1. Right (control) click on the iPhoto Library in the Picture Folder on the MacBook Air
2. Select Show Package Content.
3. Click on the Originals Folder
4. Navigate to the disired Event or photos and copy those images to your Flash or External Drive, then copy those to the older version of iPhoto.
Beware do not move, add or delete anything in the iPhoto Library, Apple has intensionally hidden it in later versions to prevent people from messing things up. -
I am currently running OS X 10.5.8 on my MacBook (early 2008) and want to know if I can upgrade to a version that will allow me to use iCloud to sync with my new iPad?
I believe to use iCloud you need to run at least Lion (10.7). (Only the Find My iPhone or Find My Mac parts of iCloud work with OS earlier than 10.7/Lion).
I think you can run Lion but you should check each of the following:
"To use Lion, make sure your computer has the following:
An Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
Mac OS X v10.6.6 or later to install via the Mac App Store (v10.6.8 recommended); you can install without Mac OS X v10.6 by using an OS X Lion USB Thumb Drive, available on the Apple Online Store
7 GB of available disk space
2 GB of RAM
If your Mac does not meet these requirements, you will need to upgrade your Mac before installing Lion"
You have a Core 2 Duo. You can upgrade to 10.6 and then install Lion, or use the thumb drive approach mentioned above (thumb drive Lion costs about $70 I think). You need to check your RAM to see if you have enough.
Folks have reported that 4 GB RAM is really a minimum for a decent experience with Lion.
For Mountain Lion, see this ( http://support.apple.com/kb/HT5444 ) for what you need to have to install OS 10.8. I don't think you can use Mountain Lion (10.8) with your early 2008 Macbook. -
I have cs5.5 master collection. Replaced my iMac with a new one, used migration assistant, now on the new iMac the apps will not open,
I found that out, so used the dvd install disk w the key and tried to install, ran to 87% complete then told me to close,
safari
safarinotificati
i closed safari, still wouldn't finish loading, i closed all safari notifications, nope, can't find any app called safarinotificati
New iMac, 10.10.2, photoshop ran perfectly on my old iMac with 10.10.2
so I cannot complete the loading,
John -
Since I downloading the new FireFox, it crashes every hour or so, then will keep crashing when I try restart it. Only restarting my computer helps, but then it will crash again. 90% of the time, when sending crash report(s), a mesage that there was a problem sending it appears. Please fix the problem and/or tell me what I can do.
I found the solution here, it's really works!
I'm glad I found this site.
http://ituneserrorfix.blogspot.com/2013/11/how-to-fix-error-4013.html
Maybe you are looking for
-
I currently have Sync Server(rev 532) installed on FreeBSD-STABLE(stable/9) and have Firefox 17 on Mac OS X and Windows XP sync successfully. But when I try to pair Firefox 17.0 for Android by entering 3 rows of 4 letter codes into Firefox on Desktop
-
New to Swing ... I have a JTable that I fill with data from a database. Some of the pieces of data have a flag associated with it to say whether that data is a cause for a problem. I would like the background of the specific piece of data (i.e., the
-
How to display document from external archive via archivelink?
Hi, I would like to display in SAP (via ArchiveLink) scanned document which was stored in an external archive (FileNet). The archive system is connected to SAP via ArchiveLink. However the scanned document isn't stored in the archive system via SAP s
-
Cannot Edit a pantone color in illustrator
Has anyone encountered the problem of not being ablw to edit a pantone color in illustrator? I'm trying to switch it to process CMYK and the top portion of the editing box is ghosted out. Solution? Thanks !! Ron
-
How to Update InDesign Digital Publication App for iOS Updates
I created a digital publication and put it through the DPS system for use as an app on the App Store. Customers are now reporting issues with the App after updating their iPads to newer iOS versions. Since I am not hand coding this or creating it thr