Hey guys!,
well making my new site (www.flashnoob.com) i hit a wall with displaying the movies that people submit. On nearly all flash info, movie, websites there are options of the size window that comes up then once you click that a box would come up and inside would be a movie not streched, deformed or anything. any idea on how to do that?
well if that cant be done... or no 1 can answer it i was wondering about just a pop up with the swf inside with its true scale. i found this code lying around sumwhere around on the net where it can get the size in phpmite be a help ?Code:function getSWFDimensions($filename) { $image_info = getimagesize($filename); $width= $image_info[0]; if("" == $width) { $zd = gzopen ($filename,"r"); $contents = gzread ($zd, filesize($filename)); gzclose ($zd); $image_string = swfdecompress($contents); // Decompress the file $tempHandle = fopen("temp.swf","w"); fwrite($tempHandle,$image_string); fclose($tempHandle); $image_info = getimagesize("temp.swf"); unlink("temp.swf"); } return $image_info; }
i have no idea how to use it or put it to a use!
Thanks in advanced, Blake




Bookmarks