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




Need Some Navigation Tips. It Seems So Simple



Hey guys, I have been using flash for a while and have only recently started trying my luck with ActionScript.
I read in a book that if you can describe what you want to do with your movie accuratly, chances are it is possible with actionscript. Unfourtunately I find myself in a bit of a dilema.

On my movie I have 5 different movie clips that are links to different pages on my website. All five of these movieclips look like volume knobs and when you click on one, the knob will rotate as if you were turning the volume up. I have no problem with this process.

I will give the five knobs the name knob1 knob2 knob3 knob4 and knob5. The problem I have is after clicking on knob1, when I click on knob2, knob1 still stays in its activated state. What I want to happen is, after you activate knob1, and then you activate knob2, I want knob1 to turn down and return to its unactivated state. I want this to happen with all the buttons.

Each knob has 30 frames. Keyframes 1 and 30 are in the unactivated state, and Keyframe 15 is in the activated state. The 30 frame movieclip is all motiontweened.

I hope I have described my situation well enough, if not please let me know.

Thanks for you help.



FlashKit > Flash Help > Flash ActionScript
Posted on: 08-05-2004, 04:16 AM


View Complete Forum Thread with Replies

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

3D Camera Navigation - Any Class Or Tips Out There?
I'm giving my first steps on Papervision, and got to the point that I've got my 3D space and objects
but can't really navigate on it.

I know how to change the position and rotation values for the camera, but I was looking for the math
to correspond camera rotation to mouse movement and other usefull ways for camera navigation.

Is there any class with a head start, or some documentation related to this?

Movie Clip Organisation And Navigation Tips?
There is this project I've been tasked to add forward and back buttons and another button to show selected scenes within this SWF file.

The main movie contains many smaller movie clips riddled with externally loaded sound clips.

It's current logic put together is it starts out with some simple animation on then programatically play a movie clip which in turn that movie clip has timers set to then play the next movie clip and so on..... There is no way to scrub the timeline to see which movie clip is going to play next. One has to troll through the code to figure out which clip may would play next, which are just part of a clip and so on....

So my specific question is, how would one would have better organized the flow of play sequence such that, it would be easy to have a forward or backward button that makes the timeline go to the next scene or last scene....

Thanks!

Navigation A Flash Site, Tips Or Pointers?
I'm starting to ge the hang of Flash with actionscript 3 so I want to create a website completely in flash. I want to use SWFAddress for deeplinking and history support.

I don't want to use the timeline with labeled keyframes or scenes for pages, I need to read the content from XML (so it can be dynamic content). I would need to create menus of different levels and of course load pages when menu items/links are clicked or de URL indicates a deeplink.

The thing is that I don't know how to design the overall architecture. How to load pages, how to make sure menus are in the correct state, how to do 'templating' for pages, how to avoid global variables and make sure that every resposibility lies with the correct class/object. I've seen some of this in Flex 3, but it must be done in Flash CS3 (that's what we have).

So I'm looking for an example or tutorial for guidance. Thanks in advance for any tips/links etc, much appreciated!

Simple Tool Tips
I'm trying to create tool tips type things where when you rollover an invisible button, frame 2(contains a graphic) of a movieclip instance called tool_tipper shows up; the first frame is blank (with stop action).
The script I'm attaching to the invisible (rollover) button is the following:

Code:
on (rollOver) {
with ("tool_tipper") {
startDrag("tool_tipper", true);
gotoAndStop(2);
}
}
on (rollOut) {
with ("tool_tipper") {
stopDrag();
gotoAndStop(1);
}
}


Is there anything wrong with it that you can tell so far?

Need Some Tips On A Simple Scripted Animation
please check out the following

wheeler animation

what i am trying to acomplish is that when i move this little rolling guy i named wheeler.

i want his wheel to roll the apropritate amount to what ever i move him left and right.. via
a motion tween or whatever.

i think it will be something like.. rotate wheel +1 when ever x moves..

im very new to action scripting.. but im learning.

i cant wrap my head around this home you can help me out.

Need Tips To Create A Simple Function
I need some help :-0
By making a photo gallery/ XMl ( helped by a lesson from the web) I try now to create functions to go to the previous and the next image. Till now The object initThumb is created only for my thumb scroller.
Questions :
-can I use this same object to create the functions previous / next or do I have to create another one ?
- If I have to create this other object , do I have all the useful elements already in my bellow code ( just a part of it) ?
Note : of course the 2 buttons previous and next arre already on stage with an instance name for each one.
Thank you,

var xmlPhotos:XML = new XML();
var initThumb:Object = new Object();

xmlPhotos.onLoad = function() {
for (var i:Number = 0; i<xmlPhotos.firstChild.childNodes.length; i++) {
initThumb.photo = (xmlPhotos.firstChild.childNodes[i].attributes.photo);
initThumb.titre = (xmlPhotos.firstChild.childNodes[i].childNodes[0].firstChild);
initThumb.count = (xmlPhotos.firstChild.childNodes[i].childNodes1].firstChild);
}
}
initThumb.onRelease = function() {
mcLargePhoto.loadMovie("images/travel/"+this.photo+"");
txtCount.text = this.count;
txtDesc.text = this.titre;
mcScroller._alpha = 0;
}

