Copy link to clipboard
Copied
Hi
I have in Flash Builder 4.5 an Action Script Class which isdocument class of a Flash (fla) file with the same name.
Both files are in the same folder.
In the AS class I call a Movieclip Instance which appears on the stage of the Flash file.
It all runs without errors but in Flash Builder I get(during design time) on the left side for every of these Movieclip calls aquestion mark in an orange circle with the notice „call on an undifinedproperty xxx“.
But the Movieclip is already defined in the fla file - hasanyone an idea what could be missing? - The compiler knows the MC and theprogramm works correct.
Regards Roger
Copy link to clipboard
Copied
Looks like I have the same question: http://forums.adobe.com/thread/864992?tstart=0
Copy link to clipboard
Copied
My solution is declare a variable with the instancename of the object (for each object with i wont corresponde)
like this:
public var iQuadrat:MovieClip;
public var Frame_tlf:TLFTextField;
This is a way but i thinkit is not the real correct way to create a variable for an object that is already declared, but so it is posible to set breakpoints at this lines.
Copy link to clipboard
Copied
Thanks! That's really looks like workaround.
To my surprise, declared var doesn't conflict with the stage instance.