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 4 of 4
  1. #1
    Regular Coder ubik's Avatar
    Join Date
    Oct 2005
    Location
    westCoast, usa
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question FLASH window redirector

    Hello Greetings and Salutations.

    I was wondering if anyone could help me out here i have a free webpage and i disabled javascript for a while in my browser put it kept coming up with popups then i realized that the frame had a flash file that was poping up an ad...

    so this gave me an idea, my question is:

    what should i write to the action script in a flash file so as soon as it loads up, it redirects the page to a different URL ?

    i was tryng something like

    Code:
    gotoAndPlay (1);
    ifFrameLoaded (1) {
        window.location = "page.html";
    }
    i am BTW a complete flash newbie i only know how to animate so far.. so any help appreciated, thanks.
    "True knowledge exists in knowing that you know nothing."
    -Socrates

  • #2
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    http://www.macromedia.com/support/fl...ionary377.html

    Code:
    getURL('page.html', '_blank');

    I take no responsibility for the above nonsense.


    Left Justified

  • #3
    Regular Coder ubik's Avatar
    Join Date
    Oct 2005
    Location
    westCoast, usa
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts
    beautiful, thank you very much.. i think this is the beginning of me & flash


    only one thing why is it that in firefox when i run this.. it prompts about an unsafe operation and takes me to adjust my settings before it can run the .swf ?
    "True knowledge exists in knowing that you know nothing."
    -Socrates

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    It could be your version of flash. Try saving your swf as a different version of flash.


  •  

    Posting Permissions

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