
January 2nd, 2008
03:08 PM
Neverside Newbie
Status: Offline!
inserting a button into scrolling text box.
Platform: Windows Vista
Software version: Studio 8/flash 8
Hello, I am a complete newbie and i am building my first website,
http://www.sapphire-seas-two.com
Problem: I'd like to add buttons to my scrolling text box that link to another Flash Movie, ie. a button next to a piece of text that opens in another Tab the movie relevant to the Text.
I'm sure it's possible but don't know how. and i have been bouncing around the help files (i need sleep!) but do not know a lot of the Action script terms?!
and while i'm at it..... is it possible to have different colour text in the same scrolling text box?
many thanks for any help received 

January 2nd, 2008
05:34 PM
I need a haircut
Status: Offline!
Welcome to Neverside, Sapphire.
Textboxes in Flash do allow for HTML. You have to click the checkbox in the properties somewhere to enable it. Then you can change font color with something basic like:
<font color="#00ff00">Neon Green</font> is pretty.
<font> tags are horrible practice, but I'm not real up on which tags are allowed in a textbox.
Like say, a <button>... I don't know that you can include one inside a textbox. In this instance, I would recommend you ditch using Flash and use HTML/CSS to make your textbox. Much easier to code, and you can get your switchy Flash effects with a little sprinkling of JavaScript. I'll be glad to help out.
___________________
Jon Culver Chia Pets

January 4th, 2008
12:47 AM
Neverside Newbie
Status: Offline!
cheers Sparky
Thank you Sparky that's great
But... i have a white background in the text box and my text is white, and i can't seem to change the parameters in Dreamweaver can you advise please?
kind regards
Slim
+<


January 4th, 2008
09:42 PM
I need a haircut
Status: Offline!
Surely. Here's some CSS:
td#details{ width: 380px;
height: 350px;
background: transparent;
color: #fff;
font: bold 10pt "Comic Sans MS", Arial, sans-serif;
overflow: auto; }
And then replace your HTML with this:
<tr>
<td width="32%" height="306"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="380" height="350">
<param name="movie" value="trailer_2_test _1_2.swf" />
<param name="quality" value="high" />
<embed src="trailer_2_test _1_2.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="380" height="350"></embed>
</object></td>
<td id="details">
<p>Paste all of your details text here. It will scroll!</p>
<p>Lorem ipsum dolori..</p>
</td>
<td valign="top" width="33%"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="400" height="322" title="Vs intro">
<param name="movie" value="images/intro.swf" />
<param name="quality" value="high" />
<embed src="images/intro.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="322"></embed>
</object></td>
</tr>
Real easy 
___________________
Jon Culver Chia Pets

January 5th, 2008
09:52 PM
Neverside Newbie
Status: Offline!
Hi Sparky
Thanks Again but it didn't seem to quite work, i got a text box with the correct background, and colour of text but no scroll bar, have in the meantime done this
<textarea style="overflow: auto;">TEXT GOES HERE</textarea>
still not what i'm after and wondered if you could just point me in the direction to have basically what i've got now, with a background to match the darker blue on my site behind the text, and the ability to highlight words that are links? forgive my stupidity please (my objective is something simple like me, that i can easily update and add to, i am after all more interested in refitting my boat and going to float)
kind regards
Slim
+<

January 6th, 2008
08:05 PM
I need a haircut
Status: Offline!
Yep I goofed. Use this CSS:
div#details{ width: 380px;
height: 350px;
background: transparent;
color: #fff;
font: bold 10pt "Comic Sans MS", Arial, sans-serif;
overflow: auto; }
THEN wrap everything inside with a div, like this:
<td><div id="details">
<p>Paste all of your details text here. It will scroll!</p>
<p>Lorem ipsum dolori..</p>
</div></td>
And that should do the trick. Using a textarea is bad here; they're normally reserved for form elements, so your users could actually type in their own narrative of the Sapphire Seas Two :P
Give that a whirl.
___________________
Jon Culver Chia Pets