Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Major Problem W/ Start Drag Action


Hi!
I have come across a big problem using the start drag action. The problem only occurs on certain machines, and I have not been able to identify the source of the problem, whether mac/pc, IE/netscape.

When the page loads w/ the start drag command, the ENTIRE page starts to drag, and the site cannot be used. An example of the problem can be seen in the interface of the following site: http://www.envara.com.

Again, on most machines it works fine, regardless of platform and browser, but then on some machines, it doesn't. Have any of you encountered this problem? Please help if you can!

Thank you so much in advance for any help you can offer with this!




FlashKit > Flash Help > Flash ActionScript
Posted on: 11-26-2001, 03:46 PM


View Complete Forum Thread with Replies

Sponsored Links:

Major Problem W/ Start Drag Action
Hi!

I have come across a big problem using the start drag action.

The problem only occurs on certain machines, and I have not been able to identify the source of the problem, whether mac/pc, IE/netscape.

When the page loads w/ the start drag command, the ENTIRE page starts to drag, and the site cannot be used.

An example can be seen in the interface of the following site: http://www.envara.com.

Again, on most machines it works fine, regardless of platform and browser, but then on some machines, it doesn't. Have any of you seen this problem? Please help if you can!

The actionscript used for this menu is:
on (rollOver) {
_root.rect._visible=1;
_root.rect4._visible=0;
startDrag ("_root.rect", true);
_root.menu.gotoAndStop(36);
_root.menu.opps.gotoAndStop(1);
_root.menu.culture.gotoAndStop(1);
}
on (rollOut) {
_root.rect._visible=0;
stopDrag ();
}
on (release) {
getURL ("culture.html");
}
Thank you so much in advance for any help you can offer with this!

View Replies !    View Related
Start Drag Action
I really want to know how these people did this, wondering if any of you know.

http://www.tilford.com.au/games/traffic.html

I think they detect the difference between one mclip and another then put those variables into a start drag, constrain to rectangle action. Or is there more to it? check it out

View Replies !    View Related
Simply Start Drag Action I Thought
I have a Start & Stop action on a Movie Clip that is working fine for me. But it will drag no matter where the mouse is Pressed? I only want it to drag when the Movie Clip is Pressed? Help Help Please!!
Thanks very much

View Replies !    View Related
Help I'm A MAJOR Newbie And Don't Know Where To Start
Alright, here's the situation. I want dabble into some computer animation. Not as a job mind you, just a hobby. I'm trying to figure out the right tool to use for what I have in mind. Here is what I would like to do:

I want to do very simple animation. Think of the "South Park" style of animation. I'm not looking to do Shrek or anything. I want to start simple and I plan on staying with this style and it's ease of use for a while.

I downloaded SWISHMax and played with the demo, but I'm not sure this is the direction I should go. You can probably already tell that I believe Flash Animation is the way I think I need to go. If I'm wrong please tell me. If Flash MX is what I should use instead of SWISHMax, let me know. If I should try some other tool or something other than Flash I'd appreciate that too. If there are free tools I could use that would be good too. Since this is just a hobby, I'm not going to be making any money on it, so cheap is good.

Any help and advice you can give would be greatly appreciated.

Thanks in Advance,
Dave O.

View Replies !    View Related
URGENT Drag Drop Major Problem Help PLEASE
I'm really, really stuck, I've been using the same drag and drop on target code for over a year now in flash 5 and today I go to try use it and it doesn't work, I've tried everything and have got to the point of desperation

this is my code

on(press){
startDrag("_root.brain-mc");
}
on(release){
stopDrag();
trace(_root.brain-mc,_droptarget=="/brain-drop"){
}else{
brain-mc._y=405.9;
brain-mc._x=150.9;
}
}

please help, all i want it to do is drag an object and drop it onto a target area and if the target area is missed the object bounces back to its original position.

Adeleb

View Replies !    View Related
Major Major Major Print Headache Pleeeeeeeease Help, Someone
hey peeps, harldy anyone knows much about printing from flash i have found so anyone who can come up with a solution is a complete genius and deserves to be knighted.

Ok, i have a giant flash movie (2250x2400) with about 30 draggable boxes which can also be made invisible as the user wishes.

