Results 1 to 6 of 6

Thread: Flash MX 2004 Links

  1. #1
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801

    Flash MX 2004 Links

    Flash MX 2004 doesn't like this code:

    But I can't figure out why. It tells me there is a syntax error.

  2. #2
    Resident smart a$$
    Join Date
    Sep 2003
    Location
    UK
    Posts
    152
    Try this:

    Code:
    getURL("http://www.games2go.co.uk", "_blank");
    You'll need to define the values with quotes.

    b.t.w you wont need to use the POST value usless your passing variables to the target URL
    Last edited by Best.Flash; 06-06-2004 at 04:19 AM.

  3. #3
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    I put that on because I originally thought the lack of it was the problem.

  4. #4
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    Flash is giving me this error with your code:

    **Error** Scene=Scene 1, layer=Layer 4, frame=1:Line 1: Statement must appear within on handler
    getURL("http://www.games2go.co.uk", "_blank");

    Total ActionScript Errors: 1 Reported Errors: 1

  5. #5
    Resident smart a$$
    Join Date
    Sep 2003
    Location
    UK
    Posts
    152
    Oh yer, if your attaching it to a button (check the top of the actions panel) you'll need to define an event handler ie.

    on (release) {
    getURL("http://www.games2go.co.uk", "_blank");
    }
    Last edited by Best.Flash; 02-26-2004 at 11:35 PM.

  6. #6
    Registered Member incka's Avatar
    Join Date
    Aug 2003
    Location
    Wakefield, UK, EU
    Posts
    3,801
    Thanks

Similar Threads

  1. Replies: 11
    Last Post: 09-24-2016, 11:36 PM
  2. Flash MX 2004 Action Script confusion!!
    By DTOXX in forum Graphics & Multimedia
    Replies: 23
    Last Post: 11-10-2004, 09:30 PM
  3. How do add links to an affiliate laden site?
    By Echievements in forum Advertising & Affiliate Programs
    Replies: 2
    Last Post: 12-19-2003, 05:19 PM
  4. How many links are too much?
    By emke in forum Search Engine Optimization
    Replies: 15
    Last Post: 11-26-2003, 07:34 PM
  5. Splitting PR on internal links to homepage?
    By Westech in forum Search Engine Optimization
    Replies: 6
    Last Post: 11-12-2003, 05:55 AM

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
  •