Welcome Guest, Not a member yet? Register   Sign In
How get swf dimensions
#1

[eluser]Sein Kraft[/eluser]
Its possible get swf dimensions with CI?
#2

[eluser]pistolPete[/eluser]
I don't think there is anything CI specific, but you can try getimagesize().
#3

[eluser]Sein Kraft[/eluser]
Yep, works with getimagesize(), but some flashes aren't recognized with php. Tongue
#4

[eluser]helmutbjorg[/eluser]
Depending on what you are needing the dimensions for you could grab them using javascript once the swf has loaded... just an idea.
#5

[eluser]Sein Kraft[/eluser]
Yes, its possible, but that solution doesn't work if you need insert the dimensions in database.
#6

[eluser]pistolPete[/eluser]
Some suggestions:

- Have a look at http://www.fecj.org/extra/SWF-info-and-F...ction.html.
- Use an extra SWF which loads the other SWF and use Actionscript to find out its dimensions.
- Use external software like swfdump or Swf analyzer

If that doesn't work for you, you have to analyze the SWF files which aren't recognized by getimagesize(), do some research on the SWF file format and write your own software. The following links are probably a bit outdated:
- http://www.4guysfromrolla.com/webtech/ti...01-1.shtml
- http://www.half-serious.com/swf/format/




Theme © iAndrew 2016 - Forum software by © MyBB