taith Posted August 14, 2008 Share Posted August 14, 2008 does php have a way of accessing the file data the same/similar way that it does to images? with images you can "list($width, $height)=getimagesize($r);" to get the height/width of the image, but for some reason its not working with flash... is there another flash compatible one? Link to comment https://forums.phpfreaks.com/topic/119675-solved-php-flash-access/ Share on other sites More sharing options...
JonnoTheDev Posted August 14, 2008 Share Posted August 14, 2008 What is it you want to get from the flash file? You could get the size (bytes) of the flash file using filesize(). You cannot use getimagesize() because flash is not an image. Images and text are embedded into flash files unlike a none flash website where the images are stored in a web directory. Link to comment https://forums.phpfreaks.com/topic/119675-solved-php-flash-access/#findComment-616595 Share on other sites More sharing options...
taith Posted August 14, 2008 Author Share Posted August 14, 2008 actually... i jsut retried ithe getimagesize() and it did work :-P aparently it is flash compatible Link to comment https://forums.phpfreaks.com/topic/119675-solved-php-flash-access/#findComment-616599 Share on other sites More sharing options...
JonnoTheDev Posted August 14, 2008 Share Posted August 14, 2008 As long as the canvas size of the flash file is not empty then you can get its dimensions using getimagesize(). Had a feeling you wanted to get the image size of an image within the flash program. Link to comment https://forums.phpfreaks.com/topic/119675-solved-php-flash-access/#findComment-616611 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.