mbenolie / xpath-as3

Automatically exported from code.google.com/p/xpath-as3
0 stars 0 forks source link

1061: Call to possible undefined method rootNode in CS5 #24

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to publish document.
2.
3.

What is the expected output? What do you see instead?

Receive error: 1061: Call to possible undefined method rootNode through a 
reference with static 
type class. Error is in QueryRoot.as

What version of the product are you using? On what operating system?

Flash CS5 on Mac with latest version of xpath-as3.

Please provide any additional information below.

Original issue reported on code.google.com by monolith...@gmail.com on 30 Apr 2010 at 9:20

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to publish document (using flash builder 4 as editor/Flash professional 
project - fb sdk compiles ok, only flash cs5 is screwed).
2.
3.

What is the expected output? What do you see instead?

Receive error: 1061: Call to possible undefined method rootNode through a 
reference 
with static 
type class. Error is in QueryRoot.as, line 28

What version of the product are you using? On what operating system?

Flash CS5 on Windows 7 with latest version of xpath-as3.

Please provide any additional information below.

The code is ok i think, i guess is just one of those wysiNwyg (what you see is 
NOT 
what you get) flash errors :P.

Original comment by Ionut.Ta...@gmail.com on 14 May 2010 at 2:31

GoogleCodeExporter commented 8 years ago
I believe the problem has something to do with functions having names which are 
reserved by Flash so not 
allowed.

Original comment by monolith...@gmail.com on 14 May 2010 at 2:42

GoogleCodeExporter commented 8 years ago
   "I believe the problem has something to do with functions having names which are 
reserved by Flash so not 
allowed."
I tried renaming the method but still the same error appears.

Original comment by Ionut.Ta...@gmail.com on 14 May 2010 at 2:44

GoogleCodeExporter commented 8 years ago
Renaming the class XMLUtil to XMLUtils fixed the bug. Conclusion: 'XMLUtil' is 
reserved by flash CS5. Rename it to anything else.

Original comment by Ionut.Ta...@gmail.com on 14 May 2010 at 3:12

GoogleCodeExporter commented 8 years ago
@lonut: solved my problem! but also needs to be changed in LocationPath.as, 
maybe other class files too

Original comment by akier...@gmail.com on 17 Feb 2011 at 9:22

GoogleCodeExporter commented 8 years ago
Sorry I'm late to the game with this issue. Somehow I wasn't notified. I will 
take a look and try to find out what is going on with Flash CS5.

Original comment by peterj...@gmail.com on 8 Mar 2011 at 11:30