Be a Supporter!

adding html codes

  • 586 Views
  • 9 Replies
New Topic Respond to this Topic
sentme-mail
sentme-mail
  • Member since: Nov. 12, 2004
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
adding html codes 2004-11-19 04:54:23 Reply

hi,
how can i add html codes to a flash movie?
thanks

AGH
AGH
  • Member since: Jun. 7, 2004
  • Offline.
Forum Stats
Member
Level 21
Blank Slate
Response to adding html codes 2004-11-19 04:59:54 Reply

At 11/19/04 04:54 AM, sentme_mail wrote: hi,
how can i add html codes to a flash movie?
thanks

You put this action script into the button:

on(release){
getURL("http://www.inserturlyouwantittogoto.com", _blank);
}

The blank is important, because it opens the link up in a new new window, rather than the window the flash is in. Is this what you wanted?

Lucky
Lucky
  • Member since: Nov. 13, 2004
  • Offline.
Forum Stats
Member
Level 08
Animator
Response to adding html codes 2004-11-19 06:47:26 Reply

Yeah. I'm not sure he ment a button html. Maybe he thinks that you can combine actionscript and html. :D If that's the case then no. I Mean don't try it. Just learn actionscript

sentme-mail
sentme-mail
  • Member since: Nov. 12, 2004
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to adding html codes 2004-11-19 07:45:02 Reply

i have a piece of html code which is provided for mailinglist and i need to paste this code into my flash movie for it to work.
how can i do it?

Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to adding html codes 2004-11-19 07:56:45 Reply

At 11/19/04 07:45 AM, sentme_mail wrote: i have a piece of html code which is provided for mailinglist and i need to paste this code into my flash movie for it to work.
how can i do it?

You can't just paste HTML into Flash.
Paste your HTML code here, lets see what you're talking about, because it's difficult to understand what you want due to vagueness


- - Flash - Music - Images - -

BBS Signature
sentme-mail
sentme-mail
  • Member since: Nov. 12, 2004
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to adding html codes 2004-11-19 10:10:20 Reply

this is the code i am asked to paste

<--!-- Start franky.com Service Code -->
<--div align="center">
<--div style="padding:0px; border:1px solid #999999; width:235px; margin: 0px;background-color:#F2F4FA;">
<--form action="http://pub6.franky.com/elist/add.php" method="post" style="margin:0px;">
<--div style="background-color:#DBE0F5;padding:3px;font:12px arial;color:black;"><--b>Join the Mailing List<--/b><--/div>
<--div style="margin:10px; font: 11px arial; color: black; text-align:right;">
<--div style="margin-bottom:5px;">Enter your name and email address below:<--/div>
Name: <--input type="text" name="ename" size="25" maxlength="60" /><--br>
Email: <--input type="text" name="emailaddress" size="25" maxlength="100" /><--br>
<--input type="radio" name="action" value="join" checked style="border: 0px;"/>Subscribe&nbsp;
<--input type="radio" name="action" value="leave" style="border: 0px;" />Unsubscribe&nbsp;
<--input type="hidden" name="usernum" style="border: 0px solid black; height: 0px; width: 0px;" value="495123735" /><--input type="hidden" name="cpv" style="border: 0px solid black; height: 0px; width: 0px;" value="1" />
<--input type="submit" name="submit" value="GO" /><--/div>
<--div align="center" style="margin-bottom:5px;"><--a title="Free Mailing Lists from franky.com" href="http://www.franky.com"><--img src="http://assets.franky.com/cp/bn-elist.gif" alt="Free Mailing Lists from franky.com" border="0"><--/a><--/div><--/form>
<--/div><--/div>
<--!-- End franky.com Service Code -->

Denvish
Denvish
  • Member since: Apr. 25, 2003
  • Offline.
Forum Stats
Member
Level 46
Blank Slate
Response to adding html codes 2004-11-19 10:20:31 Reply

At 11/19/04 10:10 AM, sentme_mail wrote: this is the code i am asked to paste

You can't use that in Flash, you have to put it into an HTML page, using an HTML editor such as Dreamweaver or Front Page (or notepad). If you don't have a webpage, then you won't be able to use that code... it has absolutely nothing to do with Flash.


- - Flash - Music - Images - -

BBS Signature
sentme-mail
sentme-mail
  • Member since: Nov. 12, 2004
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
Response to adding html codes 2004-11-19 10:38:25 Reply

can i open a html window in flash?

Benny-Creations
Benny-Creations
  • Member since: Feb. 19, 2004
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to adding html codes 2004-11-19 10:43:14 Reply

You can make a pop up window that would lead to your webpage using a button and this code:

on(release){
getURL("web address here", _blank);
}

This will leave the Flash movie on the screen. switch _blank with _self if you want the page to open in the flash movie itself instead ;)

Reverend-Kyle
Reverend-Kyle
  • Member since: Jan. 20, 2001
  • Offline.
Forum Stats
Member
Level 12
Blank Slate
Response to adding html codes 2004-11-19 13:33:15 Reply

There are very few HTML codes you can use in Flash, and, like already said, what you want to put in... won't go in.

From my experiments, I've gotten a href, b, u, i, and br to work.