Simple Navigation?
okay, i'm wondering if there's a tutorial that'll show me how to do simple navigation with MX. something like pushing a button takes you to a frame. I've beaten my head agaist the wall and it's probably really easy. Any help?

Simple Navigation
i have a movieclip on my main timeline that has a button. i need an action for the button that will take me out of the movie clip and back to frame 1 of my main timeline. I am using flash 5 on a mac.
thanks.

Simple Navigation
I've got a button in a movie clip which is then placed on the second frame on my stage.

Now I should be able to use that button by attaching my code to the frame 1 of the stage right??

code:
//first frame code
_root.home.btn_home1.onRelease = function() {
trace("button works");
};

but it doesn't!!! Can anyone give me some clues as to why it's not working?? And yes, all instances have been named properly, checked and rechecked!

Ta.

Simple Navigation?
I am having trouble getting my buttons to work.

This is the AS I have put in the actions timeline that applies to my buttons named 'but_one':

but_one.onRelease = function () {
gotoAndStop('one');
};

I have two more buttons - but_two & but_three.

The movie starts on frame 1.

If you click button one it goes to frame 5/'one'.
If you click button twoit goes to frame 10/'two'.
If you click button three it goes to frame 15/'three'.

However if you click on a button that will take you backwards - i.e. you are at frame 10 and click to go to frame 5 it will not move.

Any ideas why this is?

Thanks.

Simple Navigation
Hi,
what's the simplest way to navigate within one timeline? I have a simple 5 page site and in a code layer, I assigned this script for each button:
Home_button.onPress = function(){
gotoAndStop("home");

So when I tested the movie, I realized that I need something to make the playhead not move until something is clicked. Right? Do I still need to go into the actions for each button and say something like gotoAndPlay...? Please explain this in newbie terms. Thank you!!

Tab Navigation, Simple As
ActionScript Code:
if (mouseover on tab3) {
    speed = 2;
    tab2._y += speed;
    speed = 2;
    tab3._y += speed;
}
} else if (mouseover on tab2) {
    speed = 2;
    tab1._y += speed;
    speed = 2;
    tab3._y += speed;;
} else if (mousover on tab3) {
    speed = 2;
    tab1._y += speed;
    speed = 2;
    tab2._y += speed;
}


I have 3 tabs, and when you mouse over one, the other two will retreat.
I know the "mouseover on tab3" won't work, but I can't figure out the whole mouseover stuff I am using flash 5 btw.

Can someone help/explain the syntax for me?

Simple Navigation Problem
I'm sure there's an easy answer to this problem:

I have a movieclip instance named "rogmovie" which loads onto the main timeline.

"rogmovie" controls a small animation inside another movieclip which loads onto the main timeline as well, called "coucilmov"

inside of "councilmov" there is a small 15 frame animation which starts at the frame 5 with the label "rogerbio".

At Frame 15 there is a button that fades in that is supposed to make the movie go back to frame 1 of the "councilmov" clip. Frame one has a "stop();" action applied to it so that when it loads, nothing shows until another movieclip commands it to.

My problem is that when click the button inside the "councilmov" clip,
it goes back to the "rogerbio" frame label and replays the animation instead of going back to frame 1 (where nothing is displayed).

There is also a "stop();" action applied to the keyframe where the button instance resides (on frame 19), to keep the movie from going back to frame 1 where nothing is displayed.

My actions on the button are set up as follows:
--------------
on (press){
gotoAndStop(1);
}
--------------

My Actions on the Keyframe:
--------------
stop();
--------------

This looks like it would work... but God only knows why it doesn't... is there something I'm doing wrong?

Simple Navigation Menu
Hello
I want to create a movie that has 5 options in a navigation menu:

Pictures
Video
Sounds

