Solved

Showing a photo when the gallery starts

Posted on 2006-10-25
10
223 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
 

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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

895 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now