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








Remove A 3D Movie Made With Arrays


Iīm very desperate īcause I solved a problem of doing a bed in wireframe (my logo) with actionscript... the bed rotates as you move the mouse around it.
I know some actionscript and I bought a book with actionscript for games. I based my bed in an example given in this book... the element was a cube, so I just changed the coordinates and made a few changes.
The cube was made with a graphic of an invisible dot and a white line that moves around coordinates drawing the bed.
}The bed now works perfectly and responds to the mouse movement. Itīs a 3d model made in flash, but when I
make a button so I can change to another scene,and press it, the scene changes, but the bed just freezes and it stays on top of every layer in my new scene.
I just canīt remove it.
Maybe you would like to see the actionscript of it...

Thank you...




FlashKit > Flash Help > Flash ActionScript
Posted on: 12-11-2001, 08:33 PM


View Complete Forum Thread with Replies

Sponsored Links:

Array Painter - Easy Made 2D Arrays
http://flashkit.com/board/showthread...hreadid=619448

forgive me for double posting. I was in doubt where to post this thread.

pls post comments in the other post.

View Replies !    View Related
Compare Arrays And Remove Duplicate Items
I have created two arrays.

var Array1=new Array("a","b","c","d");
var Array2=new Array("c","b");

What if we want to remove items from Array1 which are present in Array2, so that our output will be

trace(Array1);//a,d

Thanks...

View Replies !    View Related
Remove Movie Clip Help, Remove Child {AS2}
So, I'm new here, and do to the lack of good help on Kongregate, I have come here =D Hopefully somebody here will be able to help me

if(_root.row2.block1._x == _root.row1.block1._x)
{
_root.row2.block1.removeMovieClip();
trace("working");
}


now, the trace fires, and, if I remove ".block1" the entire movie clip is removed, but with it in there, to remove the MC from within my MC, it WONT be removed, am I doing this wrong or am I making some other error?

View Replies !    View Related
Is There Any Way To Load A Movie Thats Made In AS2 On An AS3 Movie And Vice Versa?
If I was to make a movie using Flash AS2 and then loadMovie thats made using AS3 into my AS2 movie, is this possible? or vice versa.

Like make a movie using AS3 then load a movie that uses AS2 with MC Tween maybe.

Are they backward compatible? I am wondering how could you mix and match and load different movie versions and actionscripts.

View Replies !    View Related
Ok I've Made The Movie Now....
now I wanted to display it on the internet, but instead of having the URL blah.site/movie.swf i wanted to embed it, but i don't know the code for it, can you please tell me if you know?

View Replies !    View Related
Why Isn't My Movie The Size I Made It?
I'm in the beginning stages of a movie that I set at 800 wide by 250 tall. I could tell that the dimensions look strange on the screen, like it's not actually those dimensions, but the rulers concur that it's 800 x 250.

I wanted to test the movie before I went much further so I set it to play on a html page, with the html properly calling the movie up in those dimensions. It appears to get the height dimension correctly, but it's definitely not 800 pixels wide -- it looks to be around 450 or 500.

There must be a simple explanation for this. I just don't know what it is. Please help.

Thanks!

View Replies !    View Related
Ive Made A Movie Clip, Now,
How do I move it into my main timeline?

How do I move it onto layer 15 of my scene 1 timeline so It can loop seperately from my rotating icons?(layer 15 is blank)

View Replies !    View Related
How Can I Prove I Made A Movie?
With flash it's kind of complicated on how to prove for sure who is the creator of it. I'm wondering if there is a way to show someone and to make them go, 'oh **** he DID make it'. The reason I'm wondering is because I need to contact someone that ripped me off, but if they ask me for proof that I made it, what can I say?

I have all the files I used for the movie still, the .FLA, the .WAVs, even the background .JPGs
But isn't there those dicks who make software that just rips a .swf and lists all the library items? I need proof, PROOOOFFF!!

View Replies !    View Related
Choose The Movie You Would Like To See Made
So here is the problem I have to figure out and I can't even think of where to start.

I'm going to have 2 columns with 3 videos in each one.
The user can click on a video from each column and then see them combined into one streaming video.

I figure I can make an flv of every combination possible. I just need to figure out how to go which video depending on which boxes you've clicked.

Any suggestions? Are there any true flash Macgyver out there?

