Posted by Garych in SWF Studio V3 on Oct 06 2011, 01:31 am

I am writing an app in Flash Pro CS5.
When I commit the files to SWF Studio 3.8 my opening page comes up well and occupies the full screen.

I then press a button to import another page which is on the Files page.
The image of the secondary page appears but at around half the size of the screen.

Then, hitting hit a button to return to the original document.... however this too appears smaller ....around the same size as the secondary page.

The code for the original page =
on (release) {

The return code =
on (release) {

Both sets of files show = fscommand("AllowScale", "true");

Has anyone any idea where I have gone wrong?

Thanking you all in advance.

Posted by northcode in SWF Studio V3 on Oct 06 2011, 10:04 am

ssCore.Flash.loadMovie is for AS2 only, so I'm assuming that your're still using AS2. By default, Flash.loadMovie resizes your window to match the size of the SWF that is being loaded. If you don't want this to happen you can set the resize parameter to false, like this...

ssCore.Flash.loadMovie({path:"startdir://Newfile2.swf", resize:"false"});