what i want is to be able to set flash to print the whole thing over a series of pages, presumably 6 i would think. Im thinking this would be done somehow by setting a value for the maximum print area by using actionscript and set it to the size of a4?

ive tried using printing masks with the #b label but it prints everything as it was in its original state before anything has been moveed or made invisible so this is therefore not an option!

Any ideas??

ive tried looking into this but as i say there is very little information regarding detailed printing action, maybe someone in here can be a hero!!!

many thanks in advance

any pointers or guidance would also be appreciated!!

cheers

david

View Replies !    View Related
MAJOR DRAG AND DROP PROBLEMS WHEN Draganddrop.swf IS TOLD TO BE LOADED INITO BLANK MO
If anyone could please help me out it would be more than appreciated ;-)

Right what I have is an swf called draganddrop.swf which does the following:

See 1st flash movie http://2deep.members.easyspace.com/draganddrop/

What I need it to do is exactly the same when it is targeted inside a blank MOVIE CLIP from on action I placed on a button for example:

on (release) {
LoadMovie ("draganddrop.swf", "BLANK");
play();
}

See 2nd flash movie which is the one that doesn't work http://2deep.members.easyspace.com/draganddrop/

The draganddrop.swf loads successfully into the blank movie clip, however now fails to drag and drop and load up the external swf (1.swf) once drop target is activated

I know its down to the code in the draganddrop.swf but unfortunately I am already over my head in action script and am now really struggling.

If anyone could put me out of my misery and get this working for me it would be more than appreciated.

All the FLA’S can be found at:
http://2deep.members.easyspace.com/draganddrop.zip

Please note:

I have a blank movie clip where the drag and drop.swf is loading into. N.B: It has to be a blank movie clip and not a level as my site design is very heavy on layered graphics and needs to be in a blank movie clip set on a layer rather than called onto say level 2

View Replies !    View Related
Major Major Major Problem With Folder? So Odd
i have all of my fla files in a folder,
with any of them if i open and publish nothing works (my test is to load a component on the stage and it goes a bit mental flashing all its properties).
so:
1. i make a new document and place a component on, publish it and it works fine
2. i save it in a folder somewhere else, publish, works fine
3. i save it in the folder with my fla documents, publish it, the flashing is there again..

doesn anybody have any idea what to do with something like this, i have never experienced anything like it in flash before!

thanks
Dan Hodkinson

View Replies !    View Related
Help With Start Drag...
i have made a space shooting game and i have this circle to follow my mouse as the gun pointer and i put in the start drag action to it and when i test the movie it woks fine but when i export it doesent follow the mous, it just sits there.. HELP???

View Replies !    View Related
Start Drag
Flash 5 question:

I need a custom cursor for my movie so I'm using the simple method of hiding the mouse cursor and setting a movie clip (myCursor), locked to center, that drags as my new mouse graphic. What I'm wondering is if it's now possible to do a drag movie clip on another movie somehow. When I try this it drops my mouse movie clip (myCursor) and drags the one that I want to move.

Is it possible to keep the cursor movie clip dragging while doing a drag on another movie clip?

Thanks,
Jason.

View Replies !    View Related
Start Drag
hey i dont know how can i put some clipmovie exactly at the coordinates of the mouse.


onClipEvent (enterFrame) {
startDrag(something);

}
this doesnt work... i must put more code in it??

View Replies !    View Related
Start Drag
I have two boxes i'm testing the start and stop drag function. Only one of the box drags. Here's the code:


box_mc.buttonMode = true;
box_mc2.buttonMode = true;

stage.addEventListener(MouseEvent.MOUSE_DOWN,start BoxDrag);
function startBoxDrag(event:MouseEvent):void
{
box_mc.startDrag();
}

stage.addEventListener(MouseEvent.MOUSE_UP, stopBoxDrag);
function stopBoxDrag(event:MouseEvent):void
{
box_mc.stopDrag();
}

stage.addEventListener(MouseEvent.MOUSE_DOWN,start BoxDrag2);
function startBoxDrag2(event:MouseEvent):void
{
box_mc2.startDrag();
}

stage.addEventListener(MouseEvent.MOUSE_UP, stopBoxDrag2);
function stopBoxDrag2(event:MouseEvent):void
{
box_mc2.stopDrag();
}

