ActionScript 2.0 :: Reate A Multi Stage Zooming Menu?
Sep 6, 2005
Would anyone have any tutorials on how to create a multi stage zooming menu like in the following demo links?
[URL]
Is this done with actionscript or manually tweening several clips? I can't quite seem to get my head around zooming in and out of several layers. I am currently looking into the Laco tween class as a possible solution, but I was hoping that someone might already understand how to achieve this effect.
View 1 Replies
Similar Posts:
Sep 25, 2006
[URL]..i've been trying to create something like this for ages but haven't been able to - quite new to actionscripting.anyway, i want to be able to display text in the boxes so that it relates to my website. at the moment, it'll only generate "item0, item1, item2, etc." but i want the text to display "home, gallery, etc."
here's a part of the script that i think needs to be edited to get it working but i don't seem to be able to do it.
[Code]...
there is 1 movieclip in the library called "item" and this is being re-used i think. but i don't know how to edit this source file to allow different text to be shown. also, if someone can let me know how i can add in the actual links that would be fantastic. ie: i want to go to home.html when home is clicked, go to gallery.html if gallery is pressed.
View 3 Replies
Oct 22, 2009
I had found a script which zooms to your mouse position, but is there a way to adapt this so it only zooms in on the particular mc and not the mouse position?
[Code]....
View 1 Replies
Oct 2, 2009
Based off this script:
onClipEvent (mouseDown) {
zoom = true;
dir = 1;
if (dir == 1) {
pt = {x:_root._xmouse, y:_root._ymouse};
}} onClipEvent(mouseUp) {
[Code] .....
How would I go about zooming based on the mc you select rather than your point on the stage?
View 0 Replies
Nov 4, 2009
I have a full screen movieclip, in which there are 5/6 buttons that can be draggable around the stage.Now, when i click on a button, a series of images appear at the side of it.What i want to do is to zoom in and center the stage on the photo if i click on it (something that you can see here: ml under the "projets" button, try and click one photo).It may seem tricky since you can actually drag and move the buttons, but logically it is not since i can retrieve the button position (and i place the photos inside it, so the distance between the button._x and the photo._x is in some way retrievable).
Anyway what i'm finding really tricky is the method to zoom and move the stage camera in order to center the photo.i thought of using the transition tweens on the _root in order to change the _xscale and _yscale to zoom, and the _x and _y to move itBut from here i have two problems: how can i determine the right amount of zoom if the stage is in full screen (so with all resolutions possible), and how much the _x and _y properties change after the zoom is done (because it seems to me that after changing the _xscale and _yscale of the _root, it changes the _x and _y values in it, in a way in which i have to add even 2000 pixels in order to center it)
View 2 Replies
Oct 16, 2009
I have movie clip(1) on the stage, all I want to do is using another movie clip(2) as a button that when you click zooms the movie clip(1) bigger, then clicking movie clip(2) again takes it back to the original place.
_root.zoom.onEnterFrame = function() {
if (mouse_over_zoom) {
_root.zoom.nextFrame();
} else {
_root.zoom.prevFrame();
}};
I tried _parent and it will not let me save the file as flash 8 anymore.
View 0 Replies
Nov 4, 2009
I have a full screen movieclip, in which there are 5/6 buttons that can be draggable around the stage.Now, when i click on a button, a series of images appear at the side of it.What i want to do is to zoom in and center the stage on the photo if i click on it (something that you can see here: http:[url]....... under the "projets" button, try and click one photo).
It may seem tricky since you can actually drag and move the buttons, but logically it is not since i can retrieve the button position (and i place the photos inside it, so the distance between the button._x and the photo._x is in some way retrievable).Anyway what i'm finding really tricky is the method to zoom and move the stage camera in order to center the photo.i thought of using the transition tweens on the _root in order to change the _xscale and _yscale to zoom, and the _x and _y to move it.
But from here i have two problems: how can i determine the right amount of zoom if the stage is in full screen (so with all resolutions possible), and how much the _x and _y properties change after the zoom is done (because it seems to me that after changing the _xscale and _yscale of the _root, it changes the _x and _y values in it, in a way in which i have to add even 2000 pixels in order to center it
View 1 Replies
Mar 4, 2010
[URL]you will see moving "?" marks here how to do this with action, i want the position should be random every time and should continuous,
View 1 Replies
Feb 27, 2012
Basically I want to know if there is a way to go from a zoomed in version of something, and then seeing the whole image in another frame. (By pressing a button)
Let's say there's a tree, I would bascially like (upon pressing a button which I can do) to zoom out and see the whole scenery. Is there a way I can do this without actually changing the size of the image?
View 2 Replies
Aug 9, 2010
Is there a way to have multi-tiered custom context menus using AS3? i.e. I would like for a user to be able to click or hover a menu item which would bounce out another menu of options associated with it.
View 3 Replies
Mar 6, 2012
i got the drop down menu to come down once rolled over but it cancels out all other actions meaning it cancels the functions of the rest of the menu none of my other buttons work nowhow can i fix this?each button has its own action ie:
onClipEvent (load) {
num = 3;
}
[code].....
View 7 Replies
Apr 11, 2010
I'm trying to make a Image Gallery for my website by myself. However, although I can read ActionScript rather well, when it comes to writing it myself I tend to hit massive walls. Anyway I've looked at many tutorials and guides and all kinds of stuff but I still can't figure out how to get the coding to do what I want it to do. It isn't a bug because I can't get the foundations of the code down.
What I am envisioning is a initial main menu with several different selections (I.E. 3D models, 2D drawings, doodles, ect. ect. ect.) and when you click one it changes to that specific gallery. The way I thought to do it was using OOP to make a base GalleryEngine class and then implement it for the Main Menu and Image Galleries. I realize that I could do all this in flash but I think if I can get the framework of the code down that it will be easier to modify and switch out images and whatnot.
[Code].....
View 1 Replies
Apr 3, 2009
I am trying to create a menu, similar to a dock menu but that just magnifies the images when rolled over (rather than overly crazy carosels or massively zooming docks. and secondly...the dock menu would link to separate flvs that are on a streaming server. I've never worked with one before and wonder how to connect them to my flash. I'm trying to create an flv player, sorry, shouldve said earlier... but one that only plays 6 vids (linked to by the magnifying dock menu).
View 2 Replies
May 25, 2011
I look at professional animations and notice the camera-like effects they manage to put into these animations. I'm wondering how I can do the same without having to just enlarge or reduce a movieclip across the stage. Is there any way to add a camera view on your animations or do you just have to bear with Flash's basic necessities?
View 1 Replies
Feb 17, 2004
I 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 Replies
Mar 7, 2011
Can anyone recommend a decent tutorial, add-on or approach to creating a page rip off effect in flash?
I want to create a notepad where each page can be ripped off to reveal further content.
View 1 Replies
Dec 3, 2009
how to create an XML image gallery in Flash 8 same as in the link here..
[URL]
View 1 Replies
May 13, 2011
I have exported a page from InDesign to FLA that contains an InDesign multi-state object (MSO) and when I bring it into Flash and export as a SWF, the MSP just cycles through all the contained images. There's an Adobe KB that states that this is a known issue and that ActionScript can be used to stop the MSO from cycling. Does anyone know the ActionScript used to stop this?
View 1 Replies
Mar 13, 2007
Anyone know how to create a flash based text and audio chat application?
View 1 Replies
Jun 24, 2010
I have designed a menu that When you mouse over it, a custom cursor appears. When you mouse down it disappears and when you mouse up it returns. If you happen to mouse down and then drag the mouse off of the menu (whilst in mouse down) and then mouse up outside the menu, the custom cursor disappears. All good. The only issue is: If you happen to mouse down on the menu and then drag the mouse off of the menu AND off of the stage, i.e the SWF (whilst in mouse down) and then mouse up completely off of the stage, the custom cursor appears at the point it left the menu. I have tried to fix this using MOUSE_LEAVE but this dosnt work when the mouse button is pressed down. I have attached an FLA, SWF and the AS below.
Code:
stop();
import com.greensock.*;
import com.greensock.easing.*;
import flash.events.MouseEvent;
[code]....
View 1 Replies
Sep 21, 2009
I have a menu that is driven by AS3 and XML, I am trying to simply put a background image behind the menu but when I import a jpg and place onto the stage the background is always in front of the menu? The menu is an external AS file and is not on the timeline. What I can do to get the image to sir behind the menu?
View 3 Replies
May 3, 2010
I want to have a hidden menu so I have put some buttons in a MC and added it to the main stage but I am having trouble controlling the stage with the buttons in the movie clip. I think I need to reference the main stage some how... parent or something like that but I'm not really sure and don't know where to put the code.
Code:
stop();
import flash.events.MouseEvent;
[code]....
View 2 Replies
Sep 21, 2008
I am real new to action script 3 and I am looking for a way to create a menu that loads my swfs onto the stage, I want the swfs to replace each other when a new button is selected but dont know what function to use.
View 8 Replies
Apr 4, 2012
trying to add an asset to an unlocked layer in my Flash project, but File>Import>Import to Stage (Cmd-R on Mac) is grayed out.why is this? is flash telling me that my stage is some how inactive? I am in the scene. I see other graphic elements...my layer (in a group) is unlocked as is the parent of the group.
View 5 Replies
Jan 19, 2011
I'm creating a pop-up menu for a game and I've run into some difficulty manipulating its layer 'depth' relative to the other graphics on the stage. I understand how to manipulate layers etc. when coding on the timeline, but I am making this game entirely class-based; how do you manipulate graphic 'depth' dynamically in pure AS3 code? How does the flash player assign 'depth' to symbols which are created from code in the first place? (the problem I'm having is that some graphics I add dynamically at runtime always appear above the menu, despite the fact that the menu isn't created until later, when the user presses a menu button)
View 5 Replies
Feb 24, 2011
I have on stage one mc which is the main menu called menu.In this mc I have another mc which is the submenu sub_menu.By clicking on items in the submenu I place mc's from the library on stage with stage.addChild(name_of_mc)How can I remove these mc's from stage if I click on the menu mc?removeChild needs to know the name of the child but this depend on de mc putted on stage in mc sub_menu
in mc sub_menu :
function fn_people_click(event:MouseEvent):void{
var mc_com2:peoples = new peoples(); //clip in lib met classname peoples
mc_com2.x= 150;
[code]....
View 1 Replies
Mar 12, 2004
I have a menu that appears on the stage with the following function.
[AS]function moveMenu (clip, yPos, speed){
clip.onEnterFrame=function(){
var endPos = yPos-this._y;
this._y += endPos/speed;
}}
moveMenu (menu, 50, 3);[/AS]
Next to the menu I have a movieclip (instance name "square") which I want to appear on the stage from the left, but not before menu (see above) has reached it's final position. How do I integrate this in the above function or should I make a separate function for this
View 8 Replies
Dec 4, 2009
I've tried everything within my knowledge, searched the related posts but still can't find anything that works, this is what i have
[Code]...
I've tried replace stage with _parent, and _root and so on but I'm just stumped, been tryin to get this workin for over a week on and off already, still notta
View 6 Replies
Apr 18, 2011
How can I load a swf from this xml file into a mc holder file? See code below.
var myxml:XML = <node label="Root Node"><node label="Chapter 1">
<node label="Intro" image="circleImage"/>
<node label="Recommended Prerequisites" image="squareImage"/>
<node label="Course Navigation and Controls" image="triangleImage"/>
<node label="Chapter 1 Completion" image="starImage"/></node></node>;
[Code] .....
View 1 Replies
Jan 26, 2007
Any way to create 3 or 4 movieclips on the main stage then when there's a mouse over, the zoom to the foreground and play. They also need to be buttons as well that lead into sections.
View 1 Replies