[F8] Fading Out Old MovieClip And In New Moviclip Using Fuse
Here is the situation: I am display MovieClip1 on the stage, I need to load MovieClip2 onto the stage. What I want to do is load movieclip2, wait for it to load all the way, then using fuse fade out movieclip1 and fade in movieclip2. If someone could post an example of this it would be great!
FlashKit > Flash Help > Flash ActionScript
Posted on: 12-04-2006, 05:00 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Fading Out Old MovieClip And In New Moviclip Using Fuse
Here is the situation:
I am display MovieClip1 on the stage, I need to load MovieClip2 onto the stage. What I want to do is load movieclip2, wait for it to load all the way, then using fuse fade out movieclip1 and fade in movieclip2. If someone could post an example of this it would be great!
Loading Movieclip Into Another Moviclip From Within The Project
Hi.
Thanks for looking into my post. Hope you can help me.
I'm trying to load a movieclip into a "movieclipholder" in the Flash project. I don't want any external SWF's, everything is put together in the same project. And that's where my problem starts.
I have got no idea how to load one movieclip from the library into another movieclip. Is it possible? I feel it should be. ;) - Please guide me.
Thanks alot in advance.
Kind Regards,
ErlendBV
How To Control A Movieclip With An Externally Loaded Moviclip?
Hey guys and gals,
David Furman Architecture
If you go to this website you will see a panel that slides up and down based on whether you pick "about", "portfolio", or "contact".
When you select the "portfolio" button, an external swf is loaded into a movieclip with instance name mcslide. Then scroll to the left until you reach "10th Street Townes". Select this button.
You can then scroll left to right and select one of the projects. This loads another external swf into the main movie. What I want to do is control the panel that slides up and down from the the horizontally scolling buttons(images of buildings). Since this is an externally loaded swf, I don't know how to incorporate the code into my actionscript below. Can anyone help?
Here is the code I use to do that, below. This controls the gray/black panel called "navpanel". The rest should be straight forward.
code: // during the time the movie loads, we set the current
// position of the content at 0,0; thus showing the
// ABOUT section of the site.
onClipEvent (load) {
endX = _x;
endY = _y;
_x = 20;
_y = 1000;
div = 4;
// This value just determines the speed
// the transistions.
}
// Here we constantly check for new values of
// _x and _y. These values are determined by endX and endY.
// We divide the difference by div to have an value that
// continues to change until the equation is true.
// Try changing the 'enterFrame' with 'Load' to see the
// difference. You would then have to click on a button
// several times before the transistion completes.
onClipEvent (enterFrame) {
_x += (endX-_x)/div;
_y += (endY-_y)/div;
// We then use the onRelease method to determine the
// new values of endX and endY. This is a new feature
// in Flash MX.
_root.navpanel.about.onRelease = function() {
endX = 20;
endY = 394.5;
};
_root.navpanel.portfolio.onRelease = function() {
endX = 20;
endY = 270;
};
_root.navpanel.contact.onRelease = function() {
endX = 20;
endY = 254.5;
};
_root.sales.onRelease = function() {
endX = 20;
endY = 254.5;
};
}
Thanks for any help in advanced,
THS2000
How To Control A Movieclip With An Externally Loaded Moviclip?
Hey guys and gals,
website
If you go to this website you will see a panel that slides up and down based on whether you pick "about", "portfolio", or "contact".
When you select the "portfolio" button, an external swf is loaded into a movieclip with instance name mcslide. Then scroll to the left until you reach "10th Street Townes". Select this button.
You can then scroll left to right and select one of the projects. This loads another external swf into the main movie. What I want to do is control the panel that slides up and down from the the horizontally scolling buttons(images of buildings). Since this is an externally loaded swf, I don't know how to incorporate the code into my actionscript below. Can anyone help?
Here is the code I use to do that, below. This controls the gray/black panel called "navpanel". The rest should be straight forward.
ActionScript Code:
// during the time the movie loads, we set the current// position of the content at 0,0; thus showing the// ABOUT section of the site.onClipEvent (load) { endX = _x; endY = _y; _x = 20; _y = 1000; div = 4; // This value just determines the speed // the transistions.}// Here we constantly check for new values of// _x and _y. These values are determined by endX and endY.// We divide the difference by div to have an value that// continues to change until the equation is true.// Try changing the 'enterFrame' with 'Load' to see the// difference. You would then have to click on a button// several times before the transistion completes.onClipEvent (enterFrame) { _x += (endX-_x)/div; _y += (endY-_y)/div; // We then use the onRelease method to determine the // new values of endX and endY. This is a new feature // in Flash MX. _root.navpanel.about.onRelease = function() { endX = 20; endY = 394.5; }; _root.navpanel.portfolio.onRelease = function() { endX = 20; endY = 270; }; _root.navpanel.contact.onRelease = function() { endX = 20; endY = 254.5; }; _root.sales.onRelease = function() { endX = 20; endY = 254.5; };}
Thanks for any help in advanced,
THS2000
How To Control A Movieclip With An Externally Loaded Moviclip?
Hey guys and gals,
website
If you go to this website you will see a panel that slides up and down based on whether you pick "about", "portfolio", or "contact".
When you select the "portfolio" button, an external swf is loaded into a movieclip with instance name mcslide. Then scroll to the left until you reach "10th Street Townes". Select this button.
You can then scroll left to right and select one of the projects. This loads another external swf into the main movie. What I want to do is control the panel that slides up and down from the the horizontally scolling buttons(images of buildings). Since this is an externally loaded swf, I don't know how to incorporate the code into my actionscript below. Can anyone help?
Here is the code I use to do that, below. This controls the gray/black panel called "navpanel". The rest should be straight forward.
ActionScript Code:
// during the time the movie loads, we set the current// position of the content at 0,0; thus showing the// ABOUT section of the site.onClipEvent (load) { endX = _x; endY = _y; _x = 20; _y = 1000; div = 4; // This value just determines the speed // the transistions.}// Here we constantly check for new values of// _x and _y. These values are determined by endX and endY.// We divide the difference by div to have an value that// continues to change until the equation is true.// Try changing the 'enterFrame' with 'Load' to see the// difference. You would then have to click on a button// several times before the transistion completes.onClipEvent (enterFrame) { _x += (endX-_x)/div; _y += (endY-_y)/div; // We then use the onRelease method to determine the // new values of endX and endY. This is a new feature // in Flash MX. _root.navpanel.about.onRelease = function() { endX = 20; endY = 394.5; }; _root.navpanel.portfolio.onRelease = function() { endX = 20; endY = 270; }; _root.navpanel.contact.onRelease = function() { endX = 20; endY = 254.5; }; _root.sales.onRelease = function() { endX = 20; endY = 254.5; };}
Thanks for any help in advanced,
THS2000
Space Game - Remove Fuse Movieclip
I tried to do a space game
But there is a big big big problem
I couldn't remove the movieclip (bomb)
Here is the fla CAN YOU HELP ME?
can you remove the "fuse" for me
Space Game - Remove Fuse Movieclip
I tried to do a space game
But there is a big big big problem
I couldn't remove the movieclip (bomb)
Here is the fla CAN YOU HELP ME?
can you remove the "fuse" for me
Fading A Movieclip
hi flashers, i've just been looking through previous postings but haven't found exactly whati'm after. at present i have this piece if code...
onClipEvent (enterFrame) {
this._alpha--;
}
this works fine, it basicly turns the opacity of my mc to zero... but what i would like to do is for it to fade from 100% opacity to 0% opacity over a few fames to give the illusion of a smooth transition...
any ideas?
many thanks
tassie
Fading The *end* Of A MovieClip - Do I Have To Pad The End?
I fairly new to flash and I feel like I've got a pretty uneven education. I can make some of the harder stuff work (like ActionScripting) but there are some things, that seem like they would be fundamental, that just baffle me.
Case in point...
I need to fade between two movie clips. When the first one stops playing I want to take what's on the stage, at that point, from that MovieClip, and fade it out. In other words, I want to fade out just what's on the last frame of the MovieClip.
But the only way I can get this working is if I buffer the end of the movie clip with "blank" time. Then in that blank time I can either do an alpha tween to a final keyframe or I can use the new Tween class. Both work.
But the bummer is that I have to "hardcode" the time into the MovieClip in the form of empty frames (with one keyframe at the end). Is there another way to do this so that I can just stop the MovieClip on the last frame (I do know how to stop it) and then use that last frame as the basis of a 5 second fade-out? Where the 5 seconds was expressed in code, not the form of a bunch of blank keyframes.
This particulary MovieClip does all its animation and then waits 10 seconds before taking another 5 seconds to fade out. Doing this with blank frames means 15 seconds at 30fps yielding 450 frames. Seems wasteful, somehow (and makes for lots of horizonal scrolling just to get to the last frame).
But then I'm new to Flash so maybe that's how things are done?
I had hoped the Tween class would do it for me but, as far as I can tell it won't. I had also thought there would probably be a "pause" or "wait" command (similar to the start/stop commands) but there's no-joy there either.
Anybody?
Thanks!
- Gary
Fading Out Movieclip
I have a movieclip with a number of vector shapes inside.
I simply want to fade in/out this object but flash treats the children as separate layers, resulting in the children fading in/out into each other. I want Flash to treat my movieclip as a single layer graphic, just fading into the background.
How can this be accomplished and still keep the vector shapes as is?
Gradual Fading Of A MovieClip
Requirement
I have a Graphic Symbol which contains text in it.I converted it into a MovieClip.I added few frames to it to do the fading up and fading down but when executed its not a smooth fade , it fades in jerks.
Can anyone suggest me a way to do this ?
Thanks in advance
Fading In A Movieclip With Actionscript
I am trying to get a movieclip intance to fade in using actionscript
Anyone know of a good tutorial on this? or can you tell me why my experiment with this isnt working?
my (non-working but error free)code is this
firstframe of main scene=
function fade_mc(){
if(box_mc._alpha <= 100){
box_mc._alpha++;
}
}
setProperty(box_mc,_alpha,0);
movieclip instance=
onClipEvent (enterFrame) {
fade_mc();
}
thanks for your help -garrett
Fading A Movieclip Using _alpha
Hey guys, I will keep this short because I know the answer is short. I just want to know how I can fade a movieclip using actionscript, so far my attemtps have not been successful. This is what I have (in a frame of the movieclip) and it's not working . . .
Code:
if (this._alpha > 0) {
this._alpha -- 10;
}
I will keep working on this while I get an answer.
[Edit]Problem:Ok, I have worked it out(see above code window for the code I am now using), I want the movieclip to fade away; this code just makes it vanish instantly. Can anyone show me how to make it fade gradually?
Cheers.
Fading MovieClip With Actionscript
Hi all!
I have the script below that fades my movieClip
onClipEvent (enterFrame) {
if (this._alpha>=1) {
this._alpha--;
}
}
How can I make it fade faster? - its quite slow to fade out and I need it to be 4 times faster without ramping up fps.
Thanks to all!
Fading A Movieclip Using ENTER_FRAME
Hi there,
I'm sure this is really obvious but I am trying to fade out a mc using ENTER_FRAME but not getting anywhere, here is the code I have so far:
Code:
teaPotMC.alpha = 0;
teaPotMC.addEventListener(Event.ENTER_FRAME, beginPour);
function beginPour(evt:Event):void {
if(teaPotMC.alpha > 100){
teaPotMC.alpha += 10;
} else {
teaPotMC.removeEventListener(Event.ENTER_FRAME, beginPour);
}
}
the trouble is that when i set a trace going it seems to be increasing the alpha, but the actual mc does not set itself to 0 it stays at 100%
What am i doing wrong?
Cheers,
Bob
Movieclip Fading To Transparent
Hey guys,
I used a great tutorial posted on KIRUPA by Sam Kellett aka Sammo http://www.kirupa.com/developer/flash8/snow.htm and i was wandering if i can make the snowflakes fade to transparent at the bottom of the movie?
I've been working on it for a whille and i can't find a way to do it.
Thanks in advance!
Fading A Movieclip Without The Ugly Overlaps
Is it possible to fade in / out an MC (with overlapping shapes/layers in it) without the all shapes inside becoming transparent.
Can you convert it to a bitmap and do it that way?
thanks
Duplicate MovieClip (Fading Images In)
I have a folder called images, in it five images named image0.jpg - image4.jpg.
I've attached a simple fla which duplicates the MC called, content and loads each image into the newly duplicated Movie Clip with a for loop. My problem is fading and preloading in each image. At the moment, the five images just appear.
What's wrong with my code? The function call to preload(); seems to be called 5 times but it won't enter the:
Code:
this.onEnterFrame = function()
Any ideas?
Cheers
ps. If this line is not commented, only the last image fades in & gets bordered.
Code:
content._alpha = 0;
Actionscript Fading MovieClip Function
I'm getting quite into this Flash 8 way of working now .
You call the code on the movieclip like: mc_name.fade(speed,direction) - where speed is a number between 0 and your max_blur value, and direction is 1 to fade away, and -1 to fade up. max_blur is the maximum amount you want the image to blur by!
import flash.filters.BlurFilter;
max_blur = i = 30; //set the maximum blur value // i is variable to keep track of current blur value
MovieClip.prototype.fade = function (speed,direc) { //direc: 1=fadeOut, -1=fadeIn
this.onEnterFrame = function(){
if((_root.i<=_root.max_blur && direc == -1) || (_root.i>=0 && direc == 1)){
myBlur = new BlurFilter(_root.i,_root.i,1);
this.filters = [myBlur];
_root.i -= (speed*direc);
if(_root.i < 0) _root.i = 0;
}
}
}
And you call it like this:
tape_mc.fade(7,1);
Examples:
HTML / SWF File | .fla file
Hope it's useful
Duplicate MovieClip (Fading Images In)
I have a folder called images, in it five images named image0.jpg - image4.jpg.
I've attached a simple fla which duplicates the MC called, content and loads each image into the newly duplicated Movie Clip with a for loop. My problem is fading and preloading in each image. At the moment, the five images just appear.
What's wrong with my code? The function call to preload(); seems to be called 5 times but it won't enter the:
Code:
this.onEnterFrame = function()
Any ideas?
Cheers
ps. If this line is not commented, only the last image fades in & gets bordered.
Code:
content._alpha = 0;
Navigation Transitions / Movieclip Fading In/Out
Does anyone know of a tutorial or actionscript that will allow me to make a one movieclip perform an animation then fade out, and then another movieclip fade in. These actions will take place on the click of button. HELP. Here is an example of this effect... www.jrecords.com
Strange Prolem With Movieclip Fading Prototype
Guys,
after countless hours trying to resolve this problem, I understood I really need help from some skilled actionscripters out there.
If you wanna help, please start downloading my source file.
I'm sorry for my bad Actionscript, but I'm a sort of newbie
The movie is a sort of "virtual rack machine" which acts as a navigation menu into a site I have made.
I have 2 movieclip prototypes ("tinteggia" and "detinteggia") which handle the fade in/out effect of movieclips.
When you click on a button (such as "news", "foto", etc.) you'll notice that there is a green led which fades in right over the corresponding button and makes it clear for the visitor to understand which section he is in. When you click on another button, the green led over the previously highlighted button fades out, and the new led fades in.
This works all right. But, when you try to click onto a previously clicked button, its green led won't fade in anymore.
There must be something I miss, but really can't get it to work.
Any help would be immensely appreciated, as the deadline approaches... thanks in advance to everybody!
--
Claudio Tassitano
MoviClip.getBounds();
Does anybody has a small sample on how to use moviClip.getBounds().
I've seen this looks like java getBounds, but I haven't had any success trying it.
Thank you.
Preloading A Moviclip
is there any way to make a preloader for a movie clip within the main movie?
please help
Moviclip Problem
I'm having trouble with a moviclip. The Problem is simple. I have created a movieclip, a "flashlight", that masks an owl in the background.
My problem is I havbe a button that you can click to make the "flashlight" beam thinner.
Hear is the code attached to the button:
//light is the "flashlight"
on (press)
{
level0.light.gotoAndStop("small");
}
I really can't see what's wrong with this code, If somebody does, please help me.
I own Flash Mx 2004 v7.0.1
The file is attached.
Loading MoviClip
I am trying to swap movieclips on mouse click. Either that or load a movieclip in my library into the area of another movieclip on the stage upon mouse click. I can only load an external swf, not one in the library nor on the stage. I am using it for a memory game. Each card randomly selects a picture to be on it, calling it from the library, either that or I attach the picture to the card and invisible areas on the stage load a random card.
I put this code on the invisible Movie and it doesn't work:
onClipEvent(load){
this.attachMovie(card1);
}
I put this on the root frame and it doesn't work:
if (this.onLoad="sucess")
{
_root.obj1.attachMovie(card1);
}
Skew Moviclip
Can anyone tell that how i can skew moviclip using actionscript.
Skewing Moviclip
can anyone tell me that how to skew moviclip using action script.
[as3]please Tell Me How To Get BitmapData For A Moviclip?
Code:
var bmdH1 = new BitmapData(150,128);
bmdH1.draw(bBack);
var bmd = new Bitmap(bmdH1);
I tried doing the following code, where "bBack" is the linkage name of a movieclip in my library. but i am getting the following error:-
Code:
1067: Implicit coercion of a value of type Class to an unrelated type flash.display:IBitmapDrawable.
Any suggestions??
Maintimeline From Moviclip
hi
Ive stopped the main timeline on frame 1 to play a moviclip
and at the end of the movie clip i want to send the main timline to frame two?
gratefull 4 help havent used flash in awhile
Duplicating The Moviclip Using The Name From XML
Hi
Any one can help me!
I am finding the solution of this from many days but I can’t get the exactly what I want.
Here is my requirement
When some enter the data in flash text box that data I want to send it to data base & from database the unique id will be generated and it will come to XML file from that ID I want to duplicate the movieclip & that id should be the name of that movieclip.
If any one can help me then i would be so thank full to them
RAj
Loadmovie Into An Mc, Within A Moviclip
ok on my main scene i have a moviclip called content_mc. Within that movieclip there is another called home_mc. I cant seem to loadmovie within the home_mc?? i put in :
home_mc.loadMovie("home_bio_text.swf");
this code lies within the home_mc clip!
But it will not load my move(
someone plaease help!!!
thnx
sean
Moviclip Position
How do i get the movie clip to point at the direction of the mouse, in the x axis, so if the mouse is on the right of the movie clip the movieclip points to the left, if i am at the left side of the movieclip the movieclip points left
Getting A Moviclip By Instance Name
this is probably an easy question, but I can't seem to find the answer.
I want to change visiability of a movieclip based on a string.
This is what I tried, and this does not work!
if ("mymovieclip" in this){
//if movieclip exists, do stuff
var instance = this+".mymovieclip";
instance.visible = true;
}
Comment please
Duplicating The Moviclip Using The Name From XML
Posteddocument.write(''+ myTimeZone('Thu, 10 Jan 2008 07:09:40 GMT-0800', '01-10-08 10:09 AM')+''); 01-10-08 10:09 AM 01-10-08 10:09 AM Hi
Any one can help me!
I am finding the solution of this from many days but I can’t get the exactly what I want.
Here is my requirement
When some enter the data in flash text box that data I want to send it to data base & from database the unique id will be generated and it will come to XML file from that ID I want to duplicate the movieclip & that id should be the name of that movieclip.
If any one can help me then i would be so thank full to them
RAj
Moviclip Slider
Hi
I would like to move my movieclip from left to right, depending where my cursor pointing?
it seems like it should be the simplest of tasks, sense alot of pages has one of those.
http://www.nicbrunson.com/ something like that, witch easing in and out and stoping when reaches the end!
it would be awsome if I could get some help!
(post the same in CS3 forum but im not sure where it belong)
Loadmovie Into An Mc, Within A Moviclip
ok on my main scene i have a moviclip called content_mc. Within that movieclip there is another called home_mc. I cant seem to loadmovie within the home_mc?? i put in :
home_mc.loadMovie("home_bio_text.swf");
this code lies within the home_mc clip!
But it will not load my move(
someone plaease help!!!
thnx
sean
Loadmovie Within A Moviclip?
ok on my main scene i have a moviclip called content_mc. Within that movieclip there is another called home_mc. I cant seem to loadmovie within the home_mc?? i put in :
home_mc.loadMovie("home_bio_text.swf");
this code lies within the home_mc clip!
But it will not load my move(
someone plaease help!!!
thnx
sean
Loading Variables Into A Moviclip
Hi
I would like to load some dynamic text into a moviclip... but Im not sure how...
Example> in my scene input, I have a movieclip called NiceText_MC
In this moviclip I have a dynamic text I want to change(text.txt)..
In the text.txt I have added some strings: b=bread&c=carrot
I added a b in the "var" on the dynamic text string
I have tried with loadVariablesNum("c:text.txt", 0); Both inside the clip and also in the scene, but nothing happens...
Do I have to add some kind of code that tells the variable that it is inside a movieclip?..arghh. ..
thanks
Nooby Moviclip Question
Hi, on my first frame in my movie i have a movie clip, the movie stops at this point so you can see the movieclip, but after the movieclip is done i want to go to another frame in my movie. Please help, thanks in advance.
Ending A Moviclip Before Going To The Next Frame
i am building a site, each page is going to be a movie clip.one frame will be one page in the main timeline, so there will be buttens and such in the movie clip. i am going to put a menu in the main timeline to move from page to page, but to keep it more animated i want to make an animated ending to the page. i want it to tell the movie clip to go to a certain frame and play the ending and then i want it to move to the next page when the animated ending is done.
Why Don't On(press) Have An Effect On A Moviclip
I'm trying to make a easy small game ,where i try to shoot a boat ,whith a crosshair who is connected to the mousepointer......
So i got a question.......
Where is my hitarea on the movieclip?
Have a movieclip a hitarea at all?(i thought it was the shape behind,but it is not)
Is it immpossible to do something like this with a movieclip?
.txt File Loded In To A Moviclip
Hello...
I'm having a problem loading an text file (.txt) file into my swf. I can do it if it is placed on the root but as soon as I try to place it in an moviclip it doesnt work. What am I suppose to do when I want it to load in a moviclip???
Im using flash MX 2004
Atthacing And Removing Moviclip
Hi:
I have a button inside a movie clip.
This movie clip is on the main stage and timeline.
When I roll on the cursor inside this button inside a movieclip, I use the following code to attach a movie clip:
on (rollOver) {
_root.attachMovie("help", ayuda1, 1);
_root[ayuda1]._x = 17.6; // defines the x coordinate
_root[ayuda1]._y = 4.8; // defines the y coordinate
}
I want to remove this athached movie clip on rollout.
I have tried several options but none of them work. I have used:
removeMovieClip(_root._level1);
removeMovieClip(_level0.ayuda1);
removeMovieClip("_level0.ayuda1");
removeMovieClip(_level0._level1.ayuda1);
removeMovieClip("_level0._level1.ayuda1");
removeMovieClip(_level1.ayuda1);
removeMovieClip("_level1.ayuda1");
removeMovieClip(_level1);
removeMovieClip("_level1");
removeMovieClip(_root[ayuda1]);
removeMovieClip(ayuda1);
removeMovieClip("ayuda1");
removeMovieClip(_root.ayuda1);
removeMovieClip("_root.ayuda1");
How can i remove that atached movieclip?
Using Actionscript Inside A Moviclip
I have this actionscript which simiulates a waving flag. Now when I use this script with a .jpg file on the main stage the testing works perfectly. Because i wanted to add a little more to it. ie..adding text ontop of flag without it waving or being masked. I opened a movieclip and inside the movieclip i made the flag movie clip and put the actionscript inside the flag movieclip. However When i did the moveclip acted differently and did not have the waving effect it did onstage. Is there a way i could use the actionscript inside the moveclip so it functions correctly and would then be able to add other elements to the mainstage?
ActionScript Code:
fscommand("allowscale", "false");
Stage.scaleMode = "noScale";
var wave = 20;
var depth = 99;
var flags = [];
MovieClip.prototype.drawBox = function(clr, x, y, w, h) {
this.beginFill(clr, 100);
this.moveTo(x, y);
this.lineTo(x+w, y);
this.lineTo(x+w, y+h);
this.lineTo(x, y+h);
this.lineTo(x, y);
this.endFill();
};
waveFlag.onEnterFrame = function() {
for (var i = wave-1; i>0; --i) { flags[i]._rotation = flags[i-1]._rotation; }
var t = getTimer();
this._rotation = Math.sin(t*.001+Math.cos(t*.0001)*Math.PI*2)*2;
};
_root.createEmptyMovieClip("mask",1);
maskWidth = Math.round(waveFlag._width/wave);
mask.drawBox(0, 0, 0, maskWidth, Stage.height);
mask._x = waveFlag._x;
mask._y = 0;
waveFlag.setMask(mask);
flags[0] = waveFlag;
for (i=1; i<wave; ++i) {
var tempflag = waveFlag.duplicateMovieClip("waveFlag"+i, depth+i*2);
tempflag._x = waveFlag._x;
tempflag._y = waveFlag._y;
var tempmask = mask.duplicateMovieClip("mask"+i, depth+i*2+1);
tempmask._x = waveFlag._x+i*maskWidth;
tempmask._y = 0;
tempflag.setMask(tempmask);
flags[i] = tempflag;
}
How To Convert Moviclip To Jpeg Using AS3
hi to all
i am using flash cs3 and i import images in library and then convert them to movieclip using convert to symbol.
i did some modifications on these movieclips and now i want to reconvert it to jpeg or some welknown image type. but this time i need through action script because i need it to upload at runtime on local server using PHP.
how can i do that?
any positive responce in this regard will be highly appreciated...
Regards
maani
|