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




[AS] Robert Reich Menu?



Does anyone have tutorials on something similar to the type of menu on his site?

I'm curious on how he made it when the user clicks on one section, the current one open retracts and also how the options below it get pushed downwards when a menu is opened above it. (hmm, hard to explain)

If anyone could help me with this style of dropdown menu please help.
Thanks



Ultrashock Forums > Flash > ActionScript
Posted on: 2004-03-28


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Help With Robert Penner Easing
I'm executing the following code to have 4 different panels slide to the top left corner when a button is clicked. The code seems perfectly fine, but it doesn't work. I'm using Macromedia Flash MX 2004 Pro on a Mac OS X.


[ edit: Decided to remove code ]

How Do I Use Robert Penner's Equations?
Can someone tell me how I use Robert Penner's equations?

What I want to do is move objects using Actionscript.
I want to have the objects move with accelerations and decelerations.

With the help of this website, I have gone a fair amount towards what I want to achieve. But... I'm kind scratching my head. Penner's code seems confusing and I'm not sure how I can use them.

Any help/pointers would be appreciated.

I've already got the following code (assigned to a movie object) that I can use to do most of what I want:

/* **********************
onClipEvent(load)
{
_x = 0;
_y = 0;
speed = 10;
speedx = speed;
speedy = speed;
}

onClipEvent(mouseDown)
{
targetx = _root._xmouse;
targety = _root._ymouse;
}

onClipEvent(enterFrame)
{
_x += (targetx - _x)/speedx;
_y += (targety - _y)/speedy;
}
********************** */

Thanks.


OM

Robert Penner Easing 2.0
Hi there,
i've downloaded the AS 2.0 easings from Rober Penner.

Does anyone has an simple example to use this easings on a mc for example...how does this function looks like?

Many thanks

Tim

Robert Penner Easing AS2.0
Hi,
does anyone has an example of an easing done with as 2.0...my as 1.0 files don't work anymore if i save it under 2.0...something to do with classes?

I already have the seperate *.as files but i have no idea how a function would look like...

Any help?

thnx
Tim

Robert Penner BOOK
I just got a copy of rober penners programming in mx.
Thing is i am usign mx 20004.
has anyone finished this book?
and does anyone knwo what is the diffrence witht he examples he has in 2004?

Who Has Robert Penner's 3d Code Under As2?
These source code under as2 are just the updated source code version of his books-----<Flash MX Programming>.
I have remembered that I had downloaded them in someplace,but unfortunately I can't find them now.
Who can give me a link ?Or emil them to me.
EmilMatthew@hotmail.com
Thanks

[AS2] Robert Penner Equations
Hi there!

i try to include the easing equations of Robert Penner in Mx Pro using the same old include statement:

#include "easing_equations.as"

But in the output window, and get the following:

**Error** There is no property with the name 'easeOutElastic'.
**Error** There is no property with the name 'easeInOutElastic'.
**Error** There is no property with the name 'etc...

---

In the actionscript dictionnary, they say:

All of the properties for the Math class are constants and they list a bunch constants. It does'nt help me much.

Should i get rid of the Math in ex:

Math.linearTween = function (t, b, c, d) {
return c*t/d + b;
};

and replace it by

_global or MovieClip.prototype, or ....


If anyone have an idea, please share
thx

Robert Penner & Tweening Equations
What a wonderfull file that Robert Penner offert to us but I really dont understand where I can put those codes...
example:

// simple linear tweening - no easing
// t: current time, b: beginning value, c: change in value, d: duration
Math.linearTween = function (t, b, c, d) {
return c*t/d + b;
};

