One day, I got trouble to make an Action Script embeded on PHP and Ming. I had success to make random movement, but not for blur filter.
1 2 3 4 5 6 7 8 | $strAction=" var xPercent = 5; var yPercent = 5; var ffb=flash.filters.BlurFilter; var filter = new ffb(xPercent, yPercent, 2); var filterArray =[]; filterArray.push(filter); this.text1.filters = filterArray;"; |
no error, but why it’s not working???
Akh.. what’s wrong? why it happen..
Wohoho….Something wrong with versioning..
Check this out!
Blur filter has been added on Flash 8 and Ming has only support SWF version 4-6
So what I must do?
I found some amazing trick from Ming tutorial site http://www.gazbming.com/
With this trick you can hack SWF version from 6 to 8.
You must save SWF 6 first then open it using fopen() and change it to 8 . Lookout on script below.
1 2 3 4 | // open movie and set version to 8 // (hack until it can be set in ming) $ftmp=fopen($outswf,"r"); $stmp=fread($ftmp,filesize($outswf)); $ftmp=fopen($outswf,"w"); fwrite($ftmp,substr_replace($stmp,chr(8),3,1)); |
For complete example you can see on http://www.gazbming.com/.
Now you can add any effect on Flash 8 with this trick.

