Welcome to TalkGraphics.com
Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,954

    Default Re: LoadMovie from a website

    Sorry Availor I wasn't with you in the first post. In the Blank swf place the following code on frame1:

    Code:
    loadMovieNum("http://www.availor.com/flash/target.swf",1);
    You can then just change target.swf on your server to have it show the new file. (Unless it's been cached on the viewers computer)

    I've just tried it here by loading a swf to the forum with a link back to a swf on my site and it loaded fine. I took it down after as I just wanted to test it. If you PM me i'll give you a url so you can test it yourself.

    Cautionary note: Allowing swf files that you have no control over nor any knowledge of their contents is a security risk for your sites server.
    Although this article is about clickTags it holds equaly true here as you've no idea whether the click is being directed to an http site or elsewhere.

    Here's the relevant text from the link below:
    Note: The ActionScript in this Flash advertisement is verifying that the clickTAG URL begins with "http:". This is an important security measure. If you do not take this precaution, a malicious HTML page could source your SWF and pass a clickTAG URL that begins with "javascript:" or another scripting pseudo-protocol. If your ActionScript code were to call getURL with a maliciously crafted JavaScript URL, it would be possible for the site serving the malicious HTML page to obtain the contents of your HTTP cookies or perform other actions on your site's behalf.
    http://www.adobe.com/resources/richm...signers_guide/
    Last edited by Egg Bramhill; 08 January 2007 at 01:17 AM.
    Egg

    Minis Forum UM780XTX AMD Ryzen7 7840HS with AMD Radeon 780M Graphics + 32 GB Ram + MSI Optix Mag321 Curv monitor
    + 1Tb SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host
    IP

 

 

Bookmarks

Posting Permissions

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