in Jubba’s actionscripted text tutorial, in the code explanation he writes this…
nXstart = 15 : sets the initial X position of the first movie clip
nYstart = 15 : sets the initial Y position of the first movie clip
i have been changing the values of these variables hoping to get the MC where I want it, but I havent been having much luck with it, am i changing the right variables?
also the text isn’t spaced evenly, not too sure how to fix this
yeah i have tried, it moves it sort of where i want it but not exactly. what if i dragged the movie clip to where i want it on the stage and look at the properties box and see what the x and y co-ordinates are?
When I gave Kirupa the original code I missed the typo (apparently:() Its calling the same varialbe for both X and Y values. That should solve your problem.
thanks Jubba, so just say i drag the MC to where i would like it on the stage, if i look at the x and y value of the MC location in the properties and i put those values into the code, will the text start from that location?
just another question, the spacing between the letters is a little uneven…do i have to play around with another variable?
yes those values would be where you want it to be (as long as you are doing it correctly)
no. That effect is for fixed-width fonts. Fonts that are not fixed widths will end up being weird. The only way around that would be to write a function that changes the kerning variable depending on which letter is inside each individual movieclip. I would rather switch fonts than write the function.
Well, remember that you are manipulating your MC. Probably tweening and moving it, so when the MC is on the stage is going to be in a different spot than after its played out?