Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Help With Menu Movement


I have a menu bar with a moving indicator which moves to show which page is loaded.. It moves fine the one problem is that it has to starts all the way from the left everytime instead of just jumping from the place it currently is.. Anyway in which i can just have the symbol move straight there no matter which place it was on earlier without creating a diffferent movement for every possible place it could be coming from...




FlashKit > Flash Help > Flash ActionScript
Posted on: 04-30-2002, 10:55 PM


View Complete Forum Thread with Replies

Sponsored Links:

Menu Movement
I'm fairly new to scripting and I've been trying to set up a web page with scripting, or more than I normally would use. If I can post my .fla you will see that when you watch it and press the 'news' button that the menu 'closes' then starts to move and opens directly after that. I need it to move, stop, then open. I was working with an if statement and I guess something isn't working right, Thanks for the help!

ZumoWrestler

View Replies !    View Related
Menu/Movement
Hi Guys,
I'm trying to construct a similar menu to http://www.answerracing.com

I have attached a file which i have created but i am having troubles with the movement of the menu. I have spent a few days on it now and it is really bothering me.

I dont think there is much to get it going but if someone could have a look it would be much appreciated.

Thanks

Daniel

View Replies !    View Related
Help With Complicated Menu Movement.
I have 6 buttons for navigation (I'll refer to them as buttons 1-6). They are 100px wide and spaced 4px apart horizontaly. When the user clicks on a given button I want the button to collapse to 20px wide and move to right or left depending on which side of the clicked button they are on. The button that was clicked on would then open and display content.

I'm not the best writing code from scratch, but once I have something started I can usually sort through it and figure things out. Anyway, I'm thinking all this movement would be best cover by a few functions (hopefully I'm on the right track here)

Function 1: called when a button is clicked. probably needs to get the position of itself adn the other buttons so we know which way the buttons will have slide
Function 2: move and collapse buttons left. will need to call a label in each of the button movie clips and play an animation to close the button down to 20px wide. also have to calculate how many pixels the given button needs to slide left and ease into position.
Function 3: same as other function, but move to right
Function 4: to open the clicked button to occupy the rest of the space.

Am I on the right track? I would appreciate if someone could get me started with some of the code. I've attached a fla file so at least you can visual of what I'm talking about. If you don't understand what I'm trying to do let me know and I can explain further.

Thanks!

View Replies !    View Related
Circle Movement Menu
Hi,

I´d like to make a menu, with buttons making a circle movement.

I know it´s possible by Actionscript, but how?

Thank you

Chan

View Replies !    View Related
Circle Movement Menu
Hi,

I´d like to make a menu, with buttons making a circle movement.

I know it´s possible by Actionscript, but how?

Thank you

Chan

View Replies !    View Related
Tokyoplastic Box Menu Movement
Alright, this is gonna be something so simple I can feel it. How do I edit a box so that the edges expand in and out like that of the tokyoplastic website. Having trouble trying to explain, basically I want to manipulate a simple shape so that the lines expand in and out. I've tried everything and failing miserably . I should really go back to my flash basics I think...

Thanks in advance..

View Replies !    View Related
[AS]carousel Menu With Y Movement
Hi, recently I've learned an awesome navigation movement from gotoandlearn.com, I figured out how to do the left and right movement with the rounded menu, but I want to try the Y movement, have no idea how to do that...I want it to be like perspective when I move my mouse up and down so the menu will be like getting far and close....how should I do it?...I've tried to change the X all to the Y, but it just doesn't work, please help. thank you!!

View Replies !    View Related
Blurry Menu Movement Effect
Hello, ive seen this effect of the pictures at http://www.adrianframpton.com also in media temple, you move your mouse, pics scroll in a kinda blurry effect anyone know where to find a fla of this? thanks

View Replies !    View Related
Movement In Action Script In This Menu
i know there's someone who knows how to avoid using motion tween in this menu
i just wanna drop the submenu without using motion tween. just ActionScript

View Replies !    View Related
Movement In Action Script In This Menu
movement in action script in this menu
i know there's someone who knows how to avoid using motion tween in this menu
i just wanna drop the submenu without using motion tween. just ActionScript

View Replies !    View Related
Rolling Menu Smooth Movement
hello all,

I have followed this tutorial on making a rolling menu http://www.shadowness.com/tutorial.p...orial_id=43#02

The problem I am having is making the menu item scroll smoothly and stop at a picture frame when you mouse over. I would also like to load a 2nd layer of images into this menu once a picture has been selected. any help on this would be ace ..

Cheers Peeps ...

View Replies !    View Related
Xml Menu + Up And Down Movement Mouse + Onmouseover...
hi.. im stuck here...

i made a little read xml file AS from a german tutorial.. and beleef me.. that was'nt easy if you dont speek german

menuXml = new XML();
menuXml.ignoreWhite = true;
menuXml.onLoad = function() {
menuItem = this.firstChild.childNodes;
for (var i=0; i<menuItem.length; i++) {
item = _root.attachMovie("itemClip", "itemClip" + i, i);
item._x = 7;
item._y = 17*i;
item.itemLabel.text = menuItem[i].attributes.name;
item.myUrl = menuItem[i].attributes.url;
item.onRelease = function() {
getURL(this.myUrl,"_blank");
}
}
}
menuXml.load("MenuItems.xml");

Problem is this.. i need to make the menu listing generate on a special spot (not on 0) how can do this..

secound problem is i want to make this moven on mouse up and down controle... as i have little space to view my menu buttons....

third is problem is i like a mouseover thingy in there... now i tryed to make it around this bit

item.onRelease = function() {
getURL(this.myUrl,"_blank");
}

but somehow nothing seems to work...

and last but not least.. all my links need to load in a container... how do i do this..? like this?

getURL(this.myUrl,"<container instance>");

someone help me please...

I think its time i buy a book cos this actionscript is not easy to learn

View Replies !    View Related
Xml Menu + Up And Down Movement Mouse + Onmouseover...
hi.. im stuck here...

i made a little read xml file AS from a german tutorial.. and beleef me.. that was'nt easy if you dont speek german

menuXml = new XML();
menuXml.ignoreWhite = true;
menuXml.onLoad = function() {
menuItem = this.firstChild.childNodes;
for (var i=0; i<menuItem.length; i++) {
item = _root.attachMovie("itemClip", "itemClip" + i, i);
item._x = 7;
item._y = 17*i;
item.itemLabel.text = menuItem[i].attributes.name;
item.myUrl = menuItem[i].attributes.url;
item.onRelease = function() {
getURL(this.myUrl,"_blank");
}
}
}
menuXml.load("MenuItems.xml");

Problem is this.. i need to make the menu listing generate on a special spot (not on 0) how can do this..

secound problem is i want to make this moven on mouse up and down controle... as i have little space to view my menu buttons....

third is problem is i like a mouseover thingy in there... now i tryed to make it around this bit

item.onRelease = function() {
getURL(this.myUrl,"_blank");
}

but somehow nothing seems to work...

and last but not least.. all my links need to load in a container... how do i do this..? like this?

getURL(this.myUrl,"<container instance>");

someone help me please...

I think its time i buy a book cos this actionscript is not easy to learn

View Replies !    View Related
[F8] Vertical Menu Tracking Mouse Movement HELP
This should be very easy.
Anyone know where I can get either a template, or tutorial how to do this:
have a vertical menu. One the right side of the menu bar are the words:
home
Info
Links
and so on
to the left of that there is a graphic ">>"
and when the mouse rolls over the words, the ">>" graphic moves up and down to the same level the mouse is at. Should be easy. I have spent the last 3 hours looking on all sites for help.
HELP!

View Replies !    View Related
Scrollable Menu - Relating To Mouse Movement
So..

I'm trying to create a scrollable menu, using a movie clip with buttons inside it.

You can download the .fla here: http://www.toomanylies.pwp.blueyonder.co.uk/intro.fla

IF you check the top layer and the final keyframe, there is the coding for the moving menu.

Go onto: http://www.vajacases.com/home/home_en.html

That's the type of scolling menu I want.

Anyone please help me!?

Thanks, Dobbo

View Replies !    View Related
Drop Menu Actionscripted Movement With Dynamic Var
this is almost there. right now the menu takes off downward and doesn't stop!!! my head hurtz (first time using setInterval):


Code:
onClipEvent (mouseDown) {
startingPos=_root.holder._y
trace(currentPos);
function animateMenu(startingPos){
currentPos=_root.holder._y
trace(_root.dynHeight);
targety=startingPos+_root.dynHeight;
trace(targety);
disty=targety-_root.holder_y;
trace(disty);
movey=disty/2;
trace(movey);
_root.holder._y+=movey;
}
setInterval(animateMenu, 100);
if(_root.holder._y=targety){
clearInterval(animateMenu);
}

}

View Replies !    View Related
2 Row OS X-Like Menu, Constrained To Stage, With Jello Movement.
Okay, I admit it the subject line is a little over the top. Here is the idea:

I have 2 rows with 6 buttons on each row, total of 12.
I have a certain stage size to work within, 710x200.

The buttons are 107x97 with 7 pixel spaces between each button and the row.

When I rollOver a button it should scale 150%. The other buttons should all react to this action by first moving out of the way of the rolled over button, and
at the same time scaling themselves down to stay within the boundaries of the stage.

I found an OSx dock example that I messed with to demo a small part of this.

The attached file only scales the button and moves the other buttons out of the way. It NEEDS to be 2 rows. It should also scale the buttons in a reactive way to make them stay visible inside of the stage area.

Thanks in advance.

View Replies !    View Related
Scrolling Vertical Menu By Mouse Movement
I like to make scrolling vertical menu just like you can see in http://www.2advanced.com.

Can anybody help me on this?

View Replies !    View Related
Help With Dropdown Menu - Hangs If Mouse Movement Too Fast?
http://www.bloodbathandbeyond.com/dev/tg.html

so hit the menu button on the right (this is not my design btw, i am just doing the flash work). each of the drop down menus is controlled by an invisible button on each of the six menu items. onrollover causes the dropdown menu to appear below it. each menu will have a series of buttons (right now there is only one, in the second menu, 'ground' that does anything). now there is a button which is a zone around each header+dropdown which is a larger rectangle with an area the size of the dropdown menu knocked out -- like a moat -- which tells the drop down menu to collapse onmouseover.

the problem is you'll notice if you move quickly between the menus, that some don't collapse. this seems to happen when the mouse moves quickly, but not when you slowly move across them. is this a common problem with flash, and/or something that i can address?

each dropdown has two states, closed (one frame), and open (multiple frames, as it's animated). the rollover zone outside the menu to close it is present during the entire opening animation, so it's not like it's only in the last frame of the opening sequence.

i tried adding actions to the rollovers in the main menu choices that tell the dropdowns to appear to also tell all the other menus to close. this did not seem to help.

this is driving me nuts. any ideas would be appreciated. i'll send the fla to anyone who might be able to help.

thanks!

skye

View Replies !    View Related
Building A Masked XML Menu Box With Vertical Movement Effect
Ok, what I'm tryin' to do is a box that contains buttons with links to different URLs. There would be an XML file feeding the swf. I'd like the effect of the 'menu' to be similar to what PixleCrew has been talkin' about in some other thread. The menu would be masked and would move vertically depending on the mouse position.

PixleCrew wrote his code in that thread but I can't seem to build my FLA file the right way since I'm not the best actionscripter there is. His FLA file is not available.

So if someone could help me out with this or simply point me to someplace where this subject has been discussed, I'd really appreciate it.

Thanks!

View Replies !    View Related
How To Smooth The Movement (scrolling Background And Scrolling Menu ) ?
hi! i'm new here and also a beginner in flash.. i need some help on how to smooth the movement in my flash project.. scrolling background with scrolling menu.. i got this script from a tutorial and i did some adjustment on it.. but somehow both the background and menu movement are not smooth as i want. its kept jerky along their movement. this is the script that i use to move both background and menu.. hope someone can help me to repair or to alter this script.. thanks! =)

//scrolling background with scrolling menu
//when mouse moves left, background and menu moves right

if ((_xmouse>-0.5) && (_xmouse<230) && (_ymouse>-0.1) && (_ymouse<450)) {
_root.back._x =_root.back._x +6 ;
_root.menu_mc._x =_root.menu_mc._x +10 ;
}

// when mouse moves right, background and menu moves left

if ((_xmouse>400) && (_xmouse<616) && (_ymouse>-0.1) && (_ymouse<450)) {

_root.back._x =_root.back._x -6 ;
_root.menu_mc._x =_root.menu_mc._x -10 ;
}
if (_root.back._x>1309.5) {
_root.back._x = -79;
}
if (_root.back._x<-697.8) {
_root.back._x =679;
}
//----------------------------------------------
if (_root.menu_mc._x>1200.5) {
_root.menu_mc._x = -99;
}
if (_root.menu_mc._x<-730) {
_root.menu_mc._x =569;
}[/size][/size][/size][/size]

View Replies !    View Related
Mouse-movement Triggers Background Movement - Help Me Find Tutorial
I want to learn how to make an image react on my mouse-movement, so you get the effect as if you're looking around. You move the mouse to the right, and the image on the screen moves to the right, etc. I've seen an example of that on http://www.center-of-the-world.com/ - but I don't know how to find a tutorial for that on the Flashkit-site. Can anyone help?

View Replies !    View Related
Capturing Mouse Movement/locking Out A Direction Of Movement
does anyone have a good solution in AS 2 for simulating horizontal and vertical finger gestures like on an iPhone?

I have a Mouse listener that calculates movement in both directions and whichever one is larger in value (primary movement of mouse) then it locks out the other using a boolean value. And then once the mouseUp event is triggered, it sets the values to true again to listen for another horizontal or vertical gesture movement.

the problem I'm running into is that every once in awhile while I'm "gesturing" or moving the mouse in a particular direction, I'll get some funky results which clues me into that the other direction might not being totally locked out.

Make any sense?

View Replies !    View Related
Flowing Mc Movement Opposite Of Mouse Movement
I have a mc (fStrip) which looks like a piece of filmstrip with thumbnail images in it. I want this mc to move when the users mouse is positioned over it, but I only want it to move only along it's x-axis and in a direction opposite that of the mouse. And I want it to move or flow smoothly.

I've been trying to figure this out (see my lame attempt below) but without much luck. Can anyone help me out? Thanks.


onClipEvent (mouseMove) {
buffer=20 //movement buffer
mousePos=_root.fStrip._xmouse //store mouse position
if (mymouse!=_root.fStrip._xmouse){ //if the mouse has moved
diff=mymouse-_root.fStrip._xmouse; //find amount of movement
_root.fStrip._x-=diff/buffer; //buffer & set strips movement
updateAfterEvent(); //adding this makes the movement cleaner
}
}

View Replies !    View Related
Image Movement Based On Mouse Movement
I have my Flash canvas. In the Canvas I have an image that's centered and larger than the canvas. Obviously the entire image isn't shown. How can I use actionscript to move the image according to where the mouse is? So if I move my mouse to the top right corner I want the image to move accordingly to display the top-right corner (obviously in a smooth fashion . I tried looking for examples but wanted to know if anybody out there new.

Any ideas?

Little help and thanks in advance!
Brian

View Replies !    View Related
Ants Movement (based On Snow Movement)
Hey! I have a question for those who think they can help and might have the time to do so. I wish to get the effect of ants scuttering across the screen or up a tree, I have not decided which direction yet. I started with the tutorial code for the snow effect from kirupa, and changed it around to fit the little vector ant I created. The way I have it now looks pretty good, but the movement is a little too fluid. They obviously move in sinusoidal paths bc the code tells them to. I have about 20 copies of the main obj, and they're all a little different in size and specs (speed, transparency, etc) but what I was wondering was if there is any way I can change the code to make it a little more hectic, or erratic, not so fluid. If there is no way of doing so, it looks pretty good right now. If there is, however, I think it could look awesome. here's the code I'm using for the object.

onClipEvent (load) {
//stage
movieWidth = 850;
movieHeight = 50;

//mods for ants
i = 1+Math.random()*5;
k = 1.2*(-Math.PI)+Math.random()*Math.PI;

//each ant diff
this._xscale = this._yscale=38+Math.random()*30;
this._alpha = 75+Math.random()*100;
this._y = -10+Math.random()*movieHeight;
this._x = -10+Math.random()*movieWidth;
}
onClipEvent (enterFrame) {
rad += (k/70)*Math.PI;
this._y -= Math.cos(rad);
this._x += i;
if (this._x>=movieWidth) {
this._x = -3;
}
if ((this._y>=movieHeight) || (this._y<=0)) {
this._y = -2+Math.random()*movieHeight;
this._x = -3;
}
}

(I apologize for posting the code without one of those code boxes ppl use, I do not know how to do that yet....)

Any help is greatly appreciated! I wanted to congratulate everyone here at kirupa for having a great community, and great help to those that need it. I am so glad to be a part of it.

Luke

View Replies !    View Related
Object Movement Based On Mouse Movement
Not sure how to word this but. I have a object on the stage lets say that is 300 pixels wide. The actual stage is only 100px wide. I want to be able to "pan" the object left and right based on mouse position/movement. I saw a tutorial for it a while back but cant seem to find it. Anyone have a link to a tut or can throw out a little source code? It would be greatly appreciated.

View Replies !    View Related
Ants Movement (based On Snow Movement)
Hey! I have a question for those who think they can help and might have the time to do so. I wish to get the effect of ants scuttering across the screen or up a tree, I have not decided which direction yet. I started with the tutorial code for the snow effect from kirupa, and changed it around to fit the little vector ant I created. The way I have it now looks pretty good, but the movement is a little too fluid. They obviously move in sinusoidal paths bc the code tells them to. I have about 20 copies of the main obj, and they're all a little different in size and specs (speed, transparency, etc) but what I was wondering was if there is any way I can change the code to make it a little more hectic, or erratic, not so fluid. If there is no way of doing so, it looks pretty good right now. If there is, however, I think it could look awesome. here's the code I'm using for the object.

onClipEvent (load) {
//stage
movieWidth = 850;
movieHeight = 50;

//mods for ants
i = 1+Math.random()*5;
k = 1.2*(-Math.PI)+Math.random()*Math.PI;

//each ant diff
this._xscale = this._yscale=38+Math.random()*30;
this._alpha = 75+Math.random()*100;
this._y = -10+Math.random()*movieHeight;
this._x = -10+Math.random()*movieWidth;
}
onClipEvent (enterFrame) {
rad += (k/70)*Math.PI;
this._y -= Math.cos(rad);
this._x += i;
if (this._x>=movieWidth) {
this._x = -3;
}
if ((this._y>=movieHeight) || (this._y<=0)) {
this._y = -2+Math.random()*movieHeight;
this._x = -3;
}
}

(I apologize for posting the code without one of those code boxes ppl use, I do not know how to do that yet....)

Any help is greatly appreciated! I wanted to congratulate everyone here at kirupa for having a great community, and great help to those that need it. I am so glad to be a part of it.

Luke

View Replies !    View Related
Sluggish Movement With ActionScripted Movement...
I really enjoy using the following bit of code for quick little flash animations:

=======================================

onClipEvent (load) {
_root.targXscale = 50;
_root.targYscale = 200;
}
onClipEvent (enterFrame) {
cXscale = this._xscale;
cYscale = this._yscale;
difXscale = cXscale-_root.targXscale;
difYscale = cYscale-_root.targYscale;
setProperty(this, _xscale, cXscale-(difXscale/5));
setProperty(this, _yscale, cYscale-(difYscale/5));
}


=======================================

It comes straight from the tutorials ("Basic Animation via ActionScript"). Anyways, whenever I view the .swf (via IE) on my computer (2.4 Ghz / 512 MB RAM), it looks great... better than great... it looks AWESOME! But, if I check it out at work (550 Mhz, 256 MB RAM) it looks terrible. It's choppy, mouse movement is sluggish, and the entire animation looks like it's running at 1 or 2 FPS.

I know it can't be completely dependent on the computer speed, b/c I've seen other flash sites that look great on the slower PC. Even some of the non-scripted movements are sluggish on my work PC... what the?! Is there a snippet of code that would / could help?

View Replies !    View Related
"Electron Movement" Tricky Actionscript Movement Animation
Can anybody help me with the actionscript for this one?

Objects floating from right to left on a page, when they float into static objects instead of passing behind them or in front of them or bouncing off them and going the other way, they simply move round the static objects and carry on.

Like drunks walking through a jungle of lamposts.

View Replies !    View Related
Movement Of One Object Dependant On The Movement Of Another Object
I am trying to get the browser to move the levers which in turn moves a constant laser beam.

The two levers control the beams position if you move the top beam it moves left to right, and the side beam controls the horizontal movement. I only want the beam and the levers to be moved to the following.

Horizontal lever between positions 10 and 2 o'clock (the levers rotate at a central point)

Vertical lever - between 2 and 4 o'clock

The laser beam to be moved anywhere in the red circle but once the lever is not being moved then the beam also stops moving.

I appreciate this is a big ask and would be grateful for any help

Please see attached.

View Replies !    View Related
Flash Menu With Multiple HTML Pages - How To Pass Variable To Menu On Refresh?
please note this topic is also posted at AS under this title:
Flash Menu 4 HTML pages - pass variables on page refresh
-----------------------------------------------------------------------

So the subject is a hint as to how hard it is to search on this simple idea.

Will be very greatful for some help today!


PROBLEM DETAILS:
I am building a swf menu for an HTML site. It has the following buttons:

SectionA

SectionB

SectionC

What I want to do is modify the text when the HTML page for the correspoding section is loaded. So, if I click on "SectionB", SectionB.html loads. Now I want that button "SectionB" in the swf to have a background glow.

Of course the catch is, that each time a new HTML page loads, it reloads the swf menu (No Frames please!). So, naturally I know I can just tell the swf menu to go to a certain place in the timeline where there is the glow graphic behind "SectionB". But the swf needs a variable saying it is on a Section B HTML page. (of course I could build a seperate swf for each section - but that seems stupid.)

THUS....


MY QUESTION:
How do I pass a variable from a swf on one HTML page (that is being replaced by a new HTML page!), to a swf on a new HTML page.

Can I do this with a GET/POST or something?

Thanks!
-AB
Birdsong is online now Edit/Delete Message

View Replies !    View Related
Drop Down Menu PROBLEM-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!

Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:

on (release) {
gotoAndStop("home");
_root.contents.loadMovie("home.swf");
}

And here is the code that I currently have on the main buttons that have sub-menu items:

on (release) {
_root.contents.loadMovie("philosphy2.swf");
setProperty("_root.home", _visible, "0");
}

I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.

Thanks again your help is greatly appreciated!

View Replies !    View Related
Dynamic Menu AS2.0/XML - Seperating Main Menu Title MC From Dropdown Item's MC
Hi everyone, this is my first post in this forum, I appreciate all the help

I've got a dynamic menu using AS2.0 that's being populated by an XML file, it's quite complete and is working fine, the only thing I'm having trouble with is assigning a new MC to the Titles so the visual design (Text and background) can be different from the rest of the dropdown menu.

What would have to be done to capture the menuNodes and isolate them form the rest. Below is the XML that I’m using, the highlighted (red, bold, italic) text below is what I’d like to capture and seperate from the rest of the submenus for the menu title in my flash project.

XML
----------------------------------------------
<?xml version="1.0"?>
<menu name="Atletas">
<menu name="Clubes">
<submenu name=""></submenu>
<submenu name="Botafogo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
<submenu name="Flamengo">
<entry name="Player 1"/>
<entry name="Player 2"/>
<entry name="Player 3"/>
</submenu>
</menu>
<menu name="Atletas">
<submenu name="Gilberto"></submenu>
<submenu name="Jose"></submenu>
<submenu name="Joao"></submenu>
</menu>
<menu name="Posicoes">
<submenu name="Atacante">
<entry name="Gilberto"/>
</submenu>
<submenu name="Meio">
<entry name="Jose"/>
</submenu>
<submenu name="Zagueiro">
<entry name="Joao"/>
</submenu>
</menu>
</menu>
----------------------------------------------------------

attached is the screencapture of my flash design to understand what I'm talking about a little better.

Thanks for all the help

View Replies !    View Related
Drop Down Menu-Down State For Sub-menu Item Linked To External SWFs?
Hi nice to meet everyone. The drop down menu I'm referring to is located in the main movie. The menu is a movie clip with the buttons inside and I have each button as 'track as menu item' in the properties. The buttons are linked to external swfs that load in the empty movie clip on the main movie stage. Everything loads perfectly no problem. I can't seem to figure out the right code to put on the sub-menu items/buttons in the drop down menu to show the 'down' state when the corresponding movie is loaded (i.e., about-main button, philosphy(menu item). When the 'philosphy' swf loads how do I get the 'philosphy' button that is in the main movie to show the 'down' state until another button is pressed on the menu? I hope I explained myself clear enough without confusing anyone!

Below is a sample of the code that I currently have on the the regular buttons that DO NOT sub-menu items:


ActionScript Code:
on (release) {
    gotoAndStop("home");
    _root.contents.loadMovie("home.swf");
}

And here is the code that I currently have on the main buttons that have sub-menu items:


ActionScript Code:
on (release) {
    _root.contents.loadMovie("philosphy2.swf");
    setProperty("_root.home", _visible, "0");
}

I have searched everywhere on the net, tutorials and still can't find the answer, I've been working on this for almost a week now and I just can't get it right.

Thanks again your help is greatly appreciated!

View Replies !    View Related
Highlighting Menu Option On Flash Menu In HTML Page
Hi Folks,

I have created a Flash menu to work with an HTML based site (the menu is the object in all the pages), but I would like the menu option to stay highlighted when clicked. I've created a series of buttons that highlight when they are scrolled over, but when they are clicked, the button returns to its normal state, as it should. I did come up with a not-so-nice solution, by loading a new movie whenever the user clicks on the option, and the new movie has the menu selection highlighted. Is there a way for the user to click on the menu option and have it stay highlighted until a new menu selection is clicked without having to create mutliple movies?

View Replies !    View Related
Docking Flash Menu/Menu That Stays On The Bottom Of The Screen
i have a site designed but im attempting to get the navigation to stay docked on the bottom of the screen.
i've spent hours searching the web trying to come up with the solution but haven't succeeded
what im trying to do can be seen on the following site: http://www.mcbd.co.uk/

i want the nav to stay on the bottom of the screen when the page is resized.

if anyone can point me in the right direction it would be greatly appreciated.

thanks

View Replies !    View Related
Flash Sliding Menu / Horizontal Dynamic Picture Menu
Hello,

I am quite fascinated by the effect used to scroll a variety of pictures left and right with the ability to halt on a particular picture to click and navigate to another area of a site. Could anyone point me to a tutorial on how this is done? An good example of the effect may be seen on this site:

http://www.calatrava.com (click on the "slide show" link)

Would appreciate any pointers. Thanks!

View Replies !    View Related
Is There Anyway To Disable The Flash Player Dropdown Menu (not The Context Menu)
Greetings,
I am aware of how to reset the right-click context menu to just "settings", but when the file is opened in Flash Player directly from a computer instead of on the web, the drop-down menu in the player is still available. You can even press ctrl+enter to play. My searches just come up with solutions to the right-click menu, and I have a client who wants me to get rid of this menu for a game I've already made.

If you don't think there's even a way to do this, could you just tell me that so I can inform my client?

Thank you either way

[Using MX 2004 if it matters]

View Replies !    View Related
Help With Pop Up Menu (Sub Menu Buttons) Linking To Frame On Main Timeline
Hi,
I really need help with my flash project. I've created a pop up menu by having 4 buttons on the main timeline which I made into a movie clip which has an instance name of menu_mc. Inside that movie clip I have my sub menu created and the menu works great. My only problem is that I can't seem to link the submenu buttons to the frames created on the main timeline. I've tried all the action script I can think of. One example I am using is

menu_mc.contact_btn.onfiltered= function() {
gotoAndStop("Scene 1", "contact");
}

This is where I am trying to link the Contact Button (which is a submenu button of the About button) to the contact frame which is located on the main timeline. Please help me if you can. Thanks.

View Replies !    View Related
Flash Sliding Menu / Horizontal Dynamic Picture Menu
Hello,

I am quite fascinated by the effect used to scroll a variety of pictures left and right with the ability to halt on a particular picture to click and navigate to another area of a site. Could anyone point me to a tutorial on how this is done? An good example of the effect may be seen on this site:

http://www.calatrava.com (click on the "slide show" link)

Would appreciate any pointers. Thanks!

View Replies !    View Related
Tightest Menu Structure - Switch/case? BEST MENU
I'm looking to start building a new menu. I want to script it as tight as possible. There will be 7 buttons. When one is pressed, I want it to stay "pressed" until another is pressed.

What is the tightest way to structure this? I want to keep all script off of the buttons themselves. I was wondering if using a switch/case type structure would be best.

I searched a bit for what i was looking for, but could not find it. Does anyone have a example/thread they could throw my way?

thx.

View Replies !    View Related
How To Highlight An Active Menu Item In A Flash Menu
Hi,

I have a flash menu and I want each menu item to be highlighted according to which page it is on (e.g. Highlight the 'about us' link when the user is in the about us section) to save having to create more than one swf. At the moment I have all the highlights made invisible like this:

highlightOne._visible = false;

But have no idea how to make the swf know what page it is on or how to make a highlight visible accordingly.

Can anyone help me out?

View Replies !    View Related
Flash Menu Transparent Over A Static Html Menu, Can It Be Done?
To ensure I have noticeable menu items (if user does not have flash installed)acting as a menu that, in principle, is part of the background.

I have made a nice little flash menu and would like it to mimic the menu text underneath it. So, transparent flash over a static html menu, can it be done?

View Replies !    View Related
Menu Fades In On Rollover, But Buttons In Menu Not Working.
Hi,

My menuMC fades in to 100% when rollover the transparent button and fades outs upon rollout the transparent button.
However, the buttons in my menuMC is not working. Logically speaking, with the transparent button on top of my menu bar, it sorta blocked out my menu buttons. Any suggestions/other way around it ?

this script goes to my transparent button

ActionScript Code:
on(rollOver)
{
     _root.menuMC.fade = "in";
}

on(rollOut)
{
     _root.menuMC.fade = "out";
}

this script goes to my menuMc with buttons inside

ActionScript Code:
onClipEvent(load)
{
     this._alpha = 0;
     fade = 0;
}

onClipEvent(enterFrame)
{
     if(fade == "out")
     {
          if(this._alpha > 0)
          {
               this._alpha -= 5;
          }
          else
          {
               fade = 0;
          }
     }
     else if(fade == "in")
     {
          if(this._alpha < 100)
          {
               this._alpha += 5;
          }
          else
          {
               fade = 0;
          }
     }
}

Appreciate what helps i get.

View Replies !    View Related
Help Finding A Vertical Colapsable Dropdown Menu With Sub-menu's Within
Hey there.
Can anyone point me in the right direction. Im looking for some open source
files with sort of a vertically based colapseable menu. Something with say for example
5-6 main buttons and then your able to open them- to view sub menu buttons within them...

Thanks very much!

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
Menu Vs. Submenu Appearance : XML-Driven Drop-Down Menu Help
I love Senocular's XML-Driven Drop-Down Tutorial. But I can't seem to get it to make the menu headers look different from the submenus.

Any help?

See the tutorial

Much appreciated.

(and if anyone is interested, i've turned it into a horizonal menu... reply and i'll post the code. better yet, help me fix the GUI issue and i'll post it )

View Replies !    View Related
Menu Navigation Help Desperate Moving Menu Buttons
Hi On my flash site i have a list of buttons, when i rollover one of the buutons i want sub menu buttons to appear below it and push the other buttons down to make space, and on moue out the buttons to move back up to original place, how can i go abut doing this? hope someone can help really desperate

View Replies !    View Related
Menu Fades In On Rollover, But Buttons In Menu Not Working.
Hi,

My menuMC fades in to 100% when rollover the transparent button and fades outs upon rollout the transparent button.
However, the buttons in my menuMC is not working. Logically speaking, with the transparent button on top of my menu bar, it sorta blocked out my menu buttons. Any suggestions/other way around it :confused: ?

this script goes to my transparent button

ActionScript Code:
on(rollOver){_root.menuMC.fade = "in";} on(rollOut){_root.menuMC.fade = "out";}


this script goes to my menuMc with buttons inside

ActionScript Code:
onClipEvent(load){this._alpha = 0;fade = 0;} onClipEvent(enterFrame){if(fade == "out"){if(this._alpha > 0){this._alpha -= 5;}else{fade = 0;}}else if(fade == "in"){if(this._alpha < 100){this._alpha += 5;}else{fade = 0;}}}


Appreciate your help. Thanks

View Replies !    View Related
Flash Expanding Menu Instead Of Javascript Drop Down Menu?
I am trying to make a flash file that will take the place of a javascript drop down menu. I need to have a slim horizontal menu bar surrounded top and bottom by the rest of the HTML webpage.



The function of the flash menu would be such that when one of the buttons are moused over > the menu would expand over the HTML images below it with more menu buttons.



This is really easy to do with javascript but I want the creative freedom flash offers. Does anyone know how I can create a flash file that can expand larger than it’s original size on the webpage



I have seen some really neat flash banner ads that definitely are on top of other html. Maybe I could do something like that.



Please let me know any ideas or resources I could use to do this.



Thanks.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved