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




X And Y Co-ords Getting Messed Up When Placed In A Movie Clip



Its driving me nuts, is there a way of somehow adding some code that keeps the x and y of a movie clip inside a movie clip the same as the stages x and y? Does that make any sense? lol



FlashKit > Flash Help > Flash ActionScript
Posted on: 12-20-2005, 11:14 AM


View Complete Forum Thread with Replies

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

Using Mouse Co-ords Outside Flash Movie
i need to do a banner like this
http://www.flashkit.com/movies/Effec...7408/index.php

where the eyes track the mouse. but i need it to work when the mouse is outside the flash area.

i think this can be done via javascript.

but is there a way of doing it without needing to embed/change any html code. as this banner needs to go on big sites that won't let us change their html?

Movie Is Messed Up
Hello everyone, i am new to this forum.

I have built a website of with a major prob. The bandwidth profiler says that the first frame of the movie contains 250kb of data even though the first frame of the movie is the preloader and contains nothing but the preloader which is a simple bar. When I stream the website at 56k it is paused until the first frame loads for this reason. What is wrong? I have also tried several other approaches to the preloader which also gave me the same result.

Any advice would be greatly appreciated as I need to post my webstie before deadline.

Movie Posistion Getting Messed Up
hey,

this is the second problem on this "simple temporary portfolio" thats gone horribly wrong. im attaching it so you can see what im talkin about. when i publish it, it comes out like this http://www.bullhornrecords.com/portfolio.swf

i cant figure out why the movie is off centered to the left a great deal. im thinking it might be somewhere in the script? since i did borrow the .fla from ultrashock, because some of the script is still above me.

thanks a ton. and sorry for the newbish questions

randy

Very Messed Up Quicktime Movie
Very new to Flash, this is my first movie. I am using Flash Professional 8.
I've created a Flash animation with background music, and I can export it without problems to pretty much any filetype except .mov.
In the Quicktime movie, the audio does not play.
I've tried messing around with the bitrate, checking and unchecking the box having to do with streaming audio, and checking and unchecking the "flatten" option. No sound.

When I open the .mov file in RealPlayer, I don't get sound OR video.

I've made small test movies and they all have this problem.

However, in this movie only, when I play it in Quicktime, the interface is messed up as well. The "Close Window" buttons are missing, and don't show up until I mouse over where they should be.
I'd appreciate any thoughts as to why either of these things might be happening.
Many thanks!

Messed Up Movie Clips/mouse Overs
It seems as though the mouseovers work fine when you go over them one by one. But when you start to go a little faster, they get all screwed up. You can see what I'm talking about at:

http://www.twincoinc.com/flash/Template-03.swf

Depth Messed Up On Externally Loaded Movie
Here are the files, any help would be great!

Cat.swf works fine on it's own, but when loaded into site.swf, the z sorting doesn't work.

Notes:
I will be adding more boxes (photos) 12 total, I will have 5 of these movies that will be loaded into the holder (5 collections of photos)

