Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Ambiguous refernce to mxml:HTTPService

Avatar

Avatar
Level 1
dowenk
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
dowenk
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
dowenk
Level 1

01-06-2008

In Flex Builder 3, I get "Can not resolve a multiname
reference unambiguously." when I include:



<mx:HTTPService

id="data"

method="POST"

url="data.php">

</mx:HTTPService>



The error text is:



Can not resolve a multiname reference unambiguously.
mx.rpc.http.mxml:HTTPService (from /Applications/Adobe Flex Builder
3/sdks/3.0.0/frameworks/libs/rpc.swc(mx/rpc/http/mxml/HTTPService))
and mx.rpc.http:HTTPService (from /Applications/Adobe Flex Builder
3/sdks/3.0.0/frameworks/libs/rpc.swc(mx/rpc/http/HTTPService)) are
available. FeralHiveProject/src BeeLine.mxml Unknown 1212335979836
469



Can not resolve a multiname reference unambiguously.
mx.rpc.http.mxml:HTTPService (from /Applications/Adobe Flex Builder
3/sdks/3.0.0/frameworks/libs/rpc.swc(mx/rpc/http/mxml/HTTPService))
and mx.rpc.http:HTTPService (from /Applications/Adobe Flex Builder
3/sdks/3.0.0/frameworks/libs/rpc.swc(mx/rpc/http/HTTPService)) are
available. FeralHiveProject/src BeeLine.mxml Unknown 1212335979838
470





Seems FB is confused between mx.rpc.http:HTTPService and
mx.rpc.http.mxml:HTTPService



View Entire Topic

Avatar

Avatar
Validate 1
Level 1
grkkrishna
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile

Avatar
Validate 1
Level 1
grkkrishna
Level 1

Likes

0 likes

Total Posts

7 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Affirm 1
View profile
grkkrishna
Level 1

09-02-2009


quote:




Originally posted by:
dowenk


I think I see what is causing the error but I"m still not
sure how to resolve the ambiguity. I have the following in an
included .as script:



import mx.rpc.http.HTTPService;

private var svc:HTTPService = new HTTPService();



How do I use mx.rpc.http.HTTPService in the script and
mx.prc.http.mxml.HTTPService in mxml without causing confusion?