00:00
00:00
Newgrounds Background Image Theme

Dakale just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

AS3 Import Statement Doing Nothing

338 Views | 0 Replies
New Topic Respond to this Topic

So I was trying to use the com.newgrounds.SaveFile class.
My build succeeded with the import, but once I tried using SaveFile the build would fail and say it could not find SaveFile.

I got it to work by doing this instead:

var mySaveFile:com.newgrounds.SaveFile;

I'm happy its working now, but I don't understand why it won't work like this:

import com.newgrounds.SaveFile;

...

var mySaveFile:SaveFile;

If anyone could explain this to me that would be excellent.