Re: [Flashcoders] Vars between game levels

2006-06-19 Thread Helios Pregioni Bayma
Thanks for the idea Andy, I´ll try that. Adam, I know it´s strange. What I do in the base file is to define the 4 vars I need, create the sound objects - one for each level plus one for the base screen, and the screens to be showed before entering and while exiting each level. It works online an

Re: [Flashcoders] Vars between game levels

2006-06-19 Thread Adam Pasztory
I don't see why using a holder clip would cause you to lose a significant amount of performance. Could it be there was some code in your holder clip that was causing the problem? On 6/19/06, Andy Makely <[EMAIL PROTECTED]> wrote: On 6/19/06, Helios Pregioni Bayma <[EMAIL PROTECTED]> wrote: > >

Re: [Flashcoders] Vars between game levels

2006-06-19 Thread Andy Makely
On 6/19/06, Helios Pregioni Bayma <[EMAIL PROTECTED]> wrote: I tried so, to use Shared Objects to keep the vars (points, level, energy), but it can´t be read by different swf. So, I tried using an empty swf, and use LocalConnection to send vars to it. It worked in sending the vars, but didn´t wh

[Flashcoders] Vars between game levels

2006-06-19 Thread Helios Pregioni Bayma
Hi, I am developing a Flash Game of 4 levels (click to see level4 - 180kb with no preloader). As each level will be in separate swf files, I have created a base swf that loads the levels in a holde mc, ok. The problems started when I los