View Replies !    View Related
Movie Clip Made Appear
I have a movie clip which is invisible onClipEvent(load).
This movie clip is made visible on(release) button, as follows:

on(release){_root.cat._visible=true;}

after on(release) button, goto next frame. On next frame, on(release) button, go back to previous frame, but the movie clip which was visible is invisible. How do I make the movie clip keep on visible when I come back from other frame.

Thank you.

View Replies !    View Related
Preload Script, Possible To Add After Movie Made?
Ok, i made a movie. Well more of a slideshow, but either way, has some music and lots of images. I want a preloader, i downloaded one, but do i have to open the preloader, and build my movie in the next scene or is it possible to add the preloader to my current movie, thnx

View Replies !    View Related
Made A Movie Symbol, How Do I Get It To Play?
i made a movie symbol thing for my flash movie. inside that symbol i have text exploading... how do i get it to play in secquence?

View Replies !    View Related
Duplicate A Movie After It Has Been Made Invisible.
Please show me how to correctly duplicate a movie which has previously been set to invisible. See commented out lines in the attached fla. Just show on the penny_mc,
Also, I could use suggestions on how to assign the movies which hit their targets a number value, and then keep a running total of all hits in a container, and display the content of the container into the dynamic text field. I am very slow to learn this, and could realy use the explanations commented out along side. Thanks.
the movie is not duplicating, but the screen is heightened, for some inexplicable reason.
if (display1 == true ) {
penny_mc._visible =0;
duplicateMovieClip(_parent.penny_mc, new penny_mc, 1);


setProperty (new penny_mc, _x, 10);
setProperty (new penny_mc, _y, 267);

setProperty (new penny_mc, _visible, true);

Thank you.

}else{
penny_mc._visible =1;
}

View Replies !    View Related
Ok I Made This Movie, But It Won't Stop Looping
i use flashmx 2004, and when i save it as .swf it will loop, if i save it as .html it doesn't loop, but it still needs the other .swf file to work, my question, is how do i stop looping it on the .swf? is there some marker i have to put at the end to tell it not to loop?

View Replies !    View Related
How To Use Preloader In A Flash Movie Made For Web?
I am using Flash MX.
I have a flash movie with sound controll.This is for a web page.Each and every thing of the movie is in symbol(i.e. either in button, or graphic symbol or movie clip).After that I have assimilated those in the screen.
Now I am facing the problem with handling preloader.
Please ,tell me how to use an actractive preloader.

View Replies !    View Related
I Made My Movie Too Big. Can I Have It Resize At Start?
Rather than manually resize my root movie and all the movies it loads, can I globally change the scale as they all open up? I'm not using this on the web, it will be on a cdrom.

Thanks for any help.

View Replies !    View Related
HELP I Made A Button Out Of A Movie Clip
I found a tutorial that lets me do rollover and rollout animation. What I want to do now is make the button link to more movie clips and menu pages, but I want these pages all in the same .fla.

My site: http://www.geocities.com/camoblur/index.swf

Here's how my "buttons" work: I made a movie clip then did the motion tween to have it get bigger (zoom in effect.) From the tutorial, I found that with enough action scripting, I was able to make this clip in to a button with "on (rollover)" play clip to zoom, and then "on (rollout)" play the clip in rewind so it sets back down.

My problem is that I can only set the "on (release)" actions to "getURL", because when I make it "gotoAndPlay ("scene 1", 25)" it doesn't work.

Can I get the same zoom in/out effect with a REAL Button? Or is there a way I can make this movie clip thing work out?

Thanks

View Replies !    View Related
Exported Movie Isn't Same As The One I Originally Made
Using Flash CS3

I made a very basic animation with some text floating around, fading in and out for a small healthcare website. The text floats up from the bottom of the screen fading in then fading out with alpha. I also have a few pictures doing the same thing.

When I export the movie, however, only the first line of multiple lines of text appear, and the alpha fading effect does not work at all.

How come the original movie I made does not reflect into the movie that is exported?

View Replies !    View Related
How To Made A Movie Clip Repeat Y
i want to made a sea waves effect and i think i have to do a loop with a clip repeating x and movingo to left...

ho can i repeat the movie clip by actionscript?

View Replies !    View Related
Making A Movie Appear After A Certain Task Is Made
hi all i have a pbs with loading move and making it appear after a certain task is made.

