ActionScript 3.0 :: Make Menu Button With Unrolling Thumbnails In As 3.0?
Feb 8, 2010
I need help with doing a menu with unrolling and rolling up buttons with thumbnails; now I have someting like that (attachments) this was made by as 2.0 but I need help with changing this on as 3.0.
I'm making numerous ExternalInterface calls to JavaScript methods and have a helper function for doing so:
[Code]...
However this means the JavaScript method will only be passed one argument - the array of arguments - meaning I have to change the JavaScript to accomodate this, e.g. instead of:
I have been customizing a Flash template and I'm almost done... my issue is that I would like one of the buttons to open up a NEW window (ideally with no address bar but with a scrollbar) when a user clicks the guestbook button. Right now it opens in the same window and the user then clicks a button on that page to return to the site, but that is sloppy because the music starts all over again, etc.[URL]
im trying to make some menu button funtionality that, when you click on the "home" button, it moves a movieclip onto the center of the stage. Then when you click the "samples" button, it will first move the "home" movieclip back to its starting position and then moves the "samples" movieclip onto the center main stage.
I'm creating a menu for a Flash project: the subMenu shows up below the Menu Button -- I would like for it to show up above the Menu Button when the Menu Button is clicked. Tried everything I could think of - here's the code:
_global.style.setStyle("themeColor", "haloBlue"); import mx.controls.Menu; var cmMainMenu:Menu = Menu.createMenu();
This is a script I have to make a menu appear when you press the "p" button:
ActionScript Code: onClipEvent (enterFrame) { if (Key.isDown(80)) { justPressed = true; } if (Key.isDown(80) and justPressed == true and _root.openmenu == 0) { [Code] .....
The problem is that the actionscript wont repeat. I can open the menu once, and can close it once too, but after I close it (move it to x and y values of 1000), it can't be reopened.
I'm building a site with flash (obviously) and it has multiple pages, now on one of these pages i wanted a scrolling menu with thumbnails that when you click them they take you to another page, but I'm not quite sure how to go about it. The methods I already tried haven't worked.
i created a flash button in dreamweaver (one of those preset flash buttons you found in dreamweaver).. and i want to know how to make a drop down menu for that preset flash button?
I have a main scene, then sitting in the root scene I have 2 movie clips.1)centro2)fotoIn the first movie "centro" there is a menu btnI want this menu btn to call up mclarge + its frame (1) thats housed 3 levels inside the foto mc in root.Main scene - (1) centro (banner which houses menu btn) (2) foto_mc- Main_boy_mc (<---works if menu btn houses in here)- mclargeI WANT:(1) centro menu btn to call up mclarge with specified framerate (1)WHAT WORKS SO FAR:When I have the menu btn from centro housed in Main_boy mc it works.his is the current AS2 im using in this level-
on (release) {this._parent.mclarge.gotoAndStop(1); } on (release) {this._parent.mclarge_fade.gotoAndPlay(1);
Basically, I have a button and on click it displays a menu. I want to click that menu a second time and the menu closes. Currently, every time you click the button, the menu reopens. I pasted the Flex livedoc example below. If you click the button, the menu keeps reopening.Now, I rigged it up by setting a var to open and closed, so when clicking the button it does a check. However, if you click away from the screen, the HIDE event gets dispatched, and the menu closes. This messed up the open close var being set.
How could I make this Flex example below show the menu on button click, and then on a second button click, it closes the menu? Take into affect that if you click away from the menu, it closes it.Also, I played around with the MOUSE_DOWN_OUTSIDE event for the button and set the preventDefault, and the FlexMouseEvent event.cancelable is set to false.Changing to a PopUpMenuButton is not an option. I have to much skinning involved.Here is the Flex example:
<mx:Script> <![CDATA[ // Import the Menu control. import mx.controls.Menu;
I need to create a rather detailed menu system that will load thumbnails of movie clips that I can then double-click on and it will load them into the display list of another movie clip.
I think I can code the loading part but I've never dealt with creating flash menus before and don't have any help in the 5 as3 books I own.
Is there a way I can make the menu generate the thumbs from an external file that I can just update when I need to instead of editing the flash file?
I am trying to make a infinite menu of thumbnails called dynamically. I need two things: I need the menu to move forward (infinitly and at a constant rate ex: speed = 5) while the user presses and holds the forward button and backwards (infinitly and at a constant rate ex: speed = 5) while the user presses and holds the backwards button. Secondly, I need randomly sized pictures (ex. 640 x 480) to load in there respective box (20 in all, each with a varible P(number)) and be scaled to the size of the box with the pictures proportions intact. Attached is what i've come up with so far and i've used the pic box currently in the middle of the project to experiment with.
I 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.
I 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?
Im 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.
this is the main script that I'm using in my gallery :but I want to put description to every thumbnail, not only to show with the big picture. Like thumbnail [0] and at the bottom edge description [0], thumbnail [1] and at the bottom edge description [1], and etc.
i have percentage preloader before the big pic loads. now i want to have the same percentage preloader for thumbs. means i have made three movieclips as thumbs and m loading the small pics as thumbs inside the movieclips. i know how to create preloader and load complete website but that script doesnt work with this concept.i want to know how can i create individual percentage preloader for the small thumbs that shows how much each small pic has loaded. at present i have just inserted the text showing loading but i need a percentage preloader.the actionscript i m using is below :
pText._visible = false; my_mc = new MovieClipLoader(); preload = new Object();
I'm making a flash gallery with XML, the thumbnails loads just fine but i cant figure out how to make the thumbnails clickable so that they can load the correct Image..Here is the code i have so far:
Code: var galleryXML:XML = new XML(); galleryXML.ignoreWhite = true; this.createEmptyMovieClip("container_mc",this.getNextHighestDepth());//Container for the thumbs
I'm making my new photography site, and it's going to be entirely in flash. I'm an intermediate flash person, but there is something I'd like to do with my menu that I can't figure out how to do. I'm going to have 4 buttons:
I would not have asked the question if I owned an iphone, but so far I only have an android phone for development.
The question is: Should I use the View.viewMenuItems that are provided by flex mobile? Or should I better embed the functionality in another way? I don't know what possibilities might exist on iphone to open the menu, because it has no hardware button "menu".
By the way: How could I open the menu in the Flash-Builder mobile device emulator - there are no buttons, too..
URL...Can anyone provide me with some code on how to make the scrolling thumbnails loop infinitely? So that when you reach the last picture on the scrollbar, it will loop to the first picture?
I am trying to make an array of thumbnails that is magnified as you rollover them. I've got it to array, but it only magnifies in the x or y direction. I think, if I can get this chunk of code to include mousex, it would work:
I used the tut on here to make my own photogallery with scrollable thumbnails and have run into a snag. My thumbnails share the same height but vary in width and, for some reason, are overlapping and/or appearing in the incorrect order.As you can see the first 4 thumbs and the 6th thumb are okay (they share the same width) whereas the 5th is missing (actually it is about 10 thumbs down, overlapped with another). Here's the code (taken from the "Adding Thumbnails" tutorial on this website.)[code]
how to make my thumnails scroll faster as you drag further to one side or the other?I'm a designer trying to grasp AS so please excuse my messy script!
var isOver = 0; function onEnter(event){ if(isOver == 1) scrollers.nextFrame();