i want to make a html genorator how do you do in flash?
what do you mean ?
you mean insert html tags?
Prophet.
no like the flash bbs code genorator that some one made!
???
link? coz i hav absolutely no idea what that is!
but who knows, some1 in-the-know might post in the mean time and help you out
Prophet.
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12
the bbs code genorator
how do you make one like it?
come your telling me that no one knows how to do that pls help!
so you want a button to add a bold html tag for instance?
give me full details of exactly what you want (layout etc) and i will describe as best i can how to do it if i know how…
but atm im thinking all you need is to simply set text to a string and then add <b> to the end of that string and then let them carry on typing and then add </b> at the end again?
on(press){
myString=mystring+"<b>"
}
kinda thing?
Prophet.
does it work im going to try
no more like i want to genorate forum bbs code for my sitebut i need to now how!
if you’re talking about using php to create something similar to the text box and control panel that i am currently using, with all the buttons and stuff, then the method you will use would be something like this:
:-:First of all, design your form.
:-:stick in a javascript function to add the tag you would like for an effect.
:-:write a php script that will upload the new data the user has enetered to be uploaded to a text file, or whatever, on your server.
:-:write another php script that reads the text file, and replaces the tags with things such as <b>, for example, you might replace ** with <b> or with "></img>
:-:you dig it?
also: nobody here can read your mind. (if i’m wrong, pm me please.)
if you’re wanting to incorporate this into flash, you’ll have to write a flash as script that will link to the php document. i’m not aware of a way to make flash write to files on servers.
Arg!!! noooooo i just want to make the flash bbs genorator!!!
like the one kirupa made!!
(here: http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12)
you make text fields
you make buttons
you make actions that, when buttons are pressed, it takes the text in the text fields, puts other text around them (like <b> and </b> around text for bold)
Then you display that text in a new text field
Nothing to it.
could you show me the code pls!
you mean you’re wanting to make a flash movie that will tell you what the code you will put into your footer to allow people to add flash footers?
it’s simple.
simply draw on 3 textboxes and a button.
call the textboxes “text1”, “text2” and "text3"
and a button.
in another frame. draw another textbox called “text4” and another button.
in frame one of the root, add the actionscript
stop();
also on the first frame, select the button there, and add this actionscript to it:
on (release) {
forTextBox = "[swf="+text1.text+"] width="+text2.text+" height="+text3.text"+[/swf]
;
gotoAndStop(2);
}
in frame 2, add there actions:
text4.text = forTextBox;
and to the button of frame2, add this actionscript:
on (release) {
gotoAndStop(1);
}
i do believe that's what you were looking for.
i think the reason that everyone got confused was that you were wanting a "html generator in flash", which has nothing to do with your subject at all...
if you’re refering to (and very very very baldy i might add) to the swf in kirupa’s post that, in fact, has nothing at all to do with html, and therefore nothing to do with your title, then this is how you do it: