flash help
- Started
- Last post
- 4 Responses
- pushme
its late and i have no idea why this isn't working...anyone else know?
function getThis (targetMC) {
yPos = this.continuum_mc01[targetMC]._y...
return (yPos);
};
var whatIsGetThis = getThis(selection_mc01);
trace ("tellme " +whatIsGetThis)
- kinetic0
var whatIsGetThis = getThis("selection_mc01");
trace ("tellme " +whatIsGetThis)you have to enquote the movieclip name...as it stands right now you are passing the function a reference to something that doens't exist on the functions timeline
- pushme0
tells me its undefined
function getThis (targetMC) {
yPos = this.continuum_mc01[targetMC]._y...
return (yPos);
};
var whatIsGetThis = getThis("selection_mc01");
trace ("tellme " +whatIsGetThis)
- PonyBoy0
where is 'selection_mc 01' coming from?... and whyz there a space in there? :)
the function makes sense... just not sure where your 'targetMC' parameter is getting it's data from...
- tGP0
trace this:
trace(this.continuum_mc01.select...
as pony said, make sure that is valid path...
cheers