Where do I put that code?
On ClipEvent action???
Frame Script?(i'm not beleive...)

Thanks for your help!

Ben

Robert Penner Easing And Wiggling
howdy peeps,

alrighty, got this far:


Code:
newDepth = 1;
_root.bar.buttons.leaf2.onPress = function() {
startDrag(this);
// constantly wiggle the leaf somehow as long as its held with mouse
}
_root.bar.buttons.leaf2.onRelease = function() {
_root.bar.reverse = true;
stopDrag();
//move the leaf back to its original point with easing
if (eval(this._droptarget) == _root.target) {
newDepth++;
var h = link.createEmptyMovieClip("holder"+newDepth, newDepth);
h.loadMovie("/gallery/IMG01.jpg", "_root.holder"+newDepth);
preLoader(h);
}
}


the above works k, next tasks are those in bold in the comment lines above, ive downloaded robert penners easing quotations, id like to use his easing back one :


Code:
class com.robertpenner.easing.Back {
static function easeIn (t:Number, b:Number, c:Number, d:Number, s:Number):Number {
if (s == undefined) s = 1.70158;
return c*(t/=d)*t*((s+1)*t - s) + b;
}
static function easeOut (t:Number, b:Number, c:Number, d:Number, s:Number):Number {
if (s == undefined) s = 1.70158;
return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
}
static function easeInOut (t:Number, b:Number, c:Number, d:Number, s:Number):Number {
if (s == undefined) s = 1.70158;
if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
}
}


... 1) problem is which part of this do i use, and how do i put it in my document?
2) second thing is can someone advise on how to store the leaf Mclips position (x+y) before the drag function so that it may be "put back" with easing adter the user has then released it/dropped it onto my target clip?
would it be something like var place = _root.bar.buttons.leaf2._x && _y ?? and then after it has been dropped then go perhaps something like place; ??

please could someone advise me on these issues?

thanks a lot

Robert Penner Class Problem
Code:
import com.robertpenner.easing.Back;

function thumbRollOver(){
var test = new mx.transitions.TweenExtended(this, ["_xscale", "_yscale", "_x", "_y"], com.robertpenner.easing.Back.easeOut, [100, 100, this.x, this.y], [120, 120, this._x + this._width / 10, this._y + this._height / 80], 4.000000E-001, true);
}
I did nor write that transition. I find it on the internet, and I saw com.robertpenner.easing.Back.easeOut. So I started a research on that but I am stuck. I am doing something wrong, cause it's not working.... If anyone could help me, that would be great

Robert Penner Easing Equations How Do I Use Them
Hey,
I am just wandering how do i use the equations I downloaded from robertpenner.com.

when ever i try even working out of the book i get error messages like

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 350: There is no method with the name 'easeOutBounce'.
return(Math.easeOutBounce(t * 2 - d, 0, c, d) * 0.500000 + c * 0.500000 + b);

Why does it say there is no method with the name bounceEaseOut

Can someone tell me who i can use these in my flash movies. I tried everything out of his book and i still get it wrong.

Thanks nugget

Using The Robert Penner Tweening Equations
Hey guys

Can anyone explain the way to use Robert Penner's tweening methods? I have all the files. I understand that at the top of the actions you do include# tween.as or something like that (I just had to reformat my powerbook and haven't loaded the files back on yet to look at exactly what that line of code is).

Robert Penner Easing Equations How Do I Use Them
Hey,
I am just wandering how do i use the equations I downloaded from robertpenner.com.

when ever i try even working out of the book i get error messages like

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 350: There is no method with the name 'easeOutBounce'.
return(Math.easeOutBounce(t * 2 - d, 0, c, d) * 0.500000 + c * 0.500000 + b);

Why does it say there is no method with the name bounceEaseOut

Can someone tell me who i can use these in my flash movies. I tried everything out of his book and i still get it wrong.

Thanks nugget

Using The Robert Penner Tweening Equations
Hey guys

Can anyone explain the way to use Robert Penner's tweening methods? I have all the files. I understand that at the top of the actions you do include# tween.as or something like that (I just had to reformat my powerbook and haven't loaded the files back on yet to look at exactly what that line of code is).

Robert Penners Invert Brighten Fla
How would you make robert penner's invert brighten fla run backward?

ie. start off with white and fade into an image.

Many thanks in advance guys.

Easing With ActionScript + Robert Penner
I'm trying to figure out how to do some easing animation through actionscript. After digging around the forum archives for a bit, it seems like the way everyone is doing this is with Robert Penner's easing equations. I'm a little confused as to how to implement these equations. Is there a tutorial or a very simple .fla example file of a usage of this easing? Any help would be much appreciated.

