Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2004
    Location
    Los Angeles, CA
    Posts
    92
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [Weird] how to embed SWF into a webpage

    Here's a very weird problem, thought I'd see if anyone has a clue:

    Notice this video is fine:

    http://www.copynprofit.com/videosmai...rketing_01.swf



    ... and then here it's embedded and it no longer works!

    http://secretoffer.org/test/test.php

    Isn't that weird?

    Hope to hear any thoughts on this.

    Regards,

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    This is not weird, it is security. This is a security precaution taken by Flash to prevent people from stealing SWF files and reusing them. This is especially true when trying to hotlink the files, most of the external data will not load.

    You cannot take a swf from one site and put it on another site and still expect it to stream its contents. If this is your swf, then you need to put a crossdomain.xml policy file on your copynprofit website (Google it if you need an example) to make it work.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •