Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
matt_atknsn #1
Dragging Movie-clips: maybe like dialog boxes?
Well, I'm working on my disclaimer dialog and some other dialogs in my site
([url]http://www.geocities.com/matt_atknsn[/url]).
I made a disclaimer dialog and want it to be draggable only when:
onCLipevent(mousedown) and the click is inside this movie clip and when it is
visible.
Does this mean I have to make a long script to check all the needed
mouseevents?
Thanks!
matt_atknsn Guest
-
Problem with dialog boxes
Hello, I am trying to create a dialog box, that has a txt box on it, and when you click OK i want the values from the textbox to be inserted into... -
RollOver/Out with movie clips and dynamic text boxes
Hi, I have some text in a dynamic text window. When I roll over some nearby movie clips I would like the text to change. I thought I could... -
Loading Movie Clips into other movie Clips
I know I have done this before (or at least something like unto it) but can't find a clear explanation of how to or if it can be done: I have an... -
Arrays, duplicating movie clips and dragging them.
Hi, I'm Chris.. I am new to flash as well, and have the same issue: wanting to drag duplicate images around a canvas. I downloaded you source... -
Dragging multiple movie clips simultaneously
Here's a problem that's probably been asked many times but in all of my searching I haven't found a good workaround for it. Maybe someone can think... -
rlc5611 #2
Re: Dragging Movie-clips: maybe like dialog boxes?
If it is like a dialog box, you can only drag from the bar at the top.
One suggestion, inside your disclaimer clip either put a bar at the top and
make it a button if you want to be able to drag from anywhere on the clip, make
a rectangle the full size of the clip, turn it into a button and edit the
button so that all frames are empty except the hit frame (it contains the
rectangle).
Whichever one you use, the button resides in the MC timeline so you can give
it the script:
on(press) {
startDrag(this);
}
on(release) {
stopDrag();
}
rlc5611 Guest
-
matt_atknsn #3
Re: Dragging Movie-clips: maybe like dialog boxes?
Thanks bro!
Now, instead of the button, I've made a movieclip inside the dialog box
instance to correspond with the dragging with this script:
onClipEvent(mousedown)
{
if Hittest(<all the required oparams here>, false) startDrag(_parent)}
}
Now the only problem now is to prevent all the other clickable stuff under
this dialog box to be disabled...
I guess more hittest checking
Cheers and thanks very much!
matt_atknsn Guest



Reply With Quote