When you click on them a picture/video/sound list comes up...


Can anyone help?

Simple Keyframe Navigation
Does anyone have a good way of moving back and forward through keyframes when playing a movie.

I made this very simple one, using the LEFT and RIGHT keys.... But it does funny things.

Tim.

A Simple Navigation I Made. You Like?
http://s91931107.onlinehome.us/nav/

Would anybody be interested in looking at my .fla, and giving me some feedback on how I put it together (im fairly new to this). I think i made it way more complicated then it needed to be, and as a result, I know I'm going to run into some problems when I try to add content. So any flash guru's wanna check out my .fla, and give me some advice.

http://s91931107.onlinehome.us/nav/nav.fla

Thanks!

EDIT: Oh, and if anyone can give me some pointers on how to make a better bounce/elastic animation when the orange boxes enlarge. I can't get it to look right.

A Simple Navigation Menu
you know like the one here on Flashkit. Like this...

"Flash Kit Community Forums > Flash Help > Flash Actionscript"

I can step back ... it's nice and simple but I have no idea where to start.

The catch is... I want to use an external text file to create the menu items AND I want to navigate back and forward... something like this...

"Category1>>Category2>>..."

I wanted the menu to progress like so...

"Main Menu>>Catergory2>>SubCat1>>SubCat2..."

I know this might sound simple but I can seem to find a precedence. Can anyone give good me source for a starting point? Honestly anything would be helpful.

Thanks

Navigation Problem (simple)
i came across this useful navigation example by pellepiano (see file attached) which zooms in when user clicks on button/segment of the menu

I wondered if pellepiano or anyone could help me to get the nav to zoom out?
each of the squares is a button and it zooms in when clicked.

on (release) {
_parent.xpos = -300;
_parent.ypos = 0;
_parent.whatClick = 1;
_parent.whatToLoad = "information";
}

The main mc with the buttons within contains the following

onClipEvent (enterFrame) {
if (_parent.xpos != "go") {
this._xscale += (300-this._xscale)/9;
this._yscale += (300-this._yscale)/9;
this._x += (_parent.xpos-this._x)/9;
this._y += (_parent.ypos-this._y)/9;
}
}
how could i make it so that when zoomed in the conditions/actionscript on the button change so when clicked the button again it will zoom back out to original position?

Simple Navigation Trouble
but it's driving me crazy.! Haven't fooled around with flash since flash 5 and now I am running MX 2004 Pro. I'm having simple navigation trouble.

I have MC on the main stage (MainMC) and inside MainMC I have a movie called skinTone so I can change the skintone of the model see LINK. Inside skinTone MC I have five labels "light, dark" etc... I cannot get th code to work. The button (change skintone) is located inside MainMC.

Please help it's driving me crazy.

I have tried

on (release) {
_root.MainMC.skinTone.gotoAndStop("light");
}

and about 5 others. what am I doing wrong? oh wonderful flash gurus. It's driving me nuts. *runs out of thread embarrassed

Problem With Simple Navigation
this is how my flash is setup, on the root i have 2 frames, frame 1 is the opening home page of the site with an action layer with a stop(); frame 2 is another page, seperate from the homepage, this page also has its own stop();

the buttons that control this are in a mc called 'fruit buttons' and the button that should control the root to go from frame 1 to frame 2 has this code:

Code:
on(release){
_root.gotoAndStop(2);
}
this should work but doesnt, so when i run this swf the home page comes up perfect, but if i push the button to go to frame 2, it goes to frame 2 then switches back to frame 1, then 2, then 1, then 2. it is totally disregarding the stop actions I put on the root frames. any help? thanks

Logic For A Simple Navigation Bar
Hey all, sorry I cannot help today because I am having my own Flash/Brain melt-down. Okay, I am going nuts trying to figure out the logic for a simple navigation bar. It needs to:

When you rollover main nav button, subNav buttons appear underneath it. I have this working with AlphaTo AS tween, when you rolloff the main nav btn or the sub nav button they all dissapear in around a second.

I have tried this and keep getting jacked results. I have attached the FLA if you want to take a look under the hood.

Thanks, Dvl

Navigation Bar - Simple But Stuck
This is probably an easy thing to do, but I'm stuck.

This is what I have so far: Flash Movie ; Flash Document

Basically it works, but when you roll out of the button areas the pink fill is meant to lower back down again - how would you do this?

onRollOut or something, but I've no idea how to make it work,

Thanks,

Simple Navigation Question?
Is it me or does the navigation on the sony site seem very quick and smooth? It has a lot of links within the nav itself but seems very responsive and smooth.

