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




Pop-up Window Problem With Mouse Over - Newbie



Hello,

In Flash MX 2004, I have created a square which contains an image. The image is a button that calls another window to open (with the image larger). This button has the following script:

on (press) {
this.attachMovie("90826", "window",200);
window._x = 25;
window._y = -80;
}

When you preview the FLA, it works fine, the window opens on top of the image except that the cursor (the mouse) stills displays a hand as if this pop-up window’s background was transparent. How can you set this right? I don’t want the mouse over the pop-up window to display this hand (when you click, the pop-up window reappears). Is there a way to make the pop-up window opaque so on mouse-over you don’t get that result)?

I have attached the files.

Thanks so much,

Luke



FlashKit > Flash Help > Flash MX
Posted on: 02-05-2004, 04:04 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

2nd Post - Please Help - Pop-up Window Problem With Mouse Over - Newbie
Hello,

In Flash MX 2004, I have created a square which contains an image. The image is a button that calls another window to open (with the image larger). This button has the following script:

on (press) {
this.attachMovie("90826", "window",200);
window._x = 25;
window._y = -80;
}

When you preview the FLA, it works fine, the window opens on top of the image except that the cursor (the mouse) stills displays a hand as if this pop-up window’s background was transparent. How can you set this right? I don’t want the mouse over the pop-up window to display this hand (when you click, the pop-up window reappears). Is there a way to make the pop-up window opaque so on mouse-over you don’t get that result)?

I have attached the files.

Thanks so much,

Luke

Mc Following Mouse Via On Click? - Help A Newbie
Hi all,

I have created an mc that I would like to have follow the mouse (very slowly) by click on it. Clicking again on the mc would then return it to the original position. Is there a nice flasher will lend a scripting hand? Maybe a tutorial is out there that I couldn't find? Any help would be great!

tHeDoSe

Newbie Needs Help With Mouse Trailer
Hello all,

This newbie needs your help. I am studying the "mouse trail" tutorial in Flash MX section. I am getting the beginning part of the code but the latter is still a little over my head right now. When I use it the way it is written. The letters follows the mouse cursor everywhere. Which is great. But I like to use it only in the "over" state of a button. So the letters "click me" will only appear and trail the cursor within the hit area of the button. Then disappear once the mouse cursor moves out of the hit area of the button. I got the "click me" trailing the mouse cursor to work when rolled over the button with this code

myButton.onRollOver = function() {
clickme();
};

//clickme() is the function I made with all the original code except the first line.

Now my problem is I don't/can't stop it from staying on when the cursor rolled out of the hit area. The original code is listed below. Your help is appreciated and I am really sorry for the long post.

-------------------------------------------------
Text = "Kirupa has the best site on the net!!!";
letters = Text.split("");
letterformat = new TextFormat();
letterformat.font = "Verdana";
letterformat.align = "center";
letterformat.size = "10";
spacing = 8;
speed = 3;
for (var LTR = 0; LTR<letters.length; LTR++) {
mc = _root.createEmptyMovieClip(LTR+"l", LTR);
mc.createTextField(letters[LTR]+"t", LTR, LTR*spacing, 10, 20, 20);
with (mc[letters[LTR]+"t"]) {
text = letters[LTR];
setTextFormat(letterformat);
selectable = false;
}
if (LTR) {
mc.prevClip = _root[(LTR-1)+"l"];
mc.onEnterFrame = function() {
this._x += (this.prevClip._x-this._x+5)/speed;
this._y += (this.prevClip._y-this._y)/speed;
};
} else {
mc.onEnterFrame = function() {
this._x += (_root._xmouse-this._x+10)/speed;
this._y += (_root._ymouse-this._y)/speed;
};
}
}
------------------------------------------------------

Newbie Needs Help With Mouse Trailer
Hello all,

This newbie needs your help. I am studying the "mouse trail" tutorial in Flash MX section. I am getting the beginning part of the code but the latter is still a little over my head right now. When I use it the way it is written. The letters follows the mouse cursor everywhere. Which is great. But I like to use it only in the "over" state of a button. So the letters "click me" will only appear and trail the cursor within the hit area of the button. Then disappear once the mouse cursor moves out of the hit area of the button. I got the "click me" trailing the mouse cursor to work when rolled over the button with this code