things that can be improved:
•If this can be made more dynamic(if I move an image on the stage I don't need to change the x and y coordinates in the action) that would help.
OR
If the images loaded externally (xml maybe) with a preloader animation, and random placement on the stage.

Dream:
in a perfect world, when the section is clicked, flash would reference an XML file for size, thumb, and full image (so i can change and update them outside of flash) the photos would then get "tossed" onto the stage (mild spin animation, like someone just tossed them onto a table, this could be randomized so each visit would yield a different layout. Maybe a thumb could load and when the image is clicked, it scaled the thumb and loaded the full (maybe a small load animation would appear over the thumb and fade into the full image once loaded. If someone could make this happen, there may even be some money in it for you.

but if I could just get the z sorting to work, I'll be happy.

Thanks,
Scott

Getting Mc's Co-ords....
How can i check an mc's co-ords, and then, depending on those co-ords, make the mc goto a certain frame?

eg, I want the mc to gotoAndplay 1 if its x and y co-ords are 10 (or less) and to gotoAndplay 20 if its x and y co-ords are 11 (or more)

I figure its with "if" and "else" commands, but im mainly stuck in actually getting the co-ords.

Any ideas?

G

[F8] Help With X And Y Co-ords
Hi, I'm desperately close to finishing this project, just one problem stands in my way.

I create clips on the fly that are draggable, i want flash to be able to record their new X and Y positions when they are drooped and pass them onto a File.

However in order to put the drag script onto the clips i've created a symbol within a symbol, so effectively
[shirt]
[shirtcontents] - with drag code-
[/shirt]

problem is the drag is setting the x and y co-ords relative to shirtcontents and not shirt (which being a symbol within a symbol is not relative to the stage).

Basically I need a way to add the on(press) { startDrag(); } to shirt via actionscript when i call attachMovie(shirt), or a way to set the x and y position of Shirt through shirtcontents by going up a symbol, so instead of;

this._x = _root._mousex; [this being shirtcontents within shirt, thus its x position is relative to the stage within the container shirt)

i'm setting

_root.shirt._x = _root._mousex


lol its doing my head in please help

Using X And Y Co-ords
hello all, i've been trying to do this for awhile, but need some help. I want to map out a box on the stage using x and y co-ordinates so that when the pointer enters that area it triggers movie clips on the screen that will have menu buttons in it. But I can't wrap my head around how flash translates where the x and y is. So if someone could help explain that would be great. Here is some code that i have so far.


Code:
collectionmenubg.onEnterFrame = function() {

if (_xmouse<27 && _ymouse<17) {
collectionmenubg.gotoAndPlay(2);}

}
it works, but the clip is triggered in co-ords that don't make sense to the numbers up there, and I can't figure out how to make the "hot spot" a square, so I would probably need more than just 2 x and y statements.

please help!

thanks.

batch

Getting X/y Co-ords Of Dynamic MC
Hi,

Have some code that allows a user to draw in a similar fashion to the flash pencil tool. It works well but am stuck. The code creates a blank movieclip and the line is drawn within this MC. I've put a trace in the code to output the width, height, _x, and _y of this created MC. Hmm, and then problems. The width and height are outputed correctly regardless of where the line is on the screen, it will be the correct dimensions. However the _x and _y values are always 0,0. Does anyone know why this could be happening? It just doesnt seem to make any sense!

trace("X: "+_root["line"+_parent.MCnumber]._x);
trace("Y: "+_root["line"+_parent.MCnumber]._y);
trace("Width: "+_root["line"+_parent.MCnumber]._width);
trace("Height: "+_root["line"+_parent.MCnumber]._height);

Thanks for any help!

Steven.

How Do I Zoom Using The X And Y Scale Co-ords?
I was wondering if anyone could help me by informing me on how to zoom and pan in on a movie clip. For instance the scene is of moutains and I want to pan the mountains and then zoom in slowly of the man standing on one of the mountains. I think it has something to do with the X and Y scale co-ords. Any help appreciated.

LineTo Not Hitting Co-ords
My code is as follows:

dot1.lineStyle(3, 50,90);
dot1.lineTo(dot2._x,dot2._y);

The problem is that the line connects the movie clip 'dot1' to the wrong co-ordinates, so it completely misses the 'dot2' that it should connect to.

Is there a problem with using movie clip co-ordinates? Please help.

Nikki

Output X And Y Co-ords: Any Takers?
I guess this should be fairly simple. I would like to output the co-ords of _x and _y into a dynamic text field in my mc.

Any takers

Output X And Y Co-ords: Any Takers?
I guess this should be fairly simple. I would like to output the co-ords of _x and _y into a dynamic text field in my mc.

Any takers?

Thanks,
Fabman

X And Y Co-ords Of String In Text-box...
Hi All,

I need to be able highlight dynamically loaded sentences (from an xml file) with various coloured backgrounds and dynamically create clickable movie clips that will add a sentence to an array etc etc. These sentences need to flow together and can't be newlined each time.

I am OK with this second part but working out the area and position of the text I am a bit stumped on - have thought up a couple of potential methods using setSelection and getTextExtent but they are a bit of a pain to do (lazy me)

Any ideas on more efficient methods or tips are much appreciated

Cheers

Dan

X And Y Co-ords Of String In Text-box...
Hi All,

I need to be able highlight dynamically loaded sentences (from an xml file) with various coloured backgrounds and dynamically create clickable movie clips that will add a sentence to an array etc etc.

I am OK with this second part but working out the area and position of the text I am a bit stumped on - have thought up a couple of potential methods using setSelection and getTextExtent but they are a bit of a pain to do (lazy me)

Any ideas on more efficient methods or tips are much appreciated

Cheers

Dan

Output X And Y Co-ords: Any Takers?
I guess this should be fairly simple. I would like to output the co-ords of _x and _y into a dynamic text field in my mc.

Any takers

Thanks,
Warrenfab

Shift The Co-ords Of The Mouse
Am having a poke around with an area when pressed, it will reloated the mouse position.

I dont think it is this simple.

_root.nozone.onPress = function(){
_root._ymouse = 10;
_root._xmouse = 10;
}

If X And Y Co-ords Then GotoScene Problems
I have a movie(called transport) that I want to be able to move around the screen with the up and down buttons on a keypad , so far so good. When the movie goes over/reaches another movie (called destination) I want the movie to go to another frame (called from an actions layer in the .fla).

I have this code on the (transport) movie


Code:
on (keyPress "<Left>") {
currentX = this._x;
this._x = currentX - 5;
if (this._x == 380.9) {
_root.gotoWellDone();
}
}
on (keyPress "<Right>") {
currentX = this._x;
this._x = currentX + 5;
if (this._x == 380.9) {
_root.gotoWellDone();
}
}
on (keyPress "<Up>") {
currentY = this._y;
this._y = currentY - 5;
if (this._y == 266.6) {
_root.gotoWellDone();
}
}
on (keyPress "<Down>") {
currentY = this._y;
this._y = currentY + 5;
if (this._y == 266.6) {
_root.gotoWellDone();
}
}

help please

Xmouse Co-ords Not Working With Swf Imported Into Swf
Hi all. I've been using a gallery that scrolls on mouse movement and it works great as a standalone swf file but when I import it into the main mc the mouse clip no longer works. Any help would be appreciated.


Code:
onClipEvent (mouseMove) {
xmousepos1 = _xmouse;
ymousepos1 = _ymouse;
if (xmousepos1>xmousepos2 && ymousepos1>209 && ymousepos1<349) {
_root.scrollclip.nextFrame();
}
if (xmousepos1<xmousepos2 && ymousepos1>209 && ymousepos1<349) {
_root.scrollclip.prevFrame();
}
if (ymousepos1<209 || ymousepos1>349) {
play();
}
xmousepos2 = _xmouse;
ymousepos2 = _ymouse;
}

X,y Co-ords Of An Object On A Motion Guide
Hi Guys,

Im having a problem getting a symbol to return its relative x and y co-ords while it is moving on a motion guide. Does anybody know how to do this?

Thanks

Best Way To Covert Local Co-ords To Global
I have some mcs which are in another mc. For reason to boring to describe at the moment I need to be able to convert the local x and y co-ords of the movies in the clip to their equivalent as they sit on the main stage. This will enable me to place them programatically.

I am pretty sure there is a function that takes care of this but I can't seem to find it and I do not have my ASDG on me (gasp!).

cheers,

scott

TextArea Component Blurred Fonts. Checked All Co-ords
Just when i get one problem sorted another comes along
http://www.thelettingdoctor.co.uk/main.html
If you click on About you wil see the blurred font. All mc's are on absolute inetger, nothing scaled apart from the textarea component it's self.

Anyone

thanks
Paul

Making A Movie Clip In A Movie Clip Go To The Next Frame Of The Original Movie Clip
I have a movie clip (for simplicity I'll call it movie_a) in movie_a I have another movie clip movie_b.

in movie_a i have a button that when pressed makes movie_b play (it has a stop frame every once in a while so the button acts as a "next" button)

I want it so that when i get to the last frame of movie_b and press the button, it will go to the next frame of movie_a

I hope that doesn't confuse u and u can help me solve this problem, as i am stumped and I've tried everything I could think of (which isn't that much as I'm not too good with actionscript)

thnx

Targeting A Frame Label In A Movie Clip From A Button In A Separate Movie Clip.
I have two separate movie clips placed on a timeline-MovieclipA and MovieclipB. I have a button in MovieclipB clip that wants to target a frame label located in the MovieclipA timeline. Can someone help me?

Movie Clip Buttons Nested Inside Movie Clip Dont Work
Hi people!
im having a problem here.

in my first frame i have a movie clip named "menu_mc".
i have this AS for this movie:

Code:
this.menu_mc.onRollOver = function() {
menu_mc.gotoAndPlay(8);
}
this.menu_mc.onRollOut = function() {
menu_mc.gotoAndStop(7);
}

thats working ok, the menu_mc plays on rollover from frame 8 till frame 12 where stops.
On frame 12 (this is inside the menu_mc movie clip) i have another movie clip, named button1_mc.
and also i have AS controling that MC:

Code:
this.button1_mc.onRelease = function() {
getURL("index.htm", "_self");
}


The problem is that when i rollOver on menu_mc it work fine and the button1 appears, the problem is when i try to click button1...
doesnt work.

the swf you can see it on www.wt.com.mx/menu.swf
can anybody help me please?
what im doing wrong?
or what other ideas can you give me so i can make that work.

thanks!

Mouse Rollover On One Movie Clip Increase Decrease Alpha Of Another Movie Clip..
So I really haven't messed with Actionscript much for a couple years and here is my issue.

I have several movieclips I put together that will eventually be a menu for my website. When you roll over a menu option (movieclip) I am trying to get another movie clip to fade in giving the description of the menu item.

For example - when you roll your mouse over the 'Live Chat' option a brief text description would appear telling you what the live chat is about. This description is a seperate movie clip appearing away from the original menu.

I have made the movieclips for the menu and the movie clips for the descriptions. I tried this action on the menu option to get the description to fade in:


Code:
onClipEvent (load) {
this._parent.mc_text_discussionBoard._alpha = 0;
}
onClipEvent (enterFrame) {
this.onRollOver = function() {
if (this._parent.mc_text_discussionBoard._alpha<100) {
this._parent.mc_text_discussionBoard._alpha += 5;
}
};
}
But the alpha only increases on the description (mc_text_discussionBoard) by 5 when I keep rolling my move over and out and over again. It makes sense why it does that, but I'm not exaclty sure how to get it to continually increase the alpha by 5.

any help would be great and I am anxiously waiting to get this solved!
Kevin

Code 4 MovieClip Button To Load A Movie Clip Into A Placeholder Movie Clip.
Yeah that title sounds a little confusing...so i will explain:

Is there a way to tell a "movie clip button" that once it is clicked on to load a "movie clip" into a "movie clip placeholder". So instead of loading an external swf into the placeholder, it will be a movie clip from within the same library. Putting every single custom clip on the timeline would take a while, so that is why I thought it would be easier like this, and the other movie clips are not that large that I want to load into it so there is no need for external swfs, trying to keep it clean. Here is the code along the lines I am trying to go for.

__________________________________________

this.profile_mc.onRelease = function() {
placeholder_mc.loadMovie("profileSection_mc","plac eholder_mc","_root.content");
}
__________________________________________

- "profile_mc is the button I am trying to activate to load the
"profileSection_mc" into the "placeholder_mc". but so far no good.

- the movie clips are within the same library, not on the timeline or external library.

- Is this possible?

Using A Button In A Movie Clip To Control The Movie(and Not Movie Clip) Timeline
Ok i have a button placed in a movie clip. I want this button, when released, to go in another scene, frame one, on the movie(scene) timeline and not on the movie clip timeline.

So i tried: gotoAndPlay("mission", 1); (mission is the name of my scene)

But it goes to the frame 1 of my movie clip, It would be great if someone could tell me how i can control the movie timeline while my button is in a movie clip

thaks
Vakarm

A Movie Clip Inside A 2nd Movie Clip Colliding With 4th Movie Clip That's In The 3rd
sorry if that sounds a bit odd, this is really a simple problem that i can't seem to nail.

Can u please give the the hittest that shows when a movie clip collides with another regardless of their level.

How To 'stop' A Movie Clip Within A Movie Clip Within A Movie Clip Loop
I've done searches, laughed, cried, and punched holes through the wall, but I can't figure this out.

I'm in Flash MX (pro) and I have a MovieClip on my main timeline (frame 1). Inside that clip is another animation (the static animation scrolling across the screen), and another inside of it of the static animation (6 characters on a train each animated uniquely).

Confused yet? Ha! OK, so I just want the damned animation on the main timeline to run once and then stop (or to 270 frames). I've tried:

myMovieClip.stop()

to no avail. I've tried attaching the script to the movie clip itself, and also to the frame.

Any suggestions?

Making A Draggable Movie Clip Control The Location Of Another Movie Clip
http://www.kineticz.net/jba/residental.jpg that is a picture of what i am trying to do. the white bar at the bottom is the draggable movie clip and the group of 3 pictures right above that is the movie clip that i am trying to control w/ the draggable clip. I am having trouble writing a script that will do this. any help you can give will be much appreciated.

When I Click On A Movie Clip I Need The Movie Clip To Goto And Play Frame 2
i have created a movieclip and draged it on to the stage i tryed used on mouse down then tell target goto and play but that ment when ever the mouse clicked any where, how do i tell in to only play when i click on the movieclip ?

How Can I Control A Movie Clip Which Was Loaded In To A Empty Movie Clip On Level 0
how can i control a movie clip which was loaded in to a empty movie clip on level 0 the name of the movie is 'imagemc.swf' and 'imagemc' for the empty movie clip on level 0. the movie doesn't have a movieclip name, how am i going to tell target the movie?

How To Manipulate A Movie Clip On The Main Stage From Inside Another Movie Clip
I have a button inside a movie clip, and I want it to work that when you hit the button, a different movie clip will go to frame 5. anyone know how to help? I think it has something to do with which level it is on, but I can't manage to figure out anything else.

A Button Inside A Movie Clip, Within A Movie Clip, Calling Another Scene:
Is it even possible?

I have been trying to do it for the last few days for a site I am working on.

I have done searches in many forums and it's foolish looking for an answer that way, because quite frankly every thread I opened was something to do with LoadMovie or GetURL, etc.

What I have right now is on the button in my Menu Bar Movie Clip:

on (release) {
gotoAndPlay(285);
}

Which plays a fancy little animation in the movie clip and then on the last frame of that movie clip I had:

gotoAndPlay("Contact", 1);

Which is the Scene for the "Contact Us" Scene named "Contact"

One would think that it would load up the scene and play at frame 1, however all that happens is it reloads the movie clip of the "Menu Bar" at frame 1 and starts over, not even realizing what I asked.

Anyways, I figured there's a script or something that tells it to look outside of the movie clip or to the _Root, or whatever.

If someone has a solution, it would be greatly appreciated.

Sorry I have no example to show, since I have yet to upload it. (It's my company's web site, and I don't think customers would want to see some half-arsed web site that's not complete.

Thanks in advance.

On Mouseover Show Movie Clip, On Mouseout Close Movie Clip *HELP*
Basically what I am trying to do is this...

I have a movie clip that is a name. When you put your mouseover the name I want another movie clip to display to the right of the name. This clip has a photo and bio of the person.

The photo and bio have an animation that fades it in and an animation to fade it out. I have 5 frames for the fade in, then stop frame, then 5 frames for the fade out.

What actionscript do I need to use to make that second movie clip load when a user mousesover the name (first movie clip) and to make the second half of the second movie clip play when the user removes their mouse from name (first movie clip).

NOTE: I tried using loadMovie and unLoad movie but I couldn't do it loading another swf. The reason being this is already an swf loaded inside a main movie. I guess you can't load an swf inside an swf that's already loaded inside an swf. I hope this all makes sense!

I appreicate all the help!

Thanks a lot!

Create A Movie Clip As A Button To Jump To Half Way Through Another Movie Clip?
hi guys and gals,
i am wondering if i can make a movie clip (as a link for a website) jump to half way through another movieclip...
thanks in advance

Create An Empty Movie Clip Inside An Existing Movie Clip?
I'm making sort of a tabbed navigation scheme by reading the data for each tab in from an XML file. What I'm wondering is if it's possible to use createEmptyMovieClip() to make a new empty movie clip inside a movie clip that already exists on the stage.

Using
ActionScript Code:
m_anchor.loadMovie(bg_image);
works as I would expect. bg_image is just the relative path to an image file, and m_anchor is a movieclip already on the stage. However, doing a similar thing:
ActionScript Code:
m_anchor.createEmptyMovieClip("textbox", this.getNextHighestDepth());
and then drawing a shape (a rounded rectangle, which I then want to put text on top of) doesn't work. It works if I just say "this.createEmptyMovieClip" instead of attempting to create it inside the m_anchor clip, but if I do that, the "textbox" is created at the root level and I can't unload it along with everything else in the "m_anchor" clip. Is it possible to create a new empty movie clip inside of one that is already on the stage?

Thanks!

Load An Internal Movie Clip To An Empty Movie Clip On The Stage
Can any of you shed some light as to why this is not working:

on (release) {
emptyMC.attachMovie("mrimc","instance1",this.getNe xtHighestDepth());
}

what I want to have happen is when the user clicks a button it loads the mirmc into emptyMC on the stage.

I have double checked that my empty movie clip does indeed have an instance name of emptyMC and that the movie I want to load into does in fact have the name mrimc in the library. Any ideas?

Problem Getting Movie Clip Inside Of Movie Clip To Face Mouse
I used the code below to make a movie clip face the mouse, it works when I use it on a movie clip that's not embedded in another movie clip, but when I used it on an embedded movie clip, it's axis seems to change.









Attach Code

var stickGun:MovieClip = this.stick_holder.stickGun_mc;
//stick_holder.stick_mc.stickGun_mc

stage.addEventListener(Event.ENTER_FRAME, onMove);
//stick_holder.stick_mc.stickGun_mc.addEventListener(MouseEvent.MOUSE_MOVE, onMove);

function onMove(event:Event):void {
// get the radian value of the angle between the clip and the mouse...
var myRadians:Number = Math.atan2(mouseY - stickGun.y, mouseX - stickGun.x);
// convert it to degrees...
var myDegrees:Number = Math.round((myRadians * 180 / Math.PI));
// get the horizontal and vertical distance between the clip and the mouse...
// rotate the clip toward the mouse...
stickGun.rotation = myDegrees;
}

Placing Actionscript Movie Clip Inside A Movie Clip Symbol
I'm loading an external image into an empty actionscript movie clip (holder1) using MovieClipLoader(); on frame one of my movie and is invisible. Then when the movie plays, there is an empty movie clip symbol (image1_mc) that is placed manually on the stage within another movie clip symbol (flash_mc), and is also on a bottom layer of a mask layer which is animated. Is it possible to place "holder1" inside of "image1_mc" so that I can treat it as if it were an embedded image? In other words, have the image in "holder1" inside of the manually placed movie clip symbol "image1_mc" so that I can use it like a regular symbol on the stage?

How Can I A Movie Clip Splash Prior To Attaching The Choose Movie Clip..Help
I have a presentation which I would like to publish on CD. What I want is to have movies attached to the container_mc on the stage upon clicking the desired navigation buttone. But before movie gets attached, I would like to have a logo_mc animation (from the library) to play itself before playing the selected clip.

I think I need to write up a function which will call the animation splash clip prior to attaching the clicked movie.

Appreaciate all the help.

Thanks so much.

Control Movie Clip In Container From Button Inside Other Movie Clip
There are three movie clips involved in this question.

1. A main movie clip that has a target empty movie clip where an external swf loads.

2. A menu movie clip that is built from button symbols and has its own timeline.

3. The external movie.

When a user clicks on the menu, the external swf loads into the empty movie clip target.  This part works fine. Here's the code:
on (release) {    
    loadMovie ("Lesson1.swf", "_root.container");
}

I want to use one external swf for all lesson, versus 20 external swfs. The problem I'm having is controling at what frame the external swf loads.  I've tried adding --gotoAndStop (15) -- for example. I've also tried adding, gotoAndStop "_root.container" (15), but that doesn't work either. The gotoAndStop action ends up controlling the menu movie clip timeline instead of the movie loaded into the container. I figure this is because the menu mc has "embedded" buttons and it's own timeline.

Any  help you can offer will be much appreciated.

Thanks
Sheila



Creating A Button To Open A Movie Clip From Inside A Movie Clip?
I'm using a hexagon menu to display some images. One image is placed on each slide of the hexagon menu (which can then be rotated left and right to see other "slides").

What I want to do now is to be able to click on the object (image) as a button and for it to go to another scene which shows the image blown up and some description next to it (which is another movie)

I have tried the following which doesn't seem to work:
Created an invisible button (or choosing the image as a button) and having

on(release) {
gotoAndPlay("scene 5", 1);
}

this doesn't work when I use it over the hexagonal menu, but when I move the button to somewhere else on the screen (not over the movie) it works.


Please can someone help with this - Ive been working on it flat out over the weekend and desperately want to make it work. any ideas would be appreciated!! thank you

Loading External Movie Clip With A Button Inside Another Movie Clip Help
Hi,

I am working on a scrolling thumbnail movie clip, that when you click on the thumbnail button inside the movie clip it will load an external movie clip. I have an empty movie clip on the main stage, and have been trying all sorts of code, but for some reason it doesn't like that I am inside a movie clip using buttons. It can't seem to find the external swf.

I have tried:

on (release) {
loadMovie (ithink.swf, "loader");

and

on (release) }
if (firstTime == true) {
loadMovie("ithink.swf", _root.loader);
firstTime = false;
} else {
_root.clicked = "ithink.swf";
_root.loader.gotoAndPlay("goback");
}
}

and so far nothing, for some reaosn when I click on a button outside of the movie clip with the above code it loads... and than the other works too, but if I click on the buttons inside the scolling movie clip first they won't work.

Any suggests or ideas!!?

I would really appreciate it... I am beyond frusterated!!

Unload A Movie Clip From The Movie Clip That Was Targeted From The Root Timeline
I have on the main timeline, a button that when it's pushed loads an external .swf into a blank MC. I need to be able to close the MC within the mc. I know I can do this is loadMovieNum and use levels, but then I can't target where I need it to load in...is there a way to do this?

Thanks
Stacy

Using A Movie Clip Inside A Movie Clip To Start A Frame Of An MC Inside A Movie Clip
Situation:
I have a movie clip inside a movie clip with a button inside of it.

This button on release goes to a different movie clip(svideo) in a different frame on the maintime. This movie clip has a movie clip(portfolio) inside of it.
Okay: I use an absolute path on the aforementioned button
on release
_root.svideo.portfolio.gotoAndPlay(60);

But, for some reason Flash won't go to frame 60 of the portfolio movie clip that is inside of the svideo.

I have tried numerous variations on reaching frame 60 of portfolio. Like going to the maintime line and going to the portfolio MC. Also, portfolio and svideo are the instance names and not the name of the actual movie clip.

If anybody could help, I would appreciate it. Thanks.

How Do You Make A Button Able To Jump From Movie Clip To Movie Clip
how do you make a button able to jump from movie clip to movie clip

I have 5 movies i the same scene , I need the buttons to jump from movie to movie ... how do I code this in the acrions ?

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