Solved

Showing a photo when the gallery starts

Posted on 2006-10-25
10
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to record live broadcast.

615 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