PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

SWFAction> <ming_useconstants
Last updated: Fri, 09 Jan 2009

view this page in

ming_useswfversion

(PHP 4 >= 4.2.0, PHP 5)

ming_useswfversionSets the SWF version

Description

void ming_useswfversion ( int $version )

Sets the SWF version to be used in the movie. This affect the bahaviour of Action Script.

Parameters

version

SWF version to use.

Return Values

No value is returned.

Examples

Example #1 ming_useswfversion() example

<?php

$movie 
= new SWFMovie();
ming_useswfversion(4); // Flash 4

?>



add a note add a note User Contributed Notes
ming_useswfversion
sneakyimp at hot mail dot com
14-Nov-2008 05:32
According to the docs at libming.net, this setting specifies which flash version to be used when creating your SWF file.  You can specify versions 4 through 8.  More here:

http://www.libming.net/docs/libming/Ming_useSWFVersion.html

SWFAction> <ming_useconstants
Last updated: Fri, 09 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites