I would go and get your client's machine. 40 minutes is way too long
to test changes! If you can't do that, i would use a remote desktop
app. http://www.uvnc.com is a good one as far as i remember, and it's
free.
Also, replace the huge picture with a little one, and get rid of the
video.
Thanks Mike
I am able to replicate it on my PC - well it has happened a few times. I
tested for over 2 hours solid last night with no crash and thought it was
fixed. But this morning after only about 10 seconds of play it crashed. This
is the new version with the large image separated into 4
God what a nightmare! If your client's machine reliably crashes
quickly, testing on that is *definitely* the way to go.
Your bug seems so random, it could be anything. I had something
similar once with a font which would randomly bork the flashplayer. It
may well be that flash just hates your
Paul Steven wrote:
Thanks Paul
The clients PC is a brand new one with 4gb RAM and I imagine tons of space.
Not sure what a stack dump looks like but the client did send this info on
the error:
Event Type: Error
Event Source: Application Error
Event Category: None
Event ID: 1000
Also, to test for memory leaks, i'd do a test where you automate the
intro/playing/end loop of your game, ie. Stick a bit of code in that
finishes the game after a second of playing, and just keep going
round:intro,playing,end. If it still crashes, you'll know it's
probably the
Thanks Jason
The weird thing is the client has reported the problem occurring (ie it
crashing) within a few seconds of the game starting. It seems to be totally
random which is why I wasn't sure if a memory leak could be the cause.
Anyway I am commenting out bit by bit and will see if I can
Thanks Ian
I am not using any bitmap functions. I literally just have the jpg inside a
movie clip and move it based on the mouse position in relation to the plane
(the plane is centred on the screen). The only other game element really is
20 clouds that randomly move across the screen.
I am
You may not be using Bitmap functions - but any filters etc. will use
them under-the-hood, and will have the 2880x2880 limits.
I'd be tempted to suggest that you break up your large background JPG
into four chunks; see if that clears the crash.
HTH,
Ian
On Sat, Sep 5, 2009 at 4:41 PM, Paul
Hi Ian
Ah I didn't realise that.
I did originally plan to break up the image thinking it would not perform
very well with such a large image but when I tested it, it ran fine. It is
just strange how the game will work for at least 40 minutes (the game only
lasts 2 minutes so I am referring to
Quick question.
Can I simply break up the jpb into 4 chunks and position them inside one
movie clip rather than have to move 4 separate movie clips? If this is the
case then it is a really simple fix.
Cheers
Paul
-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
Don't see why not, as long as you don't have any effects or
cacheAsBitmap being applied to the entire MovieClip.
Re your mouse show/hide thing - don't think it should cause a problem,
but if it _does_: you are calling mouse show() or hide() every frame,
but you could simply set a flag - is the
Paul Steven wrote:
Thanks Jason
The weird thing is the client has reported the problem occurring (ie it
crashing) within a few seconds of the game starting. It seems to be totally
random which is why I wasn't sure if a memory leak could be the cause.
You need to know the spec of that machine
Thanks Paul
The clients PC is a brand new one with 4gb RAM and I imagine tons of space.
Not sure what a stack dump looks like but the client did send this info on
the error:
Event Type: Error
Event Source: Application Error
Event Category: None
Event ID: 1000
Date:
I have created a game in Flash CS3 which is being published for Flash 8 AS2.
My client is reporting it crashing periodically on his XP PC. I have also
managed replicate this on my Vista Ultimate PC with the following error:
A problem caused the program to stop working correctly. Windows will
It took me over 40 minutes of continuous play to get the crash.
This sounds like a memory leak - memory allocations building up for your
allotment in RAM over time, until it there is no more available slots -
I would check all the usual things to be sure you are garbage
collecting, removing
On Fri, Sep 4, 2009 at 6:16 PM, Paul Stevenpaul_ste...@btinternet.com wrote:
The game is basically a top down flying game with a scrolling background
(JPG 5120 X 4320). The flash movie is published at 1600 x 1200 30 FPS. It
includes an embedded FLV video on the Splash screen which is
16 matches
Mail list logo