Solved

Showing a photo when the gallery starts

Posted on 2006-10-25
10
224 Views
Last Modified: 2010-04-03
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
Comment
Question by:johanwilches
  • 5
  • 5
10 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 500 total points
ID: 17803753
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
 

Author Comment

by:johanwilches
ID: 17804233
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
 
LVL 39

Expert Comment

by:blue-genie
ID: 17810019
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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:johanwilches
ID: 17810860
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
 

Author Comment

by:johanwilches
ID: 17899359
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
 
LVL 39

Expert Comment

by:blue-genie
ID: 17899588
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
 

Author Comment

by:johanwilches
ID: 17899670
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
 
LVL 39

Expert Comment

by:blue-genie
ID: 17899706
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
 
LVL 39

Expert Comment

by:blue-genie
ID: 17904584
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
 

Author Comment

by:johanwilches
ID: 17912370
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

774 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question