Hope your people here can advise me how to make it works.

I have a redball and a whiteball, i trying to make whiteball appear after redball vanished.

redball actionscript

onClipEvent(load){
value=10;
}
onClipEvent(enterFrame){
this._alpha -= value;
}

whiteball actionscript

onClipEvent(load){
this.attachMovie("whiteball","whiteball",1);
this.whiteball._alpha = 0;
}
onClipEvent(enterFrame){
if(redball.alpha == 0){
this.whiteball._alpha = 100;
}else{
this.whiteball._alpha = 0;
}
}

I have also attached the ball.fla file incase you don't understand what i am trying to do.

thxs for reading

View Replies !    View Related
Inserting Something Into A Ready Made Movie
Hi..i got a flash movie already made..

however..i want to put something at the beginning of the flash.

theres several layers already in the movie...so..its not like getting the one layer and doing stuff at the beginning like inserting frames and stuff.

View Replies !    View Related
How This Good Flash Movie Is Made...
i found this good flash movie at www.news.com.au (see top most right side)
to see how it is made ..i decompiled..
but got nothing....

i think it uses dynamic rss feed.....

does any body have any idea..sample tutorials ..movies..fla or anything that can be used...

just to see ..or test

View Replies !    View Related
Exported Movie Isn't Same As The One I Originally Made
Hi all, flash newbie here. I'm using Flash CS3...

I made a very basic animation for a small healthcare website featuring some text floating around, fading in and out. The text floats up from the bottom of the screen fading in then fading out with alpha. I also have a few pictures doing the same thing.

When I export the movie, however, only the first line of multiple lines of text appear, and the alpha fading effect does not work at all on text. It does work correctly on the pictures. Both text objects as well as pictures were converted into movie symbols.

Any idea how come the original movie I made does not reflect into the movie that is exported?

View Replies !    View Related
Easy Question: How Can I Play Another Movie I've Made?
Hey everyone

i'd like to load and play another flash movie i've made (an swf) when the user clicks a button in my current flash project. i've seen threads concerning the loadMovie function, but I'm pretty new to ActionScript, so if anyone could give me a hand I'd be very thankful.

View Replies !    View Related
How Come The Movie Clip I Made Load Very Slowly
Is it because too many frame inside? I tried to use 2 movie clip to load in different layer. But they load very slow when the frame load. Then I delete one of it. The movieclip load ok. Do anyone what happens with it?

View Replies !    View Related
Animating Movie Clip Made With Actionscript
I draw a cogwheel into a movieclip using actionscript.
I want it to start rotate when I click on certain button.
How can I do it?

I tried with

_root.cogwheel.onEnterFrame = function() {
_root.cogwheel._rotation += 10;
}

but it doesn't work.

Please, help!
Tomica

View Replies !    View Related
Duplicating Movie Clip That's Made With BitmapData
Hi,

I have seen some cool menus recently that take bitmap images, mask them and animate the mask. From what I can gather people are using BitmapData and the Tween class. What I am trying to do is use an XML file to load bitmap images into a drawn shape, then repeat that process for all items in my XML. I have most of this figured out, but I'm kinda dumb and can't get past figuring out getting the drawn movie clip to duplicate itself.

I am using a for loop here. Later, I'll incorporate the XML. I am wondering if I have the totally wrong idea here and if anyone with a better understanding wouldn't mind taking a look:

import flash.display.BitmapData;
import flash.geom.Matrix;
import flash.geom.Rectangle;
import flash.geom.ColorTransform;



for (var i:Number = 4; i>0; i--) {

this.createEmptyMovieClip("mShape"+i,i);
this.createEmptyMovieClip("mBitmap"+i,i);



var oListener:Object = new Object();
oListener.onLoadInit = function(mClip:MovieClip):Void {

var bmpImage:BitmapData = new BitmapData(mClip._width, mClip._height);
this.tmc.attachBitmap("bmpImage"+i,i,"auto",true);


this["bmpImage"+i].draw(mClip);
mClip._visible = false;

this["mShape"+i].lineStyle(2);
this["mShape"+i].moveTo(0,0);
this["mShape"+i].beginBitmapFill(bmpImage);
this["mShape"+i].lineTo(120,0);
this["mShape"+i].lineTo(120,400);
this["mShape"+i].lineTo(0,400);
this["mShape"+i].lineTo(0,0);
this["mShape"+i].endFill();
this["mShape"+i]._x = i+150;

};

var mlBitmap:MovieClipLoader = new MovieClipLoader();
mlBitmap.addListener(oListener);
mlBitmap.loadClip("images/research_"+i+".jpg",this["mBitmap"+i]);

}