myButton.onRollOver = function() {
clickme();
};

//clickme() is the function I made with all the original code except the first line.

Now my problem is I don't/can't stop it from staying on when the cursor rolled out of the hit area. The original code is listed below. Your help is appreciated and I am really sorry for the long post.

-------------------------------------------------
Text = "Kirupa has the best site on the net!!!";
letters = Text.split("");
letterformat = new TextFormat();
letterformat.font = "Verdana";
letterformat.align = "center";
letterformat.size = "10";
spacing = 8;
speed = 3;
for (var LTR = 0; LTR<letters.length; LTR++) {
mc = _root.createEmptyMovieClip(LTR+"l", LTR);
mc.createTextField(letters[LTR]+"t", LTR, LTR*spacing, 10, 20, 20);
with (mc[letters[LTR]+"t"]) {
text = letters[LTR];
setTextFormat(letterformat);
selectable = false;
}
if (LTR) {
mc.prevClip = _root[(LTR-1)+"l"];
mc.onEnterFrame = function() {
this._x += (this.prevClip._x-this._x+5)/speed;
this._y += (this.prevClip._y-this._y)/speed;
};
} else {
mc.onEnterFrame = function() {
this._x += (_root._xmouse-this._x+10)/speed;
this._y += (_root._ymouse-this._y)/speed;
};
}
}
------------------------------------------------------

Newbie - Opening Up Something In A New Window?
Hi all...

OK Here's a simple question...I have this website i designed for my "sidework" - i render houses for architects. So i made this incredibly simple website where you can see small samples of my work, then underneath the small sample image, i put in a button that says "Click here for a larger version of this image"...so anyway, i want it to open a new window where you can see the larger image. This is what i put for the button...

