Ticket #2524 (new defect)

Opened 7 months ago

Last modified 2 months ago

saveImage in swf fail

Reported by: friendvn2000 Assigned to: assefa
Priority: highest Milestone: 5.4 release
Component: Output-SWF Version: 5.0
Severity: normal Keywords: saveImage swf
Cc:

Description (Last modified by dmorissette)

I have a map file that outputs swf format... I use PHPMapScript to implement:

$map = ms_newMapObj("test.map");
$image=$map->draw();
$image_url=$image->saveWebImage();

It generates some random name swf files like:

47ba3cf0_d1c_0.swf
47ba3cf0_d1c_0_layer_0.swf
47ba3cf0_d1c_0_layer_1.swf

But I want to save them as normal name, so I do next:

$image->saveImage("img_gen/test.swf");

and it works when saving them to those files:

test.swf
test_layer_0.swf
test_layer_1.swf

But in the test.swf file, the links to its child layers not change, so I can't use them !

( Maybe it's a MapServer's fatal error )

Thanks.

Change History

02/22/08 08:53:33 changed by sdlime

  • owner changed from sdlime to mapserverbugs.
  • component changed from MapServer C Library to Output-SWF.

02/22/08 09:17:49 changed by dmorissette

  • description changed.

06/03/08 10:38:50 changed by dmorissette

  • milestone changed from 5.0.3 release to 5.2 release.

07/04/08 13:46:43 changed by dmorissette

  • owner changed from mapserverbugs to assefa.
  • milestone changed from 5.2 release to 5.4 release.