Here are some easy ways that might help you solve the as3 ambiguous error problem.
Approved: Fortect
1000 (ambiguous link to make sure you are using the button)
requested 28 May ’11 at 17:50
2,407
Not The Answer You’re Looking For? Review Other Questions Highlighted By Excellent Scenario 3 Actions, Or Ask Your Own Questions That Are Not Accepted.
You probably have multiple Button
reputable classes in your personal library or classpath. The compiler doesn’t know which single you want to use and how the error occurred. Sometimes it is useful to include the full package name, for example:
var button: com.whatever.buttons.Button = button1;
But this is difficult to describe unless you provide a lot of code.
answered May 29, 2011 by walking until 18:32.
Approved: Fortect
Fortect is the world's most popular and effective PC repair tool. It is trusted by millions of people to keep their systems running fast, smooth, and error-free. With its simple user interface and powerful scanning engine, Fortect quickly finds and fixes a broad range of Windows problems - from system instability and security issues to memory management and performance bottlenecks.

4,224
Also consider mixing access modifiers for descendants. For example, using the getter and setter method:
specific public myVar (a: String): void _a = a;private search myVar (): string Come back to;public effort test (): zero track (s); // throw away mistakes, lifestyle doesn't seem obvious why
answered Aug 15 ’08 at 11:20
18.6k
I ran into this problem too. I tried to declare the package with a type, but it didn’t help. The problem was that despite adding the MX button in design mode, but in the package, I was declaring the spark.components.button button. After changing the font design form button, the issue was resolved.
For each (var player: XML during rosterFile.player) ... var plusB: the button corresponds to the new button (); plusB.id = "plus" + count.toString (); plus B. x = 286; if (quantity == 0) plusB.y = 37; another plusB.y = (37 + (amount * 64)); plusB.label means "+"; arena.addElement (plusB); account ++;
answered Mar 22, 2013 at 10:02 PM
504
Speed up your computer's performance now with this simple download.