on (release) {getURL("http://perspectiveart.home.comcast.net/perspectiveone.htm",_blank);

I thought the "_blank" part would get this to work but its not.

Here is the link to my simple site - http://perspectiveart.home.comcast.net/

If you go to the "Perspectives" button, you can see where i have this button underneath the sample images.

Is there a simple solution? I spent way too long working on this incredibly simple website and i am too frustrated to figure it out.

Thanks for any help!

Mouse-action To Make MC Act As I Want (newbie Q )
Hi,

I want to make a movieclip play forward or backwards depending on whether I drag mouse right or left....how do I do??

Thanks for all help in advance !

Sound To A Mouse Down Event: Newbie
How would I add a sound to a mouse down event? ie,. I would like to add a gun shot sound to a mouse click. I hid my mouse and made it crosshairs. Any help would be appreciated. Thanks...

Roger

Newbie - New Window Within Player WITHOUT Browser - MX
arrrrggghhh!
i'm sure it's simple.
is there a tuorial or a thread you can direct me to that explains the use of a new standalone window for an .swf WINTHIN the existing player.
I've tackled loadMovie and loadMovieNum to no avail.
I'm using Flash MX to assemble a portfolio and have a published SWF i'd like to include, without having to alter the main SWF.
thanks loads,
abw

Opening A Window In Flash - No HTML - Newbie
HI,

I would like to open a pop-up window from Flash that displays a larger image than the one showed in my main flash timeline. My project only uses flash - the movie is not played in a browser. I am making a projector file out of my site.

Can someone help please?


Newbie here,

Luke

Complete Newbie -- How To Expand Work Window
When you are looking at the main workspace for flash, I seen a large grey panel with a little white square in the middle, which is what I can work on, how do I make that actual workspace appear bigger?

Also I can't seem to find any good online tutorials. I only bought the Flash MX CD and serial code and don't have the manual. Flashkit's tutorials are mainly for flash 4 and 5 and I can't follow them with MX 2004 pro. Help!

Newbie Asks Stupid Question: How Do I Make A Pop-up Window?
How do I make a popup window that is triggered by a button that looks like a microsoft window and fill it with content?

Thanks for helping...
(on the verge of a mental breakdown)

How To Close Projector Window (Clueless Newbie Alert)
Hi everyone,

I'm new here but hopefully I will become a regular.

I've been tearing my hair out with what is probably a really SIMPLE problem, but the thing is I have only been using Flash since 2 months ago so I am a clueless newbie.

I've made a splash screen for a CD. When the user clicks a button it launches an external executable to install something. This is a HUGE file so the gap between clicking the button and it appearing on screen is quite big.

In the meantime I make the text on the button change to "Loading, please wait" but then I need the projector to wait 20 seconds and then quit to desktop.

I've managed to get everything working except for the part where it quits to desktop! What is the single command to make the projector quit when the timeline runs over it? (Not by pressing a button, I know how to do that)

THANK YOU THANK YOU whoever saves me!

Keira

Newbie Asks Stupid Question: How Do I Make A Pop-up Window?
How do I make a popup window that is triggered by a button that looks like a microsoft window and fill it with content?

Thanks for helping...
(on the verge of a mental breakdown)

How To Close Projector Window (Clueless Newbie Alert)
Hi everyone,

I'm new here but hopefully I will become a regular.

I've been tearing my hair out with what is probably a really SIMPLE problem, but the thing is I have only been using Flash since 2 months ago so I am a clueless newbie.

I've made a splash screen for a CD. When the user clicks a button it launches an external executable to install something. This is a HUGE file so the gap between clicking the button and it appearing on screen is quite big.

In the meantime I make the text on the button change to "Loading, please wait" but then I need the projector to wait 20 seconds and then quit to desktop.

I've managed to get everything working except for the part where it quits to desktop! What is the single command to make the projector quit when the timeline runs over it? (Not by pressing a button, I know how to do that)

THANK YOU THANK YOU whoever saves me!

Keira

Need Mouse Trail (actionscript 2) With Multiple Images - Troubled Newbie...
hi all.

i humbly approach you again, apologizing for my stupidity... this dummie-newbie is still struggling with the same problem: i desperately need a mouse trail script, where 3 or more different objects chase the mouse in an elastic, smooth and bouncy manner - as if connected to it with a rubber band. i looked through all the mousetrailers in this site and about a dozen(!) others, with poor results: all mouse trailers, where multiple images/graphics follow the cursor are in flash 5 format or older and won't work in my main movie - i use flash mx 2004 7.02.

i saw that kind of trailer in a web page, and i know it's a really simple thing to do - if you just know how! so please, someone, if you can either point me to a site that has the thing, or paste me those actionscript lines + necessary info bits here, you'd be doing me a really big favor.

thanks, by the way, for this great site! it has been an important help in my first flash experiments.

mar

Mouse In Window
I'd like a failsafe way of detecting whether the mouse has left the flash movie window when it is embedded into a html page. I can do it by using a movieClip that almost fills the area and seeing if it moves outside but this is pretty clumsy (imo) and unreliable.

anyone help?

Window To Be Opened With Mouse Over?
HI,

I want to emulate a link in HTML.

When u mouse over a link on an HTML page, it shows on the bottom of the browser window, where that link will take you.

Is it possible for a Flash button to do the same thing?
i.e when u mouse ova a Flash button, the link appears on the bottom of the browser window.

If this can be done, it would be great, if not, nevermind.

Cheerz,
Dwayne

Mouse Out Of Flash Window?
Hi all,

I've got a small flash movie on my site which contains animated buttons. The problem? When I roll over the buttons and then out of the flash window quickly (and onto normal html), the buttons freeze.

Can anybody tell me how to tell an action to tell the flash movie that the mouse is out of the flash window?

Does that make sense?

Thanks!

Know When Mouse Is Out Of Flash Window
I have a follow mouse action and i want the box that follows to "dissapear" when the mouse no longer are in the flash window.

I have tried to search a script that have that but in all I've found the box allways stops in the window in different positions depending on where the mouse exit.

Mouse Out Of Flash Window?
Hi all,

I've got a small flash movie on my site which contains animated buttons. The problem? When I roll over the buttons and then out of the flash window quickly (and onto normal html), the buttons freeze.

Can anybody tell me how to tell an action to tell the flash movie that the mouse is out of the flash window?

Does that make sense?

Thanks!

Pop Up Window When Mouse Is Over A Button
Hello

Could anyone tell me how to make a button animation that when the user mouse over it a box pops up with information text? My idea is to make buttons that are linked to photos, and when I mouse over one button it displays a pop up window (created by myself, not an url window) with some information about that photo!

I guess that it is pretty simple, but I´m new in flash, and the tutorials I´ve found only explain how to pop up url windows...


Thanks in advance for any help

Mouse Tracking Outside Of Flash Window?
does anyone know if it is possible to track the mouse position outside of the flash movie window? without dhtml?

Any Way Detecting If The Mouse Is Not In The Flashplayer Window?
any way detecting if the mouse is not in the flashplayer window???

Action When Mouse Is Out Of Flash Window?
Hi all,

I've got an animated button and when I click it and quickly drag my mouse out of the flash movie, the button freezes. Can anybody tell me how to do an action in actionscript that tells the movie to recognise that the mouse is out of the flash area?

Cheers.

Create New Window From Mouse Click
hey guys wondering if you could help me out. i'm having some trouble figuring out how to have a user click on an icon then have a new window/box come out and enlarge. thanks for your help!

Overlayed Window When Mouse Clicked...
Hi there,

I need to learn how to do the following...

I have a list of text (bullet points) down one side of the page...
> I want to be able to click on each point...
> When clicked (or rolled over - doesnt matter really), I want a slightly transparent window to appear (can just appear of fade in or wipe in - doesnt matter) WHERE THE POINTER CLICKED showing a more detailed bit of text describing the bullet point.
> I also want to window to include a little "X close" button in the corner...

Does that make sense?
Is this possible in MX? - Im sure it is...
I would search for it but i dont know what to search for!!

Any help would be much appreciated!

Kind regards,

Ben

PS I guess im after something like these adverts you see on yahoo ect, when the ad floats over the text behind but isnt actually a new explorer window... and you hit close to hide it... make sense??

Mouse Detection Outside Flash Window
I have a moving banner with some pictures in it. If you move your mouse to the left the speed to the left increases, and if you move to the right the speed increases in the opposite way.

an example can be found here:


The problem is that if you leave the window flash remembers the last _xmouse position. I want that the speed is reset to a default value when you leave the Flash window.

I've tried to make this with a border of 5 px and a hittest to test if you are leaving the window, but with the fps set to 30 this is to slow if you leave the window to fast.

how could i solve this problem best?

source code:
frame1:

Code:
//namenlijst
_global.namesArray = Array( "angela_hubel",
"annelies_planteijdt",
"beate_weiss",
"cecile_van_eeden",
"elly_vos",
"laura_bakker",
"monika_gloss",
"sabine_ring-kirschler",
"site_falkena",
"stephen_greenstein"
);

//inladen namen
arrayLength = namesArray.length - 1;
_global.pictures = namesArray.length
arrayLengthLast = namesArray.length - 10
i = 0;
j = 10;
xDistance = 0;
k = 0;

while(arrayLengthLast <= arrayLength)
{
tmp = _root.theBar.createEmptyMovieClip(namesArray[arrayLengthLast]+"v", j);
tmp.loadMovie(namesArray[arrayLengthLast]+".jpg");
tmp._x = xDistance;
arrayLengthLast++;
j++;
xDistance = xDistance + 90;
}

while(i <= arrayLength)
{
tmp = _root.theBar.createEmptyMovieClip(namesArray[i], j);
tmp.loadMovie(namesArray[i]+".jpg");
tmp._x = xDistance;
i++;
j++;
xDistance = xDistance + 90;
}

while(k <= 9)
{
tmp = _root.theBar.createEmptyMovieClip(namesArray[k]+"a", j);
tmp.loadMovie(namesArray[k]+".jpg");
tmp._x = xDistance;
k++;
j++;
xDistance = xDistance + 90;
}

// theBar goed zetten
_root.theBar._x = -900;
source code:
frame2:

Code:
if(_xmouse > 5 && _xmouse < 895)
{
if(_root._xmouse <= 449)
{
xAsV = _root._xmouse - 450;
speedV = -1*(xAsV/40) + 1;
_root.theBar._x = _root.theBar._x - speedV;
}

if(_root._xmouse >= 450)
{
xAsA = _root._xmouse - 450;
speedA = (xAsA/40) + 1;
_root.theBar._x = _root.theBar._x + speedA;
}
}
else
{
_root.theBar._x = _root.theBar._x + 1;
}

if(_root.theBar._x < -90*(pictures)-900 )
{
_root.theBar._x = -900;
}

if(_root.theBar._x > 0 )
{
_root.theBar._x = -900;
}


for(i = 0;i < pictures;i++)
{
tmp = _root.theBar[namesArray[i]];
}
trace(_xmouse);
source code:
frame3:

Code:
gotoAndPlay(2);

Mouse Wheel Making The Window Scroll
Hi,

I need to make the mousewheel scroll the window that the flash movie in embedded in. Any ideas? maybe using javascript?

thanks for any help
boombanguk

Mouse Wheel Making Window Scroll?
Hi,

I need to make the mousewheel scroll the window that the flash movie in embedded in. Any ideas? maybe using javascript?

thanks for any help
boombanguk

Tracking Mouse Motion On Window Edge
i'd like to run a flash file in full screen mode and use the mouse to zoom in and out a map. e.g. you move your mouse up to zoom in the map... but i'd like to zoom in even after the mouse reached the top edge of the screen. is there any way to track the mouse movements of the user, when the mouse on screen is at the edge of the screen / flash window? (the problem: if you try to move your mouse up and the mouse is on the upper edge, the _ymouse property stays at 0)

Mouse Follower Leaves Screen When You Click Outside Browser Window
ok, so basically i'm using this script (three times - each a little different)

onClipEvent (enterFrame) {
if (_root.mainVar == 0) {
homeX = (-_root._xmouse*3)+1600;
} else {
homeX = (-_root.mainVar*3)+1600;
}
thisX = _x;
diffX = homeX-thisX;
if (_root.mainVar == 0) {
moveX = diffX/50;
} else {
moveX = diffX/5;
}
_x = thisX+moveX;
}

the issue is that, when i test the file tester
it all looks fine, it's just that if you click outside the browser window, ya know on your desktop or something outside the 800 pixel flash movie, the MCs that are being thrown back and forth are going way out of the movie's bounds and eventually disapear until you click back somwhere within a reasonable area ...

now, admitidly i don't know that much about it and am tweaking some code found here to do what i want, so i'm just wondering if there's an easy fix to this little bug cause i know that eventually someone will do this and be like - oh you suck - trying to avoid this... any help is greatly appreciated!

SPEX: MAC OSX.3.6, dual 1.8 G5, 1.25 ram - Flash MX (not 2004) and safari

Gibbosniper Vs Munkie Or Newbie Vs Newbie
Ok Gibbosniper,

This is the start of the thread, for our contest of Newbies brains in action. Let us set a time limit of sorts, and go from there.

Again, I am far from an MX master, I just started just over a week ago, so it might take a while for me to produce something worthy of public display, but if you are patient, so am I.

Game on!

Munkie!

Keyboard Control-for A Very Newbie Newbie
I was wondering if there is a simple way to control flash animations when
pressing a key on the keyboard. Example: Scene 1 is an animation of a
circle, this scene will continue to loop until I press the 'f' key, and
then the flash movie will change to Scene 2 where we see the circle
explode. I looked around flashkit.com and found some tutorials, but I
think they used an earlier version of flash, because I can't find the
instance properties in order to change the action from mouse click to key
press. I own flash professional 8. Anyway, I can use as much help as I
can get, so if you know of an action parameter in which I can execute
this...action, it would be greatly appreciated! Thank you for your time!
-Timmy

Newbie Asking A Newbie Question
Thanks for looking at my post. I am very new to Flash and I want to make a simple movie withsome text. I know how to insert text and customize it, but I wanted to know how I could jazz it up a bit. Add some effects to it. I was wondering if anyone could help show me how to make it shine, or glimmer, or glow, or something of tht sort, you know? You know on the Ultrashock logo when you put your mouse over it, it shines? I wanna know stuff like that. Can anyone help? Is there a tutorial or we page I can go to? Thanks in advance, and thanks for looking even if you can't help...

Movie Clip Mouse Speed Control Depending On Mouse Press
Hi,
Please help me !
As iam developing a small ball game in flash, where i need to control the speed of the ball (i.e, to increase or decrease the speed of ball)when clicked on a button depending on mouse press .

I have done similar on key press but iam not able to do the same for mouse pressed.


Please help me out

Your help will be appreciated.

Thanks & Regards
Zabi

OnPress Doesn't Work If The Mouse Button Is Pressed Again But The Mouse Is Not Moved.
I have a very simple piece of code but it has one very annoying bug. When I press the button a second time, the code doesn't work. The only way to get the code to work is by moving the mouse a tiny bit, or moving the mouse off the button and back on.

Does anyone know a way to make a button that can be clicked many times without moving the mouse?


Code:
randommultiquiz.onPress = randommultiquizOnPress;
function randommultiquizOnPress() {
_root.attachMovie("connect", "newconnect", 200);
newconnect._x = 0;
newconnect._y = 0;
newconnect._xscale = 100;
newconnect._yscale = 100;
}

How Do I Create A Movieclip To Play If Mouse Is Unactive, And Stops When Mouse Moves?
I am in the process of creting a world map navigation for a global ite portal.

In the map a user can hover over different continents to zoom in on specific countries then click on that country's to goto its specific website.

However I think the world map looks a little un-user friendly so was looking at playing a quick tutorial movie (a mouse cursor, moving over a continent and highlighting it) when the mouse is not being moved, then stops when the user moves the mouse.

This feature a little reminisant of when sonic the hedgehog used to tap his foot if you didnt use your joypad for a while.

I would also like to start the movie (after he preloader ive used) with the tutorial playing, so the user can understand the way it works straight away.

I am a novice at action scripting, so all help would be appreciated!

Thanks

M

How Do I Create A Movieclip To Play If Mouse Is Unactive, And Stops When Mouse Moves?
I am in the process of creting a world map navigation for a global ite portal.

In the map a user can hover over different continents to zoom in on specific countries then click on that country's to goto its specific website.

However I think the world map looks a little un-user friendly so was looking at playing a quick tutorial movie (a mouse cursor, moving over a continent and highlighting it) when the mouse is not being moved, then stops when the user moves the mouse.

This feature a little reminisant of when sonic the hedgehog used to tap his foot if you didnt use your joypad for a while.

I would also like to start the movie (after he preloader ive used) with the tutorial playing, so the user can understand the way it works straight away.

I am a novice at action scripting, so all help would be appreciated!

Thanks

M

How Do I Create?: Scrolling Image Stops On Mouse Over-starts On Mouse Off
I’m trying to create this animation:

I have an long rectangular image (with more images going across it) scrolling FROM the right side of the screen to the left (very slowly). similar to a ticker.

I want the scrolling to stop when the viewer mouses over the menu strip. If they press on the image that they have just moused over, I have a movie clip I want to play for that image (a few images pop up, one bigger than the other). When the viewer mouses off, the movie clip disappears, and the menu continues scrolling to the left, from the right.

Greatly appreciated!!

Playing A Movie Clip On Mouse Over And Continue To Last Frame On Mouse Out
Hi All,

I have a movie clip on the timeline which is an animated mouseover button

Basically what I need to do is for the movie to be stopped at frame one when there is no mouse over and loop continuosly when I do have mouse over then on mouse out i want it to finish it's frames playing from where ever it was at when the mouse was moved out to the last frame and then display frame one so it is stopped again ready for a new mouse over.

Something I have found difficult to work out is that whilst it is doing the "out" play to to last frame, if you put the mouse back over again, it starts from frame 1 so looks like it jumps so i need the mouse over to also read what frame it is currently playing so that it can continue its endless loop from that frame to avoid it jumping about.

I hope that makes sense, it's really difficult to describe in words.

Here's the movie clip's action as it is now.

on (rollOver)
{
this.gotoAndPlay("over");
}
on (releaseOutside, rollOut)
{
this.gotoAndPlay("out");
}

ok so in the movie's timeline itself, the label "over" is a frame containing another movieclip which is basically a continous 30 frame loop and my movie timeline is stop();

so, on (rollOut) it plays at label "out"

I have placed a copy of the movie loop at the "out" frame which plays the movie slower at the end to make it a nice wind down stop

what I thought to do in action script is to read the current frame that the movie loop is at and make so the "out" position movie starts its playing frame from that frame number until it reaches the end frame where it jumps back to frame one of the timeline with the first stopped frame.

I've seen a command something like this below used to get the current frame number and take it away from the total to continue playing from that point, that's not totally right for what I am doing but it shows me the sort of thing i need to write but i don't know how to write an actionscript to read the current frame from the movie1 whcih is playing and start playing movie2 at "out" from that frame number?

on (rollOut) {gotoandPlay(_totalframes - _currentframe); }

maybe there is an easier way to get this to work, i've seen lots of similar examples on the web but nothing that specifically plays a lopp and then continues to the end on mouse out. it sounds simple but I've tried all weekend to do it without success?

Can anyone help me please?

Thanks,
Terrence.

Mouse Follow/stopfollow After Mouse Leaves Object (with Ease)
well, i think the title covers me entirely, i would like some help with a script.
The problem is, i have a scene with objects that at first they are static, when the mouse comes in and makes a move-over the scene and some objects,i have assigned multiple collision to the objects, i want when the mouse moves over a object, the object to follow the mouse,while colliding to all other objects and after a while i would like as the mouse moves away, the following to stop and the objects to return to its original spot with ease.

I know that this is a big one, but i would like some help if i could get

Detect Mouse _x & _y Attach Specific Clip And Have It Follow Mouse
I'm trying to make a clip that will have another clip attached (eventually it'll be a mask) when you roll over it. I want the mouse positon to be determined on rollover and a different clip (with different registration point) to be attached depending on which quadrant you rollover first. IE- you rollover the lower left quadrant of the mc first so an mc with an upper right registration point is attached and follows the mouse.

