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








DuplicateMovieClip Not 'transforming'


I'm using the TransformManager together with a my script to duplicate a movie clip with a textfield inside it but it is not working out as well as I hoped.

I manage to duplicate the clip but it is not completing the imported script functions as the duplicated clip keeps being dragged...unless I get rid of part of the function itemHandler (_root["text_ti"+i].startDrag(false); etc) but that just leads to only the MC being duplicated without the textfield... I hope this makes sense?

This is the script I'm using
code:
import gs.TransformManager;

var manager_obj = new TransformManager({targetObjects:[test_mc, test2_mc, test3_mc, text_ti.text_ti], bounds:{xMin:0, xMax:550, yMin:0, yMax:365}, forceSelectionToFront:true, eventHandlernAnyEvent});
manager_obj.addEventListener("move", onMove);

function onAnyEvent(event_obj:Object):Void {
trace("Action: "+event_obj.action+", MovieClip or TextField: "+event_obj.targetObject+", transformed?: "+event_obj.transformed);
}

function onMove(event_obj:Object):Void {
trace("Moved mc: "+event_obj.targetObject);
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
root_cm.customItems.push(new ContextMenuItem("Add note", itemHandler));
function itemHandler(obj:Object, item:ContextMenuItem) {

i++;
text_ti.duplicateMovieClip("text_ti"+i,i);
_root["text_ti"+i].startDrag(false);
_root["text_ti"+i].onPress=function(){
this.startDrag(false);
}
manager_obj.addItem(_root["text_ti"+i]);
}
_root.menu = root_cm;

Could someone help please?

Also see attachment for ease.




FlashKit > Flash Help > Flash ActionScript
Posted on: 01-30-2008, 11:06 AM


View Complete Forum Thread with Replies

Sponsored Links:

Transforming
hello out there

..how do you transform an object so that only one side of the shape is altered?

i.e if i wanted to give a square some perspective & make the far side shorter than the near side what should i do..? (preferably without going back into the source symbol & making a permanent change)

helpful hints much apreciated,
cheers

View Replies !    View Related
Please Help With Transforming This AS2 Into AS3
Could somebody please revise this short AS2 code to AS3 syntax so that the swf file can keep its interactivity when loaded into AS3 main swf.

This swf gallery (a free template) in its current (as2) state, can be loaded into as3 swf, but only as a plain animation, without 'click on pic' interactivity, and even with wrong size. (i have scaled it down from original size, via AS code)

Thanks a lot in advance

View Replies !    View Related
Transforming With Actionscript
Hello.

I am loading some images into a .swf but I want to make sure all the pictures fit in the frame. How can I set the Transformation with actionscript?

Any ideas?

Thanks

View Replies !    View Related
Transforming Colors On MCs
If i do a color swap on an MC with maybe 4 frames, will all frames be effected?

View Replies !    View Related
Transforming All Objects
i have a project im working on take up too much room on the working area. i try to select the whole thing, and only one set of keyframed tweens want to change, in this case, resize.

i want to take the whole set, begining to end, and shrink it, without loosing the tweens and the like.

also, the same idea with moving the whole thing around a page without screwing the tweens.

View Replies !    View Related
Transforming Text
Hello and thanks in advance for anybody's input..

What I'm trying to accomplish is something that I'm sure is rather simple, but I'm not sure what the best solution is. Here is what I want to do..

I want the user to be able to click a word, sentence, etc. And have the text's color change from one color to another, let's say black to grey. After the user has clicked the black text to turn it grey, they could click the grey text to change it back to the orginal color, black.

Should this be approached as two different button symbols that get switched from one to the other? Should it just be one graphic where the color values change? What would be the simplest solution?

Much thanks..

View Replies !    View Related
Transforming Questions
Hey all,

I have a question about skewing objects in Flash. Is there an easy way, (I.E. - a way that doesn't require extrusion matrices or seriously advanced math) to control a timed skew to give a 3d rotation effect with actionscript? I know you can just keyframe it, but It's always smoother to make things mathematical and do it all with AS.

Any ideas?

View Replies !    View Related
Color Transforming Help
I am stuck on a program I'm trying to make. What I want to do is use input text fields to read two HEX codes from a use then perform a transformation on these two HEXes. The transformation is what I am stuck on. I want to take a random % (just raw Math.random() at the moment) and apply it to the difference between the two colors, so that a random point in between is chosen. My current method is to try and find a way to sift out the individual red, green and blue values of the two colors and to try and work with those. But I can't get it to work. I can get the input fields to apply directly to a movie clip and I can apply a totally random color to the same movie clip, but I can't get the parts in between to do what I want them to. Does anyone have any ideas on how I could work this or should I scrap my current method?

View Replies !    View Related
Transforming To Mobile
Hi all,

i want to transform some desktop based flash games fro mobile.is there any tool that transforms for mobile.so that i can do easily.

View Replies !    View Related
Transforming A Shape
Hi

I have an irregular shape (a square with on of the corners extruding).

What i would like to do is to have the point that is sticking out to anchor at a cordinate. When i drag the item, i would like to have that point to remain in the same position.

Im not sure how i would do this. Would i need to use a Matrix?

thanks

View Replies !    View Related
Transforming Bitmaps
I am thinking about a movie that will allow me to transform bitmaps. If you use adobe photoshop you can move an image from a flat view to horizontal or any angle you want with the transform tool.

Does Macromedia let me do that within flash? I would like to create a motion tween that pulls a screen shot off of an image and turn it into the start of a movie. Any suggestions? I will have to load a swf within fla to do this. Thanks.

Brandon

View Replies !    View Related
Envelope Transforming
Hey, for those of you who use this. Is there a way to create an envelope tween, through frames or even actionscript? I've tried with frames, but when I create the tween, the shape turns into a global graphic symbol. When I try to modify the shape at the last frame of the tween, it applies the modifications to the entire tween. Hope that made sense. Cheers.

View Replies !    View Related
Box Transforming Question
Hi guys.Thanx for all the replies on my last post,they both worked .Ive been lookin thru kirupa and ive yet to find a shape transform tutorial .Does any1 know were i can find 1?.Also,i dunno if u call this shape transforming,well im not sure wot u call it.If u go here,click studio then watch the intro,u will see how the boxes "unfold" if u will.Any tutorials on this?.Many thanx in advance for ppl who are kind enuff to reply.Peace,Tec

View Replies !    View Related
Transforming Color Over Steps
I am doing a multimedia CD for an upcoming confrence and the main informational part is set up like a web site and I trying to set up the AS so that when you click on the buttons for the different sections it will make the background image MC change colors, ie. blue tint picture to green tint.

So far I can get the color to change by adding to each button a variation (depending on the color) of this:
//myBackground is the target
on (release) {
myColor = new Color (myBackground);
myColorTransform = new Object;
myColorTransform = { ra: '100', rb: '50', ga: '100', gb: '40', ba: '0', bb: '-255', aa: '100', ab: '0'}
myColor.setTransform(myColorTransform);

}

But what I want to do is make the color change over several steps. I am compleatly clueless on how to make it transition over steps to the new color.

Please help.

View Replies !    View Related
Unexplained Shape Transforming
When I run my movie, two symbols which are both black boxes inexplicably rotate and skew themselves. In live preview they look normal, and there is no actionscript that even references them. When I run the movie in debug mode they are rotated and skewed before I even let flash run the first line of code.

Has anyone encountered this before?

View Replies !    View Related
Transforming A Movie Clip
I have a bunch of short movie clips that i need to transform across the stage one right after another. when i try to apply the transform effect to the movie clip on the stage the preview just shows it spinning around all distorted.

Can i even do this or am I doing something wrong?

View Replies !    View Related
Problems With Scenes' Transforming
hi, I am newer to actionscript. I have some problems with scenes' transforming.
I want to know how to transform one scene to another scene by release a button.

I know it's code: on(release) and next scene but I dont know how to make them together.

The button's name is "ONE"

pls help.

View Replies !    View Related
[F8] Transforming Text Boxes
Hi there. It's been quite some time since I've been on here, but the help I have received on here has never failed to be helpful, quite an impressive communtiy here. Anyways, here's my mini problem...

I am working for a client that had an older program whipped up in Director. I'm basically just doing a screen for screen translation and having the info posted online for her students (she's' a professor). One area features a "brainstorming" section where the students enter text in a series of text boxes and submit it via a "next" button. The next screen now has boxes for every text entry they made, but they can drag the boxes with the content and arrange/organize them in groupings which they see fit. I'm pretty much a noob with action script, but does anybody have any suggestions as to what direction I should be moving in to accomplish this? Any help is most appreciated.

View Replies !    View Related
Component For Transforming Textboxes?
Hi,

Is there a component available where users can extend an input text box to suit the length of their writing which is also draggable?

I've been looking for a way to do this in flash but cannot solve the problem.

View Replies !    View Related
[F8] Perspective Transforming Tool
hi guys,
is it possible to scale a symbol *perspectively* using the 'free transform/distort' tool?

i tried it on a symbol and it seems to only work if i break down the symbol all the way.

anyway to work around this?

View Replies !    View Related
Big Problem With Transforming Dynamic MCs
I have 'sectionMC', which is loaded into a dynamically created MC with the following code:


Code:
_root.Container.createEmptyMovieClip("form", 501);
_root.Container.form.attachMovie("Contact", _root.Container.form, 501, {_x:20, _y:20});
then within the sectionMC, there is this code:


Code:
txt.textColor = 0x000000;
Box.colorTo(0xFFFFFF, 0);
Boxtween('_width', 60, 1, 'easeOut', 0);
(uses the Zigo tween component to change the Box MC to white)

The text colour changes to black.
But the Box MC colour remains unchanged, however the width tweening works!!

If the sectionMC is placed directly on the stage, it all works.

is it a path issue ?
How can i resolve this?

View Replies !    View Related
Transforming A Movie Clip
I have a bit of a problem, after reading a couple of good actionscript articles here on actionscript.org I managed to create a countdown from 12:00 to 00:00 in a movieclip. ( http://nieser.net/flash/countdown.swf )

Only thing I need to do is to slightly distort the movieclip so it aligns better with the background image. However when I drag the Movie Clip from my Library onto my Scene the "Distort" button on the toolbar is greyed out. All I can do is scale, rotate and skew.

Another problem which might be related is that when I skew or rotate the Movie Clip the Move Clip dissappears when I export the movie to .swf. Scaling works fine though.

Click here for the .fla file. (Flash MX 2004)

Click here for the font I used in the .fla above.

Any help with this would be greatly appreciated.

View Replies !    View Related
Color Transforming / Tinting
I love using the manual tinting feature plus tweens to transform from an mc's current color to another. I would like to switch to a scripted method of doing this. I have found that the color matirx filter or ColorTransform might be the best options= for this. I would like to be able to control how long the tween from the current color to new color is when I press a button. Which method is the best for achieving this. I'd just like toi tell it the new hex color and the amount of time it should take to transform to it. Will I need to implore both the transition class and something else?

View Replies !    View Related
Component For Transforming Textboxes?
Hi,

Is there a component available where users can extend an input text box to suit the length of their writing which is also draggable?

I've been looking for a way to do this in flash but cannot solve the problem.

View Replies !    View Related
Transforming A Drop Shadow
Hey there reader,

Does anyone have a clue how to transform a drop shadow? I want the effect of light coming from above a ball, and a skewed shadow on the "ground" below it. I can't apply the transformation matrices to filter objects, and i don't know a way to place the filter effect in its own Sprite to transform.

Does anyone have any suggestions? Any pointers would be much appreciated.

thanks!
Jesang

View Replies !    View Related
Problems Transforming A Movie Clip
I'm having the silliest problem transforming a movie clip symbol to 20% of its original size. When I click on the instance and then go to the Transform panel and enter "20%" for the size, then go back to the stage and select the instance again, it turns out the instance is still at 100% of its original size. I really don't know what the problem could be, since I had no trouble reducing the size of another movie clip in the exact same movie. Anyone have any ideas on what's happening? Thanks.

View Replies !    View Related
Transforming FONTS Makes Them Disappear - HELP
I'm pretty new when it comes to flash and working on some real basic stuff. I'm trying to add text to my background and whenever I rotate or skew a text it does not appear when the movie is published. Just wondering what I've done wrong and looking for some help.

View Replies !    View Related
Transforming And Skewing Dynamic Text
I had asked before why my dynamic text was not able to be transformed. Now it appear as though it can but only with certain embeded fonts. And not only just the fonts in general but specific fonts in specific movies. For instance: Goudy Old Style will be able to transform in one movie but not in another. Is it a problem with the way I am embeding them, those that work and those that don't were embedded at the same time... Any suggestions will be praised! Thanks guys

James

View Replies !    View Related
Transforming Circle Shape Into A Square
Hi,

I have a created a shape object circle that I want to transform into a square on mouseover (all should be handled with code - no timeline anims). I know how to do this in the timeline (using shape hints) but how on earth do I do it with AS 3?

Thanks in advance,
Cristian

View Replies !    View Related
Transforming A Flash Web Site In A Cd Projector
I must do the following:

Transform a huge web site in flash, with several movies that load on the main movie, into a projector to run from a CD. The projector will have buttons to open other projector files (director and flash) to show the portfolio itens.

The problem I´m having is that the SWF do not open .EXE files without asking to open or save it, so I must transform it to a projector?
is there another way of opening .exe files with a SWF? maybe .dat files?

hope I´ve been clear.
thanks for any help

View Replies !    View Related
More Help With Code For Transforming Scale And Color...
Here is some code I'm trying to finish. It does two things: Fades the color of a movieclip to another color, and scales (increases the width) the rectangular movie clip - all of this I figured out with the help of some very nice folks on this forum, so thanks!

The code works, the mc resizes and fades to the desired color, BUT I need the movieclip to scale back (decrease in width) once it reaches it's target width of 400.

I've tried a few things, but uh, not quite finding it...any ideas? Thanks again! Here's the code:

// mc_retangle contains a black retangle...
var mycolor = new Color(mc_retangle);
var change = {rb:169,gb:195,bb:217};
mycolor.setTransform(change);

button.onRelease = function() {
// scale movieclip
mc_retangle.onEnterFrame = function(){
if ( mc_retangle._width<=400) {
mc_retangle._width += 40;
} else {
delete this.onEnterFrame;
}
}

// fade color
//varibles to mix desired color
var red_dest = 219;
var green_dest = 201;
var blue_dest = 174;

onEnterFrame = function(){
//change red//
if (red_dest>=change.rb) {
if (change.rb<red_dest) {
change.rb += 3;
}
} else {
if (change.rb>red_dest) {
change.rb -= 3;
}
}
//change green//
if (green_dest>=change.gb) {
if (change.gb<green_dest) {
change.gb += 3;
}
} else {
if (change.gb>green_dest) {
change.gb -= 3;
}
}
//change blue//
if (blue_dest>=change.bb) {
if (change.bb<blue_dest) {
change.bb += 3;
}
} else {
if (change.bb>blue_dest) {
change.bb -= 3;
}
}
mycolor.setTransform(change);
}

}

View Replies !    View Related
Transforming Circle Shape Into A Square
Hi,

I have a created a shape object circle that I want to transform into a square on mouseover (all should be handled with code - no timeline anims). I know how to do this in the timeline (using shape hints) but how on earth do I do it with AS 3?

Thanks in advance,
Cristian

View Replies !    View Related
Transforming A Flash Web Site In A Cd Projector
I must do the following:

Transform a huge web site in flash, with several movies that load on the main movie, into a projector to run from a CD. The projector will have buttons to open other projector files (director and flash) to show the portfolio itens.

The problem I´m having is that the SWF do not open .EXE files without asking to open or save it, so I must transform it to a projector?
is there another way of opening .exe files with a SWF? maybe .dat files?

hope I´ve been clear.
thanks for any help

View Replies !    View Related
Transforming A Static Symbol Into A Dynamic One
hello guys (me = total flash noob)

I bought a flash template from Template Monster for a client.

I'm a seasoned developer but completely new to flash, or mostly anyway.

After hours (and hours) of browsing thru the .fla file, i got a understanding of how it works and how it all ties together but still find myself dumbfounded when i try to make anything else than a light change.

Here's the thing, the website ill deliver needs to be bilingual and the template is in english only.

Fortunately, its a dynamic template so most of the text is in an external file and all i had to do is create to separate instances, one in french and one in english. That part works.

What doesn't work is those parts of the template that were static and changed to dynamic text.

i put the variable name in the .fla, I put the variable in the text file. render the movie but flash doesn't take it.

I'm guessing that the part where the player reads the file doesn't bind the new dynamic text but...

I think you understand whats my problem...

Can someone briefly indicate me the steps for transforming a static symbol to a dynamic one please ?

View Replies !    View Related
Transforming A Text Field And Resetting The New Size To 100%?
I'm trying to precisely size up a text field, and for the life of me can't figure out a proper way to do it. You'd think as soon as you click the canvas with the text tool, you'd be able to input the height and width, but you can't. It just snaps back to whatever size it is unless the size you specify is less than the origional size.

This issue gives me problems because I'm using dynamic text to load a .txt file with html properties - and I use this .txt with the IMG tag to load images - well, as I found out, no matter what size your text box is, if it has a distorted aspect ratio (I.E. anything that's not a square) your image will be distorted with the same aspect ratio of said text box.

So the question is: Once I resize my text box, is there any way to have the transformation applied to the text box in such a way that it will accept the new size as 100%x100% as opposed to 153%x235%? Unless I can figure out how to do this, images will load distorted.

This is a very stupid and angering issue that really shouldn't be this damn annoying

View Replies !    View Related
Difficulty Transforming Dynamic Text Fields In MX2004
I know its gonna sound very amateurish but its frustrating. I know, at least I am pretty sure you can distort dynamic text fields using the free transform tool,just as you can static fields, but whenever I distort or rotate the dynamic fild in the slightest on my new site the text disappears. Can anyone tell me why and/or tell me if I how to distort these fields. I am looking to create a laying on the table (perspective) effect. Thanks alot for any help

View Replies !    View Related
Motion Tweening Large Images And Transforming Size...
Hey,
Im making a basic TV Commercial for a project....and basically im making it out of Images...so i want to make an Animation out of it so what im doing is using lareg image files and motion tweening them while the reduce in size or increase in size whilst moving slightly across the screen...

my problem is that whenever i do this it comes out very choppy as in the edge of the image is very choppy when it moves and reduces/increases size....is there anyway to fix this??? or should i even use a different Application???


Thanks heaps to Anyone who can Help me...

Seb

View Replies !    View Related
Security Sandbox Violation When Transforming Mc Inside OnLoadInit
I'm trying to load an image into a placeholder movieclip, using movieClipLoader.loadClip.
When the onLoadInit event fires, i do some resize and alpha fade-in code. The resize code causes Security Sandbox Violation. This is the culprit:

if(frame2picRatio<=1){
mat=target.transform.matrix;
mat.scale(frame2picRatio,frame2picRatio);
target.transform.matrix=mat;
}

When I comment it out in the onLoadInit, the error goes away. I don't know what connection is there between scaling a matrix and Security Sandbox.

Any thoughts?

View Replies !    View Related
Security Sandbox Violation When Transforming Mc Inside MovieClipLoader.onLoadInit
I'm trying to load an image into a placeholder movieclip, using movieClipLoader.loadClip.
When the onLoadInit event fires, i do some resize and alpha fade-in code. The resize code causes Security Sandbox Violation. This is the culprit:

mat=target.transform.matrix;
mat.scale(frame2picRatio,frame2picRatio);
target.transform.matrix=mat;

When I comment it out in the onLoadInit, the error goes away. I don't know what connection is there between scaling a matrix and Security Sandbox.

Any thoughts?

Thanks.

View Replies !    View Related
Transforming "part" Of A Movie Clip
This is a weird one... I am trying to dynamically generate images of a rolls of labels like the ones in the attached files. They could have any number of rows and columns of labels. Notice how the labels "curl" into the roll. I have to read an xml file that has the number of rows and columns, and width and height of each row and column. Then I have to generate a movie clip of the "sheet" of labels with the correct number of rows and columns of labels. Here's the hard part: I have to "curl" that movie clip after it's been generated. Anybody that knows how to do this is hereby a genius, I'm utterly stumped.

View Replies !    View Related
Small Image Transforming To Large Image
Hi..
How is this this done - a small image at the rear moving to the front and increasing in size.

When I looked at an fla file with this animation, the transistion was over 30 frames - each once with the size and the cordinates different.

Surely this isn't done like a cartoon animation.. increase the image size by hand in each frame etc.

TIA,
Nosmo

View Replies !    View Related
Small Image Transforming To Large Image
Hi..
How is this this done - a small image at the rear moving to the front and increasing in size.

When I looked at an fla file with this animation, the transistion was over 30 frames - each once with the size and the cordinates different.

Surely this isn't done like a cartoon animation.. increase the image size by hand in each frame etc.

TIA,
Nosmo

View Replies !    View Related
Transforming Frame-frame Animations
Hello,
I am trying to move/resize all my frame animations (on one layer) within the mc itself without moving each individual frame. I don't know if this can be done. Can anyone tell me if it can?

View Replies !    View Related
Transforming Letters To Letters..? Is It Possible?
do you guys know if its possible to transform letters into a different letter because i'm sorta stuck thx for your help

View Replies !    View Related
DuplicateMovieClip
Im duplicating a movieclip and the clips that are duplicated sit on top of my other layers in the movie... I want the duplicated movie clips to lay under my other layers..

Any suggestions?

I'll provide you with the FLA if you want : )

View Replies !    View Related
How To Do DuplicateMovieClip?
hi!

I've got a problem that I'm sure will be very easy for you guys to solve.

Here is the my object tree:

_level0.Box
_level0.Item

that means that at the beginning of the movie I have 2 objects on the scene: Box and Items. Both objects are in the root.

Here is the list of the objects after some action:

_level0.Box
_level0.Item
_level0.Box.Item2

You see that Iwant to duplicate Item to the Item2(Item2 should be within the Box).

What should I do? I read all that we have here at this forum, but not found anything for such a simple problem.

Please help me!!!

View Replies !    View Related
DuplicateMovieClip - Need Little Help
hi people! i got a small actionscript problem. i think i need the dublicatemovieclip (what a word! ) but i don't understand it:

duplicateMovieClip ("TARGET", "NEWNAME", DEPTH);

i think the target is the movie to dublicate, and the new name is...the name of the dublicatet movie , but what the hell is depth??
if i dublicated the mc can i set any properties too?
thx for answers

View Replies !    View Related
Duplicatemovieclip()
I am having a performance problem and I would like to know if the "duplicatemovieclip" call is doing it.
I am using duplicatemovieclip to create a menu of titles. Where each movie clip is hold 1 title. I use duplicatemovieclip to create the rest of the titles and rename each as I create it by duplication.
But this is causing the main flash movie (which holds this menu) to drag (really really drag!) at startup.
Does the duplicate movie clip really slow down the performance ? Also given my situation, do you think there is any other way to do it.


Shreeram

View Replies !    View Related
Help With DuplicateMovieClip ... Please
Can anybody help me!!! I have a movieclip duplicating (imatating snow fall) and it takes up alot of processor speed, which limits the amount of extra animation I can put into the movie. I've tried using unloadMovieClip but it does'nt work, what I would really like to do is slow down the snow until it stops completely ... can anybody help me ... please!!!

Ben.

View Replies !    View Related
Duplicatemovieclip
Hi,
I am using the below script, I dont particular understand it.....
But I know what I want it to do.
For some reason or another its not duplicate the name of the old instances to the new instances its creating.
Is there any way for it to copy the name of the instance it duplicates.

kv is the name of my movie clip which contains serveral other movie clips , which I need to keep the name of.

while (Number(n)<19) {
n = Number(n)+1;
bn = "kv" add n;
duplicateMovieClip ("kv", bn, n);
setProperty (bn, _x, Number(getProperty(bn, _x))+Number(n*getProperty(bn, _width)));
setProperty (bn add "/b", _x, getProperty (bn add "/b", _x) + (random (20)+1));
set (bn add ":n", n);
}


If any one can help it would be very appriacted.
Cheers
Kaan.

View Replies !    View Related
DuplicateMovieClip-- Please Help
In my game that i am making, the movie clip has the following code:
===================================
onClipEvent(load){
randomizer = 39

if (randomizer == 39){
duplicateMovieClip(_root.diamond, "diamond"+i, i)
setProperty("diamond"+i, _x, 100);
setProperty("diamond"+i, _y, 100);
i = i+1
trace("made it");
}
}
=====================================
It is on a LOAD event clip since i only want this action to happen once at the beginning. The first thing that happens is the variable "randomizer" gets a value (in the final version this will look more like "randomizer = random(50)" or somthing). Next it checks if randomizer equals 39 (wich of cource it does but later this WILL be random). Since it does equal 39, it then tries to duplicate the movie clip that is located on the mian timeline, named diamond. But it doesnt work...

This code DOES work if i put it in a button, and say (instead of onClipEvent(Load)) on(release){ then code, it DOES work when i click it... But if its in a movie clip, it wont... Any help? If you have any idea, i would realy appretiate help Thanks!!

Elyxia

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