Scaling Menu Items?
I'm working with a horizontal variation on this menu:
http://www.kirupa.com/developer/acti...pdown_menu.htm
Is there a way to make the menu buttons scale according to their content?
KirupaForum > Flash > ActionScript 3.0
Posted on: 01-07-2008, 06:34 PM
View Complete Forum Thread with Replies
Sponsored Links:
Scaling Menu Items Relative To Proximity
Can anyone here give me an overview of an algorithm I could use to mimic the type of scaling effect you see used on mac os x docks? This would be for something like an onRollOver event that would scale up a clip and onRollOut scale down a clip but you need to take in account the proximity and scale of the surrounding clips.
View Replies !
View Related
How To: Create A Drop Down Menu With XML Data For Menu Items
Can anyone help by showing me or pointing me in the right direction of how I'd go about creating a drop down menu and populating the menu items from an XML file?
I'm creating a tour sort of thing and I have it pulling in the slides of the tour from an XML file and all the next/prev buttons are working fine. I wanted to add a drop down menu from the top that has the menu items pulling in from elements from the XML file. Possible? Ideas?
Thx
View Replies !
View Related
XML Menu Tute: Reference Item Within Menu Items
With reference to: http://www.kirupa.com/developer/acti...pdown_menu.htm
Im using a version of this menu, but each menu item has another movie clip inside it.
I cant for the life of me work out how to give this sub clip its own function?
I've tried setting the onRelease to be triggered by the 'background' movie clip of the menu item but this stop the menu working, and when I reference any other sub clips like so: curr_item.someClip.onRelease ...there's also no response.
Where am i going wrong?
View Replies !
View Related
How To: Create A Drop Down Menu With XML Data For Menu Items
Can anyone help by showing me or pointing me in the right direction of how I'd go about creating a drop down menu and populating the menu items from an XML file?
I'm creating a tour sort of thing and I have it pulling in the slides of the tour from an XML file and all the next/prev buttons are working fine. I wanted to add a drop down menu from the top that has the menu items pulling in from elements from the XML file. Possible? Ideas?
Thx
View Replies !
View Related
Dynamic Menu Question - More Than 9 Items In Sub Menu
Greetings,
I'm trying to use a dynamic menu from an actionscripts.org tutorial.
However it will only allow a maximum of 9 sub menu items. I would like to use up to 20. I believe it involves this line of script:
this[name+n].choice = (i*10) + n;
How would I change the actionscript in this file to allow that?
Thanks in advance.
Here is the relevant script:
//initialize main menu
for (i=1; i<=_root.total; ++i) {
//duplicate movie clip
menuMC.duplicateMovieClip("menuMC"+i, i);
//set new position
this["menuMC"+i]._y = this["menuMC"+(i-1)]._y+this["menuMC"+(i-1)]._height;
this["menuMC"+i].choice = i;
//create a variable to record the levels of the created MCs
levelTrack = i;
}
//initialize submenu by creating and positioning movie clips
for (i=1; i<=_root.total; ++i) {
//check to see if the item has a submenu
if (_root["subText"+i]>=1) {
name = "stext"+i;
for (n=1; n<=_root["subText"+i]; ++n) {
levelTrack += 1;
subMenuMC.duplicateMovieClip(name+n, levelTrack);
this[name+n]._visible = false;
this[name+n].choice = (i*10) + n;
}
//position first submenu item under parent
this[name+1]._y = this["menuMC"+i]._y+this["menuMC"+i]._height;
//position rest of submenu items
for (n=2; n<=_root["subText"+i]; ++n) {
this[name+n]._y = this[name+(n-1)]._y+this[name+(n-1)]._height;
}
}
}
//hide all the submenu items and return the main menu items to their start position
function resetMenu() {
for (i=1; i<=_root.total; ++i) {
if (_root["subText"+i]>=1) {
name = "stext"+i;
for (n=1; n<=_root["subText"+i]; ++n) {
this[name+n]._visible = false;
}
}
this["menuMC"+i]._y = this["menuMC"+(i-1)]._y+this["menuMC"+(i-1)]._height;
}
}
// called by clicking the main menu buttons, this shows the submenu and moves the main menu buttons to give them space
function submenuShow() {
resetMenu();
if (_root["subText"+choice]>=1) {
name = "stext"+choice;
for (n=1; n<=_root["subText"+choice]; ++n) {
this[name+n]._visible = true;
}
this["menuMC"+(choice+1)]._y = this[name+(n-1)]._y+this[name+(n-1)]._height;
for (i=choice+2; i<=_root.total; ++i) {
this["menuMC"+i]._y = this["menuMC"+(i-1)]._y+this["menuMC"+(i-1)]._height;
}
}
}
View Replies !
View Related
Drop Menu With Toggle Menu Items
I am having an issue with the toggle state of a couple of buttons in a menu.
I have provided a simplified version of a menu system I am trying to build as a zipfile attachment.
the first menu is empty. For this demonstration it has no purpose but to move the main time line from from frame 1, to frame 2.
The second menu (on frame 3) turns off and on two movie clips that are loaded externally. I have no problem initially loading them, and no problem turning them off and on with the toggle switch's loadMovie and unloadMovie commands.
The problem comes when I've unloaded a movie using the toggle button in the second menu, then click on the first menu. When I've clicked on the 2nd menu again, the toggle switch isn't in the same state that it was last left in. I have no idea how to make it remember which state it was in.
Is there someway I could ask,
"If movie is not loaded, got to off state.
If movie is loaded, go to on state." ?
Here is a zip file with the FLA files and the external SWF's.
Here is the menu in action:
Click here
Please help if you can.
View Replies !
View Related
Help With Menu Items
this maybe a little confusing, but ill try to explain.
i have a menu that is 5 little boxes, with smaller,lighter coloured box in the middle of each. when i rollover a menu item, i want the little box to move onto the mouse, but not exiting the bigger box (so the mouse has a magnetic effect on the smaller boxes only when rolled over the boxes they are contained in). then when i roll out i want the little box to snap back into centre with an elastic effect. i have seen this done before and would like to know how its done. its a shame i dont have an example to show you or anything decent of my site so you can get a better idea of what im after.
if any of you understand what i want, a solution would be very very very much appreciated.
cheers guys
jh
View Replies !
View Related
Menu Items
Hello world,
Im a very very new in flash and have a problem,please if you can help me please.I have a flash menu in http://blazon.europarus.eu and want to change the menu text but can change only the first text,please how can I change the all text?when you put the mouse the same text will be apear with other color,but when changind the text there apears only the text in first line.please help me with that.the address is blazon.europarus.eu
View Replies !
View Related
XML Menu Items
Hi,
All the menu items work fine EXCEPT for:
I click on PROGRAMS or SAFETY, that has 4 sub menus, which expand beautifully. Now say if I click on LIFE (3 sub-menus), only 3 sub-menus of the SAFETY or PROGRAMS collapse. Please advise.
Next, how do I make a specific sub-menu clickable. I am not sure how to click on Programs>ITEM 0, so that it goAndStop(3). I need to specify for each sub-menu
Thanks
View Replies !
View Related
Scrolling Menu Items
Hi there,
I´m looking for some scripting help in order to make the same function with some pictures when you push a button and they scroll horisontally. You can see an example at http://www.mediegruppen.net - try to push one of the menuitems and the pictures are scolling. Has anyone tried to make that function - if you have I would be pleased if you could tell me how it works and perhaps send me an example...
Thanks a lot,
Thomas
View Replies !
View Related
Items On A Moving Menu
Hi,
I'm trying to make a menu that pops out when rolled over (you've seen it a thousand times). The problem is that since I've applied the on(action) script to the movie clip, any buttons or other clips I place on the moving movie clip itself dont respond to their own on(action) scripts. Here's what I have so far (without any menu items).
http://www.clintbalcom.com/photoTest.htm
How can I add movie clips and/or buttons to the menu that pops out that will actually work when rolled over and out...? Is it only buttons that dont respond from within a movie clip?
Thanks...help!!
Clint
View Replies !
View Related
How To Hide Menu Items
I want to creat an animated logo , which will remain on top of the screen ,
I need help on two aspectes
How to hide the menu of flash player, only logo should be visible as stand alone item.
how to change its property to remain "always on top"
best regards
Nadeem
View Replies !
View Related
Hightlighted Menu Items
There is what i want to do, lots of flash website are doing it and i want to know how to do it.
In a flash navigation menu when you click on a button, that button stay highlighted to show you where you are in the website. Like if the rollover state was freezed.
Here is a website that is doing it...
http://www.karinabednorz.de/
Just navigate in the menu at the top of the page you will understan my question, also i have notice that the buttons highlited have no action at all, it is normal cause you're already in that section of the website.
View Replies !
View Related
Zooming Menu Items
Hi
It's been a while since i've used flash and it's certainly changed a lot.
I've seen a menu i'd like to adapt for my site but i need a bit of a push in the right direction to refresh my memory. Any tutorials or stuff... I'm using MX2004
The menu is at www.skint.net
its the menu on the left...
thanks in advance
View Replies !
View Related
Moving Menu Items HELP
Hi. I'm trying to make a web page, with four links (that I assume would be best as MC's) and an image in the middle of the page. I want to make it so that when you click one of the links, eg. PICS, that the four links would move to the bottom of the screen, the image would fade out, and the pics page would then load in the middle of the screen.
Now I ASSUME that what I'm trying to do is heavily controlled by actionscript, but I'm pretty much a n00b at in depth actionscript. So if you could keep the explanation in lamens terms, that would be much appreciated. If not, if there is a template or tutorial of some kind, that I can look at and pretty much take the code from, that's fine as well.
View Replies !
View Related
Transitions And Nav Menu Items
I'm a php, mysql guy but new to flash as.
My flash app has a menu with 4 buttons. I would like each button to, on hit, animate a transition that moves from the current section to the next section (i.e. about us to contact us). I understand how to make gotoAndPlay work, my question is simply how to make the animation function. For example, if I'm on About Us and click Contact Us, how do I organize the flow of masks so that the animation works for other buttons as well?
I know this sounds confusing, but I am certainly confused! Help, please!
View Replies !
View Related
Help With Sliding Menu Items
Hi I'm new.
Ok here is my problem I am trying to make a menu that has items that slide out when you mouse over them then fall back in place if you mouse off. If they slide out all the way then i want them to drop down a sub menu. Right now i am stuck at getting them to slide out when i mouse over them. they just slide out at the beging of the animation.
here is the script i am using.
ActionScript Code:
onClipEvent(enterFrame){
if (this.onRollOver = true){
_root.xChange = Math.round(this._x - 200);
_root.xMove = Math.round(_root.xChange/15);
this._x -= _root.xMove;
}
else
_root.xChange = Math.round(this._x - 0);
_root.xMove = Math.round(_root.xChange/15);
this._x -= _root.xMove;
}
If you are wondering how I got this far its becaus i used some script from one of the tutorials on this site.
Help would be very much appreciated.
View Replies !
View Related
Scroll Xml Menu Items
I have created a vertical menu from xml file.
I create movie clip that holds menu items that are attached dynamically.
I want to allow the menu items to scroll if there are too many to fit into the movie clip and be visible on the stage.
any thoughts welcomed...
View Replies !
View Related
Menu Items Not Appearing
Hello, hoping someone might be able to help on a probably simple, but puzzling problem I'm having.
I have a button menu pretty much completed; however, when I publish it, the small numbers (01-06) on the left do not appear. I've attached links to how it should look (#1) and what I'm getting (#2):
#1 http://www.waterbuffalofilms.com/main.htm
#2 http://www.davidandnat.com/WBF/main.html
I've tried fiddling with the masks, but can't seem to figure this out. Haven't used Flash in a while, so it could be poor memory on my part ><
Thanks in advance!
View Replies !
View Related
Approaching Menu-items
Hi
I may be taking on too big a task here (especially since I'm not too familiar with flash), but here goes:
I want to have a menuitem approach the mouse pointer when you move the pointer towards it - is this possible?
All I know is that it's possible to have graphical items relate to the mousepointer, like in this page
Any suggestions were to start to accomplish something like this?
And for you sceptics out there, let me quote Locke from Lost: "Never tell me what I can't do!"
View Replies !
View Related
Adding Menu Items On-the-fly
I want to create a submenu from my array.
var subArray:Array = new Array("aboutUs", "whoweare", "whatwedo");
I need to
(i) create a button for each of the an instance name from the array
(ii) add the name to the button in a textbox
(iii) fade the button on to the stage
The fundemental problem I have is creating the buttons by iterating thougth a loop.
Any help would be great
View Replies !
View Related
Best Way To Creat Menu Items
Hello,
I have a menu that is basically several text links. Should I create a class that extends MovieClip and have the constructor take a string and a click event function, then just create a bunch of them -- or is there a better way? I would like them to have a rollover effect, should I somehow make them buttons?
View Replies !
View Related
Can't Create Menu Items With XML
I've been trying to follow the instructions on This tutorial, but it doesn't want to work correctly. I looked at everything, and now I'm not sure what I'm missing.
Below is a link of a rar file of what I have done so far. I don't want to have a close button, or visible hidden thing going, so I removed those. Not sure if that's what's causing the problem. Help would greatly be appreciated. Been trying to get this to work for hours now.
Here it is.
~RB
View Replies !
View Related
Loading Menu Items From A File.
I'm doing a small diagnostic tool for a friend that has a drop down menu with a list of systems to select from that once clicked sets the variable "system_select".
The catch is, I need to load a list of systems from a plaintext file (to make the system easily expandable).
Here's an example of the file I've used up till now:
-----
theList=<a href="javascript:changeSystem('ws330')">Precision 330</a><br>
-----
This puts the item "Precision 330" onto the menu, and uses a small script to change the variable "system_select" to "ws330".
This worked fine and dandy, until I tested it on Nutscr... errrr, Netscape and it wouldn't work at all. Trying it using a projector file also failed (since there is no place to run the script from).
Now, is there anyway I can have the same index file approach, but change the variable without resorting to javascript? Something like: "<a href="actionhere:value">Precision 330</a>"?
View Replies !
View Related
Controlling Menu Items With Keyboard
i tried to look for tutorials which may have covered what i want to be able to do, but i couldnt find anything...
i've got three movieclips im using in a menu, which are links to certain scenes in the movie. what i want to be able to do is have the user be able to select each option with the keyboard up/down keys; as you would be able to do in a video game for example. can anyone give me any pointers on how to do it?
thanks
View Replies !
View Related
[MX] Resizing Menu Items Using _xmouse
I was wondering if any one knew how to create a menu similar to the MacOS X dock or like the green text column here http://www.fox.com/24/season1/guide.html
i made one but it goes really weird and jumpy after certain numbers.
i made a MC in an MC on the stage with the MC code:
Code:
onClipEvent (enterFrame) {
if (_parent._xmouse<100 and _parent._xmouse>0){
_xscale = 100-_xmouse
_yscale = 100-_xmouse
} else if (_parent._xmouse>-100 and _parent._xmouse<0){
_xscale = 100+_xmouse
_yscale = 100+_xmouse
}
}
i put some restraits on it, so it doesnt go extrememly small, but anyways any suggestions?
View Replies !
View Related
Loading An Swf From Collapsible Menu Items....
hi there, i am busy with a collapsible menu and need to make the menu and sub-menu items load an swf file.
Any ideas?
I have found this script to open a URL, but i need to load an swf...
ON THE MAIN TIMELINE:-
stext21 = "nbc";
urls21 = "http://www.nbc.com";
ON THE BUTTON:-
on (release) {
myURL = eval("_root.urls"+choice);
if(myURL != null){
getURL(myURL);
}
}
getURL(myURL, "_blank");
I have attached my file here so you can have a look....
Thanks
View Replies !
View Related
Fadein Menu Items/buttons
i didnt really explain it right last time
this is what i want to do: i want to have a certain word fade in and then once it has faded in i want it to act as a button, and when you click the word it hyperlinks to another page.
so i guess i have to convert the word to a movie clip and apply a motion tween. but how do i get it to work as a link after it has faded in to 100%. a button within a mc, or a mc within a button? i tried something where i changed the properties of the symbol instance to button at the end of the fade in and then added the getURL actions to that frame and that worked - EXCEPT it only worked when i was trying it with a just a word on a blank bakcground. but what i actually need is this word to fade in on a layer of red and this seems to cause problems - because when i play the animation the word does not fade in and appears from the beginning. any ideas? i need to figure this out sort of soon. thanks for help
View Replies !
View Related
Linking Dynamic Menu Items?
Okay, i'm playing with tutorial 58 - Dynamic Menu with submenu, and I'm stumped on something that really shouldn't be that hard.
http://www.actionscript.org/tutorial...us/index.shtml
I've got the menu all done and now I am trying to use the submenu items to load dynamic jpgs into an empty MC. The tutorial explains how to link the buttons using getURL and I can do that fine, but of course the jpg just loads in a new browser window.
here is the generic AS on the submenu button using getURL:
code: on (release) {
myURL = eval("_root.urls"+choice);
if(myURL != null){
getURL(myURL);
}
}
Now, I thought I should just be able to use another command instead of getURL but I'm not sure what to use and everything I've tried goes kapuzt.
Here's what I've got:
code: on (release) {
subLink = eval("_root.slink"+choice);
if (subLink != null) {
GetURL(subLink);
}
}
the _root.slink value is this:
slink11 = "portjpgs/2003.01/01.jpg",pictMC,-20000;
So I guess two things
1) What comand should I use?
2) And how do I target the movie clip and depth? (I'm pretty sure I've got it wrong right now...)
Thanks for all your help,
Gabe
View Replies !
View Related
Drag Items Out Of Scroller Menu
http://www.jordans.com/planengine/jrd001RP.swf
I need to do something just like this...click on build a room, choose a room. Side menu has furniture options to drag out onto floorplan....
Not sure how this is done. I have the drag and drop working in a scrollbar...but once the item is dropped (duplicated), when I scroll...it also scrolls.
Please help...thanks!
fitchic77@yahoo.com
~fit
View Replies !
View Related
Drag Items Out Of Scroller Menu
http://www.jordans.com/planengine/jrd001RP.swf
I need to do something just like this (the drag and drop out of the menu). To view this....click on build a room, choose a room. Side menu has furniture options to drag out onto floorplan....
Not sure how this is done. I have the drag and drop working in a scrollbar...but once the item is dropped (duplicated), when I scroll the menu...it also scrolls the dropped image. I know the dropped image needs to go somewhere else so this doesn't happen???
Please help...thanks!
fitchic77@yahoo.com
~fit
View Replies !
View Related
Drag And Drop Menu Items
Hi there.
I found a site a while back (I have NO idea what site it was) that used small animated movie clips as menu options. You could grab and drag a given menu option into a main player area, and it would begin the animation.
I'm working on implementing something similar into my application, and have got draggable movie clips working.
My problem is that I don't know how to make it so when the option is dropped into the player region, it plays the movie.
Any thoughts/tutorials/suggestions?
Thanks!
View Replies !
View Related
Making Menu Items Appear One At A Time
I've tried this code but it doesn't work. "menuItems" is an array with the names of the menuitems. How would I get the menu items to appear one at a time. With this script, they all appear together at the same time. Thanks for any help!!
Code:
for (i=0; i<menuItems.length; i++) {
setInterval(mi(menuItems[i], i), 4000);
}// end for
function mi(mit, i){
_root.attachMovie("wsbut", mit, 100+i);
// position menus and set text
_root[mit].posMe(defX, i*defY+10);
_root[mit].txtSet(mit);
}
View Replies !
View Related
[F8] Certain Menu Items Not Appearing On Publish
Hello, hoping someone might be able to help on a probably simple, but puzzling problem I'm having.
I have a button menu pretty much completed; however, when I publish it, the small numbers (01-06) on the left do not appear. I've attached links to how it should look (#1) and what I'm getting (#2):
#1 http://www.waterbuffalofilms.com/main.htm
#2 http://www.davidandnat.com/WBF/main.html
I've tried fiddling with the masks, but can't seem to figure this out. Haven't used Flash in a while, so it could be poor memory on my part ><
Thanks in advance!
View Replies !
View Related
Multiple Menu Items Won't Close
I am working on this
www.invisatex.com
I am trying to make the movie clips work so that if you click on one it opens and if you click on a diffreent one the one that is open closes....right now I have thme where u must click to open and click to close so that if you click a different one they both stay open...wow...hope that all made sense...is there an action script that can make this work.
View Replies !
View Related
Hide Context Menu Items
Hi, new member here.
Is it possible to hide the "copy" and "paste" context menu items for a TextField when a user right clicks on a TextField? I know you can use the ContextMenu object to hide built-in items for the flash player, but I haven't been able to figure out how to hide the built-in items for the TextField menu.
Thanks.
View Replies !
View Related
Deactivate Previous Menu Items
Hello,
I have a menu of 10 items.
I want that the selected item be highlighted. So i have a function "highlight item", called by the item listener on MOUSE_UP event.
myItem.addEventListener(MouseEvent.MOUSE_UP, selectedOn);
The question is: how can I deactivate the previous highlighted items in the menu ? Can you please write down an example of the code ? thanks
Patrick
View Replies !
View Related
Hide Context Menu Items
Is it possible to hide the "copy" and "paste" context menu items for a TextField when a user right clicks on a TextField? I know you can use the ContextMenu object to hide built-in items for the flash player, but I haven't been able to figure out how to hide the built-in items for the TextField menu.
Thanks.
View Replies !
View Related
Menu Items That Call Other Scenes
I'm having an issue with my menu bar so far. I have it set up so that the "menu" that appears on screen is a movie clip with embedded buttons. When you click the menu it opens up, click it again and it closes, but there are a series of buttons inside the menu that I want to take me back to the "Home" scene.
I have tried placing the script on the button itself and also as in my "actions" frame inside the movie clip but neither will send the user back to the "Home" scene.
Code on button:
on (release) {
gotoAndPlay("Home",1)
}
When that didn't work I commented it out and place this code on the actions frame:
Home_btn.onRelease = function() {
gotoAndPlay("Home",1)
}
I think it is telling it to go back to the beginning of the current scene and not the scene named "Home."
Any suggestions?
View Replies !
View Related
Leave Out Menu Items Not Required
In a previous post, I asked how it were possible to have a XML-driven dynamic menu in Flash where you could tell it how many columns to display in. Scotty directed me towards the following code:
ActionScript Code:
var thumb_spacing = 40;var columns = 5;//change this one to the number of thumbs you want to have in a row// load variables object to handle loading of textvar description_lv =new LoadVars();description_lv.onData =function(raw_text) {description_txt.text = raw_text;};function GeneratePortfolio(portfolio_xml) {var portfolioPictures = portfolio_xml.firstChild.childNodes;for (var i = 0; i<portfolioPictures.length; i++) {var currentPicture = portfolioPictures[i];var currentThumb_mc = menu_mc.createEmptyMovieClip("thumbnail_mc"+i, i);currentThumb_mc._x = (i%columns)*thumb_spacing;currentThumb_mc._y =Math.floor(i/columns)*thumb_spacing;currentThumb_mc.createEmptyMovieClip("thumb_container", 0);currentThumb_mc.thumb_container.loadMovie(currentP icture.attributes.thumb);currentThumb_mc.title = currentPicture.attributes.title;currentThumb_mc.image = currentPicture.attributes.image;currentThumb_mc.description = currentPicture.attributes.description;currentThumb_mc.onRollOver = currentThumb_mc.onDragOver=function () {info_txt.text =this.title;};currentThumb_mc.onRollOut = currentThumb_mc.onDragOut=function () {info_txt.text = "";};currentThumb_mc.onRelease =function() {image_mc.loadMovie(this.image);description_lv.load(this.description);};}}
Cheers for that Scotty.
Now, I don't 100% understand this script, and was wondering what part of the script tells it how many menu items there are to be displayed, and how I can change that.
The reason being is that the way I've implemented this script is within a menu that only displays certain items pulled from an XML document (by using an if statement > if myrelateditemname = oneoftheotheritemnames then success - that kinda thing). The problem is, it still seems to be going by the total number of items in the XML document to display the menu, rather than the total number of items that achieved success in the if statement, therefore, when the menu displays, it is leaving gaps where the unsuccessful items would be displayed...
So, all I'm after is if someone could identify which part in the above code controls the total number of items to be displayed in the menu.
View Replies !
View Related
Loading In Menu Items And Content
Hey
Anyone want to help me out with a problem ive got
I need/want to create a list of items in a database and display it in the following manner... (i suck at explaning so i drew a picture )
soo ..
any ideas..
Never done any menu thigys like this.
I know how to do the php, load in the data, and the images..
my main problem lies in creating each one of the duplicate mcs with the apporpriate content and linking to the right thing
if someone went and did it all i wouldent cry =P
but hints are good too =P
i should also mention that the php page will display different content each time so everything needs to be dynamic (if i dident make that clear)
//VoS
View Replies !
View Related
Deactivate Previous Menu Items
Hello,
I have a menu of 10 items.
I want that the selected item be highlighted. So i have a function "highlight item", called by the item listener on MOUSE_UP event.
myItem.addEventListener(MouseEvent.MOUSE_UP, selectedOn);
The question is: how can I deactivate the previous highlighted items in the menu ? Can you please write down an example of the code ? thanks
Patrick
View Replies !
View Related
|