basically I want it to look like you're pulling a mask from out of nowhere onto the main mc from whatever corner you start on... (make sense?)

i'm trying to reconstruct what you see here (http://www.mullerphoto.com/)
this is the first baby step!

anyhow, here's my AS and i'll attach the .fla any help is great! I have the actionscript dictionary and am not afraid to use it, I just need help with the mechanics of how to actually do this (i.e.- which methods, properties, etc. to utilize) thanks!


Code:
leftfunction = function(){
if (patch._ymouse <= 100){
llowerfunction;
}else{
//this function starts the maskclip coming in from the upper left with a lower right reg point
_root.patch.attachMovie("lowerright", "lrclip", 1);
lrclip._x = _root.patch._xmouse;
lrclip._y = _root.patch._ymouse;
}
}

llowerfunction = function(){
//this function starts the maskclip coming in from the lower left with an upper right reg point
patch.attachMovie("upperright", "urclip", 1);
urclip._x = patch._xmouse;
urclip._y = patch._ymouse;
}

rightfunction = function(){
if (patch._ymouse <= 100){
rlowerfunction;
}else{
//this function starts the maskclip coming in from the upper right with a lower left reg point
patch.attachMovie("lowerleft", "llclip", 1);
llclip._x = patch._xmouse;
llclip._y = patch._ymouse;
}
}

