ActionScript 2.0 :: Dynamic Scrolling Mask Within Menu System?
Sep 24, 2004create a scrolling mask effect controlled by a menu system. I see this effect everywhere but no tutorials.
[URL]
create a scrolling mask effect controlled by a menu system. I see this effect everywhere but no tutorials.
[URL]
I'm trying to create a menu system and I've created a "Button" with a dynamic text field on it. I'd like to set the text of the button when I add it to the stage but I'm having some troubles. Does this work differently then a dynamic text field on a movie clip? I've done it successfully on a movie clip.
var test; test = new menu_item();
stage.addChild(test); test.x = 610; test.y = 100;
test.menuText.text = "Hello World";
I get this error message in my output window...
TypeError: Error #1010: A term is undefined and has no properties.
at Main$iinit()
I'm a self proclaimed n00b when it comes to as3, but I'm learning rapidly.I followed this guide and created a great particle system: url...What I'd LIKE to do, if possible, is make those particles that are generated be the only part of an image that shows(mask). The tutorial contains a fla with a movieclip of a circle, two classes...particle and ball which call the movieclip and generate it on the stage.
View 1 RepliesI have created a vertical menu that scrolls through menu items in a movie clip.There is a big white gap when the movie clip runs out, and it snaps back to the beginning.I would like it to scroll seamlessly, having the end join up with the beginning again without any space.I would like it to scroll to one end of the list and STOP, and scroll back the other way and STOP - without any white space.URL...
View 1 RepliesIt's a flash banner with a simple image, and then I want an xml of quotes that get pulled into the banner a mask scrolls in and then when it scrolls out, the words have changed to another random quote?When I mean scroll I mean the quote remains in place but a mask appears (from right to left) that covers the words, once the 'mask has got to the left side of the quote all the letters are gone - the mask the reverses (right to left) to reveal a new quote."Random Quotes from XML mask swap in Flash" isn't getting the right results!
View 5 Repliesi was wondering how this menu was done, i have been looking for tutorials and several threads, but havent found anything, where should i start reading about this ?
View 2 Repliescoding this menu system and cant find any tutorialsor templates on multi level (4) drop downs. I dont know weatherto make everything a movie clip and load the mc's or to place buttons inside a movie clip. Everthing will be onrollover.
View 14 RepliesI need to create a rather detailed menu system that will load thumbnails of movie clips that I can then double-click on and it will load them into the display list of another movie clip.
I think I can code the loading part but I've never dealt with creating flash menus before and don't have any help in the 5 as3 books I own.
Is there a way I can make the menu generate the thumbs from an external file that I can just update when I need to instead of editing the flash file?
I'm wondering if anyone would be able to point me in the direction of a tutorial using action script 2 on making an expanding menu system. [URL] This one is a tutorial but I could do with one from the start step by step!
View 1 RepliesI had to make a new website and just about got it done in AS2. The problem is that some of the buttons within the menu had sooooo much AS that i was getting very lost. Heres the site i made [URL] I now have to create a new site but i dont want a repeat of last time. The issue i have is that for each of the buttons i would tell it on(release) to go and chech what frame each one of the other buttons was on and if any were not in their "Off" mode it would tell it to play from a lable within the button movieclip as well as tell the text relating to it to fade away. NOW Ive tried doing this as a function in the new project but its not working no matter what i do.
View 8 RepliesI'm new to actionscript 3 and could really use some help to develop an xml driven menu system. I would like to make the menu system similar to the navigation used in this site. [URL] I just need a simple version of this maybe 2 - 3 categories on the left and all of the children for them on the right.
View 0 Replieshow to do this sort of navigation system? Just like the one used here:
[URL]
Click on "Jewels to love madly" and click Rings. A vertical bar comes up that slides up and down with image links.
That's the effect I want to achieve but I'd like it to be horizontal, like the one here:
[URL]
except that one doesn't use images.
I have a menu system at the top of the screen with 4 tabs - they look like the tabs on a filing system. When a tab is clicked it should enlarge slightly to show that it has come to the front and push the other tabs away from it so the layout is kept intact and nothing is overlapped.
The left-hand edge of the farthest-left tab should always be in the same place - that tab can only expand to the right. I have a rough idea about how to go about this but it's all on the very frontiers of my knowledge and i know it's got some maths in there.
I can supply images but there's not really any code as yet because i don't really know where to begin.
Ive just followed the tutorial about creating a full flash site using root. I got that working fine. My problem occurs when i want to use tellTarget in my menu system as well.
The movie looks for the actions contained in the mouse overs of the menu in the main movie. This is the error message i get:
[Code]...
Here is the code
Code:
//############# Breaking Edge Band Website ##############
// Created by Sam Wood. Note that everything written after
// after a "//" indicates that I am commenting on
// the codes underneath it.
[code]....
As you can probably guess i am making a rotated menu system. It all works fine except the code above.Basically what happens is that when I click the "MUSIC" button, then the "HISTORY" button, then to the "MUSIC" button and finally the "HISTORY" button, it seems to do the opposite clockwise direction to what it did the first time i click on it.....
I built a quick and dirty site header banner, with text masking a scrolling background of several images. The text is the mask, so the images show up inside the text. Viewing it works in Flash CS3, but when I publish it, I see the images scrolling from right to left, but they are not masked.
View 3 Replies[code]...
i just copied this code from the source and experiments, just want to ask for help on how can i change this so that the scrolling of the contents is much faster.. also how can i change and remove the rectangle object and use the mask for scrolling in my movie
I wanted to put there a background that will change (fade out and than fade in another one) according to menu position. It would load external *.swf's. For example I'm in "A" and the background is "bg01.swf", after clicking "B" the "bg01.swf" background would unload/stop (fade out) and than the "bg02.swf" would fade in and start to animate. I can't put the right script in the menu system. The source files are attached to this post (Flash CS3 source file and the backgrounds):
View 9 RepliesI am building an autocomplete menu system, and need the general function to be simple as I will be adding a lot more functionality to it later...
this is my start, but it returns too many results, how can I bind the results?
[Code].....
I'm creating a playlist for a music player, and I've got the song names displaying correctly in my songTitle holder MC, but there's limited space for the song names to be shown in, and I'm going to eventually have it inside a scrolling movieclip. Problem is, the text inside the textfields disappear when I try to add a mask to the movieclip they're being loaded into. I've tried adding all combos of embedFonts, antialias, and blendModes I ran into, to no avail.how to mask dynamically created textfields with a non-dynamic (Flash IDE-made) mask.
Code:
for (var i:int = 1; i <= _size; i++) {
var pl_artist:TextField = new TextField;
//all embedFont = true and antiAlias commands no workie
}
first I had:
maskedImg = getChildByName("current") as MovieClip;
maskedImg.mask = mymask;
and everything worked properly. Then I removed the movieclip from the scene, exported it to Actionscript, and changed the code to
maskedImg = new mymovieclip();
addChild(maskedImg);
maskedImg.mask = mymask;
and now I don't see anything on the scene. If I comment out the line assigning the mask I can see the movieclip although. The mask is created dynamically in both cases.
I'm in the process of learning OOP and have run into a small problem. I'm trying to create a basic menu system where you can rollover and rollout of all links. When you select a link, it stays highlighted until you click another link.I've given the 5 links instance names like (link0, link1, link2, link3, link4) and given them each an ID of (0,1,2,3,4) - respectively. I used to be able to do something like this:
Code:
this.onRollOver = function(){
if(this.ID != _root.selectedLink){
this.gotoAndPlay('in');
}
[code]....
I've been trying to find a solution to this for a while, but I haven't had any luck.I'm making a menu system that uses sliding movie clips instead of separate pagesbut when you click on the 'study at UWS' button, the nested slider kind of goes nuts, until you press on of the side buttons.
View 3 RepliesI need help coding this menu system and cant find any tutorials or templates on multi level (4) drop downs. I dont know weather to make everything a movie clip and load the mc's or to place buttons inside a movie clip. Everthing will be onrollover.
View 1 RepliesI created a dropdown menu by using a mask over animation. When you rollover the correct button a mask lowers down showing the dropdown buttons. then you can roll over each one showing a small tint animation. I wrote a script on that layer telling it to gotoAndPlay(21) when you click any one of the buttons. however whenever I click on one of the dropdown menu Items nothing happens. Is this because of the stop action I have at that frame?? and if so How do I get around that.
View 2 RepliesI am having trouble with a sub menu that I built for a website. The buttons in the sub menu work fine when they are not inside a mask or they are on the first frame of the movieclip.The problem is they nedd to be hidden under a mask or not on the first frame of the sub menu movieclip. I do not know how to go around doing this. Does anyone know what I can do?Also the code works fine until I put the buttons in a mask or they are not on the first frame, but when they are under the mask or second frame I get this:
View 3 RepliesI have created a sliding menu. But that is static( the number of rows are fixed). i want to create a menu with the number of rows dynamic.I have attached the fla file here.
View 10 RepliesI'm building a site with flash (obviously) and it has multiple pages, now on one of these pages i wanted a scrolling menu with thumbnails that when you click them they take you to another page, but I'm not quite sure how to go about it. The methods I already tried haven't worked.
View 9 Repliesit is unbelievable how many ppl have asked for help on this that i've seen and have been ignored...all i see is tons of ppl viewing and noone bothering to reply..not even to say they doan know how...well i hope that that is not the case with this post i need to scroll a vertical xml menu as per "the xml driven menu" [URL]..
i don't need a menu with a text area or anything like that...just a plain old menu that can scroll because my list will be very long. something like the infinite menu created from xml would be great too..
how to create a scrolling menu. Can't find one that works though! Tried these:[url].....Running the CS4 trial.
View 1 Replies