Jump to content
php.lv forumi

Libswf Uz Windows


Recommended Posts

Par libswf:

 

The libswf does not have support for Windows. The development of that library has been stopped, and the source is not available to port it to another systems.

 

Ming offers a number of advantages over the existing PHP/libswf module. You can use Ming anywhere you can compile the code, whereas libswf is closed-source and only available for a few platforms, Windows not one of them

 

liidz ar to atveram php.ini samekleejam

 

;extension=php_ming.dll

 

attiecigi enablojam (var gadities kjeska ar extenseion path) bet ja noradiita pareiza jau ieprieksh nevaidzetu buut probleemaam..

unmegjinam

<code><font color="#000000">

<font color="#0000CC"><?
 $s </font><font color="#006600">= new </font><font color="#0000CC">SWFShape</font><font color="#006600">();
 </font><font color="#0000CC">$s</font><font color="#006600">-></font><font color="#0000CC">setLine</font><font color="#006600">(</font><font color="#0000CC">4</font><font color="#006600">, </font><font color="#0000CC">0x7f</font><font color="#006600">, </font><font color="#0000CC">0</font><font color="#006600">, </font><font color="#0000CC">0</font><font color="#006600">);
 </font><font color="#0000CC">$s</font><font color="#006600">-></font><font color="#0000CC">setRightFill</font><font color="#006600">(</font><font color="#0000CC">$s</font><font color="#006600">-></font><font color="#0000CC">addFill</font><font color="#006600">(</font><font color="#0000CC">0xff</font><font color="#006600">, </font><font color="#0000CC">0</font><font color="#006600">, </font><font color="#0000CC">0</font><font color="#006600">));
 </font><font color="#0000CC">$s</font><font color="#006600">-></font><font color="#0000CC">movePenTo</font><font color="#006600">(</font><font color="#0000CC">10</font><font color="#006600">, </font><font color="#0000CC">10</font><font color="#006600">);
 </font><font color="#0000CC">$s</font><font color="#006600">-></font><font color="#0000CC">drawLineTo</font><font color="#006600">(</font><font color="#0000CC">310</font><font color="#006600">, </font><font color="#0000CC">10</font><font color="#006600">);
 </font><font color="#0000CC">$s</font><font color="#006600">-></font><font color="#0000CC">drawLineTo</font><font color="#006600">(</font><font color="#0000CC">310</font><font color="#006600">, </font><font color="#0000CC">230</font><font color="#006600">);
 </font><font color="#0000CC">$s</font><font color="#006600">-></font><font color="#0000CC">drawCurveTo</font><font color="#006600">(</font><font color="#0000CC">10</font><font color="#006600">, </font><font color="#0000CC">230</font><font color="#006600">, </font><font color="#0000CC">10</font><font color="#006600">, </font><font color="#0000CC">10</font><font color="#006600">);

 </font><font color="#0000CC">$m </font><font color="#006600">= new </font><font color="#0000CC">SWFMovie</font><font color="#006600">();
 </font><font color="#0000CC">$m</font><font color="#006600">-></font><font color="#0000CC">setDimension</font><font color="#006600">(</font><font color="#0000CC">320</font><font color="#006600">, </font><font color="#0000CC">240</font><font color="#006600">);
 </font><font color="#0000CC">$m</font><font color="#006600">-></font><font color="#0000CC">setRate</font><font color="#006600">(</font><font color="#0000CC">12.0</font><font color="#006600">);
 </font><font color="#0000CC">$m</font><font color="#006600">-></font><font color="#0000CC">add</font><font color="#006600">(</font><font color="#0000CC">$s</font><font color="#006600">);
 </font><font color="#0000CC">$m</font><font color="#006600">-></font><font color="#0000CC">nextFrame</font><font color="#006600">();

 </font><font color="#0000CC">[url=http://lv.php.net/header]header[/url]</font><font color="#006600">(</font><font color="#CC0000">'Content-type: application/x-shockwave-flash'</font><font color="#006600">);
 </font><font color="#0000CC">$m</font><font color="#006600">-></font><font color="#0000CC">output</font><font color="#006600">();
</font><font color="#0000CC">?>
</font>
</font>
</code>

Link to comment
Share on other sites

×
×
  • Create New...