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.
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    New Coder
    Join Date
    Jul 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    So what would I have to put in the action script? Here's my scripting to open the new browser window:

    on (release) {
    getURL("javascriptpenNewWindow('http://www.macromedia.com','thewin','height=400,width=400,toolbar=no,scrollbars=yes') ");
    }


    Would I need to link to the larger image in THIS scripting here or somewhere else?

  2. #17
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Yes right on. So the way of easiest programming is to put this on each image button, and then change the URL to link to the bigger version. If you are messing with a lot of dynamic images, this becomes impractical though, not sure what your setup is.

    Code:
    on (release) {
    getURL("javascript:openNewWindow('link-to-the-image','thewin','height=400,width=400,toolbar=no,scrollbars=yes') ");
    }
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  3. #18
    New Coder
    Join Date
    Jul 2009
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts
    haha, I told you I'm an amateur. I 'm not sure how to include a link to an existing image in this scripting. Do I link to the actual image file? Or do I import the image to my library in the flash file? A little help?

  4. #19
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Yeah just put the URL to the image itself, the full URL. This is the simplest way to do it. There is no need to import something unless it is in Flash itself, the new window will be outside of Flash.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


 
Page 2 of 2 FirstFirst 12

Posting Permissions

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