rlowerfunction = function(){
//this function starts the maskclip coming in from the lower right with an upper left reg point
patch.attachMovie("upperleft", "ulclip", 1);
ulclip._x = patch._xmouse;
ulclip._y = patch._ymouse;
}

_root.patch.onRollOver = function() {
if (patch._xmouse <= 150){
leftfunction;
}else{
rightfunction;
}}

Pop Up Window That Opens To Show A Picture On Website. Not A Popup Window To Open URL
Here is a link to an example of which i am referring. If you rollover anyone of the pictures a pop up image appears. Does anyone know how to accomplish this?
http://www.templatemonster.com/categ...thor=&x=31&y=6

Close.window Script In Flash Button Quits My Browser Window Or Crashes System
Can somebody please help me?
I have a javascript attached to a button in a .swf file to close the browser window it is in.
The code which was given to me yesterday by senocular is

on(press){
getURL("javascript:window.close()")
}
__

however if you try it IE will unexpectedly quit or bomb my computer.
I tried it in Netscape and it didn't crash.

You can refer to my site http://www.valdesdesign.com
after intro go to print button and then to editorial button.
Editorial opens new window with editorial.swf inside. Click on top right button to close window and see what happens.
Is there something I'm doing wrong? Please help me.
Thanks

Link In Pop-up Window (flash File) Target=parent Window
I have a flash demo that is opened from our web site and spawns a new window. At the end of the demo is a link that directs the user to "get more information." I would like this link to open the "more info" page in the PARENT window rather than the spawned window. Currently I have my Flash link coded with:

