Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-27-2008, 09:30 PM   PM User | #1
axeldrummer
New Coder

 
Join Date: Jun 2004
Location: Los Angeles, CA
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
axeldrummer is an unknown quantity at this point
[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,
axeldrummer is offline   Reply With Quote
Old 11-27-2008, 10:25 PM   PM User | #2
gnomeontherun
Senior Coder

 
gnomeontherun's Avatar
 
Join Date: Sep 2007
Location: Houston
Posts: 2,846
Thanks: 10
Thanked 238 Times in 229 Posts
gnomeontherun will become famous soon enoughgnomeontherun will become famous soon enough
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.
gnomeontherun is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:20 AM.


Advertisement
Log in to turn off these ads.