ActionScript 2.0 :: Get The Menus To Return Onmouseout On?
Feb 1, 2005I followed this and was experiementing with it. http:[url]....I can't seem to get the menus to return onmouseout on if the flash is clicked again does it return
View 2 RepliesI followed this and was experiementing with it. http:[url]....I can't seem to get the menus to return onmouseout on if the flash is clicked again does it return
View 2 RepliesI'm trying to create an xml accordion menu that has main menus and a sub menus buttons (movieClips) revealed with a mask. Simple question, How do I stop the mask area which reveals the sub menus catching mouseEvents on the submenus?The main menu button is a movieClip, it has the mask sprite attached to it as a property so it can scale dynamically to reveal the subMenus. They are set as children of the main menu button container. In my code I've set mainMenu.mouseChildern = true. But when the mainMenu is clicked I change mouseEnabeled = false to help prevent the main menu receiving events. This helps on rollOver rollOut events, but when I click or mouseDown on the subMenu the mask catches the event also and activates the main menu again. I've tried the obvious mask.mouseEnabled = false; mask.mouseChildern = false; mask.hitArea = null; and even setting mask.alpha = 0 but this has no effect at all.
I don't understand why the mask has to extend the hitArea property of the mainMenu and why this can't be set to null. It also seems crazy that when mouseChildren = true the parent clip also has to receive notice of the event.
In flex, I am using the following code:
mx:HBox id="box1" mouseOver="onBox('box1')" mouseOut="outofBox('box1')"
// adding label
// closing HBox
[code].....
I am working on a video player in Flash CS4. I'm trying to build the player such that when the user moves their mouse over the flash object, the playback controls appear and, when the user moves the mouse out of the flash object, the controls disappear.I managed to get some code put together that works in every browser but one: Internet Explorer. Well, it 'works' but only if you slowly move the mouse out on the left side of the flash object.I have done quite a bit of Google searching for an answer, but I can't seem to find someone with a similar problem.Code is as follows:
ActionScript Code:
root.onLoad = function(){
_root.clip.skinAutoHide=true;
[code].....
I found this site. It has a lot of cool usefull stuff, plus you can put on your own stuff and sell it.
View 1 RepliesMy question is in relation to AS3 dropdowns. You can check the page at: http:[url].....Under the "Visitors" and "Media" links, there are mouseover dropdown menus. You'll notice that they stick a little bit, and to make them go back up, you really have to hit very specific hit areas. I'm not sure what I'm doing wrong.
View 2 RepliesI have a swf file that my graphics designer has created for me that is placed on my intro page of my asp.net mvc website. The problem is that when the site is viewed with Internet Explorer (works as it should in firefox) the flash image sits over the top of my dropdown sub menu's (menu's at top of page that when user hovers mouse over they expand a sub menu).
[Code]...
1) I have a set of menus (movieclips) with 2 states: active and inactive (frame labels). I want to be able to inactivate all the menus but the one clicked. Let's say I have 3 menus and that are called m1,m2,m3.
2) The syntax for m1 would be something like this: (all inactivated and then the one clicked is activated)
on(release){
for(i=1; i<4; ++i){
menu="_parent.m"+i;[code]....
I know just doing this down here it works but I want to automate it...what if we had 30 buttons? The problem i menu.gotoAndStop ("inactive"). Menu gets the proper content in the loop..that is.. _parent.m1 , _parent.m2, _parent.m3.
/
_parent.m1.gotoAndStop("active");
//_parent.m2.gotoAndStop("inactive");
//_parent.m3.gotoAndStop("inactive");
}
a friend of mine wants me to change up his flash website template a bit. He has a horizontal navigation bar at the top with links but he wants me to change them into drop down menus so he can have additional links, I have the original fla files and everything too.
View 2 RepliesI'd like to add an extra set of buttons that extend from the submenus, so basically a sub-sub, or second sub if you will. How can I do this from the FLA I have. I've attached the files (FLA MX/XML) if you fancy a go, and I've already done the XML file to include a "secondsubmenu" entry...
View 1 RepliesI'm having some troubles with the use of interface and inheritance in AS3. I've done lots of OOP in the past and what I'm trying to do seems obvious to me, but doesn't work in AS3. The question is : Is it possible to override a function that return an Object of class A, and make it return an Object of Class B which extends A ? It seems not to be possible, since I'm getting a signature error in Flash, when compiling. For example, the following set of class do not compile (the code in function definition doesn't matter):
[Code].....
I start with this [code]...
//but now I don't know how to work out which thumbnail is clicked _level0._level0 is the only output I can get for it
I have 3 menus, each with 4 different options (clickable buttons). Depending on what you selected in each of the three menus you get a specific resulting image.
View 1 Repliesif the mouse is under the button (outside the mask) the button still activatesis there a way I can create a shape &/or script to "mask" the EventListener much like how the graphic is masked?(the space under the buttons will eventually contain random photos)
currently the menu uses this script:addEventListener(Event.ENTER_FRAME,upyoga);
stop();
var speed:Number=.3;
[code]......
Anyways a friend of mine wants me to change up his flash website template a bit. He has a horizontal navigation bar at the top with links but he wants me to change them into drop down menus so he can have additional links, I have the original fla files and everything too.
View 1 RepliesI used the code fscommand("showmenu", "false");
its woking fine with fp9 as3
but problem with fp10 as3
I have figured out how to do most items I have needed to change in a template I purchased, but I'm stumped on this one. How do I change to hover over color of menu items? I can supply the fla and flv files if needed. I just don't know which item(s) I should be working on in the library to do what I want to do.
View 5 Repliesmy css drop down menu is hidden behind a flash element I have on my site. I have tried changing the z index but still nothing. Please help.... here is the page.[URL]..
View 3 Repliesso I'm currently working on a project where I will have the user mouse over an image (in this instance, a paint can) and ideally a menu should scroll up with information (which is a movie clip) and when the mouse comes off the menu would scroll back in. What I've currently got going is the paint can image as a button, and on another layer I've got the movie clip at 0% opacity. The action itself works, but the point in which the user has to mouse over is very finicky. There must be something I'm missing. I've worked with Flash years ago, so I'm a bit choppy.
[Code]....
Flash Files/homenavmenucs4.rar(put http: before the link)I'm trying to find the correct place to put my drop down menus inside of. within what symbol do i need to create the menus?
View 1 Replieshow to set up drop down (or pop up) menus in flash? I've tried several and get stuck at various points.
View 1 RepliesWhat I am trying to do is have the pages animate out when you click on a different menu item, it would just disappear and tween in the next animation.The site is setup so the buttons are all on the main page, when you click a button the buttons fly away and the content flies in. There is a back button on the content box that makes the content fly away and the buttons fly back in.Here is the code I used to get it to work, this code is for a site I'm currently working on, this is the main page AS:[code]However the site keeps working perfectly, it just tosses this error in the output tab.There is also a strange delay after clicking away back to the main page.
View 3 RepliesI've set of drop down menu which I build in Movie Clip. Things work well and the sub menu working properly. But my problem is how do I want to linking it each of the menu and subs. The problem is, all my frame and everything is inside the Movie Clip and my content of the website is outside the Movie Clip. So, how I want to navigate the button.
View 1 Replieshow to make floating menus or could give me a tutorial
View 11 RepliesI want a pull out folder-style menu that scrolls out WITH the content as well. When one tab is out and another is clicked, I want the tab thats no longer used to close itself.
View 3 RepliesI'm designing the UI for my level editor and I found managing multiple menus and buttons can become complex and annoying to program for every single situation and for every single button. Which as you can imagine it becomes tedious.Imagine you have 2 buttons both of them open drop down menu's when clicked but I only want to have one menu open at any time.To further complicated the situation in one of the drop down menu's there is a button that when clicked it'll open a further sub-menu in place of the previous one.Here is how I've gone about programming such a situation.
PHP Code: [code]....
I want to open menu 1:
checks if any menus are open
if so close them and open menu 1...
...and so on for every menu further multiplying the amount of programming every time I add a new menu. I have to go back to the buttons that open all other menus and program for the occurrence that, the new menu may be open.I was thinking some kind of function could handle all the menu's but my brain is to frazzled to think.
I'm creating a simple game, and I want my dropdown menu to display the character's HP and Money count, which already have values assigned throughout the rest of the flash. ( health = 100; and money = 5; ) However, whenever I try to make the value show in this dropdown menu, it will not display any dynamic text. I've had no trouble making it show anywhere else in the flash , but when I try to make it show within the menu movieclip, it won't.
View 2 RepliesI'm working on [URL] and I'm having problems with the semi-transparent png backgrounds when I embed flash into the page, but only in Internet Explorer. See attached. notice how the semi-trans white seems to fade out away from the top left in the drop down, and in the 5-pixel border encircled. On pages without flash, it's fine. In Firefox, Safari, it's fine. I tried using the Unit PNG fix, and that made the image backgrounds look perfect, but then my drop-down hover menus became buggy, i.e. they would hide if you moused over link text in the menu and then moved back into the white empty space in the menu. Argh. I'm running IE 8.0.7077.0, Firefox 3.0.9, on Windows 7 build 7077 x64
View 1 RepliesI have custom context menus that I wish to disable when I do a certain action in the application, and re-enable them again once the action is finished. Kind of like using save as in a program. When the save window comes up all parts of the program is disabled except the save window.
When the window appears in my application, it doesn't cover the movieclips that I want to disable context menus for. So can I do this with Flash alone?
How to make drop-up menus in Flash using AS-2?, i am new in actionscript..
So, as normal, the widget draws a menu like this: Module Lesson 1 Lesson 2 Lesson 3
but I want it to appear like:
Lesson 3 Lesson 2 Lesson 1 Module
I want the menu items to spring upwards above the menu rather than downwards below it!