It is a Great Idea Wilbert, nice your work. Merry Christmas.
Printable View
It is a Great Idea Wilbert, nice your work. Merry Christmas.
What amazing things we will be able to do with this new version! It's exciting to know that a large percentage of our users are heading for any and all information they can get about AS3 in anticipation of what is right around the corner for them. Your time spent doing so will not be wasted. As Wilberts component example clearly demonstrates, you will be able to customize things in ways you never dreamed of before.Quote:
Originally Posted by w.brants
Remus is going to blow you all away with his Necro3D package. Guys like Gerbick, ghol, Bret, Stoke and many others are already scoping the earth for compatible AS3 libraries, classes and packages. Wilbert , our quintessential component engineer, offers up goodies almost weekly and makes it look easy. Last but not least, Lucky Monkey couldn't have found a more dedicated man than Bob Hartzell. He's humble, unbelievably talented and what he is doing right now is nothing short of amazing in the time frame he has done it in.
Amen!
Chris, could you recommend a good AS3 book please? I just strated to catch up with as1 and as3 is already here.
Thanks!
Lets see...some solid ones are:
ActionScript 3.0 Cookbook
By Joey Lott, Darron Schall, Keith Peters
I own the actual book but would recommend the compiled html Ebook version instead. Reason being it's easier to copy paste snippets and the actual hard copy had tons of typos.
Actionscript 3.0 Bible
By Rojer Braunstein, Mims H Wright, Joshua J. Noble
I've always bought the bibles and always will. Nuff said :)
Learning Actionscript 3.0
by Rich Shupe and Zevon Rosser
While not as comprehensive as the previous two, it has some good stuff. Especially chapters on design patterns. Worth a read for sure.
I preferred Flex instead of CS3 for AS3 when Koolmoves didn't support it yet. As such I have quite a few Flex programming books which also cover a lot of AS3 but Flex books have a lot of code examples and snippets that make heavy use of E4X which we don't support yet so the three I mention above are better suited for straight up AS3 which is perfect for Koolmoves 7 with little to no code modifications needed.
WOW!!!
Great! Thank you so much!!!
Hello everybody,
Merry Christmas and a Prosperous and Happy New Year for all. :)
During these years I had to "assemble" a script to update the content of my web site with xHTML/CSS/PHP/MySQL/FCKeditor with a File Manager and a "big help of my friends," in order to select the images inside the images' directories and subdirectories and insert them inside the content of a text area field of the database, with text, using the FCKeditor and then, to update the site.Quote:
Originally Posted by Chris_Seahorn
As you can understand, a powerful WYSIWYG Editor component integrated with a File Manager/Upload component is vital in any web project, no matter if it is small or big, Flash or no Flash.
And as you can guess I spent years to grasp the surface of KM5, so components, easy to combine and integrate into my projects are a blessing to me.
I doubt I can put my hand on ASx, neither I have the time, so I need professional and fast results, for this reason I love KoolMoves and components.
In my humble opinion a TextArea WYSIWYG Editor integrated with a powerful File Manager/Uploader component will be the diamond that will generate a lot of prestige and purchases of KM7 among non programmers designers.
Best regards
joejac
^ Don't worry, you will be able to load and update your files on-line. As you know I have been doing this for years now thanks to components built by Chris and Wilbert.
In my experience, they are very useful to YOU rather than your clients, because you can easily edit their sites for them, rather than letting them do it. - After all you're the expert, and what's more you can charge for updates!
Thanks a lot for your reply Laurie.
Where I can get those components? The links are very welcomed.
Best regards
joejac
The current one will be obsolete soon, so if you can hang on till v7 is released I will upgrade it
http://examples.adobe.com/flex2/inpr.../explorer.html
Be it an online based one or a desktop based one (download) this type of thing is useful for everything from showing off what KM7 can do (if built with KM) to marketing (people get to play with the knobs big time before purchase).
It's gonna exist someday...one way or another :)
It's possible to create a sort of tree list with the current list component.
It took a while to figure out but here's an example.
http://www.waterlijn.info/km/as3/TreeList.html
I like where you guys are going with this.
I plan on saying something once I stop drooling all over my keyboard :)
As usual Wilbert...that is just too cool!
Quote:
Originally Posted by w.brants
Thanks Chris :)Quote:
Originally Posted by Chris_Seahorn
I converted it into a component now.
Here's an example of how it can be used.Internally the items are stored in array form; the XML syntax is only used to set the data.Code:var treeData:XML =
<data>
<account name='Mail account 1'>
<folder label='Inbox'/>
<folder label='Personal Folder'>
<folder label='KoolMoves' />
<folder label='KoolExchange' />
<folder label='AS3 related' />
</folder>
<folder label='Sent Items' />
<folder label='Trash' />
</account>
<account name='Mail account 2'>
<folder label='Inbox'/>
<folder label='Personal Folder'>
<folder label='Saved Mail' />
</folder>
<folder label='Sent Items' />
<folder label='Trash' />
</account>
</data>;
function treeLabel(item:Object):String {
// item._name contains the node name
return item._name == 'account' ? item.name : item.label;
}
var tree:Tree = new Tree();
ScriptedSkin.applyTo(tree);
tree.setSize(320, 280);
tree.move(10,10);
addChild(tree);
tree.setDataXML(treeData, false, 0, treeLabel);
tree.expand('label','Mail account 1');
The setDataXML function accepts both a XML object or an URLRequest object.
As you can see, labelling based on field data is possible but works a bit different as you might expect since it doesn't use XML functionality.
Somewhat similar functionality has been added to the List componentCode:var listData:XML =
<data>
<item label='Mail account 1' value ='account 1' />
<item label='Mail account 2' value ='account 2' />
<item label='Mail account 3' value ='account 3' />
</data>;
var list:List = new List();
ScriptedSkin.applyTo(list);
list.setSize(140, 100);
list.move(10,10);
addChild(list);
list.setDataXML(listData);
I built a few Flex forum systems and used all kinds of different methods of handling display of threads. A few versions used a tree component which was visually really a perfect fit. As such I have quite a few mysql driven, PHP based backends that create inline XML already in place for me to use to play with your Tree my friend :)
You are brilliant. It took about three minutes to setup this Koolmoves component to tap a MySQL/PHPtoXML backend structured for use with a Flex 3 tree. What a wonderful job you've done.
http://krazyaboutpizza.co.uk/index.php?page=245
Three minutes is fast Chris :)
I'm glad you like it. You can change the icons it uses if you wish but you might already have noticed that.
I sure did notice. I can also pretty much visually decide the icon used based on incoming data (just like it's Flex counterpart) making it a very useful component (to me at least) indeed.Quote:
Originally Posted by w.brants
I suppose i'd be pushing my luck to ask when you will be surprising me with an Accordian...or HBox/VBox or HDividedBox/VDividedBox....or TileList....or Grid....or Datagrid...or etc et al :) :) ;)
I only ask because you are single handedly making any future need for Flex almost a moot issue here :)
Spoke too soon on the icons. I would prefer a four slice image to add a different icon for parents without children.
Folder closed (has children)
Folder closed (has no children)
Folder open
Item
http://krazyaboutpizza.co.uk/index.php?page=245
As it stands now, if a parent folder is empty it uses the same icon as Item. Not a big deal but maybe better explained visually (this example posted earlier is updated with your icon code in action using the three slice 13x39 image) so you can see what I mean. Empty parent folders are not items...they are folders. To me, Item icons should only be for items and should only be visible if the item in question is contained in a parent folder (which is open).When users start bringing on their own icons I think the fourth icon would be beneficial. It's not as obvious when viewed using simple plus signs and minus signs but when you start to plug in images (and users can really use any images they like) it really stands out IMO. Any thoughts?
BTW...I would have simply referred to your earlier posted example Wilbert but it has no empty parents.
The only one from the ones you mentioned I'm considering is an Accordion component.Quote:
Originally Posted by Chris_Seahorn
Partially fixed. It's not possible for the component to know an item should be considered an empty folder. You will have to indicate this manually in the XML data you pass by adding an attribute to the empty folder _empty="true" so the component knows it's an empty folder instead of an item.Quote:
Originally Posted by Chris_Seahorn
That would be perfect. It's no problem to send it in as an identifier from the backend. So will it support a fourth icon now?
As for the other components...I was half kidding but feel free to drop my jaw again with an Accordian appearance. I'll get my drool cup ready :)
Yes, it will support a fourth icon now (see your mailbox).
Just got it Wilbert. I appreciate you listening and adding the icon. I'll go play with it and post a second movie in the blog showing the difference.
Updated example running. Big difference. Haven't had time to find better icon examples but It really does make a difference having the fourth. I check the sql count per category and it was no problem sending in (or the class reading) the identifier. I left the old 3 slice as the lower movie to show the difference. I'll edit the post tonight. Thanks again Wilbert :)
Awesome job mate! I've always liked the reflection effect!
btw Chris you have exceeded your "stored private messages quota and can not accept further messages until they clear some space." Just tried to msg you.
Added adjustable example using video
@thesween
Cleared. Sorry :(
I experimented a bit but it seems to be fairly complicated.Quote:
Originally Posted by Chris_Seahorn
Here are some rough examples.
http://www.waterlijn.info/km/as3/Accordion.html
http://www.waterlijn.info/km/as3/Accordion2.html
Can't really comment until I see what is inside of these. I'm assuming all the major properties and methods of say a Flex one will be supported (like disable individual headers, target headers to open/close via script, etc etc). Will ours also support Horizontal layouts?
Horizontal Accordians are the default in Flex (can't speak for CS3/4) and Vertical ones are almost always a 3rd party custom class (non Adobe) so in reality you've started at the top and these look great from what I see. If we support both Horizontal and Vertical out of the box (all Koolmoves) they could take a lesson or two from you :)
How wonderful this all is. This version is really a milestone. Koolmoves used to be the best kept secret in Flash authoring. I think this release just might let the cat out of the bag :)
It's been a long, long time since I was excited to get home and play with software. I speed and run stop signs daily thanks to this puppy :)
Quote:
Originally Posted by Chris_Seahorn
I would be careful if I were you:
http://www.michianaworldwide.com/KM/.../stopsign.html
Look who's talking. You're just as addicted :)
Pedal to the metal Phil. No time to look back :yikes:
Thanks Wilbert, I found this to be the case, I didn't get far after our conversation about building an accordion menu myself.Quote:
Originally Posted by w.brants
http://krazyaboutpizza.co.uk/index.php?page=247
Accordian targeting headers to open/close via script. I'm just messing around with functions to send into and out of the Accordian in conjunction with this type of thing so if you say choose a listitem in one panel it can open the content in another panel which is text based (for example uses). Or choose something in panel A....POST to server....get response and populate panel B scenarios.
Notice how we can combine GUI created text effects with "scripted in" panel content. The wonders of reparenting.
Ok apparently I need docs to figure out how to use this accordion
Also when is Necro gonna have some docs on his 3d class?
^ Press the colored buttons as they appear on your screen!!!!!!:)
Hahahaha....that pic is perfect!
@Bret
I'm pretty sure Wilbert commented the class to show it being instantiated. Check the Accordian class file :)