To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-19-2006, 11:35 AM   #1
jamnden
Cyber-Slacker
 
Join Date: Jan 2001
Location: Cape Cod
Posts: 73
HTML Editor..

...Nice job Chris Seahorn! They are featuring your Kool Moves HTML editor on the Flash Kit index page and it looks like a nice tool to have especially when working a Kool Moves content pane. Thanks!
jamnden is offline   Reply With Quote
Old 11-19-2006, 11:48 AM   #2
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Holy cow! Thanks for letting me know jamnden

Last edited by Chris_Seahorn; 11-21-2006 at 12:36 AM.
Chris_Seahorn is offline   Reply With Quote
Old 11-19-2006, 12:05 PM   #3
jamnden
Cyber-Slacker
 
Join Date: Jan 2001
Location: Cape Cod
Posts: 73
Chris,
Is there any way to highlight the HTML text to cut and paste it in a content pane?
jamnden is offline   Reply With Quote
Old 11-19-2006, 12:12 PM   #4
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
In the source...change the txt17.text textfield to selectable (in the properties). That way when you click the "Show Html" checkbox in the editor (when it's running), you can selct/copy the html source.

I can take a couple of screenshots when I get back if you need to help show what I mean (I'm at my sons birthday party right now ).
Chris_Seahorn is offline   Reply With Quote
Old 11-19-2006, 12:50 PM   #5
jamnden
Cyber-Slacker
 
Join Date: Jan 2001
Location: Cape Cod
Posts: 73
Thanks-Works like a champ!
jamnden is offline   Reply With Quote
Old 11-19-2006, 05:04 PM   #6
Stoke Laurie
That web bloke
 
Stoke Laurie's Avatar
 
Join Date: Jan 2006
Location: England
Posts: 869
This will enable you to post your result to a text field
This is a php that works to write a file page1.txt, it also sends you back an e-mail to let you know that it has been done, useful if ever you think you may get hacked. I've not included any type of abuse filter, but that could give you an extra layer of protection if you need it.

<?
ini_set("sendmail_from", " admin@address.com");
$txt17 = $_POST["txt17"];
$txt17 = stripslashes($txt17);
$ip = $_SERVER['REMOTE_ADDR'];

$adminaddress = "admin@address.com";
$date = date("m/d/Y H:i:s");

$action = $_POST["action"];


if ($action == "send") {
mail ("$adminaddress","site update notice",
"An update of the site has been made, these are the new display values for page 1\n

page 1 content : $txt17\n



Logged Info :
------------------------------
Using: $HTTP_USER_AGENT
IP address: $ip
Date/Time: $date","FROM:$adminaddress" ) ;

$towrite .="$txt17\n";


$file= fopen("page1.txt", "w");

fwrite($file, $towrite);
fclose($file);
}


?>


------------------------------------------------------
In the editor code you need to
create a button on the movie clip with the editor on
then create a mc called theresult
and within it a dynamic text field titled myresult

and add this code to the action script for the keyframe


but1.onPress=function(evt){
if (txt17.text == "" ) {
theresult.gotoAndPlay("go");
theresult.myresult.text = "Empty Fields";

} else {
var result_lv= new LoadVars();
result_lv.onLoad = function(success) {
if (success) {
txt17.text="";

theresult.gotoAndPlay("go");
theresult.myresult.text = result_lv.returnMe;

} else {
theresult.gotoAndPlay("go");
theresult.myresult.text = "Error";

}
};
var send_lv = new LoadVars();
send_lv.action = "send";
send_lv.txt17 = "&txt1var=" + box1.text;
send_lv.sendAndLoad("exit.php", result_lv, "POST");

}
}


All this code is taken from Chris's loadvars mailform.
Cheers

Last edited by Stoke Laurie; 11-19-2006 at 05:26 PM.
Stoke Laurie is offline   Reply With Quote
Old 11-19-2006, 06:02 PM   #7
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Guess that solves that.

Last edited by Chris_Seahorn; 11-20-2006 at 11:47 PM.
Chris_Seahorn is offline   Reply With Quote
Old 11-19-2006, 06:56 PM   #8
Stoke Laurie
That web bloke
 
Stoke Laurie's Avatar
 
Join Date: Jan 2006
Location: England
Posts: 869
cheers
Stoke Laurie is offline   Reply With Quote
Old 11-20-2006, 07:52 PM   #9
Stoke Laurie
That web bloke
 
Stoke Laurie's Avatar
 
Join Date: Jan 2006
Location: England
Posts: 869
You can see the editor working live as an example here
www.henshallbusiness.com - follow the live demonstration button link from the instant site page.
Stoke Laurie is offline   Reply With Quote
Old 11-22-2006, 07:51 PM   #10
Stoke Laurie
That web bloke
 
Stoke Laurie's Avatar
 
Join Date: Jan 2006
Location: England
Posts: 869
Thanks guys over 100 of you have tried out the page in the last 48 hours, no one has reported any errors so I assume you all got to see it working ok on your various systems, thanks for that.

ps Chris what's with the edits?
Stoke Laurie is offline   Reply With Quote
Old 11-22-2006, 08:42 PM   #11
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Just cleaning up some odds and ends. Since I tend to give things away I gave my oldest son my copy of Koolmoves today and since I won't be using it anymore some posts of mine in here were in need of an update. Thanks for the concern though

Last edited by Chris_Seahorn; 11-22-2006 at 08:57 PM.
Chris_Seahorn is offline   Reply With Quote
Old 11-23-2006, 12:30 PM   #12
HScott
Junior Member
 
Join Date: Mar 2006
Posts: 18
Permission

This is great works. I am just wondering if I can put this in my website as one of my free tools.

Thanks
HScott is offline   Reply With Quote
Old 11-23-2006, 12:52 PM   #13
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
All my ties to Koolmoves are severed so there is no conflict there. It's archived here at Flashkit associated with my name , date of submission and copyright so I'm not sweating third party jacking. If it can help your users....go for it.

Last edited by Chris_Seahorn; 11-23-2006 at 01:10 PM.
Chris_Seahorn is offline   Reply With Quote
Old 11-23-2006, 01:47 PM   #14
HScott
Junior Member
 
Join Date: Mar 2006
Posts: 18
Quote:
Originally Posted by Chris_Seahorn
All my ties to Koolmoves are severed so there is no conflict there. It's archived here at Flashkit associated with my name , date of submission and copyright so I'm not sweating third party jacking. If it can help your users....go for it.
THANK YOU so much Chris! you really a great person. You're the man!
HScott is offline   Reply With Quote
Old 11-23-2006, 02:40 PM   #15
Chris_Seahorn
up to my .as in work
 
Chris_Seahorn's Avatar
 
Join Date: Dec 2004
Posts: 4,364
Quote:
Originally Posted by HScott
THANK YOU so much Chris! you really a great person. You're the man!
Statements like that will put you in the minority of Koolmoves users

It is nice to hear though !
Chris_Seahorn is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Product Support > Koolmoves

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 -4. The time now is 04:12 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.