Flash help. Need an expert.

by 10 replies
11
If you know flash well PM me and if you can help me there will be $10 in it for you. Pretty easy job
#programming #expert #flash
  • Anyone?
  • what do you need done?
  • var urlReq:URLRequest = new URLRequest('http://www.yoururl.com');
    navigateToURL(urlReq, '_self');

    couldnt find the pm you sent....cant reply to them either LOL's
  • I sent you a visitors message saying:

  • i think that i have found the issue

    fresh eyes are always good

    what version of actionscript are you using?

    try this:
    Code:
    var request:URLRequest = new URLRequest("your url here");
    var now:Date = new Date();
    var trigger:Date = new Date(2010, 9, 2, 16, 15, 32); //2 October 2010 at 16:15:32
    
    if (now.getTime() >= trigger.getTime())
    {
        navigateToURL(request, '_blank');
    }
    let me know how you go but i think this will work

    thanks
    • [1] reply
    • Hey man. That redirects fine but the date thing doesn't work. I set it to a later date than now and it still redirected. So it's redirecting before it checks the date I think. I think the code I had was ok but I just don't know why it doesnt redirect on the websites its put on
  • oki doki

    attempt number 2 LOL's
    /*-----------------------------------------------------------
    var request:URLRequest = new URLRequest("your url here");
    var myDate=new Date();
    myDate.setFullYear(2010, 9, 2, 16, 15, 32);
    var today = new Date();

    if (myDate>today)
    {
    navigateToURL(request, '_blank');
    }
    else
    {
    alert("error");
    }
    --------------------------------*/
  • sorry recheck the code now

    ooops
    • [1] reply
  • Hi, I suggest to take free help rather offering $10. thanks.

Next Topics on Trending Feed