Dragable Window Trouble
Hey everyone... I'm having some trouble with doing a dragable window within my movie... is there anyone who will look at it and see what I'm missing?
Thanks!
Penna
FlashKit > Flash Help > Flash General Help
Posted on: 02-06-2004, 04:06 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dragable Window
I have a semi-transparent dragable window on the top frame of my scene. However, this flash movie has a total of 7 scenes; and the dragable window is currently only on the first scene.
The dragable window has of course, links to the other scenes. Is there a way to continue the dragable window seamlessly through all scenes without and movement?
Thanks...
Close Dragable Window ?
Hi,
I've made a dragable window and I put a close button in the MC to. This button is supposed to close the dragable window, but he is not cooperative.
What am I supposed to use: removeMovieclip?, unload Movie?
Any help will be very much appreciated.
thanx
Resizing A Dragable Window.
Can anybody exlpain to me in simple terms how I can create a resizable Flash window. I have trawled through the Tutorials and Flash movies and while there are some good examples of resizable windows I cannot decipher the coding to deconstruct them.
My window has at present maximise/minimise toggle, close button, and is dragable. But I cannot get my head around how to use the Drag function, or alternatively the mouseMove function, to scale the window on the stage.
What has been happening is that resize button will move independent of the window and the window scales erratically.
So what I'm asking for is a 101 class in resizing a dragable window if anybody could be of help.
To see an example of the present window in action visit:
http://www.beckysg1.34sp.com/
Thanx in advance,
BeckySG1
[Edited by BeckySG1 on 02-16-2002 at 09:18 AM]
Resizing A Dragable Window?
Can anybody help me with a easy-to-understand tutorial in resizing a dragable window. I have searched through the movies and tutorials and while they are all good examples within their own rights, I'm having trouble deconstructing the actionscript in order to apply it to the window on my web-site.
So a simple 101 in the coding of resizing a dragable window would be appreciated, if anybody could be of help. The window I have created on my site already has a maximise/minimise toggle, a close button, and is dragable. But I can't get my head around how I can resize the window as all my attempts have resulted in failure.
http://www.beckysg1.34sp.com/
PS I posted this thread previously but somehow it dissapeared, perhaps deleted, if anybody could help explain why the original thread dissapeared I would appreciate it.
Thanx in advance. BeckySG1
Dragable Window Constraints
Ok, I've got this movie clip that I want to be able to drag in a designated rectangle. The code behind the movie clip is:
on (press) {
startDrag ("");
}
on (release) {
stopDrag ();
}
How can I modify this code to make it so the user cant drag the movie clip all over the place? Fictitous numbers are fine for the constraints. Thanks a lot!
Advanced Dragable Window
Hi,
Does anybody have a script or know where one is to be found that makes this kind of a dragable movie clip
http://www.hencca.de/junk/drag.html
I have made an exaple using tweens. It should work like a peace of paper on a table which is dragged around by the corners.
Dragable Elastic Window
I looked up a new elastic code for flash 8 however it folows the mouse and that is not what i am after, I have tried to fiddle with the code a bit but to no avail. I was wondering if anyone had any suggestions on how to make a movieclip use the elastic function and make it dragable. I want the movieclip to stay where you release the mouse and bounce accordingly.
I tried to find my last post to follow up on the help i recieved regarding the calculating distance within a moving movie clip, but i could not find it. I wish kirupa had a search for the forums.
Here is the code for the elastics i am using:
// ELASTICITY PROTOTYPE
// Created on the 20th Nov 2006 by DV81
//
// This can be extended further but made it for people who don't want
// to use the tween classes and want raw math for more control.
// Note also I know there are 1 million ways to skinning a cat, but I spent almost all
// day trying to figure this out to work with Flash 8 who knows might come
// in handy for someone. Enjoy!
MovieClip.prototype.elastic = function(accel, friction) {
this.dX = 0;
this.dY = 0;
this.onEnterFrame = function(){
this.dX = (this.dX * friction)+((_xmouse - this._x) * accel);
this.dY = (this.dY * friction)+((_ymouse - this._y) * accel);
this._x += this.dX;
this._y += this.dY;
// This is added to save resources you can delete or comment out if you
// need continuous movement.
if(Math.abs(this.dX) < 0.01 || Math.abs(this.dY) < 0.01){
delete this.onEnterFrame;
}
//
}
}
// USAGE
// Simply create a movieclip dynamically or manually then call 'elastic' function
mc.elastic(0.1,0.9);
I use a basic "this.onPress and onRelease" type of approach when calling the object but it does not seem to be cooperating no matter what i replace the xmouse and ymouse with.
Help a n00b out?
Advanced Dragable Window
Hi,
Does anybody have a script or know where one is to be found that makes this kind of a dragable movie clip
http://www.hencca.de/junk/drag.html
I have made an exaple using tweens. It should work like a peace of paper on a table which is dragged around by the corners.
Dragable Popup Window Problem
Hi Im having real problems with a popup info style window.
I have put the following code on the action button
on (release) {
tellTarget ("/tour_popup") {
gotoAndPlay("go");
}
}
that should then run the MC but I am getting the following output error
Target not found: Target="/tour_popup" Base="_level0.buttons"
can anyone help with this?
Aaron
http://www.nevis.co.uk
Dragable Window, Swapdepth, And Captions?
Kirupa,
I've been having a blast using each of the tutorials regarding "dragable windows", "SwapDepth", and "Hover Captions." I'm working to combine the effects, similar to mirroring the material found at The Remedi Project. I've got the captions to work with the dragable window --- until I drag the window to another location. (The caption doesn't follow.) Any advice? I haven't applied any swap depth yet. Will this be a problem?
Thanks a bunch!
Jeff
Dragable Window W/ Working Links & Drag Alpha Fading
And example is at this site's mainpage, i want to make like 2 or 3 working windows like that, with links, and also a small alpha fade when dragging it, any help or tutorial links would be great
http://www.one9ine.com
Trouble With Pop-Up Window
Hey Flasher,
I have a problem i'm wondering if any one can solve this, in my portfolio website i have several pop-up windows that are actually different movies, and when they pop-up it seems my swf files don't cover the hole area i get this 20 pixel gray edge on the top and left hand side, and i'm wondering what i'm doing wrong can anyone help me... this is the script on the pop-up
on(release) {
getURL("javascript:newWin=window.open('./dakine.html','Dakine','width=500,height=400,top=20 0,left=300,toolbar=no,scrollbars=no,resizable=no,m enubar=no,status=yes,directories=no,location=no'); void(0);");
}
If you like to see a working example you can view it at my website under 'portfolio' section, feel free to comment about website also.
http://www.thespacelab.net
Pop Up Window Trouble?
Hi
We have several buttons on one page in flash 5 that are supposed to open up new chrome windows when clicked.
We put this code to the button
on (release) {
url = "name of popup.html/";
windowName = "window name";
settings = "toolbar=no,location=no,status=menubar=no,
(continuation of above line) scrollbars=no,resizable=no,width=580,height=500";
getURL("javascriptpenWindow('"+url+"','"+windowN ame+
"','"+settings+"')");
}
then we took the file into dreamweaver and put this code
<HEAD>
<TITLE>windowname</TITLE
<script language="JavaScript">
function openWindow(url,windowName,settings) {
window.open(url,windowName,settings);
}
</script>
</HEAD>
When we dump or drag our index.html page onto the browser to look at all the buttons work fine, they open perfectly. When we ftp our files and upload them the buttons don't work. the popup window comes up and says that the file can't be found on the server.
Can someone explain to me how that works. I don't know what I'm doing wrong. If I can test it and it all works fine in the browser how come it doesn't work when I upload it?
Any help would be greatly appreciated.
thnx
Pop Up Window Trouble?
Hi
We have several buttons on one page in flash 5 that are supposed to open up new chrome windows when clicked.
We put this code to the button
on (release) {
url = "name of popup.html/";
windowName = "window name";
settings = "toolbar=no,location=no,status=menubar=no,
(continuation of above line) scrollbars=no,resizable=no,width=580,height=500";
getURL("javascriptpenWindow('"+url+"','"+windowN ame+
"','"+settings+"')");
}
then we took the file into dreamweaver and put this code
<HEAD>
<TITLE>windowname</TITLE
<script language="JavaScript">
function openWindow(url,windowName,settings) {
window.open(url,windowName,settings);
}
</script>
</HEAD>
When we dump or drag our index.html page onto the browser to look at all the buttons work fine, they open perfectly. When we ftp our files and upload them the buttons don't work. the popup window comes up and says that the file can't be found on the server.
Can someone explain to me how that works. I don't know what I'm doing wrong. If I can test it and it all works fine in the browser how come it doesn't work when I upload it?
Any help would be greatly appreciated.
thnx
Trouble With Pop Up Window
greetings, i am using a simple new window script, but need to alter it. when i open up one of the links, if i dont close it, but go to open up a different link. the already open window pops back up. i need this window to change due to the new link pressed. the site is [link removed by claudio] click on the prodoct locator to see an example.
here is the script for the root->
Code:
_root.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('"+url+"','"+winName+"','"+"width="+w+",height="+h+",toolbar="+toolbar+",location="+location+",directories="+directories+",status="+status+",menubar="+menubar+",scrollbars="+scrollbars+",resizable="+resizable+",top='+((screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"')}else{myWin.focus();};void(0);");
};
the script for the button.>
Code:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = [removed by claudio]
width = 650;
height = 590;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
any help would be great help
Javascript Pop Up Window Trouble?
Hello, thanks for reading this!!! I have been looking for a javascript or something that will make me able to popup windows in both mac and window browsers, properly and proffesionally. See if I set up my pop up window options, when I vierw my pop up screen in a mac browser ie 5 it has a white border, on the bottom and right hand side of the window. But when I look at it on a pc it works fine. So if I try to get it looking right on a mac, the pc has stuff cut off. OHHH I need help, if anyone is willing to share that secret code with me that will cause pop up windows to work on both systems, I thank you SOOO much. I have been looking for days for something to work. I just cant find anything. I am trying to put up my online portfolio for a job at http://www.kulakoff.com. If you check it out on mac ie 5.0 it works, but if you look at it on a pc, it cuts stuff off wld gratefully appreciate anything. I have tried like 5 different javascripts and none have worked properly. I really appreciate you reading this and helping thankyou.
sincerely mark kulakoff
Trouble Closing A Pop Up Window
Hey Guys,
Im having desperate trouble closing a pop-up window. Everything works great, its just the closing part!! can anyone help a desperate designer out?? I attached the FLA!! Any help would be appreciated!!
Susan
Trouble Bringing Up This Window...
Hey y'all, i'm learning Flash from flash game programming tutorials with examples, and ran into a problem. There's this layer of code that i can't reproduce.
This is the situation: there's a movie clip called "empty", which is, as the name suggests, empty, just sitting in the library. The clip gets filled with various items when the code runs, that's not the problem. The strange part is that in the code window, the toolbox on the left holds this window with code called "empty, <controller>". It has a few lines of code in it, 2 onClipEvent(...){...} things.
The problem is how to make this window appear so i can place code in it. In the tutorial it's been done for me, but if i try to recreate the application from scratch, i can't seem to find out how to bring up the window. It's probably something really easy, like a button i'm overlooking, but i've been trying random things for over 2 hours now, and i can't find anything. You guys are my last hope
Just for completeness i added a pic of the window i need. The one i'm having trouble with is the highlighted one. It's simply not in the list in my reproduction of the tutorial game. Here's the link:
Popup Window Trouble
Hi
I have a game that is already a popup window, i want it so when the user presses a button it will open another popup window. There is going to be several buttons (opening several different popup windows) within the first popup.
Thanks
Centered Pop-up Window/button Trouble
Hey guys i am wondering whats the problem with some buttons i have for a photo gallery.
http://www.sunsetpics.net/stocktravel1.zip
Theres the source file. The buttons only work on firefox? Im not sure whats wrong
NIck
Trouble With Mouseover Displaying New Window
I am creating an image map which can be see at this location: http://www.lakecountywebproductions....y_wineries.htm
This is a new site but I need to create a mouseover that when a user hovers over an image map area a new image pops up with tasting room hours. This does not seem too difficult but I have tried many different ways and nothing seems to work out. Any suggestions on how to create this affect?
Trouble With Pop Up Window From Kirupa Tutorial
I have a pop window in a site that has worked fine until recently when I updated the swf file and changed the player to Flash PLayer 8. Now it will not launch the window. I can't use the Player 5 setting because it limits some rollovers that I have in a upper navigation.
The following code is for the Javascript which is in the first action keyframe and the second code is attached to the button to launch the window:
First code:
Stage.align = "C";
// *** Stop the stage from scaling with the browser window.
Stage.scaleMode = "noScale";
_global.openWinCentre = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {
getURL("javascript:window.open('"+url+"','"+winNam e+"','"+"width="+w+",height="+h+",toolbar="+tool ba r+",location="+location+",directories="+director ie s+",status="+status+",menubar="+menubar+",scroll ba rs="+scrollbars+",resizable="+resizable+",top='+( ( screen.height/2)-("+h/2+"))+',left='+((screen.width/2)-("+w/2+"))+'"+"');void(0);");
};
Second Code:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "http://www.imarkmolding.com/iMARK_email.swf";
target_winName = "iMARK_email";
width = 640;
height = 544;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
I am assuming there must be someway to get this to launch using Flash PLayer 8 or higher...is'nt there?
Any guidance would be greatly appreciated....thanks!!
Fixed Size Popup Window Trouble
Hi
I used the code below on a button in flash 5. It opens a new popup window but it still shows the scrollbars toolbars and is resizable. How come? I need a "chrome" fixed size popup. what can I do to fix this
on (release) {
getURL ("javascript:NewWindow=window.open('ShowPopup.php' ,'newWin','width=400,height=300,left=0,top=0,toolb ar=No,location=No,scrollbars=No,status=No,resizabl e=No,fullscreen=No'); NewWindow.focus(); void(0);");
}
Making A More Effiecient Site And Window Trouble..?
I was just wondering if anyone could help me. I wanna make this site a bit faster when it loads. Im not sure how to as i am new to this whole Flash game and it is the first site i have created. I really want to know as i intend on putting together a site for myself and another friend rather soon.
The address is;
www.burnonfire.com
I could also do with some help concerning a pop-up flash window.
At the bottom of the site there is a button 'Site designed by Ryan Skelley', i wish to place this button on another site but for some reason (probably due to the code being MX and not 8), it does not work in Flash 8. If anyone could help me with this it would be great. I will include the code at the bottom of the page.
Thanks Loads
Skellz
PHP Code:
this.onRelease = function() {
import mx.managers.PopUpManager;
import mx.containers.Window;
win = PopUpManager.createPopUp(_root, mx.containers.Window, true, {title:"Ryan Skelley Designs", contentPath:"Website.jpg", closeButton:true});
win.setSize(619.6, 464.7);
win.move(win.x + 71.7, win.y + 42.5);
lo = new Object();
lo.click = function() {
win.deletePopUp(mx.containers.Window);
};
win.addEventListener("click", lo);
};
Draggable Window Shade Menu Trouble
Hi - first time "caller" to Kirupa! Thanks - thanks very much - good to be here!
My problem is this: I've found this great, useful menu system that allows the user to both drag it around, and pull down a masked layer to reveal either content or buttons, etc.
It's comprised of 3 layers - the first is the draggable bar or graphic out of which the window shade effect is pulled. It's a button with a drag action attached (not made into a movie clip first, then assigned a button behavior - a button from the start with no reference to instance name.
The 2nd layer is the rectangular boxed mask layer and the 3rd is the masked layer that contains the image to be pulled down in the window shade effect. This is a movie clip with a nested button. The MC has a start/stop drag action on it, with constrain to rectangle checked - with l,r,t & b coordinates.
Test the movie, works great! Both the draggable bar or grahic, AND the window shade layer are connected and able to be dragged together. (somehow, as I don't understand how they are linked to one another with no real reference to each other)
The main problem is this: when I add another layer containing another draggable MC or anything else, go to test the movie and for some reason, now the draggable menu bar is either separated from it's window shade and can be dragged around independantly (which I don't want) and/or it is now connected to the other MC and drags everything around on stage, at the same time.
Would anyone have the answer to how I can implement this great menu system into my project without it forcing everything else to be dragged around? I'm sure it's a quick fix, but I need the fix...man! Help is greatly appreciated!
Having Trouble Whit Clicking My Text Button In A Html Window
i can only select my text button,but not click it,
whit enaible simple button it do's work in flash,but not in a flash player of html previeuw.how come?
Normally dint had any problem whit this,i wonder why i cant right now.
can somebody help me?
Having Trouble With "shaking The Browser Window"
I followed the tutorial just like the instructions said but I am having no luck getting the desired effect. My concept is to have the user click the text button and have it shake the window, and then load an html file. I have it as an object action for the button in the last frame of my movie. I have the javascript verbatim in my source html file. When I test the file and click the button, absolutely nothing happens. What could I be doing wrong? Any help is greatly appreciated. Thanks.
.........dragable.......?
hi all,
can anyone tell me how to make a movie clip dragable. i have tried it using the start drag action,it works when there is only one clip involved, but it does not seem to work when there are more clips within the main movie clip.
any suggestions on how to resolve this would be highly appreciated.
thanks in adv
HELP WITH DRAGABLE
Ok heres the dealio.. :P I have a dragable that I would like to be able to close after viewing. I want to place the close button inside the dragable, but I'm kinda new to this so, if anyone can help me or tell me a tutoral I could use to help me with this problem.
Thanx
? 2 Dragable Mc
If i duplicat a MC how do i tell my mous which one i whoul like to drage at that time.
Dragable MC
hi @ all
i'm new in this forum, and heres my first question.
I try to make a dragable movie clip. im using this skript.
onClipEvent(enterFrame){
startDrag(target)}
there are no errors, but i doesnt work.
im very new to flash too, i'm only working with it for 2 days.
hope someone can help me.
mfg dj-steve8
Help With Dragable MC's
What I'm trying to create is a movie clip that is draggable only from an upper, hovering "tab" of sorts. When you click the tab and drag, the mc comes along for the ride, but the mc wont drag when you click anywhere else on it. Man, I really hope that makes sense! I'm assuming it has somthing to do with a mc inside of another mc, but I'm pretty lost.
Thanks in advance!
Dave.
All Dragable Except One; Why?
i have a mc that is dragable; i also have a button that sends the playhead to frame 2 where it randomly duplicates the mc; when the duplication is performed, all the "clones" are dragable except one; why?
the mc code is:
----------------------------------------
onClipEvent (load) {
this._x = random(300);
this._y = random(300);
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.startDrag(false);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.stopDrag(false);
}
}
-------------------------------------------
the frame code is:
-------------------------------------------
amount = random(10);
trace(amount);
while(amount>0) {
duplicateMovieClip (ca, "ca"+i, i);//ca is the instance name of the mc
i = i + 1;
amount = amount-1;
}
-------------------------------------------
Dragable Mask
here's the situation: i have a picture bar which contains 6 different faces. i want each face to illuminate when the user mouses over it.
question is this ___ is it better to make each face a button or should i use a dragable mask technique?
in terms of development, it seems like the buttons would be easier to make, but take longer to make.
anyone have any good drag mask tutorials that AREN'T on Flashkit...? i've looked at the open source on the 4 or 5 of them here, but they're not making much sense. i mean, they make sense, but it's just not working for me. i'm having a real hard time getting the mask to follow the mouse precisely.. i can get it to work, but it's really jumpy and twitchy.
~thanks for the help~
Problem With Dragable MC
hi- I've created a dragable MC that works. However, the only problem is the button actions within the MC don't work anymore.(the close and open)Go here to see: http://turbine9.com/beta/
Here's what I have to control dragging:
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse,_root._ymouse,true)){
this.startDrag(true,0,0,753,460);
}
}
onClipEvent (mouseUp) {
if (this.hitTest(_root._xmouse,_root._ymouse,true)){
this.stopDrag();
}
}
Inside the MC I have 2 simple buttons to jump to 2 labels..i.e.:
on (release) {
gotoAndPlay("close");
}
this is probably something really simple...thanks in advance for any help...allison
Dragable Menu
hi buddies, I want to build a dragable MENU. Please help me and tell me how I can built it.
Thanks
Dragable Windows - Help Please.
As this is my first ever post on this board, Id like to say Hello to everyone.
What I am wanting to do is be able to have multiple dragable windows on the screen at any one time in my movie. I have followed this tutorial (Here) and have successfully created the windows, I just want to be able to have multiple windows open at a time.
Is this possible? Is it hard to achieve?
Any help regarding this would be greatly appreciated.
Thanks very much for your time,
Peace,
Drewe.
Dragable Output Box
Hi all,
'have the following problem: I'm trying to make an output box which is draggable with the mouse in vertical direction only (within certain
upper and lower limit).
Dependend on the vertical position it should make a calculation.
So if the _y position = 100 it should output i.e. 100 * variable
and after dragging the output box to _y position 110 it should output 110 * variable.
Hope you know what I mean. In this link I put my newbies unsuccesful attempt:
http://home.hccnet.nl/m.dijk/drag/
Expert help is highly appreciated !
Dragable Selection Box
Hi
I am a programmer who is new to Flash, but working with a graphic designer who has basic Flash skills.
We are trying to make a dragable selection area in flash5, mouse down defines the start point, as the user drags the mouse a selection box extends from the starting point to the current mouse position. on mouse up I need to have the x,y of the start point and the x,y of the end point.
Can anyone please help us?
Nick
Dragable Selection Box
Hi
My previous posting (please read the posting below first) did not bring any response, so let me narrow it down.
I can get the x,y positions of the mouse when the drag starts(start position) and also get the mouse positions as the mouse is dragged (current position). When the mouse is released I can get the mouse positions again (end position).
I will use start - end positions to pass on to further programming, but as the mouse is being dragged I want a box to be drawn (start to current positions)
So what I need to find out is, can I draw a box on screen dynamically, starting at the start position and ending at the current position. This will be constantly updated by the mouse move event.
Any help would be appreciated
Nick
(previous posting)
Hi
I am a programmer who is new to Flash, but working with a graphic designer who has basic Flash skills.
We are trying to make a dragable selection area in flash5, mouse down defines the start point, as the user drags the mouse a selection box extends from the starting point to the current mouse position. on mouse up I need to have the x,y of the start point and the x,y of the end point.
Can anyone please help us?
Nick
Dragable Selection Box
Hi
My previous posting (please read the posting below first) did not bring any response, so let me narrow it down.
I can get the x,y positions of the mouse when the drag starts(start position) and also get the mouse positions as the mouse is dragged (current position). When the mouse is released I can get the mouse positions again (end position).
I will use start - end positions to pass on to further programming, but as the mouse is being dragged I want a box to be drawn (start to current positions)
So what I need to find out is, can I draw a box on screen dynamically, starting at the start position and ending at the current position. This will be constantly updated by the mouse move event.
Any help would be appreciated
Nick
(previous posting)
Hi
I am a programmer who is new to Flash, but working with a graphic designer who has basic Flash skills.
We are trying to make a dragable selection area in flash5, mouse down defines the start point, as the user drags the mouse a selection box extends from the starting point to the current mouse position. on mouse up I need to have the x,y of the start point and the x,y of the end point.
Can anyone please help us?
Nick
Dragable Clip - Possible?
Can any body direct me to a tutorial for creating a dragable movie clip? Also is it possible to load a MC directly from the Libraray? In other words I am hoping to have my movie stop an one keyframe in my movie with a series of buttons - each button must open this dragable clip - but am hoping it can do this directly from library? Possible...or any suggestions will do....
thx,
A...
Using A Dragable M/c As A Mask?
Hi,
I have a movieclip which contains nothing but a simple vector shape. I have that following the mouse using startDrag as shown below:
Code:
startDrag("dragmask", true);
The movie clip drags ok, but what i want is the movie clip to mask the image on the layer below it. When i set it to mask, the drag function stops working
Is there another method to achieve this? or is there something i can do to fix the method above?
Any help would be greatly apreciated,
Ritchie
Dragable Mask
Hi all!
Here's what I'm trying to do: I have an immage, which I'd like to be half transparent and when I drag the mask it should show the normal immage (while the other parts still half transparent). The mask should follow the _ymouse and the draging should stop once I leave the MC area.
How do I do that?
Thanx in advance!
Dragable Mc Problems
i have a selection of mc on the stage i would like them to be dragged into an 'arena'. the problem is that i want the mc's to be copy and pasted so that there always mc's to be dragged over.
Dragable Movies
For a website I am doing, I am using a dragable movie as a menu bar of sorts. By using the OnClipEvent, I've gotten the buttons and dragging function to work at the same time, however, I can't seem to get two of the dragable menus to work simultaneously. Either the buttons within the menu stop functioning, or I am only able to drag one menu at a time. I tried loading the second menu in a separate movie, but that also seemed seemed not to work. Any help would be much appreciated! Thanks!
Dragable Movies...help
For a website I am doing, I am using a dragable movie as a menu bar of sorts. By using the OnClipEvent, I've gotten the buttons within the movie and dragging function to work at the same time, however, I can't seem to get two of the dragable menus to work simultaneously. Either the buttons within the menu stop functioning, or I am only able to drag one menu at a time. I tried loading the second menu in a separate movie, but that also seemed seemed not to work. Any help would be much appreciated! Thanks!
|