I know this is one of the oldest nav. interfaces but Can anyone point me in the right direction on a tutorial for this type of nav?


thanks!

Simple Navigation Mess
Hi everyone,
Im getting in a real mess with my actionscript here.
All im trying to do is get flash to play the current page exit mc before heading to the intro mc of the button clicked.
I cant figure out how to get flash to 'remember' the button clicked and i can only seem to get the playhead to play the exit mc at framelabel 'homeout" and then it comes to a standstill and doesnt detect the conditional statement ive put at the end.
Ive tried using the help within flash but im a bit of a newbie so i find it all a bit overwhelming!
This is the code i have on the main timeline when the menu has finished loading:


PHP Code:



stop();

var myTarget:Number;

trace("home out");

video_button.addEventListener(MouseEvent.CLICK, clickHandler);
function clickHandler(event:MouseEvent):void {
    myTarget = 1;
    gotoAndPlay("homeout");
}

audio_button.addEventListener(MouseEvent.CLICK, clickHandler1);
function clickHandler1(event:MouseEvent):void {
    myTarget = 2;
    gotoAndPlay("homeout");






As you can see ive attempted to use a number variable called myTarget to try and store the correct path - but clearly im not doing it right or even using the right thing. At the end of "home_out" mc Ive got:


PHP Code:



Stop ();
var myParent = parent;
if (myParent.mytarget == 1) {
gotoAndPlay("videoin");
} else if (myParent.mytarget == 2) {
gotoAndPlay("audioin");





Ive been trying to figure this out for days and im sure its such a simple bit of code! Literally any help or pointers would be greatly appreciated
Greg

AS3 Simple Button Navigation
Hi could anyone help hint on how to do this using AS.3.

I understand how to create simple buttons as reuseable classes, but how could you create a next button that does something similar to the AS2 "goto and stop nextframe", and a back button that does something similar to the AS2 "go to and stop previous frame".

Extra: on each frame that the user navigates to, is a movie clip, within that movie clip is then another button with a go to and play "Frame Label" action required, that navigates within the movieclip to a specific frame.

I'm at a complete loss about this. Please can someone help ...

Simple Navigation Question.
OK, so I am at a complete loss at how to accomplish a simple flash navigation system. I am a graphic designer so flash is not coming as easily as photoshop and static html pages do. Basically, I am wondering how to make it so that I have four buttons, that when pressed, the one that is selected moves up while the others stay at the same level, and also how to trigger content using the buttons. to explain what i want to accomplish visually i have uploaded two screenshots of the desired effect.

http://i103.photobucket.com/albums/m128/xthatssotribalx/help.jpg

to this after being clicked:

http://i103.photobucket.com/albums/m128/xthatssotribalx/help-1.jpg

This would be so much easier to code in CSS but for the content it will serve, flash is better suited to this project. Please help! Thanks!!

Navigation Trouble - Should Be Simple
Help! I am trying to do a simple navigation task from a menu within a movie clip to a certain frame within another movieclip. Why can I not navigate to the point I need to go? What am I not seeing? This should be simple right?? The code I have tried is:

on (press) {
_root.Intro_Movie.gotoAndPlay("menu");

}

on (press) {
this._parent._parent._parent._parent.Intro_Movie.gotoAndPlay("menu");

}

on(release) {
with(_root.Intro_Movie) {
gotoAndPlay("menu");

}
}

How Can I Create This Simple Navigation
How can i create such a navigation like here http://www.beamjive.com/bjc.htm
I want to know how can i create following box wich can scale a invert text colours like here (The main thing i want to know is how to create this resizes and follows...)
And please do not tell me to search the forum, if you know exactly where can i find the same solution to my question, tell me...

Simple Navigation Problem
Im trying to create this website.

i have a main swf where my buttons lie.

upon clicking a button, it loads a movie, playing its intro animation. then stop.

the problem is,

when i click another button i want the loaded movie to play an exit animation then play the intro animation of the clicked movie. how can i do this?

Thanks for the help in advance.

Simple Navigation Help Needed
hello all, i think i am stuck with a pretty basic problem, that i cant seem to fix myself today.
i want the navigation to have three different visual styles, one for "off" one for "over" and one for "active". so far so good, i can figure that one out myself.
so i made a mc for every section and declared a variable for the "active" status, wich i wanted to check via if...else, so a roll-over / roll-out wont affect the mc if the section is allready active and clicked. but somehow i ****ed things up here, cant really remember how to do this.

here's the .fla for you to look at.

any help would be highly appreciated, cheers from berlin - cyze.

How Can I Create This Simple Navigation
How can i create such a navigation like here http://www.beamjive.com/bjc.htm
I want to know how can i create following box wich can scale a invert text colours like here (The main thing i want to know is how to create this resizes and follows...)
And please do not tell me to search the forum, if you know exactly where can i find the same solution to my question, tell me...

A Simple Flash Navigation Tutorial
Hi guys, I'm a newbie but don't be too hard on me.

I've been browsing around flashkit.com for a couple days and haven't come across a simple navigation tutorial that shows a step-by-step process of making a flash navigation with mouseover effects/animation, commands, etc. I'm not sure how to explain it but I guess an example would be at this page, the 4 bottom buttons... even something as simple as that would suffice for now. Anyway, if anyone can direct me to a good tutorial for that or even help me out with it, it would be greatly appreciated. Thanks for your time!

Simple NEXT-style Navigation Trouble
here's the deal, (am I stoopid or what?)(dont answer that)

I have on stage, a button and a movie clip with an instance name of "joe". Within that movie clip is a ball and various frames with stop actions on them. The ball is in a different location at each stop frame. I want to simulate movement of a ball around a circle (they are motion tweened.)

Can't I just put a script on the button on main timeline telling the movie clip to go to the current frame + 1, to make the movie incrementally move ahead?

on (press) {
_root.joe.gotoAndPlay(_currentframe+1);
}
this is my code on the button. It keep looping back to frame 1 and never getting beyond the first tween. What am I missing?

Simple Presentation Navigation Question
I'm sure this has been covered before, but:

what kind of action would you create to quickly drop fwd and back buttons on your presentation, so that your presenter moves back and forth to different slides (that animate). so, say, you have a main timeline with labels for each slide, and you want to build generic back/fwd buttons (so you don't have to customize each one); would you:

1) onClick, gotoAndPlay(-1) then in the frame previous have an action take the playback head to the previous label, and in the frame before that skipping that frame...i guess this would still be manual tweaking, but less so for each nav. and then, after the stop frame, go forward...how confusing!

action: go to stop | back | stop | fwd
in the stop frame, the buttons would have onClick gotoAndPlay(-1); or (+1).

2) or is there a way to do gotoAndPlay(thePreviousLabel), or (theNextLabel)?

3) is there another option?


