How Do I Get The Name Of The Object That I Am Currently Manipulating?
Say I have a movie clip called test_mc and I wrote the following function on the movie clip –
on (press) { trace( “the name of this movie clip is “ + <code> ); }
When you click on test_mc you should get “the name of this movie clip is test_mc” in the output window.
Anyone know how to accomplish this? Is getting the name of a movie clip even possible?
Thanks
DJ
FlashKit > Flash Help > Flash ActionScript
Posted on: 05-11-2005, 03:17 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Manipulating The Date Object
Hi all,
I'm a newbie and am trying out some basic scripts. I'd like to be able to work out a new date by adding a certain amount of days onto an old date, but I can't seem to get it to work, although subtracting is fine. Why would this be the case? Any ideas?
Hope you can help.
samcowen
Manipulating The Color Object In A MC
I have a MC named i_button residing on my _root timeline. I want to change the color of a movieclip residing inside i_button.
I can easily accomplish this within the i_button timeline by placing an actionscript frame with the following code:
var i_color:Color = new Color(i_background);
i_color.setRGB(0xff9933);
However, I can not manipulate the color of i_background when I move back to the _root timeline. Can someone please help me out with the code to accomplish this.
Manipulating Script
I am running the script below. The image floats up on the y axis. How do I get the image to go down or left to right or right to left.
Thanks.
if (counter>=20) {
howmany++;
duplicateMovieClip (websteven, "websteven"+howmany, howmany);
ba[howmany] = this["websteven"+howmany];
ba[howmany]._x = random(800)-400;
ba[howmany]._y = 100;
ba[howmany].rate = random(3)+1;
ba[howmany]._xscale = random(100)+10;
ba[howmany]._yscale = ba[howmany]._xscale;
counter = 0;
}
for (i=0; i<=howmany; i++) {
if (ba[i]._y<-100) {
removeMovieClip (ba[i]);
ba.splice(i, 1);
}else {ba[i]._y -= ba[i].rate;}
}
Manipulating Browser Within SWF?
I am wondering if there is a way to change assign a title to the browser window using actionscript. Basically what I am doing is pointing my default (index.html index.htm default.asp) to my .swf file so that it resizes automatically to the viewers browser window. You can check it out at: http://www.fegter.com/seairlan/travel.swf
Thanks for your time.
Brian
Manipulating Swfs
hi all
not quite sure if i m right in this forum...
i work on a project where i got one swf file with a big map in it. now the user should be able to add information to this swf by using an own tool/site/whatever. this info (name for ex.) should be exactly positioned with coordinates of the map.
how could this be solved? i thought about php and a databased solution, sth. like this...
how can flash-swfs be expanded/enlarged "from outside", from an own site...?
happy for any response, ideas, etc.
respectfully
mike
Manipulating MC Content?
Hi all,
I have a question regarding manipulation of MC content.
Suppose I load an image into a empty MC, how can I make sure that the image is displayed at 100% of its original size?
Or, when loaded, how can I make sure the image is resized automatically to fit a certain size (regardless of whether the image is horizontal or vertical)?
Been busting my brains on this... now all there's left is the sawdust .
Thx in advance!
With kind regards,
RF
Manipulating Sound
I need some assistance from the gurus.
i am producing a flash based promotional cd for a company and need some help figuring out how to manipulate sound on the main timeline relative to any number of outside movies being loaded. specifically, i have a custom soundtrack looping continuously, and there are four external movies (containing audio voiceover readthroughs) to be loaded at different times along the main timeline.
i want the looping soundtrack (in a MC inside the main movie) to attenuate while all of the respective voiceover audio movies are loaded (playing) and return to normal volume when the voiceover movie ulnoads. I fugured it would require a frame action, but i cant figure out the code to set the conditional: if (the voiceover movie is loaded) then setVolume(normal)endif. <<following that logic.
i am using the actionscript *instance name*.setVolume(level)
hope to get some good help, maybe to inspire some of you to write a good tutorial. thank you so much in advance.
email: maths@iq-data.net
Manipulating Timeline From Other Swf..
How can I manipulate the time like of base.swf from a swf that is loaded into it.... I am attempting to use the command:
on (release) {
_level0;
gotoAndStop(2);
}
It is just a wild guess on how to do it.. and no it doesn't work... Please help.. :P
Manipulating Text
Quick question..
I have a dynamic text field (myText) where the text is being read from a text file.. Now when I enter a particular frame label I want that text field to read another value.. can someone please help..
Manipulating The Projector
In a tutorial found here, i got some good advice on manipulating the projector, but it said to use a program called "Exescope"
Can I get this for a Mac?
If not, what should I use?
Manipulating Text
I'm trying to make it so that you can modify the length and height of an array in the form of 0's and 1's. And edit it manually. So fahr one problem came up that is with the spacing. When the max length is reached it should go to an new line, and continue that until the max height is reached.
I'll include a .fla file.
- Thanks in advance
Manipulating Array
I'm trying to have the elements of an array appear. Their alpha
changes from 0 to 100. Right now only one element of the array does this.
I'm working with Flash professional 8 and AS 2.
Thanks for the help.
for (var i = 1; i<62; i++) {
var ball:MovieClip = attachMovie("drone", "drone"+i, i);
ball._alpha = 0;
ball._x = Math.random()*Stage.width;
ball._y = Math.random()*Stage.height;
//------------ change to visible -----------------------
if (ball._alpha == 0) {
onEnterFrame = function () {
ball._alpha += 2;
};
}
}
Help Manipulating MC In Imported Swf
Hi all. I've got an animation with a pause button in AS3. The pause button is an MC. If the MC is on frame 2 then the animation pauses. It works fine.
This animation is imported in to an AnimationContainer MC dynamically. This AnimationContainer swf is then imported in to the main swf of the webpage, so it goes...
mainswf-->
-----------AnimationContainer-->
--------------------------------AnimationMC->
--------------------------------------------Pause MC
My question is how can I control the pause button from the mainswf? i.e. I want mainswf to send AnimationMC's pause MC to frame 2. I thought coud do this by:
AnimationContainer.AnimationMC.pausebutton.gotoAnd Stop(2);
...but this doesn't work. Any help appreciated.
Manipulating MCs Attached To Other MCs
How do you address a mc attached to another mc?
I have an array of movie clips some of which I have attached additional movie clips to. Now I need to alter scale/alpha etc of those additional movie clips.
ie.
for (i=0;i<BasicMCArray.length;i++) {
_root.BasicMCArray[i].attachMovie("myExtraMc","ExtraMC" + i,depth++);
}
How do I now manipulate the "ExtraMC" movie clips? I know I can use
_parent to get at the parent mc but how do I get at the "child" when names are dynamically created as above?
Any advice would be much appreciated!
Manipulating Movies
If you create a movie clip and embed a textfield within it, can you then adjust the alpha of the movieclip in order to change the text display.
The code below attempts this but does not work....any suggestions?
clip = createEmptyMovieClip("clip1", 2);
clip.createTextField("my_txt", 1, 300, 20, 60, 60);
with (clip) {
my_txt.multiline = true;
my_txt.wordWrap = true;
var my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0xFF0000;
my_fmt.underline = true;
my_txt.text = "Text.";
my_txt.setTextFormat(my_fmt);}
clip._alpha=0;
Manipulating Array
All I'm trying to do is have a bunch of movie clips appear. Their alpha
increases from 0 to 100.
Only one movie clip is appearing with the code I've included here.
This is AS 2 and I'm working with Flash 8 Professional. Thanks for the help.
for (var i = 1; i<62; i++) {
var ball:MovieClip = attachMovie("drone", "drone"+i, i);
ball._alpha = 0;
ball._x = Math.random()*Stage.width;
ball._y = Math.random()*Stage.height;
//------------ change to visible -----------------------
if (ball._alpha == 0) {
onEnterFrame = function () {
ball._alpha += 2;
};
}
}
Manipulating MCs Attached To Other MCs
How do you address a mc attached to another mc?
I have an array of movie clips some of which I have attached additional movie clips to. Now I need to alter scale/alpha etc of those additional movie clips.
ie.
for (i=0;i<BasicMCArray.length;i++) {
_root.BasicMCArray[i].attachMovie("myExtraMc","ExtraMC" + i,depth++);
}
How do I now manipulate the "ExtraMC" movie clips? I know I can use
_parent to get at the parent mc but how do I get at the "child" when names are dynamically created as above?
Any advice would be much appreciated!
Manipulating Objects In AS
i would like to know how can i manipulate an object, let's say a MC, how can i give it a smooth tween with AS, well ive done that but i need to specify exactly where i want the MC to be, so its kind of a collision detect. i would also like to resize the MC..
any help would be nice thxs. .. plz no tweens!
Manipulating MCs From The Timeline
Argh this should be simple but I'm getting unpredictable behavior from my movie.
I have this in a frame on the main timeline:
if (_level4.count == "two") {
with (selector) {
gotoAndPlay(3);
}
}
And then I have a simple 4 frame MC on the stage with an Instance name of "selector"
Just doesnt work. Do I need more code somewhere like a "onClipEvent" or something? I do this kind of operation all the time from buttons, but it seems to me that there is an issue of timing for operations on the timeline..... I dunno blabble babble........
Manipulating Movies And With Buttons
When a button is clicked, a movieclip's alpha range is constantly changing... How do I do this?
I've tried many things... OnClipEvent... _alpha = random(100)...
The problem is, until that button is clicked, I don't want the clip to be flashing!
Any suggestions?
Manipulating A Mask To Get Bigger?
is there a way to make a mask that will get bigger by calling a number.
what i am doing now is puting a movie clip on the mask layer and then trying to manipulate the x_scale and the y_scale of that movie clip but it does not seem to work. i can get it to work if not a mask layer, but when i make it a mask layer it won't work.
any help would be great
Manipulating Movies (having Problems)
To preface this, I only hope the solution is much easier than the frustration i've put myself through.
I've built a movie clip that initiates when the mouse rolls over the movie (due to an invisible button). I then dragged six instances of this movie clip onto the main timeline. I have been trying for quite a while now to use these movie clip instances to initiate an action based on a mouse event. I can't get this to happen. If I turn the movie instance to a button instance the movie doesnt function. So I used the OnClip (mouse down) which solved the problem slightly. I could reference the other movie, but this happens only the first time one of the six movies are in the 'mouse down' state. I am still unable to set the actions for each individual movie clip.
All in all, I am trying to take each movie clip instance (which are all the same) and give them different actions. I want to initiate the actions when the mouse is pressed down on the movie clip (similar to the OnMouse (press) action that can be used for a button). Any help will be appreciated. Thanks in advance,
-xample
Manipulating Areas Of Shapes
I have a movie that needs a slight modification.
I can alter the shape of a triangle using maths and the _xscale and _rotation of movie clips. I need to know how to fill the shape in with colour.
http://www.mathslesons.co.uk/lessonp...rems/index.htm
Thx in advance for any help.
Manipulating Text In Flash 5
I am attempting to create a scenario when a certain frame is loaded the menu (a rolloever button effect) item that corresponds with that particular frame changes so that it is no longer clickable and changes colour.
Is this possible? And if so where would I begin?
Manipulating Global Vars
I am having trouble changing the global variable in the main time line from a movie clip.
In the first frame I have
_global menu = "no";
In the main time line the button would have....
on (press)
{
menu = "yes";
play movieclip
}
And then a movie clip would play, and the button in the movieclip would be..
on (press)
{
menu = "no";
}
But the variable does pass back. Can some one give me a push, shove, or kick in the right direction?
Manipulating PHP Variables In Flash
I am about to pull my hair out!
I have read tutorial after tutorial and things seem to look like "2+2=4" but I am coming up with 5 every time.
What I have is a simple PHP script that pulls a score from a database and returns 'dbscore' to Flash.
I have two dynamic text fields, 'dbscore' and 'score' on frame 1, along with the following:
_root.loadVariables("getscore.php", 0, "POST");
_root.dbscore = (Number(dbscore)+1);
_root.score = _root.dbscore+1;
What I get in the text boxen is:
Score: 1
Dbscore: (actual dbscore shows fine)
So what is happening is the variable is being pulled fine, but for some reason, when i try to assign 'score' to equal 'dbscore', it never takes. It thinks dbscore = 0 when even in the text field, it admit's it found a legit score >0. What am I missing?
The PHP again throws the variable find and you can assume the PHP code to be "dbscore=331".
Any help would be much appreciated.
Manipulating A Flash Movie From Another
Hi there, I have a navigation bar and a header, both individuall flash movies in a html file... I have done this so long ago, but how can I call from one movie and change the other movie... I remember that you have to use
function header_DoFSCommand(command, args) {
Does anybody know of a tutorial that can help me thanks...
Rafael
Manipulating An Images Saturation
Is there nothing in MX which can control the saturation property of an image? I am wondering if there is a way create a new property, such as saturation, which can be applied to an image.
Thanks
Manipulating Time For Website
hi I don't know if this is a newb question but
basically I am trying to create a "normal" flash website with
one catch. After ie. 45 seconds, it automatically moves the timeline
to ie. frame 200 regardless of what frame(different webpage section) the user was on.
Obviously I need a global variable and some way for flash to measure the time. any comments/suggestions welcome
thanks
Manipulating Flash Player
Does anyone know how to tell the flash player to stay on the second screen when you enter <crtl>F to go to full screen mode?
When I place it on the second monitor and enter <crtl>F to go to full screen mode, it jumps to back to my main monitor. Is this a feature or is there some way to tell it to stay on the second monitor?
The object here is to write a presentation program (like powerpoint) that is controlled from the main screen but displays on a projector.
Manipulating Text Color Help
I have a dynamic text field called numNav. When a button is released, I want that numNav to change color. How would I do that? I tried using:
numNav.text.color = 0xFF0000;
but it didn't work. Any other ideas?
Manipulating Dynamic Text
Is there a way to make dynamic text scroll by automatically?
I'm pretty sure I can load it into a movie clip and move that, but I was wondering if the text itself can be moved.
Thanks in advance.
Manipulating Imported SWFs
(MX 2004)
I have a flash file that imports an external SWF.
More specifically, the main flash loads, then an image (another SWF) loads inside that file.
Is there a way to manipulate the image from within the first flash file?
For instance, the image is a movie clip with instance name "pano." Ideally, I'd like to call it like _root.panoLoader.panoGoesHere.pano and work with it that way, but this doesn't appear to be working. Am I doing something wrong?
I've right-clicked on the movie clip and said "Export for ActionScript" with the identifier "panoMainEntrance."
Manipulating _y Of Text Fields
I have 5 text fields..they correspond to 5 different steps.
These are loaded dynamically.
When viewing the current step the text changes to reflect the current step you are on.
What I am having a problem with is when the Dynamic Text area Is sized to allow for wrapping, the other text boxes stay where they are and I seem to be unable to move them dynamicaly bassed on if the text box above it is wraped or not.
Here is a code snippett:
Code:
onClipEvent (enterFrame) {
_root.step1.text = _root.basicexplaination[0];
_root.step2.text = _root.basicexplaination[1];
_root.step3.text = _root.basicexplaination[2];
_root.step4.text = _root.basicexplaination[3];
_root.step5.text = _root.basicexplaination[4];
_root.step2._y = _root.step1._y+_root.step1._height;
_root.step3._y = _root.step2._y+_root.step2._height;
_root.step4._y = _root.step3._y+_root.step3._height;
_root.step5._y = _root.step4._y+_root.step4._height;
//control explaination based on what selectedstep is on in _root
switch (_root.selectedstep) {
case 1 :
_root.step1.htmlText = "<b>"+_root.currentexplaination[0]+"</b>";
break;
case 2:
_root.step2.htmlText = "<b>"+_root.currentexplaination[1]+"</b>";
break;
}
}
I have 2 cases complete...I thought the code:
Code:
_root.step3._y = _root.step2._y+_root.step2._height;
would position the step3 dynamic text appropiatly but it doesn't
What am I doing wrong?
THanks,
Mike
[F8] Importing Graphics And Manipulating
I imported a picture I had into the library, I tried using different formants, jpeg, and bitmap. I cannot quite seem to figure this out, I can not manipulate the image, I cant even erase part of it, I can get it to rotate, and change size with the transform functions, but that is all, am I to understand that I can not erase, or skew a picture, or do motion animation with imported images?, or is there something I am missing?
Thanks
Dynamically Creating/Manipulating MCs.
Hey guys - toying with some different ideas to brush up on my AS skills some more.
I'm trying to have a block created on the stage (attached from library) and as it is created it moves across to the other side of the stage. I've used this code:
PHP Code:
var blockNum = 0;
function newBlock() {
++blockNum;
with (_root) {
attachMovie("block", "block"+blockNum, blockNum);
eval("block"+blockNum)._x = 0;
eval("block"+blockNum)._y = 100;
}
moveBlock(eval("block"+blockNum), 5);
}
function moveBlock(block, speed) {
this.onEnterFrame = function() {
with (eval("block"+blockNum)) {
if (_x<Stage.width) {
_x += speed;
} else {
trace("target reached");
this.onEnterFrame = null;
}
}
};
}
//Temporarily create new block on keyPress
listener = new Object();
Key.addListener(listener);
listener.onKeyDown = function() {
newBlock();
};
It works fine for the first block created, but when anymore are created the last block stops. I'm sure it isn't something simple and I'm missing quite a vital part of AS here. Somebody help?
Thanks chaps - Chris
[F8] Manipulating BitMapdata On Stage?
Hi ...
I'm kinda new to using action scripts. I ran into some difficulties trying to manipulate BitImageDatas.
I just got down to playing around with the BitMapData objects, and I kinda need it for a camera snapping game I'm making. Like, you take a picture with a draggable camera on the stage, and the picture you took will be displayed somewhere else (offline).
It's difficult to manipulate BitMapData with action scripts entirely, is there a way to do it on the stage instead? Like do a tween/rotation on it or something while the timeline plays?
I tried attaching it to a MovieClip with MovieClip.attachBitMapData which has an instance on the stage, but it doesn't work.
Please help, thanks!
Manipulating A Duplicated Instance
In the past I have singled ot and manipulated a generated duplicated instance - for example clip3._xscale =150 which owuld result in a single clip being identified amonst the duplicates.
However, in the code below I'm unable to target a clip.
Does anyone know if this may have something to do with usting the Math functions?
for(i=0;i<nrc;i++){
duplicateMovieClip("clip2","orbit"+i,i);
orbit23._xscale=600; // this has no effect????????
mymath = _parent.clip1["orbit"+i]._xscale = 300*Math.cos(Math.PI/-180*nrc*i+Math.PI*cnt*step/300); ///45width,circum
Manipulating A Flash App With Html
What are the different ways that you can use an html link on a webpage to interact with a flash movie without reloading the flash movie? Is using the ExternalInterface class the best way to have a link on a webpage change the content in a flash movie? And if so, do you have to use javascript?
Manipulating Button Instances
In the past I've place buttons, specifically invisible buttons, inside MCs so I could manipulate them...width = #. In AS3 is there a way to manipulate buttons via script without placing the button within a MC.
Manipulating An External Mc Using Its Own Button
i load an external mc named window and its instance placeHolder, with a button and its script..
how do i manipulate it using the external button script??
i want to unload/move it using its own button (attach to it..)
Manipulating Images With ActionScript 2.0
Hi there,
this might sound simple to you, but i know nothing of actionscript...
my scenario:
I have to .gif files.
I extract values from an sql database, usinf vb.net, and passing the values to flash via javascript...
depending on a condition, I wast the one image to be displayed if the value is"NEG", or the other image, if the value is "POS"...
How do I do this?
I've created a text area, set its text property to "Dynamic Text", named the instance "txtvar" with a variable "rdm"...
now what?
please can anyone help?
thanks
Manipulating MC With Button OnRollOver
I'm working on a web site with a series of 6 buttons that I want to each have their own onRollOver. I've tried doing it with just 2 or 3 buttons to make sure the code works, and this is where I've run into trouble. When jumping from one button to another the animation of the previous button freezes at its current location rather than returning to its start position.
How do I get the MC to return to their start postions onRollOut instead of stopping halfway between ?
ActionScript Code:
//
//
//heres the code for my buttons
//
btn1.onRollOver = function () {
_root.tst.mc1in();
};
btn1.onRollOut = function () {
_root.tst.mc1out();
};
btn2.onRollOver = function () {
_root.tst.mc2in();
};
btn2.onRollOut = function () {
_root.tst.mc2out();
};
btn3.onRollOver = function () {
_root.tst.mc3in();
};
btn3.onRollOut = function () {
_root.tst.mc3out();
};
//
//
//and heres my code for MC control
//
blout = 280
blin = 18
function mc1in() {
//trace ("in")
//_root.tst.mc1._x = 280
onEnterFrame = function () {
_root.tst.mc1._x += (blin-_root.tst.mc1._x)/5;
};
}
function mc1out() {
//trace ("in")
//_root.tst.mc1._x = 18
onEnterFrame = function () {
_root.tst.mc1._x += (blout-_root.tst.mc1._x)/3;
};
}
function mc2in() {
//trace ("in")
//_root.tst.mc2._x = 280
onEnterFrame = function () {
_root.tst.mc2._x += (blin-_root.tst.mc2._x)/5;
};
}
function mc2out() {
//trace ("in")
//_root.tst.mc2._x = 18
onEnterFrame = function () {
_root.tst.mc2._x += (blout-_root.tst.mc2._x)/3;
};
}
function mc3in() {
//trace ("in")
//_root.tst.mc2._x = 280
onEnterFrame = function () {
_root.tst.mc3._x += (blin-_root.tst.mc3._x)/5;
};
}
function mc3out() {
//trace ("in")
//_root.tst.mc2._x = 18
onEnterFrame = function () {
_root.tst.mc3._x += (blout-_root.tst.mc3._x)/3;
};
}
Manipulating Stage Objects
Hi all,
I'm working on a movie that at some point in the timeline has a dynamic text field. I want to populate this field in the background depending on what I get passed into the movie. The name of the field is "PhoneNumber". In AS I try to do this, but it's not working:
PhoneNumber.text = "000-000-0000"
I keep getting this error:
1120: Access of undefined property PhoneNumber.
This has been keeping me up for the past 3 hours and I'm starting to hate it. Could someone tell me how to reference objects on the stage and edit them like I'm trying to do with this text field.
Thanks in advance!
Manipulating One Bitmap Based On Another?
Hi all.
This is my first post.
Not only am I new to the board, but, I am new to AS. I have been using flash since mx2004, but am currently using CS3. Up until now, I have been simply tweening and so forth to create the effects that I want, but, I am really learning AS3 now.
I bought a book on AS3 by Keith Peters, "Foundation ActioScript 3.0 Animation (Making things Move)", and I find his writing style wonderfully easy to understand, especially for me as a non math person, I actually understand his break down of trig functions and so on.
Anyway, to my question.
I would really like to create this effect but not sure how to go about it exactly.
I have bitmap 1 and bitmap 2
they are both the same images, except that bitmap 1 is a grey scale version of bitmap 2 which is color.
I would like to use bitmap 1 only for the data that can be derived from it, to create a sort of 3d appearance (though obviously, it wouldn't be real 3d by this method).
Pure white would be at 0 on the z axis. The darker the color the further back the px would go on the z axis.
Then, translate this information over to the colored version of the bitmap.
The viewer should not see the greayscale bitmap at all, rather just the final product of a 3d looking color photo.
I would like to be able to make this portable to any image set that I use, if I choose to swap out images, I shouldn't have to change the code.
A script would be nice, BUT, I think it more important that I get a good understanding of what I would need to do to code this myself. This is really more for a learning experience than anything else.
If someone could point me in the right direction as far as what I need to do for this effect, I would really appretiate it.
Thanks
Sage
Manipulating With MovieClips In Array
Hello,
I want to dynamicly add images from XML to movieClips and then add event listeners to these movieClips. What is the best solution? Could you please help?
XMl loads correctly, it also add 2 movieclips on stage, but it throws errors when I try to add event listeners to movieClips. How could I do that? I want to go to different frames on release of some movieClips. How can I please recognise each movieClip and manipulate with that movieClip ? (resizing,...)
I try this part of my code:
Code:
var imgURL:URLRequest;
var imgLoader:Loader;
var arrayMC:Array=new Array();
var i:int;
function loadImg():void{
for(i=0;i<xmlData.room.length();i++){
var img:MovieClip=new MovieClip();
imgLoader=new Loader();
imgURL = new URLRequest(xmlData.room[i].img.toString());
imgLoader.contentLoaderInfo.addEventListener(Event.INIT, onComplete);
imgLoader.load(imgURL);
}
}
function onComplete (evt:Event):void{
arrayMC.push(evt.target.content);
addChild(arrayMC[numChildren-2]);
}
Manipulating All Objects On A Layer
Hi all,
Got a quick question.
I have several buttons on one layer. I want them to all be right aligned when i load my movie. As it is now I am doing something like this...
btn5._x = Stage.width - 50;
btn4._x = btn5._x - 20;
btn3._x = btn4._x - 20;
etc....
I was wondering, if I grouped them could I just say, Layer1._x = Stage.width - (length of the group in px) instead of placing each object relative to the previous one?
THANKS IN ADVANCE
MCM
|