This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > July 2007 > How to link to pages within Flash file?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to link to pages within Flash file?
annawhang

2007-07-30, 10:15 pm

1) What actionscript 3.0 in Flash CS3 link files to other pages within the
same application for a dynamic website? For example, to move between the
navigation bar: home, about, or the contact pages?

2)Which actionscript 3.0 makes additional line space within a paragraph for
the text area component using the vertical scrollbar? I tried the following
actionscript 3.0 below but received error messages.

import fl.controls.TextArea;

var aTa:TextArea = new TextArea();

aTa.move(100,100);
aTa.setSize(200, 200);
aTa.condenseWhite = true;
aTa.htmlText = ' Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Vivamus quis nisl vel tortor nonummy vulputate. Quisque
sit amet eros sed purus euismod tempor. Morbi tempor. <font
color="#FF0000">Class aptent taciti sociosqu ad litora torquent per conubia
nostra, per inceptos hymenaeos.</font> Curabitur diam. Suspendisse at purus in
ipsum volutpat viverra. Nulla pellentesque libero id libero.';
addChild(aTa);



import fl.controls.TextArea;
var myText:String = "";
myText += "<p>You can use the tag to create [B]bold text.</p>";
myText += "<p>You can use the tag to create [I]italic text.</p>";
myText += "<p>You can use the [U] tag to create [U]underlined</a> text.</p>";
myText += "<p>You can use the <a> tag to create <a
href='http://www.adobe.com'>links to other sites</a>.</p>";

Thank you for your input,
Anna


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews