ActionScript 2.0 :: Make A Component Where Menu Options Are Zoomed When Rolled Over?
Oct 6, 2006where I can get or make a component where menu options are zoomed when rolled over, similar to the dock in Mac OS X?
View 2 Replieswhere I can get or make a component where menu options are zoomed when rolled over, similar to the dock in Mac OS X?
View 2 RepliesI can still keep the color of selected item even if it's rolled over? In my code, I have specified both the selectionColor and rollOverColor as below:
videoList.selectionColor = "0xCC0033"; //red
videoList.rollOverColor = "0xE9F3FF" //light-blue
It works well except when the selected item is rolled over. When the selected item is rolled over, it changes the color from red to light-blue. I want the selected item to stay red even when it's rolled over, but haven't found a way to achieve this.
So what I've done until now is, I make a mask that needs to roll from the top a litle down and then scrolls back up (some kind of menu) the problem is that wen I get out of the Stage it's doing weard. So thats why I entered the second script. But now I got still te same problem. Wen I get out the stage the menu gets to his Roll Out position without any Tween effect.SO what I realy needs is that flash recognized when the menu is Rolled in and then doen'st run the second script.[code]I've found this cool code But it is on AS2.0 if some could translate is would be great. (I tryed it myself but o.Ô I just coudend get to work.[code]
View 2 RepliesI have a nav menu i am building with flash MX 2004 and im using action script to make the background change when nav buttons are rolled over. I currently have a movie clip where the background changes with a motion tween and i used some action script so that depending on the button the specific frame will play and then stop in the background change mc.However after you have done things once they get screwed up and instead of the animation it just changes pictures instantly and the picture is usually incorrect.here is a sample of the actionscript i am using:
Code:
on (rollOver){
_root.bg_mc.gotoAndPlay("1");
}
In an earlier post I mentioned I had solved my problem of finding out how to make an image fade in and out when a button is rolled over.I used this code:
image.addEventListener(MouseEvent.ROLL_OVER, imageOver);
image.addEventListener(MouseEvent.ROLL_OUT, imageOut);
function imageOver(event:MouseEvent):void{[code]....
Where the button is a movie clip containing a layer of stop actions, a layer of labels, and the image which fades in and out using a Tween and Alpha combination.It works great when the mouse rolls over the button, however if I roll over the area where the image fades in and out, the image will also appear! It's almost as though the 'hit' area is both the button and the image but I am unsure how to change this.
I am using Flash 8 by the way. Anyways what I am doing is making a menu with different options. I need the user to click on various buttons from the menu and then after those buttons are clicked, an animation needs to play and then return to the original menu. I have got the mouse to follow my custom cursor and made the general outline of the menu, but no buttons so far.
View 3 Repliescan any one tell me that how to make an swf file lager than its original size when mouse is rolled over to it .eg)like yahoo.com they have flash banners when the mouse is rolled over to it the flash banner enlarges than tis original size.
View 0 RepliesI'm having some trouble with drop down menus. I've got them set up with onrollover to display the menu options and use both rollout & dragout to deactivate (which prevents the menu from sticking by accidentally "dragging" off the area).The menu displays just fine, and I want the background of the options to highlight (by switching color) when the mouse moves over it or presses on it. Unfortunately, nothing happens.I used this as my base color switch
------------------------
function paint(mc, brush){ var fincolor = brush;myColor = new Color(mc);myColor.setRGB(fincolor);}[code]..........
I have a bunch of menus that will over lap each other at different times, and they have buttons in them you can click for commands. But when I have menu B on top of menu A, like cards, I don't want the onPress commands used in menu B reacting with buttons on the menu A beneath. Normally I would just move the menus, but in this case, they need to be laid out like cards.
View 1 Replies[Code]...
how to add addevents to the menus in the popupButton.
set the brightness of the WHOLE MOVIE with the use of a + and - button in an options menu.. if so how?
View 14 RepliesIs there possibility to mark options in right click context menu ?
For example, if you right click on Windows bar, Lock the Taskbar is checked (marked).
I need a textarea component. I dont want to see the right click property options like cut, copy, paste..... on top of the textarea component, if you right click you will get the options. i dont want those... thats it.
View 4 RepliesI need a small help on TextArea component using FLASH CS3. I need a textarea component. I dont want to see the right click property options like cut, copy, paste can any one pls make it for me. on top of the textarea component, if you right click you will get the options.
View 2 RepliesI would like to create an Options Menu in my Flash AIR application for Android. I've figured out already, that this ActionScript code could be used for capturing the hardware Menu button press event:
stage.addEventListener(KeyboardEvent.KEY_DOWN, _onKeyDown);
function onKeyDown(event:KeyboardEvent):void {
if(event.keyCode == Keyboard.MENU) {
event.preventDefault();
trace("Menu Pressed");
}}
But how do you create the actual menu? If you can't do it with AIR, then has anybody tried to recreate/mimic it manually already and could you please share the properties (colors, transparency, any gradients?) and transitions (sliding in/out) you've used? I've found some guidelines already, but any Flash-specific tips/properties (like which easing to use for sliding transitions?).
I'm developing a flex application and I want to add it a context menu. I got it with this
code:
var myMenu:ContextMenu = new ContextMenu();
myMenu.hideBuiltInItems();
[code]......
Is it possible to have a context menu on a multiple frame movie with all the options except next, prev and play..?I want to have zoom in/out but not next/prev..
View 3 RepliesIm building a program that queries a database for options and displays the options in a number of comboBoxes. The comboBoxes are dynamically built and loaded via code and added to the stage. I would like to build the comboBoxes into a single movie clip (maybe not the correct wording) so I can use options like tweening and such to make it look better. The code is below.
package classFiles
{
import flash.display.MovieClip;
[code]....
I use Flash MX 6.0
1) I have a button and when I put cursor over it, it must start looping a sound. When I drag away, the sound must stop. I would be even cooler if it was possible to make the sound fade away when the mouse is rolled away. I have no problem creating another sound file that fades my current sound away.
2) I have a button which represents a knife, that should stab something (a panel) once pressed. So fist the knife must be clean. but after one or more presses, the blood should remain as a movie clip (as I want to animate the dripping blood)
3) once rolled over a button, the sound must start looping (as I wrote in 1.) AND the knife should slowly go backwards (MC). BUT when I roll mouse away, the sound fades away (as in 1. again) PLUS the knife should slowly move back to its place in stead of just jump from one place to another.
i created an application and it has a menu bar at the top of the stage it also has a loader component below it. i need the loader to load an swf when an item is selected from the menu. Does anybody know how to code this. I am using the following code:
[Code]....
i need to make a little multimedia/presentation where depending on the options you take (normal buttons) a Mc plays and in the end you a get list of itmes depending on the choices you took. I cant remember how to do it, its been a few years since i last did something like this, is there any good tut where i can understand how to do it? cant find anything, basically what i want is to be able to save the choices the user takes during the "game" and with each lode a different .txt at the end. Is this possible with Fl8? its going on a USB Stick, and it'll be a .exe that will load a few swf . . .
View 6 RepliesI had a question Yesterday, and posted in the Flash 8 Section of this forum...well, I have a question now...When I open a Window Component(with a movie clip inside it ...ofcourse) via Popup Manager from the Menu Component, the Window opens up, but I can't go back to the menu and open it. Any suggestions on how?Here is a part of my code (which I believe will summarize the rest of my code):
PHP Code:
import mx.controls.Menu;impor mx.controls.MenuBar;import mx.managers.PopUpManager;import mx.containers.Window;var myProfile:Menu = my_mb.addMenu("File");myProfile.addMenuItem({
[code].....
Inside movieClip container, there are colored buttons on layer1 and on layer2 there is movieClip square which covers the buttons. I want to use the color efffects and blending options of movieClip square to make layer 1 alpha. There are some blending options called alpha, difference, lighten and substract but Im not getting the right combinations. I want to make layer1 alpha only by using layer2.
View 1 RepliesI am trying to put together my portfolio and nomatter what it will load as a zoomed in view. It is always cropped on this file and won't do anything different aside from zooming in further than it is.
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 RepliesI need a tutorial for a hierarchical drop down menu system that drops down 3 sub levels. Do I make the items in the sub menus individual buttons and then insert them into a movie clip or make every sub menu item a movie clip and insert them into buttons?
View 1 RepliesIm trying to make a menu for a web page using menubar and menu components, is ther any way of making os specifing that the menu can get drawn out of the canvas, since i need that the bar is thin for getting in a space betwen to image headers.
View 1 RepliesI'm building a top view 2D map, that it's objects are stored on the server.The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.The component must request the "areas" that are missing on screen.An area is 1000x1000 px and is cached in flex.To move in the map, will be like in google maps (drag-and-drop).I should be able to have another list and move objects from one to another using drag-an-drop on objects. Ex.: I grab an objects from a list and I move it on this map, I release the mouse button and the item is placed there.Now the problem is: I build a custom component for this trying to emulate the item renderer for performance and recyclage, implement drag-and-drop on objects and request the areas that are missing?
or
I extend the List component from spark and I add some features as multiple kind of itemrenderers and use recycle on them. Of course it must be able to request the missing areas on the screen and cache it's data.Maybe create a custom layout is needed too.What I need is something that must be really fluid, so the lighter this component is, the better.
UPDATE: *There will be not any object over another.
*I will not use hitTest on bitmaps because all bitmaps are wrapped in another component,as they,for now are itemrenderers.
Anyway I already begin to do this using a class that extends the SkinnableDataContainer and a custom layout. As the layout is not like a grid, is sparse, random items at diferent points(x, y).How to get the localX and localY, relative to item renderer and not to the Spark List, from a DragEvent in Flex 4?
how 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 have a swf page that I would like to convert to a png file. Before I convert the file, I would like to zoom in to the swf file so that I have a larger image. I try swftools to convert, but the png image quality is not good enough: Zoomed-in png image looks too blurry.
I should do to capture/use a zoomed-in version of a swf file. A linux compatible command line tool would be great as I am thinking of converting hundreds of images.