00:00
00:00
Newgrounds Background Image Theme

BorfDoggo 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!

Update to flash project...

450 Views | 8 Replies
New Topic Respond to this Topic

Okay, now I got everything stable, I wanted to make this game have save/load features.

Unfortunately, I am having a problem with putting the game into a saving/loading shell I developed earlier. It no longer recognizes mouse click events or something, so I don't know how to fix this.

Here is the functioning game, without save/load...
http://tinyurl.com/zww5jrx -- Editable version
http://tinyurl.com/ztuc9hz -- The swf file

Here's the broken, corrupt one which doesn't do jack...
http://tinyurl.com/gn8tm6t -- Editable version
http://tinyurl.com/jzgja4f -- The swf file

All I wanted to do was make players able to save and load the game, with multiple files. I didn't even do highscores or defeat conditions yet.

EDIT: Can't make hyperlinks. Great.

Response to Update to flash project... 2015-11-28 15:35:33


At 11/27/15 02:52 PM, JJMAJR wrote: EDIT: Can't make hyperlinks. Great.

You can, you just need to write out the HTML to produce the anchor element (the BBS won't automatically parse URIs). Alternatively, you can just press the "link" button above the post text box that will generate the HTML for you.

As for the problem: I can't say; I don't have the version of Adobe Flash you used to create the FLA file so I can't open it. Is it possible for you to post just the code here?

Response to Update to flash project... 2015-11-28 16:48:19


At 11/28/15 03:35 PM, Diki wrote: As for the problem: I can't say; I don't have the version of Adobe Flash you used to create the FLA file so I can't open it. Is it possible for you to post just the code here?

Ooh... not right now, maybe on Monday since I can't access the code as of this moment.

Also, I used the tools I had available and even did the HTML code myself, and it still didn't work out.

Response to Update to flash project... 2015-11-30 14:41:49


At 11/28/15 03:35 PM, Diki wrote: As for the problem: I can't say; I don't have the version of Adobe Flash you used to create the FLA file so I can't open it. Is it possible for you to post just the code here?

http://tinyurl.com/nh2ws5q

Also, a screenshot of the editor screwing up:

http://tinyurl.com/nb2nld8

Response to Update to flash project... 2015-11-30 15:46:00


At 11/30/15 02:41 PM, JJMAJR wrote: Also, a screenshot of the editor screwing up:

http://tinyurl.com/nb2nld8

Well, the only times I get this type of error is because I did not include:

import flash.events.MouseEvent;

Did you have that already?


$$$ | Strawberry Dodge | Abusive Reviews! | Sig by TheDingo

BBS Signature

At 11/28/15 04:48 PM, JJMAJR wrote: Also, I used the tools I had available and even did the HTML code myself, and it still didn't work out.

That's very strange and not something I've ever heard of happening on here before. I did do a test with your URIs, though, and it also didn't work for me; seems to be something about the TinyURL domain or something. I'll let @liljim know about the problem.

And, as Hacsev pointed out, the problem is that the MouseEvent class hasn't been included. As for why it worked before but doesn't now: I can't say; I don't ever code using the Adobe Flash IDE because it's very wonky and cumbersome. (Not that I really ever code AS3 anymore, anyway.)

Response to Update to flash project... 2015-12-02 19:29:28


At 11/30/15 03:46 PM, Hacsev wrote:
At 11/30/15 02:41 PM, JJMAJR wrote: Also, a screenshot of the editor screwing up:

http://tinyurl.com/nb2nld8
Well, the only times I get this type of error is because I did not include:

import flash.events.MouseEvent;

Did you have that already?

I'll try that tomorrow.

Response to Update to flash project... 2015-12-03 14:43:33


At 12/2/15 07:29 PM, JJMAJR wrote: I'll try that tomorrow.

Still doesn't work.

Response to Update to flash project... 2015-12-03 19:03:23


At 12/3/15 02:43 PM, JJMAJR wrote: Still doesn't work.

Well, you're getting a runtime error now, instead of the compiler errors you were getting before, so that's some progress. That error means that somewhere you're trying to use an object that hasn't been instantiated. Run the SWF with the debugger, and it should tell you specifically which line of code is causing the runtime error.