Flash help. Need an expert.

10 replies
If you know flash well PM me and if you can help me there will be $10 in it for you. Pretty easy job
#expert #flash
  • Profile picture of the author Social Experts
    Anyone?
    Signature

    Chill.

    {{ DiscussionBoard.errors[2718326].message }}
  • Profile picture of the author mrchristo
    what do you need done?
    {{ DiscussionBoard.errors[2718353].message }}
  • Profile picture of the author mrchristo
    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
    {{ DiscussionBoard.errors[2719021].message }}
  • Profile picture of the author Social Experts
    I sent you a visitors message saying:

    It is a flash banner. I used this code:

    var nowate = new Date();
    var triggerate = new Date(2010, 9, 2, 16, 15, 32); //2 October 2010 at 16:15:32

    if (now.getTime() >= trigger.getTime())
    {
    navigateToURL(new URLRequest("your url here"), "_blank");
    }


    The reason for the dates is because I wanted the redirect to start at a certain date and time. It all works perfect. But when I upload it to the banner network that displays it on websites, the redirect doesn't work. Any ideas?
    Signature

    Chill.

    {{ DiscussionBoard.errors[2719161].message }}
  • Profile picture of the author mrchristo
    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
    {{ DiscussionBoard.errors[2719547].message }}
    • Profile picture of the author Social Experts
      Originally Posted by mrchristo View Post

      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
      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
      Signature

      Chill.

      {{ DiscussionBoard.errors[2719720].message }}
  • Profile picture of the author mrchristo
    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");
    }
    --------------------------------*/
    {{ DiscussionBoard.errors[2719800].message }}
  • Profile picture of the author mrchristo
    sorry recheck the code now

    ooops
    {{ DiscussionBoard.errors[2719817].message }}
    • Profile picture of the author Social Experts
      Originally Posted by mrchristo View Post

      sorry recheck the code now

      ooops
      Np man. Thanks for your help
      Signature

      Chill.

      {{ DiscussionBoard.errors[2719942].message }}
  • Profile picture of the author joomlawala
    Hi, I suggest to take free help rather offering $10. thanks.
    Signature

    Masud
    Email me at: masud@softsubstation.com
    [to start PSD-to-XHTML/CSS $70; PSD-to-Joomla/WP $150 only]

    {{ DiscussionBoard.errors[2720595].message }}

Trending Topics