View Replies !    View Related
Start Drag In AS3
Ok- please be gentle. I'm just starting to learn AS3 and of course am skipping ahead and trying to figure it out on the fly. I'm just trying to simply make a movie clip draggable (it was all oh so easy in AS2!) I'm getting "1120- access of undefined propery "waves_mc"). Yes, I have the clip named waves_mc. Can anyone point me to a good tutorial or see what I'm doing wrong?

View Replies !    View Related
Start Drag
Code:
on(press) {
startDrag(this,true);

}
on(release) {
stopDrag();

}
this code does not work to drag my box it will start the drag but when you release it, it still moves with the mouse.

View Replies !    View Related
Start Drag
ok here is the problem. i have a flash movie happening... with a custom cursor (using the startdrag command as per usual). now i have a volume control slider that also uses the startdrag command and it steals my cursor! (by steal i mean it takes one of the layers (out of 7) of my cursor) and wont let me move it anymore! the rest of my cursor moves with the mouse as usual.) not sure if this is a startdrag related error (on my part probably) but if anyone can help me i'd be muchly appreciative!



cursor actions:
Mouse.hide();
startDrag ("curse", true);


volume slider actions:

on (press) {
startDrag (this, false, GetProperty("../track",_x)-GetProperty("../track",_width)/2, GetProperty("../track",_y), GetProperty("../track",_x)+GetProperty("../track",_width)/2, GetProperty("../track",_y));
}
on (release) {
stopDrag ();
}

any suggestions or ideas would be grat! thanks!

View Replies !    View Related
Start Drag()
yellow nice people at kirupa forums, I have a question. Im using startDrag function in a movieclip, so what when u mouse over the clip (home) it plays another moiveclip (bEffectHome) which stays with the other movieclip (home) while it moves. Except i have a small problem, when i rolloff the Home movieclip then roll back on, the movieclip which is attached from the libary then made to follow the mouse when over home movieclip is in the extact same place it was when i rolled pver home before, and not over the new location of the home moiveclip. Any ideas on how to fix this ? Anyhow help is greatly appreicated

thanks in advance legion.

p.s if you would like me to post the actually A.S then please ask.

View Replies !    View Related
Start Drag
ok here is the problem. i have a flash movie happening... with a custom cursor (using the startdrag command as per usual). now i have a volume control slider that also uses the startdrag command and it steals my cursor! (by steal i mean it takes one of the layers (out of 7) of my cursor) and wont let me move it anymore! the rest of my cursor moves with the mouse as usual.) not sure if this is a startdrag related error (on my part probably) but if anyone can help me i'd be muchly appreciative!



cursor actions:
Mouse.hide();
startDrag ("curse", true);


volume slider actions:

on (press) {
startDrag (this, false, GetProperty("../track",_x)-GetProperty("../track",_width)/2, GetProperty("../track",_y), GetProperty("../track",_x)+GetProperty("../track",_width)/2, GetProperty("../track",_y));
}
on (release) {
stopDrag ();
}

any suggestions or ideas would be grat! thanks!

View Replies !    View Related
Start Drag()
yellow nice people at kirupa forums, I have a question. Im using startDrag function in a movieclip, so what when u mouse over the clip (home) it plays another moiveclip (bEffectHome) which stays with the other movieclip (home) while it moves. Except i have a small problem, when i rolloff the Home movieclip then roll back on, the movieclip which is attached from the libary then made to follow the mouse when over home movieclip is in the extact same place it was when i rolled pver home before, and not over the new location of the home moiveclip. Any ideas on how to fix this ? Anyhow help is greatly appreicated

thanks in advance legion.

p.s if you would like me to post the actually A.S then please ask.

View Replies !    View Related
Start Drag Problems
I have created a movie clip that has everything setup in it including the drag actions. When I put this clip on my timeline named CLIP1, the drag works perfectly. I created a duplicate of this clip and changed the invisible button to point to CLIP2 but when I put it on my timeline on a different layer it won't drag at all.

If I remove any of the two then the drag works fine. The problem seems to be if I have two or more, only one drag will work. Can anybody help with this???

Thanks

View Replies !    View Related
Start And Stop Drag?
OKay, i was wonderin' HOW i can make it so if a I click on an object, an MC or a button, it will startDrag, and when i let go it will stopDrag. I hae this coding:


