X-Frame-Options is an HTTP response header. It is set on the server. You can't set it from your Flex code.
From: "Ranadeep ghosh rnd...@yahoo.in [flexcoders]" <flexcoders@yahoogroups.com> To: "flexcoders@yahoogroups.com" <flexcoders@yahoogroups.com> Sent: Wednesday, December 9, 2015 4:21 AM Subject: [flexcoders] Xframe option in flex <!--#yiv0737338895 #yiv0737338895 .yiv0737338895ygrp-photo-title{clear:both;font-size:smaller;height:15px;overflow:hidden;text-align:center;width:75px;}#yiv0737338895 div.yiv0737338895ygrp-photo{background-position:center;background-repeat:no-repeat;background-color:white;border:1px solid black;height:62px;width:62px;}#yiv0737338895 div.yiv0737338895photo-title a, #yiv0737338895 div.yiv0737338895photo-title a:active, #yiv0737338895 div.yiv0737338895photo-title a:hover, #yiv0737338895 div.yiv0737338895photo-title a:visited {text-decoration:none;}#yiv0737338895 div.yiv0737338895attach-table div.yiv0737338895attach-row {clear:both;}#yiv0737338895 div.yiv0737338895attach-table div.yiv0737338895attach-row div {float:left;}#yiv0737338895 p {clear:both;padding:15px 0 3px 0;overflow:hidden;}#yiv0737338895 div.yiv0737338895ygrp-file {width:30px;}#yiv0737338895 div.yiv0737338895attach-table div.yiv0737338895attach-row div div a {text-decoration:none;}#yiv0737338895 div.yiv0737338895attach-table div.yiv0737338895attach-row div div span {font-weight:normal;}#yiv0737338895 div.yiv0737338895ygrp-file-title {font-weight:bold;}#yiv0737338895 --> I am working on a project where I have to add the xframe options ( DENY,ALLOW,SAMEORIGIN ) to prevent click jacking in flex code. I have googled about it, but didn't get much about the syntax part. If someone is aware of it, please help me with the syntax.