Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 229
  • Last Modified:

Showing a photo when the gallery starts

Hello,

Please visit the link below:

http://absolute-studios.com/gallery/gallery.swf

I got this gallery from ohmyflash.com and when the gallery starts, you have to click on a thumbnail to have a picture come up...How could I have the gallery show a photo when it loads without having to click on a thumbnail at first.  I could upload the fla so you could look at it.

Thanks.
0
johanwilches
Asked:
johanwilches
  • 5
  • 5
1 Solution
 
blue-genieCommented:
that would help considering we can't see the code.
here's what i'd suggest, if you look at the code for the thumbnails, there's probably a method that gets called.
simply then do an mc.onLoad =  function() {
callmethod();
}
 type effect ....

assuming it's based in a movieclip.
0
 
johanwilchesAuthor Commented:
Thank you for responding blue-genie, on frame one the actionscript tells the movie what to do but no sure where I can edit it...ive placed the fla on the link below so you could have a better idea.

http://absolute-studios.com/gallery/gallery.zip

thanks again,

Johan,
0
 
blue-genieCommented:
ok i mocked it up to load the images to see what's happening, you want image1 to load immediately instead of having to click on the little grey square buttons at the bottom?
got some bugs to fix then i'll have a look at ur file, if no one gets to it before then

:-)
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
johanwilchesAuthor Commented:
yea i need it to have image1 to load immediately instead of having to click on the little grey square buttons at the bottom when the gallery appears/loads

Johan,

0
 
johanwilchesAuthor Commented:
I foound out you can't really change the actionsript to do that....or to make it work that way...we would have to basically recreate everything with new actionscript....blue-genie you've been able to edit it successfully?
0
 
blue-genieCommented:
omg totally forgot about you. Sorry - busy on a ghastly java project. will put a reminder to have a look tonight and i'll let u know if i have any joy tomorrow.
sorry :-(
0
 
johanwilchesAuthor Commented:
its cool blue-genie...I appreciate you've taken the time to look at the question in the first place.

I did some researching and the way the gallery was made..it was only to make it work absolutely only with that code..some editing could be done but to have the first pic come up...some new actionscript will have to be written or pretty much recreating the whole thing from scratch......


but if you were able to find something it be good but if not...I would still like to reward some kind of points for taking a look at the file.

thanks

johan,
0
 
blue-genieCommented:
i did glance at the code, and i've just checked it's still on my desktop, i remember thinking its' not a quick fix, hence i parked it and forgot about it, but i promise to have a nosey round properly tonight.

later.
0
 
blue-genieCommented:
Hey Johan,

i'm stumped, had a poke at the code last night, i'm usually convinced it's possible to hack it, but no luck.

i'm on manic deadline til the 15th, but if you have time to nosey around urself,
i was thinking if you look at the btn_onRelease code - if you can somehow get that called onload ..
you want to load just the first picture first - rather than having to click something first right....

i don't know how much of a hurry you're in, but maybe after the 15th remind me and will poke some more

sorry, don't have better news :-(
blu
0
 
johanwilchesAuthor Commented:
I'll look into it with the advice you've giving on the btn_onRelease code....it could work....I'm not in a hurry...take your time and I'll post a comment here to see how it goes.  thanks again,

johan,
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 5
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now