ActionScript 2.0 :: Get An Effect With Navigation?
Apr 21, 2004
I need to get an effect with my navigation and I have most of it sorted but there is one thing I can't seem to get right.I have an about button, and when I click it, I want all of the buttons (including the about button) to move to a new location on the stage so that each section of the site looks different, if you get what I mean.
I was also wandering if the buttons could be moved and ease into position aswell?I hope this can be done by actionscript, and if it can it's probably easy, but I can't seem to move anything with actionscript that isn't a MovieClip.
I have actually managed to get about 99% completed and published but I am having a issue with bleed through when clicking (or loading and unloading swfs) when navigating from one page to another, the intro page/whole site opening is appearing for a split second or even sometimes longer before the new (swfs) page loads, possibly ran into the same issue and managed an easy fixCheck the site to see what I mean it is the best way to understand the problem, after intro navigation buttons are enbled and then click to see the effect I am reffering to. (opening interior design page flickers for half a second then disappears)P.S. Here is the code I believe where my error/fix is at !
var Xpos:Number = -493;var Ypos:Number = -221;var swf:MovieClip;var loader:Loader = new Loader(); var defaultSWF:URLRequest = new URLRequest("swfs/myEntireSite.swf");
I'm in the mist of a flash project and my client really liked how the (www.nike.com) navigation on this site works to get you into their multitude of sites. I don't care about the sliding and following the mouse. I only care about the showing of "submenus" they way they are doing it to the side with the easing and reveal effects.I would like to create the navigation effect with XML and Actionscript 2.0.
I am just learning Flash and ActionScript and I am having a tough time with AS syntax. I am trying to create a rollover navigation effect similar to that of Gnomon School.
I will just try my best to explain my document, I have a movie with 4 different content pages on the same layer I have buttons to take you to each page when clicked. Once clicked the content holder has a scale tween that scales to 0 then to full size to create like a box in and out effect with the text content appearing using Alpha once the content box is full size. The box out effect happens after the content has been visible and I would like it to be the in-between effect between the different content pages. So I guess I am asking how to continue playing the rest of the tween then goto and play the next relevant page after the button click at the moment my code is navigating but missing the last part of the tween as I am not sure on how to get it to play to the end of the tween then carry on from that frame to the beginning of the next content page.
i have a menu which has 10 items. there are sub menus for each of them. the submenus total to 40 items. and when i click on ech of these submenus, then i need an image to appear on a part of the stage. Now, I need the same effect for ech of the image. Say when i click on the 1st submenu of the 1st main menu, the image of an apple comes from the bottom the stage to the centre of the stage.
Now when I click on any other submenu - say 1st submenu of the 3rd main menu, this apple image should go off the stage from the top and an image of mango should appear from the bottom of the stage to the centre of the stage (same as how apple image appeared). So, basically, i need any image to come from the bottom of the stage to centre of the screen and whn a diff image is calld, the image on the screen shld go off frm centre to the top.
check out: [URL] The typewriter effect here is very fast, much faster than when I use onenterframe to produce the effect. Does anyone know how this is done?
I really like the text effect Pom used in the footer contest, and would like to use the same grid-type method of creating mc letters but with a different effect. i understand how to change the parameters and shapes of the letters, but can't seem to figure out which piece of code is purely for the explosion effect. basically, i want the letters but with the 'Repel' effect from[URL] here is Pom's AS:
[AS] cellSize=3; radius=10; damp=.85;
[code]....
and here is the .fla using the repel effect using pre-made mc:
It's a bit of decoration to go behind a logo. When the dMove var is commented out I get the appropriate line of squares fading in and out at random spots along the x = 78 axis, but when introduced nothing appears at all...
in a nut shell I have found this wicked piece of open source actionscript.
It responds to the cursor and was wondering if it is posible to modify the x_position and y_position actions and make the action respond to a moving object???? (a movieclip with a variable name)
is this to complicated to attempt or is it doable??
I want to be able to make a movie clip (that acts as a button) so the roll over effect finishes before the roll off effect is triggered. Like if a marker circles a button, i want the circling animation to stop before the roll off effects happens. Anyone know how to do this.
Several months ago I created this, The Halo Galactic Map. After talking with a lot of people on their opinions and such, I wanted to take it to the next level and replicate the map found in Mass Effect and Mass Effect 2 shown here.
Based on my knowledge of Photoshop and some... and by some I mean very VERY little Flash... I took it upon myself and another member of the community to create this.
All was going well until the member decided it wasn't his cup of tea. Basically, he didn't like that he couldn't do it well enough.
Ok, so I've installed Flash and tooled around with it for a bit, but I want to get going. I know this isn't the best place to post this thread - I know there are probably better places - but I just wanted to know where and what to begin with. I have the whole thing planned out in levels, layers, and motion...
I�m trying to have two navigations in the same scene where i want both to load external swf�s but i�m having problems with the 2nd one.
I wrote this code in the first frame of my fla instead of writing it in the .as file. I don�t know if i�m doing well with this but i also tried to insert the same code in the .as but the same errors show up[code]...
I'm currently developing a full flash site. I've made the dropdown navigation menu with flash also. However, whenever I insert or import it into the webpage .fla, nothing works. When I preview the navigation menu swf file it works perfectly, ie, the mouseover effects, however I lose all actionscript coding when I bring it into my webpage .fla, what am I doing wrong?
I just missed the Flash Q&A @ Facebook... didn't get an answer to my navigation question: I know how to go from 1.swf (scn.1) to 2.swf (scn.1) and back. (buttons) I don't know how from 1.swf (scn.1) to 2.swf (scn.1) then back to 1.swf (scn.3)
how to change the focus of movieclips and buttons when I press the arrow keys of the keyboard. Its kind like the tab navigation but with de arrows keys, in the four direcctions. This flash app i'm developing has to be handled 100% with the keyboard.
I have just read the tutorial on hyperlinks in dynamic text boxes.Whis is very good but not quite what I need.I want to load in my navigation from external text file using SO's.So from a link in my text file I want to go to a named frame or load a new movie.I have managed to make a link work inporting it from the text file but do not know how to get links to work to other content. I really want to start a function from these text links within the SO.
Etiam nisi ligula, sodales non, pharetra eget, tempus ac, purus. Vivamus sagittis mollis risus. Proin dictum libero a elit. Curabitur feugiat, metus sit amet convallis imperdiet, est tortor volutpat nulla, eget mollis diam nisi vel lacus. In diam ligula, euismod eu, dapibus non, fermentum quis, urna. In consequat pede eget erat. Quisque luctus felis. Mauris dignissim. Fusce pulvinar, dolor sit amet porttitor egestas, quam massa tristique pede, nec porttitor diam odio in magna. Mauris congue mauris eu lectus. Duis eu felis ut ligula consectetur blandit.
I have a navigation bar made in flash that I placed on a dreamweaver document and I don't know how to make the links work with the flash. How can I tell the flash to go to the certain dreamweaver docs?
(as) function onLoad(){ var menu :Array = [ {label:"Home", url:"[URL]"}, {label:"News", url:"news.html"}, {label:"Sports", url:"sports.html"}, {label:"Features",url:"features.html"}, [Code] .....
I need to move my navigation to top left of the stage, and it is appearing at x:275 y:200...Can someone look at my flash navigation? I try to do it myself but it wont move the entire navigation just some part, do i have to do this manually or their is a easy way of doing this?
bit bricked up with this one I'm trying to take screenshots at every node in the navigation so that I can put it in the next node as an icon (as a sort of back button).I've created a package
I'm currently developing a full flash site. I've made the dropdown navigation menu with flash also. However, whenever I insert or import it into the webpage .fla, nothing works. When I preview the navigation menu swf file it works perfectly, ie, the mouseover effects, however I lose all actionscript coding when I bring it into my webpage .fla, what am I doing wrong?
I'd like to have a function that tells a MovieClip to go to a specific frame and then in this frame, look for a scpecific tag in an XML file, based on the frame's label, and then take some text (a bunch of actually) that is in the XML node and put it on a TextField.
For example, clicking on a "Next Frame" button it will go to the next frame (which has a label "intro") of the movieclip and then search "content.xml" for the tag that contains the attribute name equal to "intro" and then put the content of the ".@TEXT" node into an empty TextField that is already positioned in this "intro" frame. Am I obligated to have the code in this specfic frame? I'm doing it because if I have too much text within textfields in an FLA file it becomes incredibly lagged and therefore impossible to work.
I've tried to use the event ENTER.FRAME to do that but it rendered the SWF lagged and consomming way too much memory.
I have created a basic site with 7-8 pages which are each given their own label on the timeline. I have created a function called navigate which as the name suggests navigates to each page. This code works and does navigate to all pages within the site. But on only one page ( the last one on the timeline ) I get the error " TypeError: Error #1009: Cannot access a property or method of a null object reference. at index_fla::MainTimeline/navigate() " I will also post the navigate function which is
// create function to react to the navigation listeners function navigate(evtObj:MouseEvent){//trace to show that button is identified when clicked trace("the "+evtObj.target.name+" button was clicked!") //go to the section clicked on gotoAndStop(evtObj.target.name) //stop the video playback videos_mc.chili_player.stop(); } I have double checked all labels and instance names and the grammar and am pretty sure it is nothing to do with that.
Got a WordPress site and embedded Flash navigation which is showing fine on the home page in IE, but not translated across to the other pages. All pages show fine in Google Chrome and Firefox, what the issue could be with IE? [URL]
ActionScript 3 is just too tough for me, so here's a probably very simple question: How do I manage to create a navigation bar across all Scenes (6) and Frames (125 per Scene)? how to create the button and the AS, but it's only valid for one single frame then...
How I did it:
Code: land.addEventListener(MouseEvent.CLICK, fl_ClickToGoToScene_11); function fl_ClickToGoToScene_11(event:MouseEvent):void
[Code]....
Search function here keeps crashing or not loading, is that normal?
how to change the focus of movieclips and buttons when I press the arrow keys of the keyboard. Its kind like the tab navigation but with de arrows keys, in the four direcctions. This flash app i'm developing has to be handled 100% with the keyboard.
Actionscript 3.0 I've created 5 buttons that are set up to go to different frame labels on a timeline. They work fine individually (when going from one part of the movie to the new area where I have navigation, the first button clicked will work. Any of the 5. But when I try to go to another button in the navigation..nothing. Here's the AS. Am I missing something?
I have a quick question for any flash smartypantses out there....I'm looking for the most efficient way to do this weird thing...
I'm trying to create 6 menu buttons (all text) that when you click one, a submenu drops down (more lines of text - that fade in individually).
[Code]....
What I'm having trouble with is figuring out how to get this submenu to "close back up" (animation) when someone clicks one of the other main menus (Colors or Locations, in this example.)
How can I get it to perform this animation BEFORE it navigates to the next menu section?