View Replies !    View Related
AS 2.0 Movie Clip/ CurrentPage Variable I Made
here is my question: I have designed this site which plays a 141 frame animation on the main timeline at which point I embeded movie clips which will be called by the navigation buttons (the movies are embeded in their own layers inside keyframes which reside on frame 141). so when paople click on the buttons it plays the animations via my "animatOn and animateOff functions" in my action script... what AS do I need to put (where the red question marks are) in order for my contentHome_mc to play once the main time line animation ends at frame 141.

here is my actions scripting as I have it on frame 141 on its own actions layer

var currentPage = "contentHome_mc";

???????? = function (){
animateOn ("contentHome_mc");
}

function animateOn (page:String){
eval(page).gotoAndPlay("play");
}

function animateOff (page:String){
eval(page).gotoAndPlay("off");
}

home_btn.onRelease = function (){
if (currentPage != "contentHome_mc")
{
animateOff(currentPage);
animateOn("contentHome_mc");
currentPage = "contentHome_mc";
}
}

about_btn.onRelease = function(){
if (currentPage != "contentAbout_mc")
{
animateOff(currentPage);
animateOn("contentAbout_mc");
currentPage = "contentAbout_mc";
}
}

right now, in order for "contentHome_mc" to play you need to click the home button, and I wish to have "contentHome_mc" to be the "default" movie clip as the user enters into the site.

Thanks in advance...

emc!

View Replies !    View Related
Replacing Graphics In Ready-made Flash Movie?
How do I replace the graphic in a Flash movie without altering the motion, etc? Does it have to be a certain filetype?
Thanks for your help

Graeme

View Replies !    View Related
How To Import Ready-made Movies As Movie Clips?
hello. a flash mx 2004 user in trouble - again...

i managed once, weeks ago, to import a ready made movie as a movie clip to be used in another movie, and now i can't do that again. just when you think you're learning something... arrrrgh. and this is a simple thing, i know i know.

so. if i use the import into library - command, i get the movie clip into the library all right, but in its time line i see a series of dots in just one layer instead of the original movie's timeline with tweens and all, multiple layers and actions. how to import the complete structure of the original movie as an mc?

can some kind soul please help me?

thanks...
mar

View Replies !    View Related
I Made A Collapsible Menu In Flash Using A Movie Clip I Attaced?
Plz Help, PLZ!
I made a collapsible menu in flash using a movie clip i attaced this following code to the buttons

on (release) {
_root.gotoAndPlay("Frame_Name");
}

And it will liink to the designated frame/scene, but if you were to click the same button a second time it would skip to another frame/scene. How do I prevent this from happening?????

View Replies !    View Related
I Need To Move(drag/drop) A Dynamically Made Movie Clip
the clip is being made
like so

Code:
_root.contributionMC.contributionSP.spContentHolder.attachMovie("outlineMainMC", outline[cId], attachAt);
from what i understand, outline[cId] is the instance name, which in this case is contribution1, contribution2 and so on.

i have a button that holds the move code behind the scenes in the outlineMainMC clip, it's actions are:

Code:
on (press) {
startDrag ("contribution1"); //just grabbing the first one for now for testing purposes
}
on (release) {
stopDrag ();
}
what am i doing wrong

View Replies !    View Related
Cursor Made Invisible After 4 Seconds - Problem. Movie Attached
See attached movie.

I have a movie with some nice graphics that I dont want to be disturbed by the cursor. Therefore I have this script in the frames over the graphics that makes the cursor invisible after 4 seconds, if the mouse has not been moved. The script is working perfectly.

BUT :
- I have a options box where the user can turn off the background music and other things.

This options box is made visible by clicking on a options button on the stage. The options box is then showing on stage.

As long as the options box is visible on the stage I dont want to have the cursor made invisible after 4 seconds. It will disturb the user when he is deciding in the options box what settings to use, that the cursor suddenly will disappear. It will come back as soon a user move the mouse again, but it will give the user a disturbing experience with this undesiding cursor flickering.