Code:
on (press) {
startDrag ("", true);
}
on (release) {
stopDrag();
}


also I need this to hitTest to see if it is in another object.

Now, my plight is on press it startDrag's but it doesnt stopDrag on release, also it doest lock mouse to center like i want it to, henceforth the true part, but i cant figure out how to get it to work... BAH!!!

Zakarus

View Replies !    View Related
Start Drag Problem
I have a volume slider that was a start drag function on it,
on (press) {
startDrag (this, false, (GetProperty("../track",_x)-GetProperty("../track",_width)/2) + 0.5, GetProperty("../track",_y), (GetProperty("../track",_x)+GetProperty("../track",_width)/2) - 0.5, GetProperty("../track",_y));
}
on (release, releaseOutside) {
stopDrag ();
}
The volume slider and music it controls, is a seperate swf and is load onto a different level in my main swf. In other scenes of my main swf there are scrolling image galleries that accelerate based on mouse position.
startDrag ("", true);
mouseposition = getProperty("/myself", _y);
// -- active area in y
if (Number(mouseposition)>=465 and Number(mouseposition)<=520) {
gotoAndPlay (3);
}
as soon as it hits the frame where the scripting is for the scrolling images my volume slider is no longer dragable.
Does anyone know a work around for something like this? I've tried giving specific instance names to each in the start drag portion but still no luck.

View Replies !    View Related
Start Drag Not Working In Mac OS 9.2 IE 5.0
Does anyone know why the start drag would work fine on a PC using NT, XP, and 2000 but not on a Mac running 9.2 with IE5.0?

You can see the problem at http://www.robertangelo.com

