SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member dennyb's Avatar
    Join Date
    May 2002
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I force a page load from a swf ?

    Google & Aol are hitting these two files copyspin.swf (277 direct hits) & 3spinnavbar.swf (99 direct hits). These are flash bottons and all you get is the bottons. www.ccssinc.com/copyspin.swf How can I force a page load so I can send them to the home page so as not to loose these visitors?

    Denny

  2. #2
    public static void brain Gybbyl's Avatar
    Join Date
    Jun 2002
    Location
    Montana, USA
    Posts
    647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could try doing some sneaky work in ActionScript where you made the swf files.

    Try adding an action to the very beginning of your file.

    Something like this

    PHP Code:
    onLoad{getUrl="yourpage.foo"
    I can't remember the exact code, but it would be something along the lines of that. Just make it go to a url when it loads. If it is already in the page, its either not going to load or just go to the same page it's already at!
    Ryan

  3. #3
    SitePoint Member dennyb's Avatar
    Join Date
    May 2002
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I have SWISH that I edit swf files in and I tried putting in an action to goto url...I got a major loop as I expected from that. I did not make the swf file as I am not a graphic guy, but I do make simple changes. Any other ideas floating around out there as to how I can accomplish this seemingly simple task?

    Denny

  4. #4
    public static void brain Gybbyl's Avatar
    Join Date
    Jun 2002
    Location
    Montana, USA
    Posts
    647
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol, sorry...

    I don't know how to use SWISH,
    but i just realized why that loop would happen.

    Whoops.

    Ryan


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
  •