: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means waiting times in the issue tracker are very long and mostly depend on community. Sorry for the inconvenience.

List of issuesList of issues

#933 Error Upon Declaring Arrays
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3Direct Editation
State: closed Help

Hi! _____________________________________________ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > What steps will reproduce the problem? I got an array to which I assign a value as I declare it. « line 16: private static const directions:Object = { line 17: 0:[0,0,150,0.2], [more of this here] }; » I then try to make a change and hit the save button. _____________________________________________ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > What is the expected output? What do you see instead? There is no problem with this code, it does what it's supposed to when I run an SWF Player. Still, I get this error: «ERROR: IDENTIFIER or STRING expected but INTEGER found on line 17» _____________________________________________ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > What version of the product are you using? On what operating system? FFD v.5.3.0 nightly build 649 _____________________________________________ ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > Please provide any additional information below. The very same thing happens in other files that also have arrays. While waiting for a fix, is there any way to stop all error messages from popping up? Thanks!
user
(Operating system : Windows 7 x64 Premium)
admin
In nightly 997, object literals should have numbers as keys enabled.
State: new→upgraded
developer
I close this issue due to inactivity. Please create new issue if problem persists.
State: upgraded→closed
 
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic