Important! All new questions are usually answered within the next business day.

Thumbnail List Pro V1

(views: 2270)

Thumbnail List is a navigation component that enables you to load a set of images, swf's or symbols from library, fed from an xml file, through which you can scroll with the help of scroll bars, mouse movement or mouse dragging.



Frame navigation and url openning

(2007-11-15 - views: 809)

Q: How can I open another web page or jump to a different frame when I press a thumb?
A: The component uses an xml file to get information about the thumbnails. Each node in the xml file contains attributes that the component uses to build the list, like path to the thumbnails or description. Among those attributes, the component recognizes the "url" attribute, which is the path to another web page, and "target", which states how the new page should be opened. This way, you can create web page navigation without having to write any action script code. On the other hand, frame navigation is not built-in, so you do need to write a little code to implement it. In this case too, you'll need to specify the frame to go to for each thumbnail, by using an attribute in the xml file ("frame" for example). In order, for your clip to move to the specified frame, you should listen for the onPressThumb or onReleaseThumb events of the component and inside the event handler function, you can call one of the gotoAndStop() or gotoAndPlay() functions. You can see exactly how this is done, tn the example file attached.
Files: ThumbnailList_goto.zip 


Login to post your comment login to post your comment



Back

Knowledge Base Search

Enter keywords bellow:
Advanced Search

Menu

Free Trial Versions

The trial versions do have a major limitation. They will ONLY run into debugger flash player versions, such as the Flash IDE player and the activeX FP used by developers.

Switch from Free Trial version to Full version.

You can switch from Trial to Full versions in a blink of an eye.
See this tutorial in order to find out how.

We accept Google Checkout

Google Checkout Acceptance Mark

Secured by VeriSign