-Aaron

Robert Penner's Easing Equations
Where can I find some examples of these on the web? Not source code, but SWF examples.

Thanks.

Robert Penner Easing Equations
I'm not really an actionscript wizard, so I could use a little help here.

I want to use the quadratic easing in/out equation, but I'm not really sure how to apply it in flash. I am using it to move a movieclip, so if anyone could provide me with a description on how to do this, I'd be grateful.



thanks in advance.

Cool Book: Mathographics By Robert Dixon
I found this one gathering dust on my shelf, took a peek last night and realized it's a wonderful resource for budding actionscript programmers. This is a Dover reprint (that means its cheap!) of a 1988 text by Robert Dixon full of examples of drawing interesting designs using magic numbers like PI and Phi.

Spending a little time working on the exercises in this book (just using pencil and paper) will give you a great background for doing interesting abstract animations.

http://www.amazon.com/exec/obidos/tg...49506?v=glance

How Do I Make Robert Penner Equation Work?
Do I put the code on the movie clip?

How do I make it do what i want?


// bounce easing out
Math.easeOutBounce = function (t, b, c, d) {
if ((t/=d) < (1/2.75)) {
return c*(7.5625*t*t) + b;
} else if (t < (2/2.75)) {
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
} else if (t < (2.5/2.75)) {
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
} else {
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
}
};

Robert Penner Equasion Wrong Results
Hi I have a problem with robert penner's equasions - easeIn does not give the full results, easeOut works correctly with the same scripting.
What am I doing wrong ?


Quote:




import com.robertpenner.easing.Expo;

box.move = function() {
var t:Number = 0;
var time:Number = 30;
var startx:Number = this._x;
var amount:Number = 100
this.onEnterFrame = function() {
trace(t+" "+time);
trace(this._x);
if (t == time) {
delete this.onEnterFrame;
} else {
this._x = Expo.easeIn(t, startx, amount, time);
trace(Expo.easeIn(t, startx, amount, time))
t++;
}
};
};
this.onMouseDown = function(){
box.move()
}




the _x property is changed by less than 100. End value is not just 1 or 2 off but 10 or 20.

The equasion gives different results when i change time value.
Files attached.

Robert Penners Back Button Problem
Just wanted to quickly ask if anyone else has used Robert Penners Back button solution. It seems to work fine if everything is contained within the flash movie, but when loading external swf files into your main swf.. getting that to work with the back button is a little fustrating. Trying to figure out a way to tell my movie if the variable equals a certain value then loadMovie... no luck yet. The only way I thought it might work is setting up a function in my flash movie and having my html page run that function when the back button is hit. Any ideas???
http://www.robertpenner.com/index2.html

How Do I Make Robert Penner Equation Work?
Do I put the code on the movie clip?
How do I make it do what i want?

// bounce easing out
Math.easeOutBounce = function (t, b, c, d) {
if ((t/=d) < (1/2.75)) {
return c*(7.5625*t*t) + b;
} else if (t < (2/2.75)) {
return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
} else if (t < (2.5/2.75)) {
return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
} else {
return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
}
};

Robert Penners Back Button Problem
Just wanted to quickly ask if anyone else has used Robert Penners Back button solution. It seems to work fine if everything is contained within the flash movie, but when loading external swf files into your main swf.. getting that to work with the back button is a little fustrating. Trying to figure out a way to tell my movie if the variable equals a certain value then loadMovie... no luck yet. The only way I thought it might work is setting up a function in my flash movie and having my html page run that function when the back button is hit. Any ideas???
http://www.robertpenner.com/index2.html

How Do I Make Robert Penner Equation Work?
Last edited by Codemonkey : 2006-05-09 at 22:41.
























Do I put the code on the movie clip?

How do I make it do what i want?