What I want is that when user click on options button then the "hide cursor" script is turned off. And when the user thereafter is clicking the "OK" button in the optionsbox to make the box go away, then I want the hide cursor script to be active again.

What I want is something like this on the options button:

on(release){
sliding._x=230;
sliding._y=78;

clearInterval(nIdleTime);
}


What I want is something like this on the OK button:

on(release){
_root.sliding._x=-260;
_root.sliding._y=631;

idleTime:Number = 4;
}

---------------------------------------------------------------------------------------------------------
Here is the hide cursor script on the frames:

var idleTime:Number = 4; //define number of seconds for idle time here
var mouseCord:Number = _xmouse+_ymouse;
var nMouseMoveDetect:Number = setInterval(mouseMoveDetect, 500);
var nIdleTime:Number;

function mouseMoveDetect():Void {
if (mouseCord != _xmouse+_ymouse) {
//mouse has moved in last half a second
Mouse.show();
clearInterval(nIdleTime);
nIdleTime = setInterval(idleProcess, idleTime*1000 - 500);
}
mouseCord = _xmouse+_ymouse;
}

function idleProcess():Void {
clearInterval(nIdleTime);
Mouse.hide();
}

View Replies !    View Related
Menu Made In Movie Clip - With Sub-section We Can Click On To Go To Another Frame
I would like some help about that:

I want to do a menu made all in movie clip (NO button). In this menu, when we click on one of the part (sub-section) of the button (which is a mc), we must go to another frame in the main scene.

It is working for the roll-over and mousedown for my button (with the _up, _over and _down labels). But it's not working then to put, i don't know, another movie clip inside with alpha 0 to make another onRelease and then gotoAndStop(20); ...

Here is the code I have in the main scene (first frame):

stop();
mon_clip_mc.onRelease = function() {
//this._root.gotoAndStop(20);
};

And here is the code I have in the first frame of the movie clip of the button:

stop();

I'd really appreciate some help! Thanx

View Replies !    View Related
Made A Drag And Drop Slider Inside A Movie Clip..
I have made a slider that moves from left to right. Well the slider works fine, but I put that slider inside a movie clip, so I can drag it around, and still slide the the slider, but it dont allow me to slide it, only drag the entire progy.

Conclusion: I need to figure out how to drag the entire movie, and still use the slider. I know the code is lengthy but no one at FK would reply. Thanks in advanced!

The code that is on the movie clip is.

on(press){
x = this._x;
y = this._y;
startDrag(this);
}
on(release, releaseOutside){
stopDrag();
if(this.hitTest(_parent.target)){
this._x = 80;
this._y = 105;
_root.tester.gotoAndStop("ok");
}else{
this._x = x;
this._y = y;
}
}


And the script that is on my slider is:

cursor._visible = false;
cursor.playani = "zoomin";
cursor.onEnterFrame = function ()
{
if (this._parent._xmouse > 25 && this._parent._xmouse < 205 && this._parent._ymouse > 16 && this._parent._ymouse < 196)
{
Mouse.hide();
this._x = this._parent._xmouse;
this._y = this._parent._ymouse;
if (!this._visible)
{
trace(this.playani);
this.gotoAndPlay(this.playani);
} // end if
this._visible = true;
}
else
{
Mouse.show();
this._visible = false;
} // end if
};
function zoomin(obj, menu)
{
delete this["onRelease"];
delete this["onReleaseOutside"];
delete this["onPress"];
delete this["onEnterFrame"];
this._parent.cursor.gotoAndPlay("zoomout");
this.nextscale = 100;
this.finalx = 115 - this._xmouse;
trace(this.finalx);
if (this.finalx < 5)
{
this.finalx = 5;
}
else if (this.finalx > 225)
{
this.finalx = 225;
} // end if
this.finaly = 106 - this._ymouse;
if (this.finaly < -4)
{
this.finaly = -4;
}
else if (this.finaly > 216)
{
this.finaly = 216;
} // end if
trace(this.finalx);
this.onEnterFrame = function ()
{
this._x = this._x + (this.finalx - this._x) * 0.200000;
this._y = this._y + (this.finaly - this._y) * 0.200000;
if (this._xscale >= this.nextscale)
{
if (Math.abs(this.finalx - this._x) < 0.500000 && Math.abs(this.finaly - this._y) < 0.500000)
{
this._x = this.finalx;
this._y = this.finaly;
zoomin.enabled = false;
this.onRelease = this.onReleaseOutside = this._parent.release3d;
this.onPress = this._parent.press3d;
this.onRelease = this.onReleaseOutside = this._parent.release3d;
this._parent.cursor.playani = "dragin";
this._parent.cursor.gotoAndPlay("dragin");
delete this["onEnterFrame"];
} // end if
}
else
{
this._xscale = Math.ceil(this._xscale + 5);
this._yscale = Math.ceil(this._yscale + 5);
} // end if
};
} // End of the function
function zoomout(obj, menu)
{
delete this["onEnterFrame"];
delete this["onRelease"];
delete this["onReleaseOutside"];
delete this["onPress"];
this.nextscale = 45;
this.finalx = 115;
this.finaly = 106;
this.onEnterFrame = function ()
{
this._x = this._x + (this.finalx - this._x) * 0.200000;
this._y = this._y + (this.finaly - this._y) * 0.200000;
if (this._xscale <= this.nextscale)
{
if (Math.abs(this.finalx - this._x) < 0.500000 && Math.abs(this.finaly - this._y) < 0.500000)
{
this._x = this.finalx;
this._y = this.finaly;
zoomout.enabled = false;
delete this["onRelease"];
delete this["onReleaseOutside"];
delete this["onPress"];
this._parent.cursor.playani = "zoomin";
this.onPress = this._parent.zoomin;
delete this["onEnterFrame"];
} // end if
}
else
{
this._xscale = Math.ceil(this._xscale - 5);
this._yscale = Math.ceil(this._yscale - 5);
} // end if
};
} // End of the function
function zoomout2(obj)
{
delete obj["onEnterFrame"];
delete obj["onRelease"];
delete obj["onReleaseOutside"];
delete obj["onPress"];
obj.nextscale = 45;
obj.finalx = 115;
obj.finaly = 106;
obj.onEnterFrame = function ()
{
this._x = this._x + (this.finalx - this._x) * 0.200000;
this._y = this._y + (this.finaly - this._y) * 0.200000;
if (this._xscale <= this.nextscale)
{
if (Math.abs(this.finalx - this._x) < 0.500000 && Math.abs(this.finaly - this._y) < 0.500000)
{
this._x = this.finalx;
this._y = this.finaly;
zoomout.enabled = false;
delete this["onRelease"];
delete this["onReleaseOutside"];
delete this["onPress"];
this.onPress = this._parent.zoomin;
this._parent.cursor.playani = "zoomin";
this._parent.cursor.gotoAndPlay(this._parent.curso r.playani);
delete this["onEnterFrame"];
} // end if
}
else
{
this._xscale = Math.ceil(this._xscale - 5);
this._yscale = Math.ceil(this._yscale - 5);
} // end if
};
} // End of the function
function press3d()
{
this._parent.cursor.gotoAndPlay("dragout");
this.lastClick = getTimer();
if (this._xscale == 100)
{
this.startDrag(0, 0, -16, 230, 224);
} // end if
} // End of the function
function release3d()
{
stopDrag();
if (Number(getTimer() - this.lastClick) < 200)
{
this._parent.cursor.playani = "zoomin";
this._parent.zoomout2(this);
}
else
{
this._parent.cursor.gotoAndPlay(this._parent.curso r.playani);
} // end if
} // End of the function
_level10._root.contents.allblock.gotoAndStop(1);
draggerMc.lilboton.onPress = function ()
{
// BELOW THIS LINE IS WHERE YOU POSITION THE SLIDER

offset = 0;
this._parent.startDrag(0, 56, 202, 1000, 202);
this._parent.onEnterFrame = function ()
{
currentPos = this._parent.followerMc._x - 55;
currentPos = this._x - 55;
m3dFrame = Math.floor(1 + currentPos * 29 / 108);
this._parent.m3d.gotoAndStop(m3dFrame);
trace(m3dFrame);
};
};
draggerMc.boton.onRelease = draggerMc.boton.onReleaseOutside = function ()
{
stopDrag();
delete this._parent["onEnterFrame"];
};
m3d.onPress = zoomin;
stop();So I copied all my frames, then put it into a new movie clip. that has this code on it.

