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 1 of 1

Thread: As3 question

  1. #1
    New to the CF scene
    Join Date
    Oct 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    As3 question

    I am ok with AS2 but very fuzzy with AS3.
    I have a code for an intro that sends to a URL on clicking "Skip" I need the action to send to the last frame of the scene and stop.
    Anyone's help would be much appreciated.
    Code is below.
    regards to all.
    Stan

    =================================
    text_txt.htmlText = MovieClip(root).contentXML.SkipText;
    text_txt.autoSize = "right";
    text_txt.selectable = false;

    function GoToLink(e:MouseEvent) {
    var request:URLRequest = new URLRequest(MovieClip(root).contentXML.Link);

    navigateToURL(request,"_parent");


    }
    this.useHandCursor = true;
    this.buttonMode = true;
    this.mouseChildren = false;
    addEventListener(MouseEvent.CLICK,GoToLink);
    Last edited by Stanley Park; 10-20-2010 at 02:44 AM. Reason: extended explanation


 

Posting Permissions

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