Xlent, good to see the lads enjoying being with Dad.
Printable View
Xlent, good to see the lads enjoying being with Dad.
Porting some Flex stuff to Koolmoves for submission once the Exchange brings on KM7 code.
In this case my EYM Tickerish component at Adobe Exchange (Flex).
http://krazyaboutpizza.co.uk/index.php?page=244
That's great Chris ! :)
I added some functionality to the mediaplayer class so it will be possible to add items to the playlist that point to another playlist. They will be skipped when auto played or when previous or next buttons are clicked but can be clicked themselves if a playlist is visible. That way it will be possible to create a sort of folder structure with a little effort.
http://www.geboortegrond.nl/NestedPlaylists/index.html
This included in the recent beta Wilbert (sent today) ? I'd like to see the source if possible :)
I'm mainly curious to see how the backend (what it is....etc) handles the directories in your example. Are they hard coded (entirely entered in properties panel)? Dynamic (snake?)? etc.
Chris, the backend is a php file that scans a directory and outputs the xml file for the media player.
You'll see it when you get the source I mailed you.
Very cool Wilbert. Thanks :)
Extreemly useful with lots of applications
Imagine a band for example with gig images, video and sound samples, great work guys.
Anyone try extending the RichText to add say a button that exports to textfield. This could be extended to saving the htmlText to a file via PHP call as well. I'd like to see just how to extend it.
You could extend it to add just about anything I suppose (some of the stuff Wilbert is doing is off the hook). If a RichTextEditor is onstage, you can easily access the text or htmlText already so POSTing the data to a server side would be a small issue from the main stage. That is not to say you shouldn't (or couldn't) add a button to the RTE, it's just not the norm when you think about how it is used.
Consider you are building a CMS if you extend the RTE to have a save function that calls a PHP script and passes a filename and the contents of the RTE then you could reuse it on all sites you build without having to hand code the save function each time.
I've gotten it extended just now trying to figure out how to add my button and actions.
PHP Code://Extends Koolmoves component by Wilbert Brants.
package km.components {
import km.components.RichTextEditor;
public class RichText2 extends RichTextEditor {
super();
private var btnSave:BaseButton;
addChild(btnSave);
btnSave.onClick = save;
private function save():void {
//Save it somewhere
}
}//end Class
}//End Pkg
If I were to do it that way I would make sure I pass the url (to the PHP backend to target) as a parameter:
var foo:RichTextEditor=new RichTextEditor (e:String);
as opposed to coding the target url inside the class itself (just my two cents).
Now the bigger question....you building a CMS dude? :)
oh yeah....and use some vanity now that you are coding with AS3 like every other person on earth making classes.
In other words I see this kind of thing in your (and my) and everyone else's future:
package com.bretlanius.cms {
import km.components.*;
etc
etc
etc
Nothing wrong with pulling your own chain from time to time :)
Yeah Baby!
Already have a com.bretlanius.games.dice package setup... Who knows
As for CMS I've built too many already...
I do currently need to fix up a couple of poor ones and the RTE is the ticket. Of course it's gonna mean redoing the site as well.
if you take the above class and put it in com.bretlanius.ui folder under bin.AS3.classes in KM then plug the following code in
you will be seeing the extended RTE already, it just isn't extended with anything yet. I'm having to decode what Wilbert has done in the component so that I can add to it.PHP Code:import km.components.*;
import com.bretlanius.ui.*;
var rt:RichText2 = new RichText2();
rt.duotone = [0x402000,0xfff8f0];
rt.setSize(500,300);
rt.move(20,20);
rt.defaultTextFormat = new TextFormat('_sans',14);
rt.text = 'Enter your text';
addChild(rt);
I've been testing loads of components as well... Found a really cool accordion menu that I'm trying to get working.. (found a little problem with current Beta I think)
I created my first form with AS3 and PHP script in the new KoolMoves 7.0.1.
It doesn't display in Opera.
It is repaired, can you see and download HERE. Thanks for your help.
Closed thread. It's better if questions are in a new thread, Easier to search later on.