ActionScript 2.0 :: Draggable Menu - Loading It Into Another Movie
Feb 22, 2005
I would like to load the draggable menu externally into another SWF movie. I have my main movie (main.swf) and the draggable menu movie (draggable.swf). I can get the draggable.swf to load into the main.swf, however, I can't seem to figure out how to get the external draggable.swf to work within the main.swf. Once it's loaded, it is totally static.
View 1 Replies
Similar Posts:
Feb 22, 2005
I would like to load the draggable menu externally into another SWF movie. I have my main movie (main.swf) and the draggable menu movie (draggable.swf). I can get the draggable.swf to load into the main.swf, however, I can't seem to figure out how to get the external draggable.swf to work within the main.swf. Once it's loaded, it is totally static
View 1 Replies
Feb 9, 2004
A client of mine has seen this elastic menu box effect and has asked me to see if I can loosely recreate it.elastic box menu .Does anyone know how to A; create it? or B; create a draggable elastic box and I'll go from there
View 12 Replies
Feb 9, 2004
A client of mine has seen this elastic menu box effect and has asked me to see if I can loosely recreate it. elastic box menu Does anyone know how to A; create it? or B; create a draggable elastic box and I'll go from there!!
View 12 Replies
Sep 3, 2010
I am building a vertical menu that is draggable on the Y axis.
1.How do I add easing? Can I use fuse?
2.If the button that is being dragged reaches a point on the y axis it would trigger a function. If it is let go before reaching that point the button would snap back to the original position. I guess a simple (if statement) would work - but not working for me
3.Last thing. It is a vertical menu, so when a button is being dragged everything above it would drag with it. Cannot seem to get that to happen
View 1 Replies
Mar 12, 2009
I'm using the code below for an infinite looping menu but this menu code makes it move on its own. I want the looping/movement to be activated by the user literally dragging up and down. Does anyone know how I can alter this code so it responds to the user dragging up and down.
[Code]...
View 2 Replies
Aug 4, 2009
I have two draggable clips, each set to jump to the top when released, this works fine. My issue is that the "draggable area" is larger than the imported images (since they are angled, & flash sets mc's to square or rectangles) - Ive tried various masking ideas, no joy - trouble is that if I placed the clips too close together it becomes difficult to select the one the user wants (since I need to include four/five clips).
[URL]
View 2 Replies
Jan 11, 2004
i have a main movie w/c is draggable and zoomable where i drag another movie on top of it. Each have its own instance names. my problem is my main movie is the only one that ca be drag and zoom.
[Code]...
View 5 Replies
Sep 6, 2009
I know this is a bit common now, but I can't seem to find a way to make this work as I need it to.I've got a movie clip that I need to allow dragging on.The movie clip is the background to a website. It is very long in dimensions (lets say 5,000px by 384px).Anyway, the movie clip will align at 0,0 and then should be able to be scrolled horizontally until the end of the graphic reaches the end of the stage.My document size is 1024 x 384.I'd like to be able to make the movie scroll and ease on drag.
View 1 Replies
Jan 16, 2004
I'm wondering if there is a way to duplicate a mc so that when you drag & drop a ball, for example, there can be 50 balls stacked underneath, each with its own capabilities to be dragged individually? Obviously the goal is to be able to do this without applying the start/stop drag action to each ball.
View 2 Replies
Aug 9, 2009
I'm creating a draggable movie clip (an arrow symbol) that drags along a rectangular track. Works fine but my issue is when the arrow's y axis is at a certain position, it needs to remove a movie clip instance and also run a trace statement. Right now, it's not doing that (if I change the == in the if statement to += it works but then it just works as soon as you mouse down on the arrow) and I'm wondering where I'm goofing up. Here's my code:
import flash.display.Sprite;
import flash.display.DisplayObject;
import flash.events.MouseEvent;
[code]...
View 9 Replies
May 29, 2009
I am building a click through presentation that has some small text in it. To maintain the design and allow for readability, I have added a zoom feature.Here is the structure of the movie,Stage - contains pages movie clip and forward/reverse click buttons for changing pagesThere is a button at the _root level that uses a tweener to scale the pages_mc up to 170%. When this is clicked, it allows the pages to be dragged around the screen so you can look at different sections. When you click the button again, it returns the pages back to their original size stops drag.My problem is, on the pages, there are buttons with links to external sites. Once startDrag has been invoked, I cannot touch the buttons inside the movie clip. Is there a way to make these buttons work?
Code below
magUp_btn.onRelease = function() { this._visible = false; TweenLite.to(pages_mc, .25, {_x:-250, _y:-193, _xscale:170, _yscale:170}); TweenLite.to(magUp_mc, .75, {_alpha:0});
[code].....
View 3 Replies
Aug 27, 2009
I try to connect a line object between 2 draggable movie clips. If either MC changes position, the line will follow and still connect to it. The first version I got is as following: (works smooth but takes high CPU and computer resources if there are thousands of objects duplicated)[code]...
View 7 Replies
Feb 1, 2010
I have a movie clip on the main timeline in frame 1 that I named moveablekey. What it is supposed to be is a key for a map that you can move around on the map. When you scroll over/off the key it will hide/unhide the actual key. The key has some buttons that I want to allow to go to a different link when clicked. When I test the key without the code below it will work on the link and take me to the link, but when I put the code into the main timeline it stops the link from working. Here is what I think is happening: The code seems to make it so wherever I click on the movie clip it is doing the start/stop drag code and won't recognize the buttons within the movie clip. So is there a way that I can make just the header of the key to be clickable to start/stop the drag, but still move the entire key, and allow for the buttons to be clicked?
Code:
stop();
moveablekey.onPress = function(){
startDrag(this);
Mouse.hide();[code]..........
View 3 Replies
Apr 19, 2005
i just made a draggable window for my website, its contained within a movie clip(profile_mc) and with in that there is a button which has these actions applied to it :
[code]...
now it all works good, but its reall jerky and just stops even if you dont release.
View 9 Replies
Aug 2, 2006
I have some buttons that create draggable movie clips in arrays. But when I click on one button, and then another, for some reason the previous movie clip dissapears.Try clicking on one button a few times, then clicking on another, then another...
View 2 Replies
Apr 14, 2008
I have created a multi-scene flash document. One of my buttons on the stage loads a movie clip from my library and has the following script:
on (press) {
this.attachMovie("help", "window", 1);
window._x = -300;
window._y = 200;
}
Works great. Then inside this movie clip, I have an invisible button with the following script:
on (press) {
startDrag(window);
}
on (release) {
stopDrag();
}
This allows the movie clip that popped up to be draggable. This also works perfectly.
My problem is, the button will only attach the movie clip on the first scene. I currently have it loading in level 1. Does anyone know how I can work around this?
View 1 Replies
Apr 9, 2010
Unfortunatly im having to extend to more draggable objects. So they will be within another movie clip so i can have them scrolling. After making the scroll, the draggable objects dont register on the droptarget as they are within another movie clip. Below is i think the part of the code that needs to be changed so the draggable objects know where to find the drop target.
View 1 Replies
Mar 21, 2011
I am developing and interactive CD application for kids that consists in a menu and two chapters with animations and exercises. To select the chapter I have an "Accordion" style menu with draggable panels. In each chapter panel I have a button which upon being clicked should direct me to the chapters first frame. The problem is it doesn't.
View 9 Replies
Aug 27, 2004
I want to make a draggable movie clip with an input text box in it. It's going to be a "Make your own comic" game, where you can type in the speach bubbles what you want the characters to say.
View 7 Replies
Feb 12, 2004
I need a tutorial for a hierarchical drop down menu system that drops down 3 sub levels. Do I make the items in the sub menus individual buttons and then insert them into a movie clip or make every sub menu item a movie clip and insert them into buttons?
View 1 Replies
Sep 27, 2010
I have a fla with a button that makes a movie clip appear. The movie clip is draggable (via the DragDrop class I created) and contains a small "close" button which I cannot get to work, so there is no way to make the movie clip dissapear.
View 21 Replies
Oct 25, 2004
Why is it that when i have button in a movie clip and that movie clip is a draggable object the button becomes inactive? How can i have both the button and the movie clip draggable and the button continue to function. below is the script i have for the draggable movie clip, which has the button contained within that:
[Code]....
View 6 Replies
Aug 25, 2009
I've inherited a website with a huge (2.5MB) flash menu system and would like to know if there is an elegant way to load it in the background from maybe an intro page that redirects to the home page after a certain amount of time - or possible when the menu is done loading.
View 11 Replies
Nov 15, 2006
Basically I have a primary navigation and secondary or nested menu on one menu item. The following load movie script works fine on the primary menu on the root:
about_mc.onRelease = function() {
createEmptyMovieClip("container2", 1);
loadMovie("about2.swf", "container2");
[code]....
View 1 Replies
Jul 22, 2008
I have a sliding menu. As one of the movies inside the contentHold i want to load an swf. I do this by going into the movie content2 and adding the following code:
Code:
this.clip_mc = this.createEmptyMovieClip ("holder", 1);
this.clip_mc.loadMovie("sourceMod.swf");
The swf file works perfectly if i launch it separately, but when i try to launch it from the sliding menu all i see is the background of the clip and not the actual content.
View 1 Replies
Feb 2, 2010
I have several swfs that now need to be brought together from one navigation menu/home screen that I need to create. This was easily done in as2 (replacing one swf with another when loading). Is this at all possible with as3? and if so what's the best approach?further info:the navigation screen will be an arial shot of a cartoon village, when you click on a house it should open up the swf activities than i've already created.
View 2 Replies
May 22, 2011
I have a flash menu on this site: www.lakecenter.org. The menu works fine in all browsers EXCEPT IE9. It looks like this javascript file is not loading:
<script type="text/javascript" src="scripts/ActiveContentDropDownWide.js"></script>
In IE9 it just displays BUTTON1, BUTTON2 etc but in all other browsers it displays the complete menu. This is what happens when the ActiveContentDropDownWide.js script is removed which is why it seems to be a problem with that script and IE9. But I could be wrong?
View 3 Replies
Jan 24, 2012
I have a simple popup menu in flex, a mx Menu, and I use e Menu.initMenu to create the menu relying on an XML List defined as the data provider.The menu has check box items, and every time I call a load(values:Array) function in the class which contains the menu's instance, I want to check the relevant items.
View 1 Replies
Nov 30, 2009
Basically I have a site that will load an external .swf for each menu button to display the content for each page. I have found tried several methods to do this and all at least create a loader and display the default .swf without problem.
Heres the code...
***start code***
stop();
var xPos:Number = 0;
var yPos:Number = 125;
[code]....
My problem is I am getting the following error:
"1120: Access of undefined property event. var newSWFRequest:URLRequest = new URLRequest(event.target.name + ".swf");"
Now the buttons I have set up are text converted to a button. Not sure that matters as I have seen other instances where people create an object (retangle) covert that to a button and put the text inside of that as an instance of the retangle. I have even created a new .fla with just a single button creates with a retangle and the text as an instance of that and still get the same problem.
View 2 Replies