Solved

Showing a photo when the gallery starts

Posted on 2006-10-25
10
222 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Microsoft WSUS 4 82
Updating Flash Player with GPO 3 339
Install adobe flash plugin for Firefox win 7 9 67
Actionscript in Flash 3 24
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

705 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

17 Experts available now in Live!

Get 1:1 Help Now