A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Stupid button isn't working

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    10

    Stupid button isn't working

    I've created a button that is linked to a picture I have in the same folder that my movie is saved in...my movie is called site and the picture is before1.jpg.
    My code is like this for the button.

    on (release) {
    getURL("before1.jpg");
    }

    I don't specify a location since it's in the same directory...It just comes up a white page and i've tried to search google for an answer but no luck.

  2. #2
    Senior Member caroach's Avatar
    Join Date
    Nov 2002
    Location
    Chicago, IL
    Posts
    374
    do you want the image to open in another window, or do you want to have it load into your flash movie?
    moo

  3. #3
    Junior Member
    Join Date
    Aug 2007
    Posts
    10
    simple link to open the picture in another window. When I target a link like http://www.google.com it works fine but locally it doesn't
    Last edited by nocomply; 08-23-2007 at 01:04 PM.

  4. #4
    Senior Member caroach's Avatar
    Join Date
    Nov 2002
    Location
    Chicago, IL
    Posts
    374
    there doesn't seem to be any problems with your script...are you sure the image and .swf are in the same location?
    Maybe try publishing your movie into a html and test the html page.
    moo

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center