haysclark / as3-xpath

1 stars 0 forks source link

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

Open haysclark opened 9 years ago

haysclark commented 9 years ago

From monolith...@gmail.com on April 30, 2010 14:20:58

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: http://code.google.com/p/xpath-as3/issues/detail?id=24

haysclark commented 9 years ago

From Ionut.Ta...@gmail.com on May 14, 2010 07:31:20

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).

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.

haysclark commented 9 years ago

From monolith...@gmail.com on May 14, 2010 07:42:13

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

haysclark commented 9 years ago

From Ionut.Ta...@gmail.com on May 14, 2010 07:44:40

"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.

haysclark commented 9 years ago

From Ionut.Ta...@gmail.com on May 14, 2010 08:12:19

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

haysclark commented 9 years ago

From akier...@gmail.com on February 17, 2011 13:22:59

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

haysclark commented 9 years ago

From peterj...@gmail.com on March 08, 2011 15:30:49

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.

Owner: peterjoel
Labels: -Priority-Medium Priority-High