actionscript 3 - AS3 package does not reflect location -
i have fla class referencing 'com.poole.blackjack.game', , folder path starting @ fla root of 'com\poole\blackjack\game'.
when compile, get: 'c:\users\stephen\desktop\blackjack\com\poole\blackjack\game\player.as, line 1 5001: name of package 'com.poole.blackjack.game' not reflect location of file. please change package definition's name inside file, or move file. c:\users\stephen\desktop\blackjack\com\poole\blackjack\game\player.as'
i tried changing reference , folder name 'game', get: 'c:\users\stephen\desktop\blackjack\com\poole\blackjack\game\player.as, line 1 5001: name of package 'com.poole.blackjack.game' not reflect location of file. please change package definition's name inside file, or move file. c:\users\stephen\desktop\blackjack\com\poole\blackjack\game\player.as'
it's flash misinterpreting filepath, though has worked until now. annoying!
it seems package using 'game' - lowercase g
and path in error message 'game' - uppercase g
i'd verify folder structure case matches package case.
your error :
when compile, get: 'c:\users\stephen\desktop\blackjack\com\poole\blackjack\game\player.as
your package :
'com.poole.blackjack.game'
Comments
Post a Comment