#1 (permalink)  
Old 06-26-2008, 06:13 PM
Junior Member
 
Join Date: Jun 2008
Posts: 8
Default Customize the component

Hello, i have purchased the component a couple of weeks ago and i have been working customizing the component.

You can see what i have been doing: ponsirenaspuig -> Go to habitatges button.

Now i don't know how to do something so here is the question:

You clic the firs tab and you see all the images. Next clic on anything image to enlarge it. And you now can navigate in the viewer. At this point, if you clic on the second tab, the images of the second tab loads behind the viewer, and it doesn't close. I would like that in this case, the viewer closes by default.

Someone knows how can i do it?

Thank you.
Reply With Quote
  #2 (permalink)  
Old 07-01-2008, 08:44 AM
Super Moderator
 
Join Date: May 2008
Posts: 519
Send a message via Skype™ to Adrian
Default

Try this:

- Open Viewer.as file, line 324, make that method public:

Code:
public function closeViewer() {...
- In the second frame of the main fla file:
Code:
Tab.onClick = function(n:XMLNode) {
	...
        Viewer_mc.closeViewer();//add this line
};
Reply With Quote
  #3 (permalink)  
Old 07-01-2008, 04:22 PM
Junior Member
 
Join Date: Jun 2008
Posts: 8
Default

Thanks Adrian, but i think that it doesn't work. The gallery dissapers!

You can see it:

ponsirenaspuig

Thank you very much for your help

Marc
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.