Forum Topic: trace(MovieClip) returns undefined

(34 views • 2 replies)

This topic is 1 page long.

<< < > >>
Crying

SkratorvanKernel

Reply To Post Reply & Quote

Posted at: 9/22/09 07:30 PM

SkratorvanKernel LIGHT LEVEL 04

Sign-Up: 09/03/09

Posts: 38

why in the world this code isnt working? :'(

trace(MovieClip) returns undefined


None

dELtaluca

Reply To Post Reply & Quote

Posted at: 9/22/09 07:35 PM

dELtaluca LIGHT LEVEL 20

Sign-Up: 04/16/04

Posts: 5,559

You have to give the movieclip an instance name to reference it, this is different from the name of the movieclip in the library which is purely symbolic.

If you click (not double click) on the movieclip on the stage, in the properties box you will see the instance name property.

My social worker says im special!

BBS Signature

Elated

SkratorvanKernel

Reply To Post Reply & Quote

Posted at: 9/22/09 08:32 PM

SkratorvanKernel LIGHT LEVEL 04

Sign-Up: 09/03/09

Posts: 38

OMG XD

THANKS MAN!

i'm having this problem since yesterday, and everyone that tryed to help me, actually didnt :/


All times are Eastern Standard Time (GMT -5) | Current Time: 08:02 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!