Name: Anonymous 2012-03-22 23:09
I'd post this in scripting, but it doesn't exist.
Let's say that I place a symbol by dragging it from the library on to the stage, in the timeline. I link it to a custom class that extends movieclip. I add a trace to check that the constructor is being run, and it is. How do I access a custom property that of that class? When I dinamically create an instance of the class ( faggot = new CustomClass() ), I can just use faggot.CustomProperty , but since the clip was on the timeline when I published, I don't have any "faggot." to reference the shit, so what do?
Let's say that I place a symbol by dragging it from the library on to the stage, in the timeline. I link it to a custom class that extends movieclip. I add a trace to check that the constructor is being run, and it is. How do I access a custom property that of that class? When I dinamically create an instance of the class ( faggot = new CustomClass() ), I can just use faggot.CustomProperty , but since the clip was on the timeline when I published, I don't have any "faggot." to reference the shit, so what do?