ActionScript Code:
// bounce easing out
Math.easeOutBounce = function (t, b, c, d) {
    if ((t/=d) < (1/2.75)) {
        return c*(7.5625*t*t) + b;
    } else if (t < (2/2.75)) {
        return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
    } else if (t < (2.5/2.75)) {
        return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
    } else {
        return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
    }
};

Robert Penner's Programming Macromedia Flash MX
Anyone interested in selling their secondhand copy of "Robert Penner's Programming Macromedia Flash MX"? I'm really interested in getting it but it's out of print locally and amazon + shipping is pretty expensive.

Preloader With Easing Ecuations Robert Penner
Hi to all
Someone might helpme to do a preloader with robert Penner's equations
i dont know how would have apply them to obtain a preloader with easing
Please helps

sorry by my english ( i am spanish)

Thank you very much

bye

Robert Penner Tween Delay/Error On Load?
i've used Robert Penner's tween files with Flash MX and it doesn't seem to load up properly.

I've used the includes such as...

ActionScript Code:
#include "actionscript/core_setup.as"
#include "actionscript/easing_equations.as"
#include "actionscript/motion_class.as"
#include "actionscript/tween_class.as"
The thing is that it loads but never is properly loaded. It seems that if you let it finish preloading the site. you have to refresh the page one or more times for RP's tween to kick in...

Here's the link to my site i'm working on..... http://members.lycos.co.uk/glasses248/pop.php

Any help is appreciated! Thanks in advance!

Robert Penner's Tweening And Core Classes (as 1.0 Versions)
ok, so I read robert penners book, and have used his tweening "classes" (the as1.0 versions) in a few movies, always publishing for flash 6 player, but this latest project uses MovieClipLoader so I have to publish as 7

when I do that, i seem to lose the ability to attach the addListener method to the MovieClip object. the code being used is below, the last trace line should return "function", but instead returns "undefined"

the motion and tween classes need this and therefore fail. what am I doing wrong???


ActionScript Code:
// set up MovieClip.addListener() if it doesn't exist
// and create an empty clip to broadcast onEnterFrame events
if (typeof MovieClip.addListener != 'function') {
    ASBroadcaster.initialize(MovieClip);
    mc = _level0.createEmptyMovieClip("$enterframe_source", 9876);
    mc.onEnterFrame = function () { MovieClip.broadcastMessage ("onEnterFrame") };
    delete mc;
}
trace(typeof MovieClip.addListener)

Math Problem: Trying To Reverse Robert Penner's Easing Equation
This is probably a very easy math problem but I have hit a mental block with trying to figure it out. Below is an easing equation by Robert Penner that I am trying to solve for one of the variables in the equation.

// exponential easing in - accelerating from zero velocity
// t: current time, b: beginning value, c: change in position, d: duration
function easInExpo(t, b, c, d) {
return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
};

I am only concerned with the portion :
c * Math.pow(2, 10 * (t/d - 1)) + b;

I want to create an equation in actionscript 2.0 that will solve for t.
SOMEBODY PLEASE HELP ME OUT

Fmx Trying To Load External Swf After Resizing Mc Whit Robert Penner Esaing Equations
hello to all, i ´m trying to do a website using robert penner equation to modify an mc width and height, after the reshapinp I want to load an swf into a mc inside the mc that is resizes , my problem is I don´t understand how to load the externel swf only when the resize is done, the code examples it all.

please can someone lokk at this and point me in the right direction please.

thanks

Do Anyone Of You Here Happen To Have "creating Your First Cartoon" By Robert White...
the flash document files for "creating your first cartoon" by robert white???

the tutorial which he posted on flashkit.com....this is the link...

http://www.flashkit.com/tutorials/An...1350/more3.php

the link provided for the download isn't valid anymore.....

I need those document files urgently...specially the sound files....

if anyone of you here happen to d/l before please kindly upload it on www.yousendit.com

thanks a millions......

btw....erm..I not sure where can I post this thread at......if I posted it at the wrong forum....mod plz feel free to move it to the correct forum.....

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

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!

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

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!

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?

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

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!

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]

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.

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!

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.

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?

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?

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.

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!

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

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 )

Copyright © 2005-08 www.BigResource.com, All rights reserved