detect flash player version of published SWF
Hi I have a swf file (let say child.swf).
Once It loaded I want to know parent swf was published on flash player 9 or flash player 10. How to find that?
Question:
1)parent.swf loades child.swf
2)after child.swf loaded --> need to check parent.swf is published on flash player 9 or 10.
3)if parent.swf published on flash player 9 then child.swf will run a function
4)if parent.swf published on flash player 10 then child.swf will run some other function.
On the above for the based on the 2nd point question 3 or 4 will happen.
On the above case I have only one parent... In some other case I may have multiple parents. My question to how to detect top most player's published version?
Note:
- Capabilities.version returns current flash player version which is installed on browser (it is not help my question)
- The following link has infomation about As version used on the swf (it is not help my qeuestion)
Detect ActionScript and Flash player version of Published SWF
Thanks,
Siva
