Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2007, 03:51 AM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: Berkeley, California, USA
Posts: 774
Downloads: 0
Uploads: 0
Send a message via AIM to cheathamlane
Thumbs up ComboBox / Dropdown menu plugin available for testing

This is a ComboBox or drop down menu plugin for FPP.

This will allow you to define the panorama names and links from within your FPP XML document. You won't need to hand-code a Flash ComboBox again! The panorama names you define show up as the label for the menu, and the links are used to load new panoramas into your presentation.

This plugin works like other FPP plugins -- you put it on a layer inside the <parameters/> element, then you give it some information in its own "<cl_dropdown_menu/>" element.

You can define:

* Width of the menu
* Height of the menu
* X and Y (left/top) position for menu
---- negative values (ex: -50) are figured from right and/or bottom edges of presentation
---- positive values (ex: 32) are figured from left and/or top edges of presentation
* Font for the menu
---- if font not installed on user's end, then it is whatever Flash defaults to
* Font size for the menu
* Font color for the menu
---- in format "000000" (no "0x" needed)
* Name that appears for each panorama on the menu
---- can include spaces or special characters
* Link to the respective panorama
---- can be local or on the Web
* Type of transition between panoramas
---- can be any of the standard FPP transition types
* Time for transition between panoramas
---- currently time/transition are for ALL panoramas
---- in the same format as for other FPP functions (ex: 1000 = 1 second)
* XML file loading (or not) for the panoramas
---- root: XML file is at at ROOT of tour
---- pano: XML is on same level as panorama file(s)
---- none: No XML
---- YourName: XML file is at some other place. Include path only. Note that xml will always have same filename as pano, unless "none"; also note that this is tour-wide: that is, whatever you define for xmlPath will happen for all of the panoramas. Include trailing slash "/" at end of path.
* Your panoramas

* Using capital letters, spaces or other characters is OK!

See example XML code below. If any parameter is omitted it has a default setting. Defaults are:

* Transition Time: 1000
* Transition Type: stripes
* XML Path: none
* Menu X: 20 (pixels from top left)
* Menu Y: 20 (pixels from top left)
* Menu Width: 150 pixels
* Menu Height: 22 pixels
* Menu Font: Arial
* Menu Font Size: 12
* Menu Font Color: 000000 (black)
* THERE ARE NO DEFAULT LABELS/LINKS. If you don't add your own panoramas, it won't work. :-)

note: setting a parameter to "" or empty is not recommended. simply omit the parameter entirely.

XML example (also available in download):
Code:
<panorama>
<parameters>
layer_80 = files/cl_dropdown_menu.swf
</parameters>

<cl_dropdown_menu>
transitionTime = 500
tranSitIonType = stripes
xMlPath = pano
menux = 50
menuy = 20
menuwidth = 400
menuheight = 22
menufont = Geneva
menuFontsize = 12
menufontcoLor = FF0000
My first Panroama=path/to/My/panoRama
Another neat panorama is=path/to/My/other/panoRama
My last and best 360 VR=super/cool/panos/just/for/me
</cl_dropdown_menu>
(11/27/2007 update: see http://flashpanoramas.com/forum/show...7&postcount=14 for updated parameters list)

Enjoy!

I had a lot of inspiration from zleifr's recent flurry of plugins and extensions -- and zleifr and I have gone back and forth a bit on the exact functionality to add to the ComboBox plugin. There is more that can be done with the ComboBox -- such as enabling it to call any FPP function (not just loadPano) -- but I thought this was good for a start; besides, not everyone wil need such higher-end functionality.

Let the testing begin!

Issues, concerns, questions, suggestions -- please respond here.

Cheers,
__________________
Patrick
http://cheathamlane.net
--
Tutorials: Embed Pano 101, Pano auto-presentation

Last edited by cheathamlane; 12-01-2007 at 12:29 AM. Reason: link update
Reply With Quote
  #2  
Old 11-22-2007, 10:45 AM
neither neither is offline
Member
 
Join Date: Oct 2007
Posts: 31
Downloads: 0
Uploads: 0
Default

great!thank you

have some examples?
Reply With Quote
  #3  
Old 11-22-2007, 02:12 PM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: Berkeley, California, USA
Posts: 774
Downloads: 0
Uploads: 0
Send a message via AIM to cheathamlane
Default Dropdown Menu Plugin examples

Quote:
Originally Posted by neither View Post
great!thank you

have some examples?
Here are two working examples. The first sets all of the parameters for the plugin, the second uses all the defaults.

http://www.cheathamlane.net/permanen...allParams.html

http://www.cheathamlane.net/permanen...anoParams.html
__________________
Patrick
http://cheathamlane.net
--
Tutorials: Embed Pano 101, Pano auto-presentation
Reply With Quote
  #4  
Old 11-22-2007, 03:01 PM
jaaaab jaaaab is offline
Moderator
 
Join Date: Dec 2006
Posts: 292
Downloads: 0
Uploads: 0
Default

Hi Patrick,

Seams to be an interesting plugin you made there.

I got plenty of Flash errors when lording your example, you should fix that.

++
Reply With Quote
  #5  
Old 11-22-2007, 03:05 PM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: Berkeley, California, USA
Posts: 774
Downloads: 0
Uploads: 0
Send a message via AIM to cheathamlane
Default

Quote:
Originally Posted by jaaaab View Post
Hi Patrick,

Seams to be an interesting plugin you made there.

I got plenty of Flash errors when lording your example, you should fix that.

++
Thanks Jaaaab -- it might help to have an idea of what errors you're getting, on what platform, etc. I don't receive any errors at all... Testing on Win/Mac, IE, FF, Safari, and all looks good!
__________________
Patrick
http://cheathamlane.net
--
Tutorials: Embed Pano 101, Pano auto-presentation

Last edited by cheathamlane; 11-23-2007 at 02:48 AM.
Reply With Quote
  #6  
Old 11-22-2007, 03:07 PM
cheathamlane cheathamlane is offline
Senior Member
 
Join Date: Mar 2007
Location: Berkeley, California, USA
Posts: 774
Downloads: 0
Uploads: 0
Send a message via AIM to cheathamlane
Default DropDown Menu Plugin v1.1 update :)

* fixed XML parsing inconsistency
* hopefully fix issues with empty parameters
__________________
Patrick
http://cheathamlane.net
--
Tutorials: Embed Pano 101, Pano auto-presentation

Last edited by cheathamlane; 12-02-2007 at 06:26 PM.
Reply With Quote
  #7  
Old 06-02-2010, 03:08 PM
pent@gon pent@gon is offline
Junior Member
 
Join Date: Jul 2009
Location: kolomyya.org
Posts: 2
Downloads: 0
Uploads: 0
Send a message via ICQ to pent@gon Send a message via Skype™ to pent@gon
Default

Is ComboBox / Dropdown Menu Plug-in avaliable now?
Reply With Quote
  #8  
Old 06-02-2010, 04:51 PM
siesfor siesfor is offline
Senior Member
 
Join Date: Jun 2008
Posts: 206
Downloads: 0
Uploads: 0
Default

The flashpanos plugins haven't been for-sale/supported for some time now.

If you haven't already, you should check out the menu plugins (panomenu, spotmenu)
over at allSaints' site: http://wirestam.com/panos/Flash/plugins/
They're both free, supported, and highly customizable.
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
Forum Jump


All times are GMT. The time now is 09:10 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.