View Replies !    View Related
Can A Movie Remove Itself?
If I make a copy of a movie clip with duplicateMovieClip(), is it possible for that movie clip instance to remove itself?

How would it be done?

this.removeMovieClip()?
removeMovieClip(_parent)?

View Replies !    View Related
Remove Movie Same Way It Came In
i want to have a movie reverse the same way it came in to the stage. Sample (http://www.ideaworks.com.au/) So if the user is on the "about page" and the user clicks "contact" the "about page" reverses and then the contact movie loads. I was thinking of having a stop action within the movie. upon the user clicking another button, the active movie would continue its " exit?" prior to loading the next movie. I can’t seem to get my head around this one I LOVE the (ideaworks.com.au) transitions.

View Replies !    View Related
Duplicated Movie, Can't Remove
I duplicated a movie using .duplicateMovieClip, and now I can't remove it using .removeMovieClip(). Any ideas?

View Replies !    View Related
How To Remove Duplikate Movie?
Hey!

I havenīt posted a long time in this forum, but I hope I am still welcome and will get some help with this!

Ok, I have new projekt which will be released on Sept., 1st (finally a flash project again, to much print stuff). This project should have a screen to screen effect with a duplicate movie script.
The script wasnīt very complicated, but I do not know how to remove the duplicated movies???? They all have a new name, so I donīt know how to use the .remove command.

I tried to put the hole effect into a movieclip, so I could just unload the hole movie... but I didnīt get the right path to the elements... I donīt know how to work on.

PLEASE HELP! THIS MAKES ME CRAZY. I AM TOTALY STUCKED.

Thanx a lot! Marcel :-)

Here comes the script:

//First Frame
Breite = 35; //Length
for (x=0; x<28; x++) {
for (y=0; y<30; y++) {
Tiefe++; //Depth
duplicateMovieClip ("/Viereck", "Viereck"+x+y, Tiefe); //Viereck eq movie which should be duplicated
_root["Viereck"+x+y]._x = 10+Breite*x;
_root["Viereck"+x+y]._y = 10+Breite*y;
}
}
Viereck.gotoAndStop(2);

i = 0;

//Secound Frame
x = random(20);
y = random(20);
_root["Viereck"+x+y].gotoAndPlay(2);
_root["Viereck"+x+y]._name = "Viereck"+xy;

View Replies !    View Related
Remove Movie Clip
I currently am attaching a movie clip with the following

radios[radionum] = this.attachMovie("FRadioButtonSymbol", "Button"+radionum, -200+radionum);

How would I remove this clip by using the "myMovieClip.removeMovieClip()"??????

Any help would greatly be appreciated

View Replies !    View Related
Remove Movie Clip?
Hello, this is a very basic question but I can't find an answer anywhere.

How do I remove a movie clip from the stage? I have an MC instance on a timeline that I call with one button (using telltarget), then I need another button to remove it.


I thought removeMovieclip (duh) would work but apparently only works with duplicated movieclips

Please help!

View Replies !    View Related
Remove Dyn Dup Movie Clips All At Once
Ive created a button that on each press duplicates a movieclip called "cir".

I now want to create a button that clears all the dup mc at once.
Ive tried to do the same code witht he removeMovieClip but it only removes the dups one at a time

//to duplicate movie clip
on (press) {
i = i+1;
duplicateMovieClip ("cir", "cir"+i, i);
_root["cir"+i]._x += 100;
_root["cir"+i]._y += 0;
}

any ideas on where to get started

thanks
Dave

View Replies !    View Related
Remove Movie Clip
Hi there, i made a button with this actions:

--
on (press) {
if (count < 40) {
count++;
duplicateMovieClip ("myMC", "myMC" + count, count);
["myMC" + count]._x = 29 + count;
["myMC" + count]._y = 2 + count;
}
}

--

now I want to make a button to remove all movies at the same time, with one clik. how can I do that?
and if it's possible to put that actions to a frame.

View Replies !    View Related
How Do I Remove Border Around My Movie
Hi all.
I have made a new layout for my homepage. I have made 1 big picture in photoshop i want all the action to be in. I have then divided the picture into 3 frames. Top-frame, left frame(menu) and main window.
The top frame and main window is still just a html page with a bg picture. The menu is my new flash movie. Before i used flash as the menu and just had a htmlpage, it looked cool.
Now when i import the flash, there seems to be a single line black border around the flash movie. So it dosent look good.

