# Html genorator in flash

**URL:** <https://forum.kirupa.com/t/html-genorator-in-flash/59987>\
**Category:** Uncategorized\
**Created:** [August 5, 2004, 11:15am UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987 "2004-08-05T11:15:10Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![my\_portal](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@my\_portal](https://forum.kirupa.com/u/my_portal)\
**Post date:** [August 5, 2004, 11:15am UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/1 "2004-08-05T11:15:10Z")

</div>

i want to make a html genorator how do you do in flash?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2004, 11:23am UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/2 "2004-08-05T11:23:01Z")

</div>

what do you mean ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 5, 2004, 6:25pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/3 "2004-08-05T18:25:21Z")

</div>

you mean insert html tags?

Prophet.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2004, 10:50am UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/4 "2004-08-06T10:50:21Z")

</div>

no like the flash bbs code genorator that some one made!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2004, 5:51pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/5 "2004-08-06T17:51:07Z")

</div>

???  
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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2004, 6:06pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/6 "2004-08-06T18:06:18Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12)  
the bbs code genorator  
how do you make one like it?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2004, 9:50am UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/7 "2004-08-07T09:50:14Z")

</div>

come your telling me that no one knows how to do that pls help!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2004, 6:49pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/8 "2004-08-07T18:49:51Z")

</div>

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?

```auto
on(press){
myString=mystring+"<b>"
}

```

kinda thing?

Prophet.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2004, 7:00pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/9 "2004-08-07T19:00:46Z")

</div>

does it work im going to try

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 17, 2004, 11:09am UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/10 "2004-08-17T11:09:01Z")

</div>

no more like i want to genorate forum bbs code for my sitebut i need to now how!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 17, 2004, 4:28pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/11 "2004-08-17T16:28:51Z")

</div>

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.)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 17, 2004, 4:30pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/12 "2004-08-17T16:30:07Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 18, 2004, 11:51am UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/13 "2004-08-18T11:51:33Z")

</div>

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](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=12))

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 18, 2004, 12:01pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/14 "2004-08-18T12:01:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 18, 2004, 12:36pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/15 "2004-08-18T12:36:24Z")

</div>

could you show me the code pls!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 18, 2004, 4:31pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/16 "2004-08-18T16:31:18Z")

</div>

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

```auto
stop();

```

also on the first frame, select the button there, and add this actionscript to it:

```auto
on (release) {
forTextBox = "[swf="+text1.text+"] width="+text2.text+" height="+text3.text"+[/swf]

```

;  
gotoAndStop(2);  
}

```auto

in frame 2, add there actions:

```

text4.text = forTextBox;

```auto

and to the button of frame2, add this actionscript:

```

on (release) {  
gotoAndStop(1);  
}

```auto

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...
```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 18, 2004, 4:48pm UTC](https://forum.kirupa.com/t/html-genorator-in-flash/59987/17 "2004-08-18T16:48:44Z")

</div>

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:
