Okay, that looks good. So, in this case _root and _level0 are
the same
thing (this isn't always the case but here it is).
So, the only two things I can see, as per my previous post,
are:
1. Your enterFrame loop is hard-setting the position.
Whatever you set
it to outside of this, this loop simply resets it next time
the frame
loop hits. So...comment it out or get rid of it.
2. Your X and Y values may not be numbers. You should try
something like:
_root[ovalue]=Number(xValue);
_root[ovalue]=Number(yValue);
If they are numbers, no problem. If they're not, this should
convert it.
Like I said, this is a 2-inch view of the whole canvas so
this is the
best I can do without seeing everything you've written.
Good luck!
Patrick
shurleynova wrote:
> Ok I see your point, I commented out the other trace
statements and only left
> the following two trace statements
>
> trace ('Data loaded: '+success);
> and
> trace (_root[oValue]);
>
> and the output file now looks like this:
>
> Data loaded: true
> _level0.stimuli
> _level0.stimuli
> _level0.stimuli
> _level0.stimuli
> _level0.fixation
>
> so it looks like it is grabbing the right variable from
the XML
>
--
http://www.baynewmedia.com
Faster, easier, better...ActionScript development taken to
new heights.
Download the BNMAPI today. You'll wonder how you ever did
without it!
Available for ActionScript 2.0/3.0.