Take a look here:
http://www.familienmoller.dk/temp/index.htm

The flash movie is 155*515 pixels, just as my window is.

How do i get rid of that single black border ?

regards

View Replies !    View Related
Remove Movie Clip
hmm I am having trouble with this.
-------------------
Frame 2 ----------
-------------------

duplicateMovieClip(ball, ball+i, i)
i++

-------------------

if (ball+i._x < 0){
gotoAndPlay(1)
}

-------------------
Frame 1 ----------
-------------------

removeMovieClip(ball+i);

View Replies !    View Related
Remove Movie Clip
hmm I am having trouble with this.
-------------------
Frame 2 ----------
-------------------

duplicateMovieClip(ball, ball+i, i)
i++

-------------------

if (ball+i._x < 0){
gotoAndPlay(1)
}

-------------------
Frame 1 ----------
-------------------

removeMovieClip(ball+i);

View Replies !    View Related
Remove Movie Clip
I know this is simple but please give the code for removing a movieclip with a target of itself.
Thankyou

View Replies !    View Related
Remove Movie Clip
function main_loadbuttons() {

for (i=0; i<mainNames.length; i++) {
spacing = button._height+5;
name = "mainBtn"+i;
button.duplicateMovieClip(name, i);
set("mainBtn"+i+".text", mainNames[i]);
set("mainBtn"+i+".swf_file", Swf[i]);
setProperty("mainBtn"+i, _x, 23);
setProperty("mainBtn"+i, _y, 167+(i*spacing));
}
}

ok, I made these set of movies now I need a function that can be called to remove each clip. How would I do that? this part always confuses me. this is what i had and its not working:

function removeButtons(name) {
for (i=0; i<10; i++) {
name+i.removeMovieClip();
}
}

then when I call the function I type removeButtons("mainBtn");

this is wrong... but how do I fix it.. I think it's something like that

View Replies !    View Related
Remove Movie Clip
Hello Peoples!

I was wondering if someone could help me out.

I just found out from a previous question I posted, how to duplicate 10 movieclips at a 10 into different depths by the click of a button.

Now what I would like to do, is be able to have the option of removing 10 MC's at a time from one click of a button.

Many thanx in advance for the help.

, Lowell

View Replies !    View Related
Remove Movie Clip
ok i want on frame 30 for a movie clip to be removed.

i have this code on frame 30 of the movie clip

this.removeMovieClip();

View Replies !    View Related
Use A Variable To Remove Movie
Hey mighty scripters,



I have been trying not to bug anyone with this thing I am working on, but I am really stuck on the last few things I have to do. I am not a programmer, so my code will be pretty embarrassing.

One of the things that I am having trouble with will probably be simple for all of you. I have a variable called selectedThumb on the main timeline, written like this...

var selectedThumb:String = "undefined";

When the user clicks a thumbnail that they want to delete, the path for the thumbnail is loaded into the variable with this code...

//add path to selectedThumb variable
_level0.selectedThumb = targetPath(this);

}
I have traced it and it seems to work fine, but I cannot figure out how to use it. I want to use it in a button to remove the movie clip whose path is currently stored in the variable.

I have tried
on(release){selectedThumb.removeMovieClip();}

And...

On(release){removeMovieClip(selectedThumb);}

I have tried using _root.selectedThumb and _level0.selectedThumb . I have also tried making it a global variable.

How do I get the string out of this damn variable? This project has been driving me nuts and taking me forever. Can you help me out? I am so close to be done,but I keep getting really stuck.

I also am going to have trouble with the next thing I have to do. When that movieclip (it actually is a button that is inside a movie clip) is removed, I will be left with a gap that is 42 pixels, because that is just one button in a scrollpane of about 30 of them. I somehow have to get the other buttons to slide up to fill that gap. They are all loaded dynamically using attachMovieClip - with the names clip1, clip2, clip3, clip4, clip5 etc. Maybe I should use some kind of array, I am stuck. Would anyone be willing to help out with this as well and maybe peek at the file(I can email it to you)? You will laugh at my code because I suck at AS...but I am learning at least.





Thanks Tammi

my email

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