Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

63 users online



inserting a button into scrolling text box.

inserting a button into scrolling text box.

Currently viewing this thread: 1 (0 members and 1 guests)


sapphire-seas-two

sapphire-seas-two

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 Wink

sparky

sparky

i make a mean grilled cheese.
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:

Code:

<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

sapphire-seas-two

sapphire-seas-two

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 Smile+<

Smile

sparky

sparky

i make a mean grilled cheese.
Status: Offline!

Surely. Here's some CSS:

Code:

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:

Code:

      <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 Grin

___________________

Jon Culver Chia Pets

sapphire-seas-two

sapphire-seas-two

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 Smile+<

sparky

sparky

i make a mean grilled cheese.
Status: Offline!

Yep I goofed. Use this CSS:

Code:

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:

Code:

                      <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

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0188 seconds.