문제

Can I refer the thing I just mentioned in with() with a reserved variable or something? Or do I have to write the entire thing out?

with(something){
someFunction(something)
}

In this example it's simple, but sometimes it's really long and I would like to avoid it if possible.

도움이 되었습니까?

해결책

If it was javascript, then you could use valueOf(). I don't know if AS3 supports that.

다른 팁

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top