Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help me with this code.

Status
Not open for further replies.

subhodeepghosh

Programmer
Jun 4, 2007
6
IN
I have got a flash template from a friend. I am modifying it to my needs. Its a kind of web gallery. there are lots of buttons, when clicked it is supposed to open into the gallery.

When I type
on(relocate){
getURL("}

it is opening into a new page which I dont want. Here is the default code given for each buttons. Can some one tell me how do I edit the following code to make each image open in the same gallery? I am also not sure is it adding a link or an element. Please help me.

on (rollOver) {
gotoAndPlay("s1");
}
on (releaseOutside, rollOut) {
gotoAndPlay("s2");
}
on (release) {
_root.pics.gotoAndStop("p1");
_root.pics.gotoAndStop(_root.pics._currentframe+4);
}
 
oh .fla? sorry I can give you that because its more than 20 MB and my connection is very slow to upload it into some server.

Few of the links are working in press review but the problem is not all the links. in most cases the pictures are repeating. I tried bringing in
on(relocate){
getURL("}
this command but then this opens into a new window without flash animation.

The other mentioned code is the default code for each button, How do I modify it...
 
Yes, you have got my point. Just like other thumb nails it should also open within the gallery.

Thanks any ways for spending so much time to understand me,
Ghosh
 
Are you going to be changing all other thumbs like that first one?

The template doesn't do that... It just sends the pics movie clip (include in this movie) to some particular frame, according to which button was pressed...

If you're going to be using links like in the above post, then you'd need to set up another movie clip holder, and dynamically load the linked pictures in that new movie clip...



Regards. FLASH HELP - OPENED FOR BUSINESS!
TO GET YOUR OWN FREE WEBSITE HOSTING
 
Oh looks like a big problem. is there any other way to go about? to be frank I am novice in Flash.
 
Yes, I know that would be easy one and thats what I have been doing but guess what in the template they have used the same image multiple times therefore each time I replace a image it gets showed up in all the columns randomly.

Only then I decided to remove all image and "import my new images" but now I am not able to link it or assign it.

Thanks
Deep
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top