A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [F8] How to make a dynamically loaded JPG clickable?

  1. #1
    Member
    Join Date
    Apr 2008
    Posts
    63

    [F8] How to make a dynamically loaded JPG clickable?

    Hi all,

    I've got an XML loaded image gallery with scrolling thumbs that, when a thumbnail is clicked, a larger image is loaded. However, I want to make it so the larger image is clicked, it launches a new window. I can post my AS but I just wanted to throw some feelers out there to see if anyone could help?

    Thanks

  2. #2
    Junior Member
    Join Date
    Jun 2008
    Posts
    18
    the holder of he large image can have two layers.
    the top layer will be an invisible button
    the layer below will have a blank movie clip.
    Load the large image in the blank movie clip.

    holderMc.invBut.onRelease=function(){
    //code toopen in new window
    }

    holderMc.largeImageMc.loadMovie('bigImg.jpg');

    Hope you get the idea.

  3. #3
    Member
    Join Date
    Apr 2008
    Posts
    63
    hey thanks for the quick response! yes, that makes sense, thanks for the suggestion. the only thing is, my thumbnails load their respective full-sized images when clicked. so the particular jpeg that was loaded at the time would load it's own corresponding new window which would be different from that of another jpeg. I'm not sure if I'm making sense. would this be something i could solve by adding to my XML?

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