thanks!

Simple Site With Flash Navigation
Hello,
I am developing a site that uses flash for navigation. I have the navigation and the content in a frameset. The top frame is the navigation and the bottom is the content. The navigation is placed in a table so that it is always centered. How can I stop the top frame from being scrolled when the window is made smaller? I want no scrolls for the top frame and only verticle scroll for the bottom frame. I chose to use two frames so that when the menu is used it just switches the content in the content frame, while the menu stays as is. Am I doing this the best way possible? I could see doing the same thing with layers instead. Is it possible to place an html page inside a layer and then swap that page with another page in actionscript?

Thanks,
mperla

Simple Navigation/Control Question
I've got a 20 frame movie I'd like to allow a user to play forward and backward one frame at a time(it's a tutorial). I've laoded this movie clip in the first frame of my main move. I've got forward and back buttons in another layer of my main movie. I've already dowanloaded/tried andrew_s's play anything backwards -this works fine if I want continuous play, but I want the user to be able to go frame by frame. The only other way I can think of doing this is by putting the buttons on every frame of the movie and using frame labels -but i was hoping to do something more efficient.

Thanks,

G

Simple Button / Navigation Question.
Okay, So I have this navigation that consists of 3 buttons. Of course there is text in each button. The text is white, when you rollover it's yellow. How do you make it so when you click one of the buttons, that button stays yellow until you click one of the other buttons of course making your new button's text yellow and the other you clicked the first time back to white?

Thanks in advance.

Ari.

Turning Off Navigation, Simple Question
Can somebody indicate how to turn off navigation for a movie? Currently, the user can click Enter to play or pause the movie, rewind the movie or even loop it, but my movie is is completely self contained and need to be able to dictate all the navigation.

Thanks in advance for any help

Probably Simple Question Re Using Flash As Navigation
What would be the best way to go about loading this flash navigation?

http://www.marcos-ac.com/wip/

Basically my issue is that I don't want the animation to run through each time. On the homepage, I want it to run through it's whole animation, but after that, I just want everything to be up there... not flying in and fading in on each of the pages in the site.

My ideas:
1. Some sort of actionscript command that says "if you are on a page named index.htm then play the entire movie, otherwise, goto and play frame 100 (the last frame).
2. Use a shell movie and do a loadMovie that they jumps to a frame. Insert the shell movie on the subpages in the site. I tried this an it didn't work. And I've read that it's unreliable because the label may not exist yet when the movie is called or something. Must be cached. (here's the link to the .fla http://www.marcos-ac.com/wip/flash/t...r12-short3.fla)
3. Build 2 movies... one with all the intro animation frames chopped off. I tried this and didn't like it as the movie is already pretty huge and to load two movies that are large is annoying to users. (here's the link to the .fla http://www.marcos-ac.com/wip/flash/t...r12-short2.fla)

Here's the link to the primary .fla http://www.marcos-ac.com/wip/flash/topbanner12.fla.

Thanks for the help!

Simple Website Navigation Code?
Hello,

I was wondering if anyone could post up the simple navigation actionscript for creating a website - on release, go to....? ect.

Help appreciated

Thanx!

How Can I Create A Simple Keyboard Navigation?
Hi. Can anyone help me how to create an simple actionscript which starts my stopped film on a certain key pressed. Or which jumps to a certain keyframe when a certain key is pressed.

For example see this great site: http://212.78.72.7/~site59/glc.html

Simple Form Navigation Question
Can anyone see something blatantly wrong with the following code? I am trying to navigate to different pages based on whether or not the checkbox (team_check) is true or false after the button (cont_with_order) is clicked.


ActionScript Code:
function onClick(btn)
{
    if (btn == cont_with_order)
    {
                if (team_check == false)
     {
         gotoAndStop("pg2");
     }
                else if (team_check == true)
               {
            gotoAndStop("pg3");
               }
    }
    else if (btn == next_btn)
    {
        getResults();
        gotoAndStop("pg4");
    }
}

Thank you for any help.

Simple Photo Navigation Question
First let me say, I am a print designer, so web is a bit foreign to me. I am attempting to create an online portfolio website for my print design work, and have run into a few problems.

Does anyone know how to make a button proceed to the next frame when it is pressed, but not go past a certain frame number? I assume it requires an if else statement, but I'm a bit lost.

Also, I need the same thing only going backwards. These buttons will be used for a forward and back command while viewing images, basically I am trying to create a loop for viewing my portfolio.

I would use a slide show ... but I need the images to change size and page orientation. Any suggestions?

Simple Flash Navigation Prob....?
I am trying to set up a web page where the navigation is in Flash and the content is html... ok, that doesnt sound hard..

...the problem I have is when you select a button from the flash navigation bar and it loads up the new html document (which includes the flash file) it also resets the flash navigation bar again.. when what Im after is the button on the naviagtion to remain highlighted..

Im sure there is a work around this (apart from using frames or having a new flash file for each html page)

any ideas??

cheers

Simple HitTest Navigation Question
Hey all this should be simple but for some reason it is escaping my mind.

i am creating a 2 level horizontal menu. I have a row of buttons which onRollOver attach a mc containing the respective submenu. I also have an onRollOut this.removeClip(). the problem is that when a user presses a sub menu buttton, the action is not being recorded.

I know it has to do with hit test but cannot ge the code to work. Can anyone help me out?

Dynamic Maze With Simple AI Navigation
maze is dynamically generated from the text file,
- 1 for regular tile
- 2 for start tile
- 3 for finish tile

I used an OOP approach except i didn't bother using classes, just general MovieClip prototypes.

The AI i used simply makes the character turn in the same direction all of the time. I put an extra couple of lines in the source that allow to change which direction the character turns in.

Hope you like it
Check it:

Simple Flash Navigation Prob....?
I am trying to set up a web page where the navigation is in Flash and the content is html... ok, that doesnt sound hard..

...the problem I have is when you select a button from the flash navigation bar and it loads up the new html document (which includes the flash file) it also resets the flash navigation bar again.. when what Im after is the button on the naviagtion to remain highlighted..

Im sure there is a work around this (apart from using frames or having a new flash file for each html page)

any ideas??

cheers

Simple HitTest Navigation Question
Hey all this should be simple but for some reason it is escaping my mind.

i am creating a 2 level horizontal menu. I have a row of buttons which onRollOver attach a mc containing the respective submenu. I also have an onRollOut this.removeClip(). the problem is that when a user presses a sub menu buttton, the action is not being recorded.

I know it has to do with hit test but cannot ge the code to work. Can anyone help me out?

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