Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onClipEvent

Status
Not open for further replies.

tomhughes

Vendor
Aug 8, 2001
233
US
This is most likely a very simple question, and may even sound stupid, but I want to confirm my assumptions.
Does the onClipEvent have to be called from a parent movie clip?
Could I possibly have one movie ad call an onClipEvent?
 
I'm not sure I understand what you mean but an onClipEvent is called from a movie clip.

You can have as many MCs calling onClipEvents as you want... you can have an MC call multiple onClipEvents.

frozenpeas
 
I guess another way to ask this question is; Can an onClipEvent be called to itself? If I only have one movieClip, can I make this call when it loads, or do I have to call it from another movieclip.
 
I'm still not clear on exactly what you want to do.

If you have one MC you can attach:

Code:
onClipEvent(load){
   trace ("Hello!");
   // do other stuff
}

I'm not sure if I'm touching on what you need to know or not. What exactly do you want to accomplish? frozenpeas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top