The News section is clickable and dragable on a pc. (i.e. click and drag up to see more news. This works fine on a PC but not on MAc

Any clues???

View Replies !    View Related
Start Drag Problem
if I use a simple code like

onClipEvent (load) {
this.startDrag();
}
in a mc that is a litle bigger than the movie

It ataches the movieclip to the mouse at the point where the mous is at -loading movie- so if your mouse is in the right corner the right corner of the mc wil be attached to the mouse... atleast that's what I get.

I want to attatch the middle of the mc to the mouse... no matter where the mouse is at the loading of the mc. I tried lock center but that doesn't work... It's a dummie question I know... but a frustrating one too.

View Replies !    View Related
Start Stop Drag
I would like to drag a mask over an object. I just need a tip on how to make it go in a straight line with out passing the begining and end point.

View Replies !    View Related
Start.Drag Question...
Hello all, I need some help from the gurus here.
Is it possible to set the startDrag-parameters (red)
(e.g. startDrag(true, 100, 100, 200, 200 )
via a Variable? And how is it done?
Maybe stupid question, but I found nothing about that in my MX-Books.

Many thank!
hunsel

View Replies !    View Related
Drag Start Within Coordinates
Hello,

I currently have a movie playing with a custom cursor using onMouseMove. What I would like add to this is, when a user is in specific coordinates (square) of the movie, while pressing the mouse down, an Mp3 sound plays, and when the user has released the mouse there is no sound.

Any suggestions? Please help!

Thank you!

View Replies !    View Related
Start.Drag Question
Hello all. I've been trying to do a start.Drag operation with little success. What I'm trying to do is this. I have a _root. Inside that I have a rectangle MC with a ball MC inside of that. When I click a button in the _root MC, I want the ball_MC in the rectangle_MC to start moving with the mouse, but inside of the rectangle_MC's perimeter. The perimeter of the rectangle_MC represents the perimeter of the _root MC. and I want the ball MC to be constrained to the rectangle MC's perimeter. Since the rectangle_MC is much smaller than the _root MC, the ball_MC will move much slower than the mouse.

I just don't know the action script to do this, but I image it must be fairly simple. I appreciate the help.

Vman

View Replies !    View Related
Start Drag With Two Movieclips
hi,

I'm working on a website where i wanna use hover captions (great tutorial btw kirupa).

The problem is i need 2 different size caption boxes. However flash seems to hate dragging 2 separate movieclips at the same time. Anyone know how to do it?

tried :

startDrag ( _root.caption, true);
startDrag ( _root.altcaption, true);

on the frame.

also tried putting them inside the movieclips etc...

Please help me!

cheers,

Kdzines

View Replies !    View Related
Hide Mc / Start.drag
Ok so first of all ive been using flash for a while, But pretty much exclusively for animated movies, or doing artwork for games. But basically I suck at AS.

Anyway, my dad asked me to design a really simple flash program for a pharmaceutical website he is developing (he has pretty much no idea about Flash).

I know I can make it, fairly easily, I just need to learn the certain actionscript that it requires to do it.

Basically what I need to do is this:

The movie is basically a world map, with each area or continent clickable, and when you click on it a bubble appears with text, links and other information on it. The bubble needs to be draggable, and once you click the "x" in the corner, the bubble will disappear. Very much like the markers you find on Google Maps/Earth

I think the functions I need to use are Hide Movieclip, and startDrag, but I dont know what to do with these or how to even start going about writing the script...

So i dont really have any idea about actionscript apart from basic timeline functions, could anyone give me an idea of where to go with the script, or direct me to some tutorials which might help me with my problem?

View Replies !    View Related
Horizontal Only Start Drag
hey guys,

I want to have a movie clip that will drag when pressed but I only want it to drag horizontally. I used startdrag but then it drags both horizontal and vertical. How do I make it only drag horizontaly.

thanks,

View Replies !    View Related
[AS] Start Drag Question
Need some help!

I have a movie clip with 6 items in it.
The live area where the items are to be previewed in is 347 wide by 866 height.
I made a movieclip called postcard which contains my items and I made a button called drag. well to make a long story short I the function to be able to scroll the postcard mc up to be able to view the other movieclips but with the startDrag function I am not sure how to get my variable Numbers correct I tried many diferrent solutions and it keeps draging it left and right I want my center point target to stay on the drag button but doesnt. Any help will be appreciated. I included the code wrote and the link to the fla please help. I just want to make a simple drag scroller like this one.. http://www.internettinyawards.com/ minus the bounce efect and the up and down buttons i just want the drag function.


ActionScript Code:
var l:Number = (0);
var t:Number = (5);
var r:Number = (347);
var b:Number = (5);
drag.onPress = function() {
    startDrag(postcard, true, l, 0, r, 866.0);
};
drag.onRelease = function() {
    this.stopDrag();
};


fla link: http://www.creativescientist.com/scroll.fla

View Replies !    View Related
Complicated Start Drag Problem
hi, would anybody be able to take a look at the swf of my movie. It's a project for my portfolio site it involves inserting a cd into a mac cdrom drive. Everything works great except because of the structure of the movie the cd that is dragged can be dragged behind the cdrom drive flap....arrghhhh it's very complicated to explain try dragging the cd around the mac and you'll see what i mean. I need to know any suggestions that you can think of to get around this problem.

http://www.kissthecook.co.uk/g4.swf

View Replies !    View Related
Please, Start Drag Disable Buttons
Hi,

i put a pointer (MC) in my site next to my menu, but when i set this pointer to be draggable (following the mouse with start drag) the buttons doesn't work.

How can i solve this problem.

Sorry for my english

Can anyone help me?

View Replies !    View Related
Hide Mouse And Start Drag
Heres my problem. I've got three different movieclips that serve as cursors. When i do the hide mouse and start drag they all work. But how would i change the cursor by clicking a button? any ideas?
thanks

View Replies !    View Related
Animation To Start When Drag Ends
ok, complicated one this.

say i have an object that follows the mouse with :

dot.onEnterFrame=function(){
this.startDrag(true);
}

how would i get it to animate when the user stops moving the mouse for a set number of seconds?

say its a dot... instance name dot... when the mouse stops i want the dot to start floating away, but when the user moves again, the dot snaps back to follow the mouse again...

?

View Replies !    View Related
Start + Stop Drag - Am I Missing Something?
I want to have a small object follow the mouse vertically on rollover. For this I used:

on (rollOver) {
startDrag("object", true, -140.9, -51.0, -140.9, 117);
}

No problems there. Now I want the object to stop following the mouse when the mouse is not within a certain area of the screen. I tried the following, but the object keeps following the mouse:

on (rollOut) {
stopDrag();
}

Thanks for the help.

View Replies !    View Related
Getting MC Back To Start Position After Drag?
I need help urgently!!!

a button starts a drag of a text box that in the beginning is hidden outside the screen. On roll over the box is dragged by the mouse. On roll out I would like for the box to go back to its original position.

I have tried stop drag and remove movieclip, but neither seems to work.

Anyone with an idea?

-Garbus

View Replies !    View Related
Rect Coordinates In Start Drag?
hi

I don't quite understand what the 4 parameters (top, left,bottom, right) stand for in the stratdrag . It is very unclear in the reference ( even in my own lagage!).

I want to constrain the drag of a MC to a certain area of the stage, but I don't understantd at all what the 4 parameters stand for in relation to the rectangle I want to constrain my drag to???

are they _x and _y of certain cornerrs???

thank you

C.

View Replies !    View Related
Dynamic Start And Stop Drag
HElllo ,


The function call and startDrag() shown below execute perfectly when hardcoded. However, I'm trying to make the code more dynamic.
Everything works fine except the startDrag function. I'm calling the startDrag function from a code clip. This works ok until I try an use it on
the dynamic attachedMovies. The code cycles through and loads each attach mc, however, the startDrag() function will not execute.
I've tried...


startDrag(_root.ipopup+i);
_root["ipopup" + i]startDrag();


// code on code clip
onClipEvent(mouseDown){
startDrag(_root.ipopup+i);
}

onClipEvent(mouseUp){
stopDrag();
}


//code on the root maintime line.
function fpopups()
{

for(i=0; i <= vArray.length; i++)
if(count == iocArray2[i]){ //popups
attachMovie(["ipopup"+i], ["ipopup"+i], 10001);// trying to make the code more dynamic

_root[ipopup+i]._x = 425;//425
_root[ipopup+i]._y = 260;//260
_root[ipopup+i]._xscale = 100;
_root[ipopup+i]._yscale = 100;
}
}


//attachMovie("ipopup1", "ipopup1", 10001);// original code

iaustin

View Replies !    View Related
On Press Start Drag Two Movieclips?
Hi
I have a magnifier made of two movieclips, glass_mc and handle_mc. The glass_mc is a mask revealing an image in a layer below.
Now I want the handle to move like this:
on (press) {
startDrag(handle_mc, false);
}
on (release) {
stopDrag();
}
But this only takes care of one movieclip. I want the glass_mc to follow as well as in:
onEnterFrame = function () {
handle_mc._x = _xmouse;
handle_mc._y = _ymouse;
glass_mc._x = _xmouse;
glass_mc._y = _ymouse;
};

but in the on(press) and on (release) manner, where the hand grabs the movie clip anywhere.
Can it be done with onMouseDown in some way? I just can’t figure it out.
Hope someone can explain hove it should be done.
/Borje

View Replies !    View Related
Start Drag Center Point
Hi all,

I am trying to create a clock feature where users can drag around individually the minute and hour hands. I am trying to do this through the startdrag function which works to move the hands whereever on the scene, but I need it to rotate around the center point of movieclip which in this case is at the bottom.
The movieclip instance name is minutehand

Any help or advise on this would be greaty recieved.

View Replies !    View Related
Simple Start Drag Question
Hi,

I know this is a VERY simple problem, but i cant seem to solve it... I looked online and searched alot too.

Im making this vertical volume slider, and i need it so when i press the slider it can only be dragged up and down within the mc.

I cant seem to find the coordinates of the mc's "left, top, right, bottom" via actionscript.

Please help

Thanks

View Replies !    View Related
Start Drag Causes Button Error
I have multiple buttons in a flash movie, and there is a bug that makes the buttons not buttons (the hand icon becomes the plain old arrow and the links don't work in IE6) when the mouse is NOT moving. If the mouse is moving, the buttons work fine. When I test the movie in flash, it works fine. When I test it in IE the bug is there. When I load it into Adsys (our ad server) it works fine, but on the website, (viewed with IE6) the bug is back.

_root.caption.startDrag(true , 0 , 0 , _root.caption._x , 240 );

This script is causing the error. It's part of a hover captions feature that I adapted from Kirupa.com
http://www.kirupa.com/developer/mx/captions.htm

Anyone know why this happens, or a work around to fix the bug?

View Replies !    View Related
[Major PROBLEM] Loadmovie Needs Refresh [/Major PR
peepz,

my website runs flawlesson my on HD, but if a place it online the swf's i load into the mainmovie won't work, only if i use a browser refresh....

i use the loadmovie command for loading swf's in my empty mc wich is in my mainmovie!

it so weird im getting CONFUSED...

peepz i need a good advice...!!!!!

thn for all your answers..!

View Replies !    View Related
Selected Button On Top In Start Drag Scroll
i'm trying to figure this out
I'm trying to make this movie have scrolling thumbnail buttons that enlarge when you click on them like the ones on http://www.airforce.com
so far i've figured out how to make the buttons scroll with my mouse and enlarge when I roll over them, but sometimes they enlarge behind the smaller thumbnails.

so now i'm trying to figure out

1. how to get the selected button to always be on top of all the other images
2. how to get the other images to scrunch closer together allowing room for the larger image

also, currently i have the buttons scrolling with my mouse, I still want to do this, but is there also a way I can get the scroll to slow down and almost stop as i approach a button to click on it.

I know that's a lot of questions, but i've been strugling with this for about a week

thank you

View Replies !    View Related
Mouse Hide Start Drag Big Problem
i made a custom mouse and it works perfect
the only thing is that when i loadmovies on level 1 or any other level the mouse from my level 0 freezes and then my new mouse pops up from my movie on level 1
how do i make the level 0 mouse go away?
or make it stay the same for both levels

View Replies !    View Related
[F8] Start Drag Not Functional In Corner Of Stage
I am having problems with dragging. Everything works fine until I drop my object ("pt1") in the bottom right hand corner of the stage (but not so low as to be inaccessible by mouse). Any suggestions? Also, I am a newbie...so any code clean-up suggestions would be appreciated

Code as follows:


var halfStgX:Number; var halfStgY:Number;
halfStgX = Stage.width/2; //half the stage width (550) is 275
halfStgY = 200 // defined half for vertical because of flash 8 bug

pt1.onPress = function(){
this.startDrag();
}

pt1.onRelease = function(){
this.stopDrag();
var pt1x = pt1._x;
var pt1y = pt1._y;
get_pos(pt1x,pt1y);
}

get_pos = function(pt1x,pt1y){ // to get the current position of the point
var labelx:Number; var labely:Number;
if(pt1x-halfStgX>205){ // if the point gets too far to the right, we need to move its coord label to the left
labelx = pt1x-60;
}else{
labelx = pt1x;
}
if(pt1y-halfStgY>150){ // if the point gets too to the bottom, we need to move its coord label up
labely = pt1y-25;
}else{
labely = pt1y+10;
}
print_coords(labelx,labely,pt1x,pt1y);
}

print_coords = function(labelx,labely,pt1x,pt1y){
_root.createTextField("pt_coords",1,labelx,labely, 100,100); // creat a text field at position given for label
pt1x = (pt1x-275)/10; // re-adjust the output such that middle of screen is (0,0)
pt1y = (200-pt1y)/10;
pt_coords.text = "("+pt1x+","+pt1y+")"; //text that gets printed each time
}

View Replies !    View Related
Start Drag Doesn't Work In Firefox
Start drag doesn't work in firefox and google chrpme

View Replies !    View Related
Start Drag And Target On Loaded Movies
I have an swf that I load and unload a series of swf movies on. One of my loaded movies has a drag and target function. The idea is, i drag an object to a garbage can, and it goes away. Simple, works like a charm if I open it up on its own, but doesn't work at all when opened up as a loaded movie on a layer of another SWF.

this is the type of actionscript I'm using.

this.onRelease = function() {
if (this._droptarget == "/thetrash") {
this._visible = false ;
_root.gotoAndPlay(97);
};

any suggestions?

View Replies !    View Related
Set Action To Start An .exe?
Hi,

Please could you help me, I want to set an action to a button to start an .exe of a directory of my choice. But I don't have a clue how to.

Please could you help!!

Cheers,

NK.

View Replies !    View Related
Action To Start .exe
Hey guys,

Please could you tell me how to make a button use an action, which will start off an .exe in a directory of my choice?

Please help.

NK.

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved