SWiSHzone.com Support Forums: NEW Component: Menu_wordpress - SWiSHzone.com Support Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

NEW Component: Menu_wordpress floating words in a sphere

#1 User is offline   HughB 

  • COO
  • PipPipPip
  • View gallery
  • Group: Admin
  • Posts: 3,760
  • Joined: 01-April 03

Post icon  Posted 30 May 2008 - 03:39 PM

Hi,

Check out this new component we're working on. Useful for menu or a tag cloud.

We have discussed this component in blog entry - Case Study: ‘word sphere’ menu.

Aside - Don't forget to subscribe to the blog RSS feed to get the latest news from SWiSHzone.com. Click Here To Subscribe via RSS.

I've attached the component (SWI and SWF) here for download and review. We'll blog a description of the component soon and we're already using it as a tag cloud on our blog. We'll blog about how that's done too...very soon.

To install the component copy the contents of the zip file to \components\menu\. Use F5 to refresh your Component Panel and drag/drop it onto the stage. To look inside select the object in the Outline Panel use the SWiSH Max2 menu Modify | Object Attributes and de-select "Read only script", "Conceal script" and "Conceal child object" attributes.

Please give us feedback and we'd be pleased if you can find a use for it and expand on it for everyone to benefit.

thanks,

Hugh

SPECIAL NOTE:
This component uses SWiSH Max2 build 20080505 (or later if available) - download the latest pre-release build CLICK HERE.

Attached File(s)


http://blog.swishzone.com/ ...for cool tutorials, samples and new components
0

#2 User is offline   Jon Herron 

  • Advanced Member
  • PipPipPip
  • View gallery
  • Group: staff Moderator
  • Posts: 930
  • Joined: --

Posted 02 June 2008 - 10:06 AM

Hi,

There was one aspect of the sphere that was bugging me, the initial point spacing algorithm. Not only was it slow (causing slow loading) it was Order N squared, meaning that if the number of points double, the time to load increases by 4. This makes it pretty much dis functional if the number of tags was to reach say 100. (ie 100 times slower than loading 10 tags).

I have made changes to the initial position allocation routine that fixes these issues. Loading time is much improved and is acceptable even with 100 tags. Another advantage of the new routine is that the tags are sorted according to their order in the tag list. The first tag is placed at the north pole and other tags are then place successively south.

Jon

Attached File(s)


For News, tips and tutorials checkout the blog at http://blog.swishzone.com
0

#3 User is offline   infidelesto 

  • New Member
  • Pip
  • Group: New Members
  • Posts: 1
  • Joined: 12-June 08

Posted 12 June 2008 - 04:23 PM

View PostJon Herron, on Jun 2 2008, 11:06 AM, said:

Hi,

There was one aspect of the sphere that was bugging me, the initial point spacing algorithm. Not only was it slow (causing slow loading) it was Order N squared, meaning that if the number of points double, the time to load increases by 4. This makes it pretty much dis functional if the number of tags was to reach say 100. (ie 100 times slower than loading 10 tags).

I have made changes to the initial position allocation routine that fixes these issues. Loading time is much improved and is acceptable even with 100 tags. Another advantage of the new routine is that the tags are sorted according to their order in the tag list. The first tag is placed at the north pole and other tags are then place successively south.

Jon


Any idea how to make these improvements for the Wordpress plugin?
0

#4 User is offline   Jon Herron 

  • Advanced Member
  • PipPipPip
  • View gallery
  • Group: staff Moderator
  • Posts: 930
  • Joined: --

Posted 12 June 2008 - 04:31 PM

The improvements I was referring to have been implemented in the zip file that was attached to my post.
The improvements only apply to the swishmax component, not the wordpress php files.

Jon
For News, tips and tutorials checkout the blog at http://blog.swishzone.com
0

#5 User is offline   Psionic3D 

  • Member
  • PipPip
  • Group: New Members
  • Posts: 11
  • Joined: 19-September 07

Posted 16 June 2008 - 09:44 PM

I was thinking of using this as a menu system in a game, is there anyway to on click goto a scene or label as opposed to a URL??

Awesome work BTW!!

EDIT: Just found conceal child objects in Object Attributes, now I can work on the button script itself, THANKS again for a cool component!!
0

#6 User is offline   Jon Herron 

  • Advanced Member
  • PipPipPip
  • View gallery
  • Group: staff Moderator
  • Posts: 930
  • Joined: --

Posted 18 June 2008 - 03:48 PM

Hi,

The latest version of the wordsphere (v1.8) which is shipped with the 20080617 pre release build of Max2 has the ability for you to define an Events function within the Advanced Group.

format is
function Events(name,value)

The value parameter is the tagname associated with the sphere.

You could code your game simply be adding the appropriate Events function.

Jon
For News, tips and tutorials checkout the blog at http://blog.swishzone.com
0

#7 User is offline   Psionic3D 

  • Member
  • PipPip
  • Group: New Members
  • Posts: 11
  • Joined: 19-September 07

Posted 18 June 2008 - 08:39 PM

Wow, had no idea there was a new version out and with lots of new components, Cool!! Downloading now!! and thanks for the info, much appreciated!!

I simply added numbers in the reference slots, 1,2 3, etc and used an if Aux == 1 then goto scene, goto n play etc, works fine and its a very cool system, Thanks for a great component!!
0

#8 User is offline   angelaq 

  • Advanced Member
  • PipPipPip
  • Group: New Members
  • Posts: 76
  • Joined: 11-May 08

Posted 20 June 2008 - 01:45 AM

It's not showing in my sidebar. The preloader runs, and then I get a part of a "php file failed to load" error statement.

I love wordpress and I use it for lots of things. But it seems to be getting unfriendlier all the time.

Boohoo, I can't open the component without the prerelease. Any idea when that's going to become a regular release?
0

#9 User is offline   Jon Herron 

  • Advanced Member
  • PipPipPip
  • View gallery
  • Group: staff Moderator
  • Posts: 930
  • Joined: --

Posted 20 June 2008 - 08:29 AM

Hi,

The prerelease will become the main release after it has been tested for a reasonable amount of time and not shown any major bugs.

You are welcome to download and use the prerelease but note that .swi files saved by it will not open with release version of Max2. Links are published in the Max2 - Bugs forum.

Regarding the wordpress plugin, check that the Tag Filename has the correct format and can be read from a browser window. Note that because of cross domain scripting policies, the page containing the wordcloud should be loaded onto the same server that publishes the tags.

Jon
For News, tips and tutorials checkout the blog at http://blog.swishzone.com
0

#10 User is offline   foofoo 

  • New Member
  • Pip
  • Group: New Members
  • Posts: 7
  • Joined: 20-February 08

Posted 02 December 2008 - 11:10 PM

Hello,

Want to use the wordsphere inside a Director app. So I want to use Lingo scripts.
Usually when I use flash and want Lingo scripts, I use
getURL("lingo:go to frame 10"); for example..

When I uise this inside the sphere from Swift It doesn't work..

Hope to hear soon,

M
0

#11 User is offline   stevegalante 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 61
  • Joined: 27-August 07
  • Gender:Male
  • Location:Rome / Montreal

Posted 21 June 2009 - 12:08 PM

View PostPsionic3D, on Jun 18 2008, 06:39 AM, said:

Wow, had no idea there was a new version out and with lots of new components, Cool!! Downloading now!! and thanks for the info, much appreciated!!

I simply added numbers in the reference slots, 1,2 3, etc and used an if Aux == 1 then goto scene, goto n play etc, works fine and its a very cool system, Thanks for a great component!!


Hi, can you please show a bit of this code ? And where exactly have you put it ? Thanks !!!
0

#12 User is offline   Jon Herron 

  • Advanced Member
  • PipPipPip
  • View gallery
  • Group: staff Moderator
  • Posts: 930
  • Joined: --

Posted 21 June 2009 - 09:30 PM

Hi,

If the parameters panel is not visible, you can open it using the menu command Window / Parameters

The displayed words can be shown / altered in the Static Tags section of the parameters panel.

If you want to use an Event fuction, define its name in the Advanced section.

Please see the pinned topic on Event Functions for more information on how to use the function.

The 2nd parameter will correspond to the Reference field of the static tags.

Regards,

Jon
For News, tips and tutorials checkout the blog at http://blog.swishzone.com
0

#13 User is offline   stevegalante 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 61
  • Joined: 27-August 07
  • Gender:Male
  • Location:Rome / Montreal

Posted 22 June 2009 - 01:20 AM

Thank you John very helpful !
0

#14 User is offline   milind 

  • New Member
  • Pip
  • Group: New Members
  • Posts: 2
  • Joined: 06-July 09

Posted 07 July 2009 - 12:14 AM

hi,

i like component but i would like to impliment in my static website using external file which is very simple to edit my tag cloud is it possible to impliment ?

please help me out.

Thanks
Milind
0

#15 User is offline   OutCast**NL 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 373
  • Joined: 05-November 03
  • Gender:Male
  • Location:NL

Posted 07 July 2009 - 02:55 AM

With the latest version you can,....
just enter the path to the file in the parameter panel.

For more info, read here and/ or here

;)
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users