ActionScript 3.0 :: Make A Collapse Menu In It?
Oct 11, 2009I was wondering how to make a collapse menu in as3.
View 1 RepliesI was wondering how to make a collapse menu in as3.
View 1 RepliesURL...I've set menu items with an elastic Y position prototype.What I need to do now is make the menu tabs collapse with the elastic force. So if i was to click the top tab, the bottom 4 would fall. If i was to click the 2nd tab, the bottom 3 would fall and the top 2 would go up.
View 1 Repliesbuilding a button Menu which contains links, on hover it has to slide down and again on clicking it has to collapse..like the File, Edit buttons in explorer in As3.0. Pls attach the code if you have ready to use.
View 1 Repliesbuilding a button Menu which contains links, on hover it has to slide down and again on clicking it has to collapse..like the File, Edit buttons in explorer in As3.0. attach the code if you have ready to use.
View 3 RepliesI am currently working on an XML navigation component and am having problems making it collapse and expand correctly with easing animation. I have no problems when it goes two levels, but it messes up on the tertiary navigation, and I REALLY NEED three levels in this thing. Here are links to my swf files to demonstrate it working without animation, and broken with the animation. Also linked is my source file for anyone to look at and debug. If anyone can fix this, well, they'll have a component for a dynamic generating menu with as many levels of subsections through xml.
Otherwise, would anyone know where I could find a collapsible xml menu with three levels sub navigation (like a section with a subsection that has another subsection)? The other ones are only two! Anyways, here are the files:
[Code]....
I'm in the middle of creating a tree menu that needs to expand/collapse when items are selected. I'm drawing all my info from a DB via sendAndLoad. I'm having alot of problems getting the "math" right for the menu tho. If you look at the attached movies (play main.swf, which loads 1.swf) and click on Villas, you'll see what I mean. I need to have each of these items expand/collapse when they are clicked on. There will never be more then one layer under each main country, so it only has to do the expand/collapse when clicking a country.
View 2 RepliesIs there a way in flex (Flash Builder 4) to make regions like in c#, to group a part of the code allowing us to collapse it and see through our project more easily?
In c# it's like:
#region exammple
// my funtions I want to group
#endregion
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.
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 Replieshow 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 Want To Make A Menu With 2 Levels Sub Menu.I Used Something Like This But It Can't Answer In SubSubMenu.
View 1 RepliesUsing a large amount of formatted text, is it possible to make titles or headlines within the text clickable? Once clicked, the portion of text would expand and collapse accordingly. The text field would likely include around 80 headlines. I found code to show/hide a string of text, but not formatted tlf text.
View 5 RepliesI have created a tree with a custom treeitemrenderer where I have added a textinput box next to each label. My data provider is an ArrayCollection. When I enter value in the input box, I can see the value fine as I expand or collapse the tree using the disclousure arrow. There is a strange issue when I try to expand and collapse tree from the mxml page with a button click to expand and collapse tree using the following code.
The problem is as I expand or collapse tree, the values I entered in the input boxes appear to be moving.
For example, I have entered 15 in input box 1. When I expand and collapse tree, 15 moves to another input box, and moves to another, and then it moves back to where it was entered as I keep expanding and collapsing the tree. I am still learning Flex. I am not sure what is happening, it is something to do with arraycollection.
[Code]...
I have an AdvancedDataGrid which Im attemping to update with data from a web service that I poll once very 10 seconds. Im using a HierarchicalData object to provide data to the grid. The update seems to work fine, except that on each update, any nodes that were expanded are collapsed when the grid is refreshed. Stranger still, when I dig down into the bowels of the thing and look at the contents of the HierarchicalCollectionView that backs the grid, I can see that the openNodes property correctly contains the nodes that I opened, but those nodes are not shown as open on the grid...the state seems inconsistent.
View 1 RepliesMy FLA file is based in CS5 with AS3. I posted this in the AS3 forum but if it can be done without AS3 then I am open to that possibility as well.
I am creating a non-functioning form, meaning I just need it to look like a form but the functionality doesn't need to work. Atleast not in this stage of development.[code]...
I am having some trouble with the flex Tree control.I have a control in my system and of course it is data driven.I have a group which shows a folder icon and that's fine but it also shows an expand icon when the item has no children.I don't what it to show the expand icon when the group has no children but I do want to show the folder icon, because it is different entities in my system.
View 1 Repliesprotected function lbHideQuery_clickHandler(event:MouseEvent):void
{
if (lbHideQuery.selected)
{
[Code]....
I like to learn to create this effect [Url]...When you mouseover the Featured Work, it expands and when mouseout it collapse. It is on the left side of the stage under the heading FEATURED WORK.
View 1 Repliesif there's one thing i miss about native programming for Mac OS X using Objective-C and XCode, it's the ability to set #praga marks (essentially bookmarks) to easily navigate thru long scripts via the pull-down menu.
in Flash Authoring CS5 i can can collapse/expand selections of code, but these are removed when the selection is removed - whenever an edit is made. using collapse/expand selections would be an ideal equivalent to XCode's #pragma marks if it was possible to lock these sections so they don not disappear when the selection disappears, but as far as i know it's not possible?
I have created a flash as2 Expand/Collapse panel, but it doesn't work properly. I have attached the FLA file, c
View 0 Repliesi want to collapse a complex scene with all different layers and different transparency into a single layer (or as few as possible) to optimize the flash file for online (were experince proformance issues). I have tried the combine and manually copying pasting into one layer but it cuts the fill below and replace with transparent fill. I want to have a end file that is 100% solid.
View 1 RepliesI wanted to make a xml menu, and I followed the technique of hga77 xml menu - hga77 I managed to put all the code in one frame, but I still have a "little?" bug, that I can't find... When you look at my example, and you click on "Technieken" (=Techniques)and then on "Info", the subitems are not always positioned in the right way. Another time the "Technieken" come to stand under "Info"... weird...
[Code]...
how to make a menu bar like this site [URL] or a good tutorial to make this?
View 1 RepliesHaving found a tutorial on the web I made my first menu. It is fine, and it works properly.fter that a new idea came: let's make a scrolldown menu. With the help of different kinds of tutorials I made the submenus. Everything is ok, the scrolldown menu (don't forget I am a newbie ) works. My problem is that the doc. size is 800x400 pixels (with opened submenu), but the size of the place where I want to put in a site is only 800x140 pixels.
View 2 RepliesHow can I make a own right-click-menu? 100% own?
If you use Stage.showMenu = false, you have settings and about flash player
left, but is it possible to make a 100% own menu?
I saw it in a game, Dofus, it hasn't settings and about in its menu.
I wanted to make a xml menu, and I followed the technique of hga77 xml menu - hga77 I managed to put all the code in one frame, but I still have a "little?" bug, that I can't find...When you look at my example, and you click on "Technieken" (=Techniques)and then on "Info", the subitems are not always positioned in the right way. Another time the "Technieken" come to stand under "Info"... weird...
[URL]
I'm creating an xml generated gallery/menu, I have the gallery and menu populating fine but my issue arises when I try to make the menu items clickable.
This is inside my populate menu function
_root["mainMenu"+[i]].onRelease = function() {
trace(this);
var splitThis:String = this
var splitThisArray:Array = splitThis.split("Menu");
trace(splitThis)
trace(splitThisArray[1])
};
Now the trace output I get is
_level0.mainMenu1
_level0.mainMenu1
undefined
Although when I set splitThis to "_level0.mainMenu1" manually I get "1" or whatever number comes after "Menu".
Any tutorial or how to make a horizontal sliding menu ,like in the home page of this website [URL].
View 2 RepliesI have a rotating menu that rotates but stops at the first and last menu object rather than just continuing in a 360 rotation. I have tried downloading other AS3 rotating menus but as I am newbie to this, can't really get it to work. [url]...
View 21 Replies