PDA

View Full Version : Inserting HTML page within Flash Movie


jscott_tn
10-03-2006, 04:31 PM
I have a Flash website that I would like to display a scrollable window with contents from an HTML page. How do I make this work? Everything that I have tried opens the HTML page in a new window.

Thanks,

Jeremy

Cota
10-03-2006, 05:40 PM
Flash can read HTML but only limited tags. You can load an HTML document, but it must have the same format as if you were loading a text file. &var=values, etc.

sophistikat
10-03-2006, 05:44 PM
what are the contents of the HTML page?

jscott_tn
10-04-2006, 02:57 PM
The HTML is generated from a retail software package. It displays the products.

Here's one page:

<html>

<head>
<meta name="GENERATOR content="The Retail Solution"
</head>

<body>
<p align="center"><font face="Arial" size="5"><b>Clothing</b></font></p>

<div align="center">
<a NAME="9004-2630-71"></a>
<center>
<table border="0" width="566" cellpadding="0" cellspacing="0" height="99">
<tr>
<td width="200" height="1" valign="middle" align="center">
</td>
<td width="439" height="1" valign="middle" align="left">
<form method=post action="http:\\127.0.0.1\bb/webstore.exe">
<dl>
<dt>
<font size=+1><b>0-6M BUBBE SAILOR</b></font><br>
<dt><font size="2"><font face="Arial">
<br>
Qty: <input type=text NAME="QTY" size="3" value="1">
<b>Our Price:<font color="#FF0000">$48.00</font></b>
<input type=hidden NAME="STOCK_NUM" value="9004-2630-71">
<input type=hidden NAME="PRICE" value="48.00">
<input type=hidden NAME="DEC" value="0-6M BUBBE SAILOR">
<input type=hidden NAME="WEIGHT" value="0">
<input type=hidden NAME="TAXRATE" value="0.09">
<input type=hidden NAME="URL" value="http://www.shopbabybundles.com/catpg1.htm#9004-2630-71">
<input type=image border="0"src="buynow.gif" name="add_to_cart" align="absbottom" width="102" height="25">
</dt>
</dl>
</form>
</td>
</tr>
</table>
</center>
</div>
<hr width="566" color="#008000">
<a NAME="9000-2670-10"></a>
<center>
<table border="0" width="566" cellpadding="0" cellspacing="0" height="99">
<tr>
<td width="200" height="1" valign="middle" align="center">
</td>
<td width="439" height="1" valign="middle" align="left">
<form method=post action="http:\\127.0.0.1\bb/webstore.exe">
<dl>
<dt>
<font size=+1><b>0-6M BUBBLE SMOCKED</b></font><br>
<dt><font size="2"><font face="Arial">
<br>
Qty: <input type=text NAME="QTY" size="3" value="1">
<b>Our Price:<font color="#FF0000">$44.00</font></b>
<input type=hidden NAME="STOCK_NUM" value="9000-2670-10">
<input type=hidden NAME="PRICE" value="44.00">
<input type=hidden NAME="DEC" value="0-6M BUBBLE SMOCKED">
<input type=hidden NAME="WEIGHT" value="0">
<input type=hidden NAME="TAXRATE" value="0.09">
<input type=hidden NAME="URL" value="http://www.shopbabybundles.com/catpg1.htm#9000-2670-10">
<input type=image border="0"src="buynow.gif" name="add_to_cart" align="absbottom" width="102" height="25">
</dt>
</dl>
</form>
</td>
</tr>
</table>
</center>
</div>
<hr width="566" color="#008000">
<a NAME="9000-2650-71"></a>
<center>
<table border="0" width="566" cellpadding="0" cellspacing="0" height="99">
<tr>
<td width="200" height="1" valign="middle" align="center">
</td>
<td width="439" height="1" valign="middle" align="left">
<form method=post action="http:\\127.0.0.1\bb/webstore.exe">
<dl>
<dt>
<font size=+1><b>0-6M BUBBLE SMOCKED</b></font><br>
<dt><font size="2"><font face="Arial">
<br>
Qty: <input type=text NAME="QTY" size="3" value="1">
<b>Our Price:<font color="#FF0000">$44.00</font></b>
<input type=hidden NAME="STOCK_NUM" value="9000-2650-71">
<input type=hidden NAME="PRICE" value="44.00">
<input type=hidden NAME="DEC" value="0-6M BUBBLE SMOCKED">
<input type=hidden NAME="WEIGHT" value="0">
<input type=hidden NAME="TAXRATE" value="0.09">
<input type=hidden NAME="URL" value="http://www.shopbabybundles.com/catpg1.htm#9000-2650-71">
<input type=image border="0"src="buynow.gif" name="add_to_cart" align="absbottom" width="102" height="25">
</dt>
</dl>
</form>
</td>
</tr>
</table>
</center>
</div>
<hr width="566" color="#008000">
<a NAME="797613531976"></a>
<center>
<table border="0" width="566" cellpadding="0" cellspacing="0" height="99">
<tr>
<td width="200" height="1" valign="middle" align="center">
</td>
<td width="439" height="1" valign="middle" align="left">
<form method=post action="http:\\127.0.0.1\bb/webstore.exe">
<dl>
<dt>
<font size=+1><b>0M VLR DRESS SET SNOW BA</b></font><br>
<dt><font size="2"><font face="Arial">
<br>
Qty: <input type=text NAME="QTY" size="3" value="1">
<b>Our Price:<font color="#FF0000">$48.00</font></b>
<input type=hidden NAME="STOCK_NUM" value="797613531976">
<input type=hidden NAME="PRICE" value="48.00">
<input type=hidden NAME="DEC" value="0M VLR DRESS SET SNOW BA">
<input type=hidden NAME="WEIGHT" value="0">
<input type=hidden NAME="TAXRATE" value="0.09">
<input type=hidden NAME="URL" value="http://www.shopbabybundles.com/catpg1.htm#797613531976">
<input type=image border="0"src="buynow.gif" name="add_to_cart" align="absbottom" width="102" height="25">
</dt>
</dl>
</form>
</td>
</tr>
</table>
</center>
</div>
<hr width="566" color="#008000">
<a NAME="LB601001"></a>
<center>
<table border="0" width="566" cellpadding="0" cellspacing="0" height="99">
<tr>
<td width="200" height="1" valign="middle" align="center">
</td>
<td width="439" height="1" valign="middle" align="left">
<form method=post action="http:\\127.0.0.1\bb/webstore.exe">
<dl>
<dt>
<font size=+1><b>12/24M PK CORD COAT/HAT</b></font><br>
<dt><font size="2"><font face="Arial">
<br>
Qty: <input type=text NAME="QTY" size="3" value="1">
<b>Our Price:<font color="#FF0000">$96.00</font></b>
<input type=hidden NAME="STOCK_NUM" value="LB601001">
<input type=hidden NAME="PRICE" value="96.00">
<input type=hidden NAME="DEC" value="12/24M PK CORD COAT/HAT">
<input type=hidden NAME="WEIGHT" value="0">
<input type=hidden NAME="TAXRATE" value="0.09">
<input type=hidden NAME="URL" value="http://www.shopbabybundles.com/catpg1.htm#LB601001">
<input type=image border="0"src="buynow.gif" name="add_to_cart" align="absbottom" width="102" height="25">
</dt>
</dl>
</form>
</td>
</tr>
</table>
</center>
</div>
<hr width="566" color="#008000">
<a NAME="BMPS636"></a>
<center>
</center>
</div>
<hr width="566" color="#008000">
<a NAME="BMPS637"></a>
<center>
</table>
</center>
</div>
<hr width="566" color="#008000">
<p align="center"><font face="arial" size="2">
<a href="catpg12.htm">Next</a> <b>&gt;</b>
&nbsp;&nbsp;&nbsp; Jump to page:
</font><font face="Arial" size="3"><b>1</b></font><font face="Arial" size=2>
<a href="catpg12.htm">2</a>
<a href="catpg13.htm">3</a>
<a href="catpg14.htm">4</a>
<a href="catpg15.htm">5</a>
<a href="catpg16.htm">6</a>
<a href="catpg17.htm">7</a>
<a href="catpg18.htm">8</a>
<a href="catpg19.htm">9</a>
<a href="catpg1A.htm">10</a>
<a href="catpg1B.htm">11</a>
<a href="catpg1C.htm">12</a>
<a href="catpg1D.htm">13</a>
<a href="catpg1E.htm">14</a>
<a href="catpg1F.htm">15</a>
<a href="catpg110.htm">16</a>
<a href="catpg111.htm">17</a>
<a href="catpg112.htm">18</a>
<a href="catpg113.htm">19</a>
<a href="catpg114.htm">20</a>
<a href="catpg115.htm">21</a>
<a href="catpg116.htm">22</a>
<a href="catpg117.htm">23</a>
<a href="catpg118.htm">24</a>
<a href="catpg119.htm">25</a>
<a href="catpg11A.htm">26</a>
&nbsp;&nbsp;<a href=http://www.shopbabybundles.com>New Category</a>&nbsp;&nbsp;&nbsp;
<a href="http:\\127.0.0.1\bb/webstore.exe?CHECKOUT=Y">Check out</a></font></p>

</body>

</html>

Cota
10-04-2006, 06:56 PM
I'm pretty sure most of that wont be supported by Flash's HTML tag support.

tg
10-04-2006, 08:36 PM
for flash to be able to display an html 'page', the player would have to have a browser built into it.... dont count on this happening any time soon (or ever would be my guess).

Cota
10-04-2006, 09:22 PM
You could however spend months writing your own class to immitate those HTML tags...thought about it myself, then realized it just wasnt worth it.

sophistikat
10-05-2006, 05:22 AM
there's no way you can do that in flash; all you can do is build an html page and include an iframe; put your html page there and have flash around the iframe??- just a thought

jscott_tn
10-06-2006, 01:41 PM
Hey guys, thanks for the effort. I think I'll just open it all in another window and forget about it.

Thanks again,

Jeremy