GetComponent- iphone/flash

I’m having trouble figuring out how to access a variable on another object using iPhone,Flash platform. Does anyone who knows how to do this successfully give me a run through or example? I just need a quick pointer.

It’s the same as in the normal Unity player. What component are you having trouble with?

The only component that won’t work in Flash is the new ParticleSystem component, you can’t interface with that component at all via script if you’re compiling for Flash. You can still kind of use them- but you have to use them as “GameObject” or “Component”, so the messages you can send to them will be limited.