Flash Based Navigational Question
I like the this site's portfolio navigation (www.kindcompany.com) The way each image or project pulls and yanks it's self backward to reveal a new image. I've seen similar effects used on other sites but i can't pinpoint how it's done. I'm still learning as much as i can about Flash and it's environment. Can someone offer me any tips, tricks or referenced tutorials for this online? I'd like to employ the same technique in my own site to build a navigable slideshow of photos.
Thank you!
PS Here're more examples of what i'm essentially trying to learn how to do:
• http://www.bryansheffield.com/ • http://www.alvinlustig.com (notice how you can select the thumbnails to summon a new piece of art work in the galleries. it fades in quite nicely) • http://www.lovelydesign.com/scraps/scraps.html
FlashKit > Flash Help > Flash General Help
Posted on: 11-18-2005, 04:42 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Flash Navigational Bar Within Html Page...
hey all, flash mx 2004,,
I have what seems to be a pretty basic problem, hope someone can answer
I have an html page which has a flash navigational bar at the top. Both the flash bar and the html page are in the same frame, different tables. The tables within the page have different backgrounds, then text is input into various tables, the usual routine.
My question is, how can I get the buttons in the flash navigational bar to link into the html page and alter the backgrounds and data content of the tables?
Or will I have to put the flash bar and the rest of the page into separate html frames, with each flash button linking to a different frame? If so please outline how I would setup the button to only alter the frame rather than bring up another page!
Many Thanks!
Website Navigational Flash Integration
Im currently studying Flash,html,css,and dreamweaver.
However, Id like to know if anyone can recommend books, or other training materials on how to design websites with flash in mind.The bells and whistles of sites.
At present Im just becoming familiar with Flash animation.
Any comments related to this in general, would be appreciated.
Making A Flash MX Navigational Bar, I'm A Noob
Hey, i was wondering if anyone knows where i can get some free info or help on how to make a navigational bar using flash MX. I basically want to have some type of a flash movie as a form navigational menu within a frame. Any help would be appreciated, i've never used flash b4 and would like to learn how...
thx
Navigational Help Please
Alrighty, I'm trying to make a navigation menu and I'm somewhat stuck. WHat is the actionscript for buttons, when clicked, go to an HTML page with the target of "main" (I'm using frames). THanks for your time!
[f8] Navigational Bar
Hello all.
I'm a bit new here, but I'm having a problem with Flash, and was hoping someone might have run into it before.
I didn't see another thread about this, but if I missed it, just point me in the right direction and I'll be on my way.
Anyway, I am trying to create a navigational bar consisting of several Images in a row.
I'm trying to make it so that, as you move the cursor over them, the one you are closest to will get bigger, and the rest will get smaller, sliding out of the way to make room for the enlarging picture.
And each picture is also a link to take you to another page of the site.
There is a similar style bar here: http://vadifference.virginamerica.com/vadiff/index.html
I keep thinking I understand Flash, then something like this comes along and throws me for a loop.
Any help that anyone could offer would be great.
Thank you all very much.
Navigational Bar
Hello everyone!!,
How can I put together a nav. bar like the one in the site below? I am talking about the one that looks like folders sliding up on mouse over.
I greatly appreciate your replies...
http://www.gavindegraw.com/
Hi I Need A Navigational MAP
So I have a Big map that i can zoom in and out and draggable too.
But I want a little square that hovers over a copy to the map to be like my navigation window so that I dont get lost when i'm zooming and dragging the map.
HOW DO I DO THIS?
Navigational Bar
Hello everyone!!,
How can I put together a nav. bar like the one in the site below? I am talking about the one that looks like folders sliding up on mouse over.
I greatly appreciate your replies...
http://www.gavindegraw.com/
Hi I Need A Navigational MAP
So I have a Big map that i can zoom in and out and draggable too.
But I want a little square that hovers over a copy to the map to be like my navigation window so that I dont get lost when i'm zooming and dragging the map.
HOW DO I DO THIS?
3d Navigational System
Can someone help with the scripting to make a 3d navigational menu.
Check out http://www.fifthrotation.com to see what I'm talking about. Click on the menu and the 3d navigational system is the 6th button.
I have some sort of idea of how to work something like this out, but I'm looking for suggestions. I'm not that good at math, and I can only assume there are tons of math equations involved.
Thanks,
a..
Navigational Problem, Please Help
I have a button inside a movie clip and I have an instance of that movie clip on my main stage (timeline). How can I get the movie clip to take me to a diff scene on mouse up or release. I can send it to a frame or label within the same time line, but I can't seem to take it to the next/other scene.
I tried placing this script on the instance in the main timeline.
onClipEvent (mouseUp) {
_root.gotoAndPlay("gallery", 1);
}
[Edited by studio_ak on 10-06-2001 at 02:21 PM]
Navigational Nightmare
Need HELP!!!!
I have a movie which can be viewed using a click through navigation system or sat through automatically. To do this I have two movies back to back and leap from one to another depending on the users selection. Unfortunately with 14,000 frames this can't be done. Is there anyway of implamenting this system with just one movie.
Cheers
Navigational Forethought
Greetings,
As I've been constructing navigation for a project, I'm becoming acquanted with what can be done with an imported swf vs placing a movie clip within the main time line but I've gotten to a point where I feel I should have thought about what gets imported vs placed a bit more before jumping into it.
What I'm constructing is navigation with some extra goodies. Here the construction:
a. several linked rollovers that animate on rollover and open a seperate html page on click. All 3 links/animations are saved as a seperate file so they can be loaded into an anchor movie into position.
b. some scrolling text also saved as a seperate file so it can be loaded into an anchor movie.
c. Rotating banners: These banners are created within flash and saved as seperate files so they can be loaded into a master banner ad file timeline and loaded. This movie is then loaded into an anchor movie.
The anchor movie contains everything else, graphics, a few other nonanimated links etc.
I seperated items a, b and c becuase I felt it was important to be able to change or add to any of these without having to open the anchor movie or risk getting it messed up in the event some one else has to work on it. By doing this, I've turned this into several components, each loaded into the anchor movie.
What I've noticed happening is when you open this page, the navigation builds one component at a time. It does so rather quickly but none the less one at a time.
I know that some studios like to create raster files in pieces because the load quicker (that's up for debate) so I thought I'd try the same philosophy on a Flash file, plus, it seemed the only way I could get a certain thing to happen was if I loaded it as a seperate swf movie.
Is this component construction a good idea (creating several small files which are loaded into a main movie) or should I have as much as possible in the anchor movie (one large file).
Navigational Question
I have a navigation bar at the top, its inside of a movie clip. I have 5 buttons I just made within the bar.
How would I make 2 bars I made on the track go to a certain button when I hover over it and go to 100% alpha cause it has to start out as 0%?
I seen a way to do it on there, but it requires putting the buttons within movie clips, and well I can't do that since they are already in a movie clip and I don't want to get everything un-organized. I got enough movie clips as it is
Navigational Knobs
Hi, I am trying to make some knobs for the navigation of my site. I downloaded an example by senocular (cheers for that) and that works fine. I now have a movable knob.
My problem is I only want three actual choices for each knob, one at the top and then two at the bottom, in an almost triangular formation (If you can't picture it i've attatched a jpeg).
How can i
a: Make the knob snap to the nearest of my three choices when mouse released?
b: Make it so the knob won't turn between the lower bottom points, making point 1 minimum and point 3 maximum?
Any help would be brilliant but i am a complete beginner at actionscript.
Cheers, will
Navigational Question
ok. I have 2 seperate flash movies on my site. One is navigation and the other is a 'movie box'. What I want to happen is when you click the navigation the 'movie box' changes. How can I tell a seperate swf to goto a certain frame?
Cheers,
Help Me With Navigational Menu Please?
hey guys, does anyone know where i can find a tutorial explaining how to do the navagational menu like the one at the bottom of http://www.angusglen.com
there is one by eduardo, but its too 'bouncy'
thank you ^_^
Navigational Problem, Please Help
I am creating a navigational list. I have a movie of stars circling the buttons, but whats happening is the stars are going behind the other buttons. So what I need to do, is onLoad have the button come to front, is this possible, or shall I rethink my menu?
Thanks
Navigational Disfunction
It has been some time since I have tried to do this so please forgive me. I created my navigation. Instead of allowing it to reside on the main timeline, I decided to place it within a movieclip. The movieclip plays as expected, however the buttons no longer work. How do I get my buttons to work?
Navigational Problems, Cap'n
I've attached the navigation I am using for my forum but I am completely lost on how to fix it up and stuff. What I want to happen is to have each little circle change colors on RollOver (I made a frame 2 inside each movie clip with how I want it to look) and then on click go to the specific page, obviously by getURL. But I'm just having problems pulling everything together. My biggest problem is that I want to display some text for each one in a box. For instance if you rollOver the left most circle the word "Members" should show up in a box. I know that I could just make a movie clip with a whole bunch of different frames with all the words and link them together, but considering its just text I figured there might be another way to do it.
So basically, I'm really really confused and need help
Navigational Menu Help
Hi All!
I am constructing a Flash site and would like a navigational menu like this website: http://www.kitsuman.com/kitsuman/HTML/main2.html
I have tried several things and have no luck. If you could redirect me to a tutorial or have an example .fla it would be greatly appreciated. Thank You.
-rhohman
Help Navigational Buttons
Hi everyone, I have a quick question. Its pretty stupid and i'm guessing it's probably really easy for you guys but I'm having trouble with it. I need to know how to make my navigational buttons stay highlighted when on that certain page (e.g. if on the "products" page, I need the word "products" to be highlighted in bold whilst in that section of the site.
Thanks in advance
Navigational Problems, Cap'n
I've attached the navigation I am using for my forum but I am completely lost on how to fix it up and stuff. What I want to happen is to have each little circle change colors on RollOver (I made a frame 2 inside each movie clip with how I want it to look) and then on click go to the specific page, obviously by getURL. But I'm just having problems pulling everything together. My biggest problem is that I want to display some text for each one in a box. For instance if you rollOver the left most circle the word "Members" should show up in a box. I know that I could just make a movie clip with a whole bunch of different frames with all the words and link them together, but considering its just text I figured there might be another way to do it.
So basically, I'm really really confused and need help
Horizontal Navigational
I need to make a horizontal flash navigation for a project I'm working on. The effect I'm looking for is like that on 2advanced.com. I've tried several approaches but don't get what I want.
Can anybody help with an idea....or some instructions. Thanks in advance.
Navigational Slider
Hi,
I'm trying to figure out how to make a navigational slider. Basically, I need a horizontal slider, with a knob that automatically moves to the right as the narration audio plays. It needs to stop if the pause button is pressed. Also, if you drag the slider to the right or left, it should advance or rewind the audio to that particular spot. If anyone has a script for something like this or has any ideas, I would greatly appreciate it. Thanks.
manfishj
Macromedia Navigational Bar
hi there fellas..
anybody got any idea how i could accomplish a navigational bar
like the one at macromedia.com
i tried using buttons, but it doenst seems to stay..
and the navigational bar at macromedia.com load darn fast..
how'd they do that??
any tutorial, pointers or direct tips n tricks is well appreciated..
thanks in advanced..
have a nice day...
-jassh
Arrays Used With Navigational Decisions
i have 6 buttons on my main navigation panel.
Each button plays a movieclip that brings in text information and plays a 3D animation. The animation lasts for 20 frames from start to finish. The last frame is where all the information is displayed on the main stage.
As i press any of the buttons i want Flash to check to see whether any of the other buttons have already been pressed (and the corresponding movieclip has played)
If flash finds that any of the movieclips have already been played i have an instruction to rewind the clip and play the clip relating to the button that has just been pressed. If no buttons have already been pressed then flash only plays the movieclip relating to the button pressed.
I have script that uses alot of "if" and "else if" statements looking at ._currentFrame positions and boleans set false if a clip is on frame 1 and true for any other frame.
Should i be using arrays to sort through the data more efficiently.
If so then can anyone direct me to a related tutorial or give me further instruction on the matter.
Example code on one of the buttons
//code starts here
on (release) {
if (_root.but2._currentFrame == 10) {
_root.but2.play();
play ();
} else if (_root.but2.boolbut2 == true) {
_root.but2.gotoAndStop(1);
play ();
} else if (_root.but3._currentFrame == 10) {
_root.but3.play();
play ();
} else if (_root.but3.boolbut3 == true) {
_root.but3.gotoAndStop(1);
play ();
} else if (_root.but4._currentFrame == 10) {
_root.but4.play();
play ();
} else if (_root.but4.boolbut4 == true) {
_root.but4.gotoAndStop(1);
play ();
} else if (_root.but5._currentFrame == 10) {
_root.but5.play();
play ();
} else if (_root.but5.boolbut5 == true) {
_root.but5.gotoAndStop(1);
play ();
} else if (_root.but6._currentFrame == 10) {
_root.but6.play();
play ();
} else if (_root.but6.boolbut6 == true) {
_root.but6.gotoAndStop(1);
play ();
} else {
play ();
}
}
//code ends here
In this particular script there is no use of the code that plays the movieclip backward - all this does is see whether a clip is on frame 10 and if so then it plays the clip further - frame 10 onward in each clip is a reverse of the first 10 frames.
Can any of this code be put into arrays and examined sequentially?
Any ideas would be greatly appreciated
Navigational Menu Bar - Question
Hopefully this is a simple question. I have created a navigational menu bar that has 12 different sections that the visitor can choose from. I would like to have this navigational bar stay at the top as the viewer moves from section to section. The navigational bar is somewhat complex (at least to me) and has multiple layers. What is the proper way to place the navigational menu bar on each section? Do I just copy and paste the frames that span over several layers and change some of the basic scripting or is there an easier or more correct way to do this?
Thanks for any feedback,
Tom
Urgent Navigational Menu Help.........
Need help regarding Navigation......
I wanna make a navigation menu and its sub-menu and its sub-sub menu.
I'm working for a tube fitting company where they want a simple horizontally scroller menu and its sub menu.
The navigation should be like
Tube Fittings--->Tube to male-->Metric and Fractional.
Something like
TUBE FITTINGS-//
----------Tube to male pipe thread-// ---Metric/Fractional
----------Tube to Female pipe thread-//---Metric/Fractional
----------Tube to Tube-//---Metric/Fractional
and so on ......
When I roll over on "Tube fitting", Tube to male....menu should appear, and when I roll over on it, "Metric/Fractional" should appear and it's having a link. Every metric/Fractional buttons having a link. And there are around 17 menu i've to make on same page.
Please suggest me any code(scripting) that should not take lots of buttons to make and should not take more time to load.
Any Suggestion will be appreciable...
Navigational Probs On Loadmovie
Hey people,
I got a problem. I have a a flash movie(x). I have a button on it that navigates to another movie(x). I do this by doing a loadmovie function.
The problem with this is that I want it to load the movie(x) but I want it to go to a certain frame within that movie rather than start at the begining. Can ya guys help please?
Clapper John VD
Advice On Where To Add The Navigational Links
Here is the main page of the site I'm making, http://coruffryders.com/ where do you think would be the best place for the navigational links? left side or bottom? What im trying to do is when they click the link it will show on the location of the Ruff Ryders Logo. Kinda like frames? I'm designing buttons now in photoshop and just need some advice on where is a good place to add them.
thanks
Rotating Navigational Menu
If any of you have ever played Tomb Raider or something and have seen the menu, you'll know exactly what I'm talking about.
Basically it's a circular-motioned rotation of icons. What I want to do is when you move the cursor towards the left side of it, it moves to the right and vice versa. Then you can make a selection through that navigational menu.
Are there tutorials that are like this on Flashkit or other sites? Hwo would I make something like this? Would it be easy?
Help is much, much appreciated. Many thanks in advance.
[F8] Basic Navigational Issue
i have a circular navigational menu, each with submenu mcs..
Everything works properly, except that even though for all the submenus, the alpha is set to 0, the mcs overlap and the buttons dont work properly..
Is there a way to completely disable all the other submenu mcs while one is open ?
Help With Reusing Navigational Buttons
hi, i have created a scrolling text out of a dynamic text box and i have used two triangles (one pointing up, and one pointing down) as buttons with this script attached to them respectivly
ActionScript Code:
on(release){
facil_text.scroll -=1;
}
and
ActionScript Code:
on(release){
facil_text.scroll +=1;
}
. now this works fine the first time i use it. in a separte frame on the timeline i need scrollable text again (different text) so I created the new dynamic text box, gave it an new instance name, draged the same buttons (triangles) from the library to the stage, gave it a different instance name and tried to script them so they would scroll the second dynamic text, but nothing happened. i was able to overlap the first and second text boxes on the same frame and even though the second set of buttons were set to scroll the second dynamic text they were scrolling the text in the first dynamic text box. so i guess my question is, how can i reuse the same buttons to do different functions in different parts of the timeline. i was thinking that by seperating them with a keyframe and then writing the script for a button, would limit that script only to that keyframed section. Any suggestions are greatly appriciated. i'm relativley new to action scripting. I am using Flash MX Pro 2004
thank you for any help in advance.
Urgent Navigational Menu Help.........
Need help regarding Navigation......
I wanna make a navigation menu and its sub-menu and its sub-sub menu.
I'm working for a tube fitting company where they want a simple horizontally scroller menu and its sub menu.
The navigation should be like
Tube Fittings--->Tube to male-->Metric and Fractional.
Something like
TUBE FITTINGS-//
---------- 1. Tube to male pipe thread-//
---Metric/Fractional
---------- 2. Tube to Female pipe thread-//
---Metric/Fractional
---------- 3. Tube to Tube-//
---Metric/Fractional
and so on ......
When I roll over on "Tube fitting", Tube to male....menu should appear, and when I roll over on it, "Metric/Fractional" should appear and it's having two different link for each. Every metric/Fractional buttons having a link. And there are around 60+ menu i've to make on same page.
Please suggest me any code(scripting) that should not take lots of buttons to make and should not take more time to load.
Any Suggestion will be appreciable...
Navigational Sliding Element On RollOver
hey actionscripters.
i'm trying to tween the navigation for this site i'm doing. i have an ornamental graphic symbol that i want to slide up and down (no x-axis movement) as the mouse rollsOver the navigation.
it is actually the exact idea of the animation on this sites' navigation:
http://www.herspaceholiday.com/main.html
i don't really know how to approach this. does the sliding element need to be a movieclip? what commands am i going to use?
what do you think?
thanks.
Navigational Coding. Unsure Of Technique Name.
I am currently trying to design a site but am running into some problems with my scripting. I am trying to create this technique but am not sure how to do this. If anyone can give me some tips/hints or tutorials that would be great! I have a bunch of different sections on my page and want it to be so that when a user clicks on the button for a section an effect like below is played out. I don't know how to explain it other than the unseen/clicked on pages zoom by the user and are not displayed. The movie stops on the page that is supposed to be present.
I don't know how to set this up.
See my horribly crude drawing here:
http://magnolica.com/crudedrawing.jpg
Feel free to commend here or on my personal journal if you think you can help. I have AIM/Msn and email.
Html Javascript Navigational Bar Problems...
Hey there, having a few troubles with my site, it's an HTML page split into lots of cells, the important ones ID'd and I dont understand why it is not doing what I want it to...
Here I want the function editWelcomeCell to change the text within cell 'test' to "My dog has fleas.", but at the moment if i try it, nothing happens.
within my html javascript bit...
function editWelcomeCell(html){ //v.1.0
var targetcell = document.getElementById('test');
targetcell.innerHTML = html;
}
code input to actions button in flash...
on (release) {
var cell_html = "My dog has fleas.";
getURL("javascript:editWelcomeCell('"+cell_html+"' );");
why is this not working??? Is there something fundamental I'm missing here?!?!
Thanks,
Josh.
I Need To Created Additional Navigational Btns
I am creating a site for a client. I don't like drop down menus, so what I want to do is create a forward and back button to navigate the sub pages. For instance my navigation is
Home
Abstract
Animals
People
Whereas with animals have additional pages labeled lions, elephants, tigers ...etc When you click on animals I want a forward and back btn to navigate to the ohter pages. I've tried a couple of tutorials I found on kirupa.com and flashkit but they do not work. Can someone please lend a hand with this. If it will help I can provide a link for the swf file.
Deactivating A Hyperlink Navigational Button
Hi:
As shown via http://www.kirupa.com/developer/mx/hyperlink.htm -- I can create a Hyperlink Navigational Button
However, how does one deactivate a hyperlink navigational button that is self-linked or self-referenced?
In other words, most web sites have multiple pages with a standard set of navigational buttons appearing on each page. Typically, when the user clicks a button, he/she is sent to that page. But, what if the user clicks a button that is linked to the page currently shown? If the button is active, then the page reloads -- which is a waste of time and something I don't want. However, if the button is deactivated, then nothing would happen -- which is what I want.
So, how does one deactivate the button who's hyperlink is the same page?
To do this, the button must somehow know the current page. I know I can get the current page from a call to the CGI environmental variable SCRIPT_NAME, but I don't know how to do this from flash.
I have searched for over a week now through all the reference material I can find with no idea of how to do what I want. Furthermore, I have posted this question my times in several different forums without a single reply. I would think would be a common problem and, as such, how does everyone solve it?
Any ideas or solutions?
Many thanks for any replies.
tedd
Zoom Navigational Menu Effect
I am so close to figuring out this effect I'm trying to achieve for a navigation menu. Please provide the final boost to get me there.
The menu I'm after is a horizontal menu across the top of the content. The closer the mouse position is to a particular button, the larger the button becomes. In effect when you have 9 or 10 buttons in a row the zoom effect becomes sort of like the new Mac menu. Another example is jenniferlopez.com -- great example.
Does anyone know of a tutorial that outlines how to do this.
Here's what I'm stuck up on... the math.
As I see it there are 3 points. The far left extreme that effects the button scale. The center of the button -- which is maximum scale, and the far right of the button's influence. I'm setting up my factoring of mouse to button proximity using myObject._xmouse -- this returns the mouse position relative to the button.
No code really to post -- the only code that works is the mouse proximity to the button.
Rather than ramble on, does anyone know of or have a tutorial?
Thank you,
Joshua
Deactivating A Hyperlink Navigational Button
Hi:
As shown via http://www.kirupa.com/developer/mx/hyperlink.htm -- I can create a Hyperlink Navigational Button
However, how does one deactivate a hyperlink navigational button that is self-linked or self-referenced?
In other words, most web sites have multiple pages with a standard set of navigational buttons appearing on each page. Typically, when the user clicks a button, he/she is sent to that page. But, what if the user clicks a button that is linked to the page currently shown? If the button is active, then the page reloads -- which is a waste of time and something I don't want. However, if the button is deactivated, then nothing would happen -- which is what I want.
So, how does one deactivate the button who's hyperlink is the same page?
To do this, the button must somehow know the current page. I know I can get the current page from a call to the CGI environmental variable SCRIPT_NAME, but I don't know how to do this from flash.
I have searched for over a week now through all the reference material I can find with no idea of how to do what I want. Furthermore, I have posted this question my times in several different forums without a single reply. I would think would be a common problem and, as such, how does everyone solve it?
Any ideas or solutions?
Many thanks for any replies.
tedd
Zoom Navigational Menu Effect
I am so close to figuring out this effect I'm trying to achieve for a navigation menu. Please provide the final boost to get me there.
The menu I'm after is a horizontal menu across the top of the content. The closer the mouse position is to a particular button, the larger the button becomes. In effect when you have 9 or 10 buttons in a row the zoom effect becomes sort of like the new Mac menu. Another example is jenniferlopez.com -- great example.
Does anyone know of a tutorial that outlines how to do this.
Here's what I'm stuck up on... the math.
As I see it there are 3 points. The far left extreme that effects the button scale. The center of the button -- which is maximum scale, and the far right of the button's influence. I'm setting up my factoring of mouse to button proximity using myObject._xmouse -- this returns the mouse position relative to the button.
No code really to post -- the only code that works is the mouse proximity to the button.
Rather than ramble on, does anyone know of or have a tutorial?
Thank you,
Joshua
Bouncing Ball As Navigational Button
I have a number of bouncing balls that I want to use as navigational buttons. At the moment I have an on(release) event on each ball which brings the user to the relevant page, the problem is that sometimes the way the balls fall they can be behind or in the way of other balls, you can move them and throw them around but if you move the ball in front of the one you want to get at, you get taken to this balls link. Is there any other events I could use, for instance that you have to double click to go to the link ?
Thanks in advance
Super Dynamic Navigational Banner Implementation
I cant figure this banner out. The effect is used in
all types of si-fi films and shows. It really has me
stumped. Please help out a fellow artist beginner
scripting engineer. I dont need to know how they did it
I need to know how I can do it in MX. Note there version
was not taking me to any URL although I know it can be done.
Please provide a lead, a script, tut, anything that
can help me get to that result.
http://www.jolt.ca/portal/index.php?...tpage&Itemid=1
Click on the the banner "Welcome to jolt media".
Would anyone care to explain this navigational
result?
Dont be afraid to get complicated. Email @ xtc3d@hotmail.com
Please help me. Thanks
Navigational Issue Using Simple Frame Label Buttons With A Twist
Hello everyone
Wanted to see if someone could shed some light on a small problem with this navigation idea I had.
I designed a navigation menu that has 4 buttons. When you rollOver btn1 it goes to a nested movie clip and plays the frame label "a1" which changes its color. On rollOut it plays the "a2" which restores it to its original color. Very easy so far and common. onRelease the button is instructed to stay a a1 to indicate its on.
Here is the twist. When you roll over btn1 part of the animation covers up the other buttons. Same thing is you roll on btn2 for example, it colors the buttons accordingly.
So I started off by creating a variable and setting it to 0. Then I built my rollOver, rollOut, & onRelease code for each button and said if the variable is not != to whatever number then play the frame label using that logic but it has failed to fully work. The other button even though its covered up with a different color still works so it just makes a sort of glitch.
Here is my code and the attachment has the .fla and even a jpeg of what I trying to achieve.
Code:
var link = 0;
stop();
nav.nav1_btn.onRollOver = function() {
if (link != 1) {
nav.gotoAndPlay("a1");
updateAfterEvent();
}
};
nav.nav1_btn.onRollOut = function() {
if (link != 1) {
nav.gotoAndPlay("a2");
updateAfterEvent();
}
};
nav.nav1_btn.onRelease = function() {
if (link != 1) {
//_root["nav.nav1_btn"+_root.link].gotoAndPlay("a2");
//trace ((_root["nav.nav1_btn"+_root.link]));
_root.link = 1;
}
};
nav.nav2_btn.onRollOver = function() {
if (link != 2) {
nav.gotoAndPlay("b1");
updateAfterEvent();
}
};
nav.nav2_btn.onRollOut = function() {
if (link != 2) {
nav.gotoAndPlay("b2");
updateAfterEvent();
}
};
nav.nav2_btn.onRelease = function() {
if (link != 2) {
//_root["item"+_root.link].gotoAndPlay("b2");
_root.link = 2;
}
};
How To Make The Event Based Block Into Procedure Based
i'd like to do something like this
var a = getXML("xmlfile.xml");
However, the xml component is event based. I only get data when onLoad is fired.
How to wrap this kind of event based function into my custom function?
Frame Based V/s Script Based Animation ?
I guess I'm looking for feedback about your methodoligies for animation. I've been practicing Actionscripting for 3-4 years now and sometimes I get stuck in the thinking that I have to animate everything by scripting the properties of movieclips. I know there are instances were its pointless to script animation or to animate what should be scripted.
What kind of balance if any do you peoples employ when doing a project. I'm working on one right now that I'm scripting out but sometimes I feel like I'm just doing extra work.
A Newbie Here :p , Trying Hands On Flash Intro And Flash Based Forums :D
Hi everyone, just joined these forums 1 hour ago . I am working on a project, due on 6th Jan 2005....
Its all about an Indian Musical Genius , A.R.Rahman .
By the way, i am pretty much done with the Intro...
Need Some feedback ya'll
Here is the link : http://www.Arrfans.com
Now lets Rock , feedback extremely appreciated . By the way, check out the
FLASH BASED FORUMS
http://www.Arrfans.com/forum
Thanks !!!
|