hi, like the title mentioned. I wish to return an flash on my webpage, but i don't want them to get my flash source URL by viewing my source file. Is it possible? Thanks
whenever a flash is viewed it will be cached in the temp i'm not a pro in flash , but when they have ur swf they wont be able to see ur source code ... except if they use flash decoder (available) what you can do is encode your swf file (source code) for more info contact "wassim" in dp , he's the expert in flash .
I bet you could have a php script read in the original source file and spit it right out, and then just change your html that calls the flash swf file to use the php script instead. Like maybe make a new php script called get_flash.php that has: <?php $inSwf = file_get_contents("myFlashFile.swf"); print $inSwf; ?> PHP: And then the html that calls it might look something like: <html> <body> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0" ID=objects WIDTH=200 HEIGHT=200> <PARAM NAME=movie VALUE="get_flash.php"> <EMBED src="get_flash.php" WIDTH=200 HEIGHT=200 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> </OBJECT> </body> </html> HTML: And, of course, change the width/height to whatever your actual movie is. I didn't give this too much testing, but it seemed to work for me with mozilla. Hope this helps!
thanks drunnells i will give a try on the code now. Sorry commandos, i am not asking bout the source of flash but the URL of the flash file Somemore, i tried flash decoder. It can decode the source of flash, but not really the EXACT code of the original code. Thanks for the reply.