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




Pop Up Windows Larger Than The Movie Area



My movie is a kind of slide show, and for each image, I would like the possiblity to enlarge it by a pop-up window.
The size of the enlarged image is larger than my project, so I have the idea to create a new swf, but how to reference the symbols of my main swf...



FlashKit > Flash Help > Flash ActionScript
Posted on: 02-11-2002, 06:57 AM


View Complete Forum Thread with Replies

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

Larger Hit Area
I am trying to make something happen when one mc rolls over another. At the moment the main mc is following the mouse and i want to increase the hit area for the static mc. At the moment it is seeing if _x position of the two mcs are the same. Any one know how to make that bigger ie - or + 20 the _x position.

Any thoughts would be helpful, cheers.

(this is the code on the moving mc):

onClipEvent (enterFrame) {
i = _root._ymouse-_y;
t = _root._xmouse-_x;
_x = _x + (t/10);
_y = _y + (t/10);
if ((getProperty("/man", _x)) eq (getProperty("/hit", _x)) {
setProperty ("/hit", _xscale, "200");
}
}

Larger Hit Area?
Dear all,

How do I expand the Hit area on a button? When I press one of the buttons (Text) you really have o be pretty exact! Can I create a button that covers the entire text e.g Please Click Here ?

Cheers.

G

Need A Larger RollOver Area
Alright, here's a tricky question (for me). I have an mc that when I roll the mouse onto plays (it grows larger), which reverses when the mouse is rolled off. The problem is, the object is shaped somewhat like a U-shape, so when it grows larger, the mouse is no longer on it anymore unless you follow it growing larger with the mouse. Basically, I need to designate a larger area (surrounding the movie) that I can roll onto to make the clip play so that this doesn't happen. I've thought of creating an invisible mc to embed the other mc in(alpha=0%), but wouldn't that make the embedded clip invisible too? Any suggestions as to how to get around this?

TIA,
aaroneousmonk

Larger Work Area
I don't know exactly what to call it, but it's the grey area around the stage. Is there a way that I can make it bigger? I've got some really long objects and I have to keep dragging themm over to work on them.

What's the total width, like 3000 pixels?

jorge

Larger Hit Area W/ Buttons?
I was wondering if it is possible to make the hit area larger buttons. I think that is the problem Im expreiencing at least with my buttons....how do I go about doing that? (to see what I mean check http://www.kinkaidonline.com/justist...isnewhome.html)

I was also wondering how I could set my page so that the browser width would set to a certain size? Is that possible?
Thanks,
Juury

[F8] Larger Hit Area On Text
I have a bunch of tiny boxes which are mc instances in an array along with image references. I have it set that when the viewer rolls over a box it fades slightly and the corresponding image appears on another area of the window. Everything works great.
Now I want to substitute the boxes with numbers, 1, 2, 3,.... I can substitute the mc boxes with mc text and everything works except the hit area on thin numbers like 1 or 7 is smaller than I would like. I can put an invisible target area mc behind every number (or keep my original boxes in the background) but I am wondering if there is a simpler solution.
Thanks,

Rick

BUTTON HIT AREA ? Larger When In Rollover
hello does anyone know how to make a buttons hit area larger when you
go into the over state?

am looking to acheive what is done on this site on the buttons in the top right (they called projects teams and contacts)


Am not actually sure if that is what is happening, any comments or suggestions would be great

thanks in advance

Adam

Larger View Of Entire Work Area
My project is 600 x 450 pixels. But I have a very wide image that will motion tween across my viewable area. When I dig into that MC and zoom out to 25% My image is being cut off by the outer limits of the work area. I need to be able to add elemnts that that MC that are outside of that area. Is there a preference or some way I can expand that workable area? When I say workable area I don't mean the stage... I mean the gray area outside the stage. I'm at the limit of that area and need to expand that. PLEASE HELP. UNDER TIGHT DEADLINE.

Scrolling View Area On A Larger Bitmap (smoothly)
Hello all,

I've written code to allow a frame to scroll around a bitmap image, sort of like a visible view area on a larger map. The area outside the frame is masked so you only see the portion of the bitmap visible within the frame and the mouse position determines the direction and amount of movement that happens. Here's my code for the onEnterFrame action of the map_mc, which enables the scrolling...


Code:
map_mc.onEnterFrame = function() {
easing = someValue;
moveRatio = mapWidth / viewWidth;
moveDist = int(mousePos - mousePos*moveRatio) - this._x;
this._x += int(moveDist/easing);
}
(you can think of mousePos as being _root._xmouse)

Seems simple enough... But that's sort of the problem: the movement is very jerky and I can't seem to work out a smoother way to do it. Hopefully someone has a suggestion or two?

Thanks in advance if you can help

Scrolling View Area On A Larger Bitmap (smoothly)
Hello all,

I've written code to allow a frame to scroll around a bitmap image, sort of like a visible view area on a larger map. The area outside the frame is masked so you only see the portion of the bitmap visible within the frame and the mouse position determines the direction and amount of movement that happens. Here's my code for the onEnterFrame action of the map_mc, which enables the scrolling...


Code:
map_mc.onEnterFrame = function() {
easing = someValue;
moveRatio = mapWidth / viewWidth;
moveDist = int(mousePos - mousePos*moveRatio) - this._x;
this._x += int(moveDist/easing);
}
(you can think of mousePos as being _root._xmouse)

Seems simple enough... But that's sort of the problem: the movement is very jerky and I can't seem to work out a smoother way to do it. Hopefully someone has a suggestion or two?

Thanks in advance if you can help

Problem With Loading Larger Size Movie Into Level 0 Original Movie
hi,

i am trying to load a larger stage size movie into replacing the smaller original movie, but the larger movie always gets cropped when it's loaded on top of the level 0 movie. is there another approach?

thanx much,
scsirain

scsirain@yahoo.com

Problem With Loading Larger Size Movie Into Level 0 Movie
hi,

i am trying to load a larger stage size movie into replacing the smaller original movie using loadMovieNum, but the larger movie always gets cropped when it's loaded on top of the smaller size movie. is there another approach?

thanx much,
scsirain

scsirain@yahoo.com

Load Movie Larger Than The Holders Parent Movie?
I must be an idiot today. I have a main movie that's 750x550, it has an empty mc on it that loads external swf's, no big deal. Well, one of my swf's is 750x950 and when it loads into the empty mc, it only displays down to the size of the main movie (750x550), and does not show the additional 400px!
Can't say I've ever tried to load a larger movie into a smaller one before but this situation has never been needed, now I need it.
I tried to scale the mc after loading but it still doesn't seem to show. Can this even be done?
Thanks, I really need to figure this out today.

Load Movie That Is Larger
Is there a way to load a .swf that is larger than the current .swf and be able to view the larger swf in it's entirety?

I have a client that has a site that is 410 pixels high.

They want popups that are larger than this height.

Do I make the default size the size of the largest popup and then center vertically? Or, is there a way to load a swf that is larger?

Displaying A Larger Version Of A Movie
I am currently working on a site that displays a small version of a swf I created. What I want to do is have a button that, when clicked, will display a larger version in a popup. I was given some html script that I think may solve this problem but I don't know where it would go in my current html. I can't find the person that emailed me this and I don't know where it came from. Can someone help?

View @ 
</FONT>
</TD>
<TD class=smallbold bgColor=#ffc400>
<!--Viewed tag-->
<A class=links href="javascript:launch(240,96,'http://www.flashkit.com/movies/Animations/Intros/Elektrif-Monika_B-8704/Elektrif-Monika_B-8704.swf',1,'#999999')">
640x480
</A>
<!--Viewed tag-->
</TD>
<TD class=smallbold bgColor=#ffdb5a>
<A class=links href="javascript:launch(240,96,'http://www.flashkit.com/movies/Animations/Intros/Elektrif-Monika_B-8704/Elektrif-Monika_B-8704.swf',2,'#999999')">
800x600
</A>
</TD>
<TD class=smallbold bgColor=#ffc400>
<A class=links href="javascript:launch(240,96,'http://www.flashkit.com/movies/Animations/Intros/Elektrif-Monika_B-8704/Elektrif-Monika_B-8704.swf',3,'#999999')">
1024x768
</A>
</TD>
<TD class=smallbold bgColor=#ffdb5a>
<A class=links href="javascript:launch(240,96,'http://www.flashkit.com/movies/Animations/Intros/Elektrif-Monika_B-8704/Elektrif-Monika_B-8704.swf',4,'#999999')">
1280x960
</A>
</TD>
</TR>

Opening A Picture Larger Than Flash Movie?
Hi.

So I want to open up a picture larger than the size of my flash movie. Were it just 1 picture Id just resize it but i wanna use a section of the movie (site, whatever) for my portfolio.

Im curious as to whether or not I can open up the picture in some sort of seperate window that I can specify the size for, that way its not too big for some smaller pictures. The flash movie itself is only 640x480. Im also wondering if, in this seperate window, I can add a previous/next button to change pictures from that movie, resizing the window as needed. Scripting for changing the size of something to fit a picture isnt an issue, as ive done that before.

Im open to suggestions, but Id like to try and keep everything in flash. Opening up the picture in an external html browser window thinger wouldnt be "gallery" friendly, i think.

Thanks for any help you can offer!

Small Flash Movie As Part Of A Larger Graphic
Hi all,

We are animating part of the logo appearing on our homepage. To reduce file size, I decided to do the logo as a table and just plop the flash movie inside a cell.

I created an animation that was small (160w x 55h). At first I thought to create it using the exact dimensions 160 x 55, but then thought I could have Flash do it for me exactly by using Match Movie, and so created it using the default movie dimensions.

In testing the movie, I found that it had enlarged to fit the size of the screen, exactly what I didn't want.

I then created a new movie with the dimensions I wanted, and cut and pasted all the frames from the previous movie in it. That didn't work, however, because the graphics still appeared center screen, in the same xy coords as the original I had pasted from, though the little stage of the new movie appeared somewhere on the upper left quadrant of the screen.

Any suggestions would be appreciated.

thanks in advance,

Susan

New User Question - Making A Box Larger In Movie Clip
maybe another simple question to u flash experts out there but believe me this is really driving me crazy at the moment!!

Im currently making a scene where on part of the screen a square starts off small , then in around 12 frames gradually gets larger (im looking for it to start about 5 x 5 px then increase to around 80 x 80 px) , iv changed it to a movie clip symbol and tried resizing in a different keyframe which looked ok until i tweened it and then it just kept the box the same size but just moved it to the point where the center of the larger one would have been.

So after that i tried having it as a movie clip and then having the square as a graphic inside the movie clip, now this seemd to work but when the box was re-sized the line size changed and is too thick as i wanted it to keep original line thickness.

To give u an idea the sort of effect im looking for is kind of like the way the screens load on the fontsforflash.com website.

Pls help me out otherwise i may not b held responsible for what i do to my monitor!!!!

Thanks

Sound Within Movie Clip Producing Larger File Size?
I recently discovered that even if you use "Stream" for audio sync you will eventually lose sync if its too long of a flash. So... I used this "fix" http://www.xirus.area526.net/tut.swf It basically says putting your audio into MovieClips with a Stop Actionscript will fix it and it works great.

The Problem is that now the total SWF file size has increased by about 500kb. How can I get it back to the original filesize before I turned all my audio into movieclips (with audio)? And why is it treating the audio differently just because I moved them into movieclips?

How To Drag A Movie Clip That Is Larger Than The Flash Document And Have It Stop At..
how to drag a movie clip that is larger than the flash document and have it stop dragging at the edges of the movie clip? I have an 300x300 (just for example) flash movie. i have an image that is 500x650 placed a x/y of 0. i want people to be able to drag the large image so they can see the whole image, even though its larger than the movie dimensions. but i dont want it to keep dragging so say they drag it left 600 pixels, you see past the edges of the images to the background. i guess if you do the math, say at x/y = 0, they can only max drag it left 250 pixels but not farther left so you wont see past the edge of the image's right side. i have some diagrams to illustrate. any help or tutorials would be appreciated!

mikey

THE MAIN SETUP:


EXAMPLES OF MAX DRAG OF THE MOVIE CLIP.

How Does A Flash Movie Play Outside The Movie Area?
How does a flash movie play outside the movie area???????
Look at the flash ads in Rediff
Can any body please explain how the movie adds plays out of the defined area.
Thanx.

How Does A Flash Movie Play Outside The Movie Area?
How does a flash movie play outside the movie area???????
Look at the flash ads in www.rediff.com.
Can any body please explain how the movie adds play out of the defined area.
Thanx.

Containing MCs In A Certain Area Of Your Movie?
Hi all,

I was able to make colliding circles to work in flash 5 thanks to the thread below:

http://board.flashkit.com/board/show...6&pagenumber=1

HOWEVER, I'm trying to get these circles to stay in a particular area of my movie... not starting at the upper left hand corner (0,0). I want them contained in a box 455 by 283, which is centered and justified to the right edge of the movie dimensions. My movie dimensions are 567 by 335.

Does anyone know a simple code to move the placement of the boundries of the MC???

Below is the code on the main timeline that tells the area for balls to be contained. As you can see I've put in the dimensions I want, but I need to move the starting (0,0) to (112, 26).


tot = 0;
// Will fix itself to number of circles
mw = 455;
// Movie width
mh = 283;
// Movie height
speed = 10;
// Max speed of balls
stop ();

Thanks in advance!

Hit Area Seems To Take Over The Whole Movie
Hey there...

I've got a problem where one button seems to take over the whole movie. That is, the whole movie effectively becomes this button's hit area.

The problem isn't isolated to one button as such either... when I delete the "culprit", this odd behaviour is seemingly "allocated" to another button.


I'm stumped here... and I'm gonna go crazy soon!

Please help! Thanks in advance!



Code:
onClipEvent(load) {

//on load
_parent.icecapsbutton_slider.xscaleTo (100*245, 0.01, "linear");


//on mouseup
this.onMouseUp = function() {
if (_parent.currMovie == undefined) {
_parent.currMovie = "icecaps";
_parent.container.loadMovie("icecaps.swf");
} else if (_parent.currMovie != "icecaps") {
if (container._currentframe >= container.midframe) {
_parent.currMovie = "icecaps";
_parent.container.play();
}
}
}

//on button rollover
this.onRollOut = function() {
_parent.icecapsbutton_slider.xscaleTo (100*245, 0.6, "easeOutBack");
_parent.icecapsbutton_slider.alphaTo (100, 0.01, "linear");
this.colorTo (0x666666, 0.01, "linear");
};

//on button rollout
this.onRollOver = function() {
_parent.icecapsbutton_slider.xscaleTo (0, 0.4, "easeOutQuart");
_parent.icecapsbutton_slider.alphaTo(0, 0.8, "linear");
this.colorTo (0xcc0000, 0.1, "linear");
};


}

Load External Swf Into A Specific Area And Confine Interactivity To That Area... ?
Hello again,

I have a problem I've been trying to solve below.


I have a file that loads external swf files onto the screen, but I need these swfs to load into a specific 1024x644 area in the main movie.

I need the external swfs to maintain their interactivity while the mouse is over their area, but not when the mouse is over other parts of the screen (I need other buttons to still be accessible outside the area of the loaded swf.

As it is now, the mouse properties of the loaded swf take over the entire movie and render the buttons useless.

Below is some code I'm using. Can anyone provide examples of code that positions an external swf into a specific area and contains its interactivity?

I'm still very new to AS, so it's difficult for me to understand how to do things without specific code examples to look at. Also, if my code is inefficient or sloppy, please let me know.

Thanks.


var loader:Loader = new Loader();

function buttonPush1(event:MouseEvent):void {
var url:URLRequest = new URLRequest("mousetrail_644.swf");
loader.load(url);
this.addChild(loader);
}

Btn1.addEventListener(MouseEvent.CLICK, buttonPush1);

function buttonPush2(event:MouseEvent):void {
var url:URLRequest = new URLRequest("magnify2.swf");
loader.load(url);
this.addChild(loader);
}

Btn2.addEventListener(MouseEvent.CLICK, buttonPush2);

function buttonPush3(event:MouseEvent):void {
var url:URLRequest = new URLRequest("mapcursor_644_2.swf");
loader.load(url);
this.addChild(loader);
}

Btn3.addEventListener(MouseEvent.CLICK, buttonPush3);

function accessDenied(event:MouseEvent):void {
gotoAndPlay("scanner_denied");
}

Btn4.addEventListener(MouseEvent.CLICK, accessDenied);

Load Movie Into A Certain Area?
I have a movie that displays a TV. I want to be able to "change channels" on the TV and load the next "channel" into the screen. How would I go about this? Also. Can you load movies into a movie from outside the movie? In other words. If I have the TV screen come up and the viewer hits the "on" button and it loads a movie into the movie from your file manager. Thanks in advance from all the Flash Gods that mey help me!

Blank Area Around Movie
Hi,

I am a newbie and i just created one of my first movies, it worked out great although, there is a huge blank area around the content of the movie.

I am using Flash 5, i used the default movie size when i started and my movie is banner sized. is there any way to clear the excess now that I have finished the movie?


Thank you

silver_lord

Hit Area Of A Movie Clip
is there a way to take things out of the hit area of a movie clip? i have it rolling over and getting bigger, but i want the hit area to stay the same (not get bigger). any advise would be greatly appreciated, thanks.

Load Movie To Specified Area
Hi

I have a main movie that is divided in to three sections; the header, middle and button area. I need my button to load a new movie into the specified area of the site, which is the middle. Currently my button just shows the new movie. How do I specified target.

Here is the code:

on (release){
gotoAndPlay("CWIK");
loadMovie("ck.swf", "/")
}



Sample of the site:
Test file


click on the Custom Fine Cabinetry button, you will see that the movie loads but the header and button section are there.


All help is appreciated.

Taz

[F8] Hit Area Of Movie Clip
How can I adjust the hit area of my movie clip? Right now I just have some small text in my mc so it is hard to get the roll over function to work well. Can I somehow make the hit area larger than the small piece of text?

[F8] Rollover Outside Movie Area
Is there a way to have a drop down menu visible on the rollover of a button with the rollover menu appearing outside the movie area and still be visible. I have a menu on the left, one of the buttons shows a few other options on the rollover and I don't want to enlarge the movie area just for that particular case, there is html content on the right that I want it to be relatively close to the left menu.

Thanks!

Hit Area For Movie Clips.
Hello,

I am trying to create a smart movie clip, that will serve as a button.. this button will receive a parameter for the caption text.. and will animate when the mouse moves over it.

1. How do I define the hit area for OnClipEvent(mousemove) ? this event is called whenever my mouse moves , not only over the movie clip..

2. Does anyone know of a free flash buttons library, for animated buttons?

Thanks,

Y.

Menu Area's To Stay Expanded When You Rollout The Red Area ?
I am stuck here.

I want the different menu area's to stay expanded when you rollout the red area (see attached file: red line).

I think I need to use a flag variable, but I am stuck.

Any advice, suggestions??

Non-scaling Area In A Scaled Movie...
I'm experimenting trying to create a part of a movie that doesn't scale within a movie that does scale.

Approach:
1. Get the browser window height and width from javascript with FSCommand.
2. Scale part of the movie according the the initial movie width/height v. the browser window width/height (My Flash movie is set to fill the browser window).

You can see a test of this approach here: http://www.ddc2000.com/testing/fs_scaleMov.htm

Problem: This works, but only on Windows-IE.

Does anyone know a better way to do this? If there was a way to get the true width/height of a movie regardless of browser scaling...

I understand the Mac-IE and NS6 are lost causes for fsCommand, but I can't seem to get it to work on Win/Mac-NS4.7 either.

I've verified that Mac/Win-NS4.7 can do fsCommand but I haven't been able to use the 'SetVariable' method on NS at all.

Any help is greatly appreciated. Thanks.
[Edited by OverEasy on 10-04-2001 at 12:56 PM]

How To Set A Persent Area Of The Loaded Movie
Hi,
I am trying to creat a notepad and load it to other scene.
However, I have a question in it that the loaded notepad running cross my expected area. My expected area is the dimension which seted in the notepad movie.

I loaded the movie in level 2 on a movie clip and draged it to sence and added an action script like following:
onClipEvent (enterFrame) {
_level2._x = 415;
_level2._y = 154;
}

Anyone know how to modify it?
Thank you for reading this post!!!

How To Get A Movie Clip Into Specific Area?
Hi,

Another dumb question from a newbie.

I've got a 750x450 Flash movie. Within this flash movie I have a menubar movie which I placed onto the main movie. So basically what I have is a horizontal menu placed at the top of the main movie.

What I want to do is on clicking the menu buttons is to be able to get a movie clip into an area underneath the menubar. The movie clips would be the "homepage", the "about us" page etc. What kind of actionscript should I put on the buttons?

Is this the best way to do it? By "best" I meant most modular so that it would be easy for me to make changes.

Please help.

Attaching A Movie Only If Mouse Is In Certain Area
ok, what I've got going is a map, and when you click, a little target will be moved to the location of the mouse. I've got that all working, but I want it to ONLY happen if the mouse is over the map, not beneath it (where I've got a menu of sorts). I think its gotta be hittest, but I cant (for whatever reason) seem to get that to work for me.

any help would be appreciated, thanks.

Area Outside Of Stage Shows In Movie (MX Bug?)
What I am doing: making an independent Flash MX movie to run as a standalone presentation(i.e. not in a HTML page).

Here's my problem:When I enlarge the movie while it's playing, the area OUTSIDE of the stage shows in my movie! And the "outside" area is even the stage color. Driving me N-U-T-S. This never happened to me in .v4 when you would resize the movie. Thnx.....

Loading Movie To Specific Area
Greetings,

I have my main movie, it's 740x460. I would like to load a movie that is 200 x 200 (as an example) to a specific area of the main movie. How do I do that?

Movie Clip: Overall Area Occupied ?
I have put an instance of a mc from my library by dragging it to the main stage but cannot determine the area that the clip will occupy when played.

Is there any way in which I can see the outline of the mc area from the main stage??? I am trying to create an animation on a seperate layer buut am finding it almost impossible to position it correctly without keep testing the movie to see the mc play and then move objects accordingly.

Any advice offered is greatly appreciated.

Loading Movie In Specific Area
Hi there,

I'm new to the forum, not really that new to flash but I have never tried to make a website in which the seperate sections get loaded seperately when you click a specific link to them. I'm now making a website dedicated to artwork, so there are a lot of bytes to be loaded. Could someone explain me what is the most easy way to make a website that loads seperate parts, with seperate preloaders, when you click on the links to that section? I have read a tutorial about loading and unloading movies in a specific space, but it just doesn't make sense to me. And since I do not know that much about action scripting yet, I reaaaaaally could use some help, or a link to a very clear tutorial, with action scripting already there for me to copy and paste! Thank you very, very much!!!

Have a great day!!!

ROB

http://www.robjacobs.nl

Printing Dynamic Area Of A Movie?
Hi guys
I have created a stamp tool interfeace for kids - it simply creates a patterns with various stamp tools (these are duplicated onto the _root).

I need to print what they create, which may well be simple but I am having no luck. I only want the canvas area to print so I thought I only had to create a bounding box (an mc of the correct size and position labled on a frame with #b ??) and to print using say:

printNum(0, "bmovie");

This tries to print all the frames so I have added a frame labeled #p - this has reduced the number of pages to 1 but it still prints the entire movie (ie not the area I specify with the Bounding box)

Please help!!!
Thanks in advance
Ol

Movie --> Button Hit Area Not Working
I've followed the instructions provided in the tutorial "Buttons that animate forward and backwards" by Jim Tudesco, but whenever I rollover any part of the movie (instead of just the hit area) the movie plays. This is creating some major problems for me. Does anybody know what I could be doing wrong?

Here's the link to the tutorial:
http://www.flashkit.com/tutorials/Ac...-804/index.php

Designate A Hit Area In A Movie Clip
Right now Flash is assuming all the art in my movie clip as the "hit" area. How do I assign a custom dimension to a hit area in a movie clip?

Movie Clip In Defined Area?
Hey Ya'll,

I'm creating a whole page in flash, pretty typical, but I want to include a slideshow in the lower portion of the larger file. I figured a movie clip is the easiest way to do this, but how can I define the size of the canvas for the movie clip? I don't want it to take over my entire canvas while it's playing, or else it won't look cohesive.

The site, in it's beta version is at www.miamiphidelt.com/beta.html. Check it out, the "slideshow" would go below the bottom blue line.

Thanks for your help in advance,

=Nate

[F8] Linking To A Different Area Of Flash Movie
Ok, total n00b here, but I've got a flash template, and there's all these clickable buttons and whatnot within the flash movie, but they're not linked to anything - the code is just blank, so when you click, nothing happens. I've got several different sections of my flash movie, how do I make some of the empty buttons link to different parts of my flash movie?

I know the simple code:

on (release){

_root.gotoAndStop(1);

}

but that just takes me to a different frame of the main movie, which doesn't help. How do I link a button to go to a different symbol, or movie clip, or photo gallery? Any help would be greatly appreciated!!

cheers,
Matt

[CS3] Draggable Movie Clip Hit Area
I am trying to make a jigsaw puzzle type of thing and everything seems to be working, except only a small part of my draggable movie clips are clickable (see movie at www.amyandersondesign.com/halloween). For the princess, you can only click on the tiara and the fairy, only the tip of the left wing. I am not sure what I am doing wrong. Has anyone else experienced this? Any ideas?
Thanks!
Amy


var counter:Number = 0;
var startX:Number;
var startY:Number;

t2_mc.addEventListener(MouseEvent.MOUSE_DOWN, pickUp);
t2_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);
newkelly_mc.addEventListener(MouseEvent.MOUSE_DOWN , pickUp);
newkelly_mc.addEventListener(MouseEvent.MOUSE_UP, dropIt);



function pickUp(event:MouseEvent):void {
startX = event.target.x;
startY = event.target.y;
event.target.startDrag(true);
}
function dropIt(event:MouseEvent):void {
event.target.stopDrag();
var myTargetName:String = "target" + event.target.name;
var myTargetisplayObject = getChildByName(myTargetName);
if (event.target.dropTarget != null && event.target.dropTarget.parent == myTarget){
reply_txt.text = "";
event.target.removeEventListener(MouseEvent.MOUSE_ DOWN, pickUp);
event.target.removeEventListener(MouseEvent.MOUSE_ UP, dropIt);
event.target.buttonMode = false;
event.target.x = myTarget.x;
event.target.y = myTarget.y;
counter++;
} else {
reply_txt.text = "";
event.target.x = startX;
event.target.y = startY;
}

if(counter == 2){
reply_txt.text = "Trick or Treat!";
}


}
t2_mc.buttonMode = true;
newkelly_mc.buttonMode = true;

Fix Viewing Area For Flash Movie
hi there

i'm working on a flash movie, and i'm facing a problem,,,,

my flash movie is 600 * 450, when viewing movie and maximizing it, it becomes larger than 600 * 450,,,,,,,
the question is, how can i fix my (viewing area) on 600 * 450 even when the (window) maximized,,, in other words, i want to keep the size of 100% anyhowz .....


i'd appreciate help

bye

Hit Area Too Large For My Movie Clip
Hi,

I have created a movie clip and has a a onPress event again it. Fo some reason I can still activate the event even though my mouse is very far from the movie clip.

Not sure if I am explain this well enough but is very strange.

Any advice will be great!
Charlie

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