on (release) {
getURL ("http://www.hiddenmind.com/materials.html", _parent);
}


This is not working. Do I need to add some code to the parent window and/or the HTML page where the Flash file is embedded?

Thanks for your help! I can't seem to find the solution

Popup Window(or Separate Window To View Larger Image)
popup window(or separate window to view larger image)
like 'fever' in dreamweaver .

i can click on a small image and have it pop up in it's own window.
Can this be done in flash?
thanks

AS: Close Current Window And Open Link In Father Window ?
Please, guys, can anyone lead my hand in this?

I have produced a flash movie. the wholw are is an invisible button which
should close the animation and in father window open a link.

The flash movie pops up automatically when page is loaded. I used this:

on (press) {
getURL("javascript:self.close();window.opener.loca tion.href = 'http://www.unibanka.sk/servlet/com.elline.pb.Page?page=alfa_ts'");
}


... but am not sure if this would work exactly how I want it.

Thanx

Custom Mouse Cursor Conflict With Mouse Trail
When I put mouse trails and custom mouse cursor script in the same scene the mouse trails work but the cursor does not change to the custom cursor. If I use the custom mouse cursor script in a seperate scene, on its own, it works fine. I think that the two scripts are conflicting.
Mouse trail script:

onClipEvent (enterFrame) {
//x movement
mx=_root._xmouse;
if (mx<_x) {
dx=_x-mx;
}
else {
dx=mx-_x;
}
moveSpeedx=dx/10;
if (mx<_x) {
_x=_x-moveSpeedx;
}
else {
_x=_x+moveSpeedx;
}
//y movement
my=_root._ymouse;
if (my<_y) {
dy=_y-my;
}
else {
dy=my-_y;
}
moveSpeedy=dy/10;
if (my<_y) {
_y=_y-moveSpeedy;
}
else {
_y=_y+moveSpeedy;
}
}

Custom mouse cursor script:
Layer 1(functions):

stop();
/* update the cursor coords */
function updateCursor() {
_root.cursor._x = _xmouse;
_root.cursor._y = _ymouse;
updateAfterEvent();
}

Layer 2(on event handlers):

onClipEvent(load) {
Mouse.hide();
this.swapDepths(100);
}
onClipEvent(mouseMove) {
_root.updateCursor();
}

Please help!

Mouse Direction Scroll With Mouse Over Image Enlargement...
Hi all..

Haven't had much luck finding a tutorial to help me do this one so any help locating it would be good.. I'm trying to design an image gallery where the images scroll left to right depending on mouse movement. Once a mouse is over an image it enlarges then returns to normal shape with mouse off.

any help appreciated..

cheers!

Copyright © 2005-08 www.BigResource.com, All rights reserved