Skip to main content
July 25, 2007
Question

Using with() in AS1.0/2.0

  • July 25, 2007
  • 2 replies
  • 146 views
This does not seem to be doing anything I am trying to use with() with variables rather than hardcoded values and nothing seems to be happening am I missing something?
This topic has been closed for replies.

2 replies

July 25, 2007
Still trucking

missed something in the Output window because it scrolled down

Error: A 'with' action failed because the specified object did not exist.

when I use a variable name in the with() I am getting an error can I not do it this way?

Help - still searching for the answer
July 25, 2007
as a quick add on if I place the code like this in my actions layer

with(stimuli){
_x=115
_y=325
}

it displays the movieClip no problem - but when I try to do it with the variables that are loaded it does nothing.