PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

ming_useswfversion

(PHP 4 >= 4.2.0, PHP 5 <= 5.3.0, PECL ming SVN)

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

?>

PHP Manual