Hi all
Just trying to create a box in actionscript into an empty movieclip. I
then wanted to reurn the _x postion of the box, but it's just not
happening for me. Here is my code. Any ideas?
Cheers all
Stage.scaleMode = scale;
Create a box to encapsulate the loader indicator
var bW:Number =
Draw your box from 0,0 and then set the _x and _y of the movieclip you
drew in.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by
what is the problem ?? you expect to receive the top-left corner _x
position of the drawed box ?
--Pedro Taranto
Lee Marshall escreveu:
Hi all
Just trying to create a box in actionscript into an empty movieclip. I
then wanted to reurn the _x postion of the box, but it's just not
happening
Seems to work.
It returns an _x of 0 because that's where this line :
var loaderBox_mc:MovieClip = this.createEmptyMovieClip(loaderBox_mc,
this.getNextHighestDepth());
creates the clip.
The coordinates you're drawing on are relative to the loaderBox_mc but they
don't in fact change the position
Hi,
it works ok here. It traces zero, as it should.
greetz
JC
On 3/23/07, Lee Marshall [EMAIL PROTECTED] wrote:
Hi all
Just trying to create a box in actionscript into an empty movieclip. I
then wanted to reurn the _x postion of the box, but it's just not
happening for me. Here is my code.
5 matches
Mail list logo