Questions About Text Buttons
I am creating a button that is text. I want, whenever someone goes over the text it blinks and it is a loop until someone's mouse is not over it.
Also, Have it link to one of my pages that I am creating?
Thank you so much
FlashKit > Flash Help > Flash Newbies
Posted on: 09-07-2004, 09:54 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Outputting Text, And Creating & Showing Buttons & Questions
Question 1: how do I create a button, show it, and so on[indent]I know I can draw something, select it, and convert it to symbol, is it possible to do that, then set that symbol as a button, also, if I import an button, or image, is there anything else I have to do so I can use it as a button, and how do I store it as a button (is it listed as some type of variable? or a object I guess? (Please give an example or so))
Question 2: How do I output text ?How do I type like in php echo "Hello"; or in C++ MS-DOS cout<<"Hello" etc.. to print textQuestion 3: If I wanted to "set" the background color to a hex code, how would I do that?
Question 4: If I have an image imported, how do I set its size (width/height) and position it on the screen correctly
Question 5: What do Imported things & Symbols appear in? as Global Variables? or a Movie Clip or something? an Object? and where abouts would they be (I have Macromedia Flash Professional 8)
This is the current code I have right now
Variables I have (name, starting value, array)
_global.c, set to the value of int_n (which is 5), no array
code:
Hex Generator
Code:
function RandomHex(c) //takes a string variable
{
new_code=Array() //gets 0-9 and A-F stored in it
for (var i:Number = 0; i<10; i++)
{
new_code[i] = i;
}
new_code[10] = "A";
new_code[11] = "B";
new_code[12] = "C";
new_code[13] = "D";
new_code[14] = "E";
new_code[15] = "F";
c = "0x";
for (var i:Number = 0; i<6; i++) //loops six times
{
var int_c = Math.random(15); //random number between 0 & 15
c = c + new_code[int_c]; //stores the value in the string "c"
}
//or var c:Number = Math.floor(Math.random()*21);
//Should I return c; ?
}
function CreateCircle()
{
RandomHex(code[_global.c]); //calls RandomHex to store the value in code[_global.c]
orb[_global.c] = main.createEmptyMovieClip("orb"+_global.c, main.getNextHighestDepth()); //creates new mc
orb[_global.c].lineStyle(5, code[_global.c], 100); //styles the mc
orb[_global.c]._x = 600;
orb[_global.c]._y = 400;
orb[_global.c].moveTo(3, 0);
_global.c += 1; //increases c so we dont erase the last created mc
}
moving my circles
Code:
function move_circles(orb1, orb2, orb3, orb4, orb5) //takes 5 mcs
{
_global.i += 1; //increases i
if (_global.i > 361)
{
_global.i = 0; //dunno what I put this for lol
}
var Radius = Array();
var Rad = Array();
var X = Array();
var Y = Array();
var orb = Array();
orb[0] = orb1;
orb[1] = orb2;
orb[2] = orb3;
orb[3] = orb4;
orb[4] = orb5;
for (var i:Number = 0; i<5; i++)
{
Radius[i] = (i+1)*10; //Radius for my mc (which are drawn circles) to rotate from
Rad[i] = _global.i*Math.PI/5;
X[i] = Math.cos(Rad[i])*(Radius[i]);
Y[i] = Math.sin(Rad[i])*(Radius[i]);
orb[i]._x += X[i];
orb[i]._y += Y[i];
if (Rad[i] = 0)
{
CreateCircle(); //should call CreateCircle() and create 1 new mc which is a small colored dot, that will once created, move up, then after 5 seconds, be removed
}
}
}
setInterval(move_circles, 100, orb[0], orb[1], orb[2], orb[3], orb[4]);
Any help appreciated
Questions About Buttons...
Hi, this may sound like a newbie question but I still need it answered if anyone would be so kind
Right now I have a button and I want the mouse over to play a movie clip right through without it mattering if the mouse is taken off or not. Also when someone clicks on it, right now they have to hold down the button in order for the animation to play all the way through. Is there any way to make the animation play through before it brinks up wherever I link it to, or when the mouse rolls over, it plays all the way through even if the mouse is moved off the button.
For example if a person puts his mouse over a circle, it turns into a square no matter where his mouse is, and when he clicks on it the square minimizes itself and blows up, without the user holding down the mouse over the button.
Any help would be wonderful, thanks!
Two Questions About Buttons...
Okay, before I begin I would just like to say that I did try to search the forum for answers to these questions, but it wasn't pulling up anything...
Question 1: I have a floating button that on rollover it plays a little animation, and on roll out it plays something else... but if i move the mouse in too fast, or out too fast it stick, and I was wondering what the code would have to be reset it after a couple of seconds, or something like that...
Question 2: When it over my floating buttons, it has a little hand that lets the person know they're over a button, what code would I have to add the take away the hand on the roll over, so it's just the arrow...
Any help would be positive...
Regards,
Troy
Questions About Buttons
This is probably a silly question, but here goes anyhow
I created my website in flash (yay!) http://portfolio.eediva.net/asampete
when i hover on the buttons, it won't change to the mouseover color unless your pc's arrow is not over the text. Try it out and see.
Why does that happen and how can I correct it?
Thanks
Buttons And Clips Questions
Hi All,
I have a button that loads a movie clip into a frame but the when the
clip is loaded the button that loaded it is still active (behind the
loaded clip invisbile but clickable). How do I 'remove' or disable the
loading button ?
I have another button on this frame that gotoandplay at another frame
- again this button is still active when the other clip is loaded and
if I follow this link the loaded clip continues to play over that
frame !
Alternative methods to achieve the goal are always appreciated !
TIA
famouseccles
Stupid Questions About Buttons
Ok this might be a stupid question about buttons. Ok here goes... Im trying to make one button that is in a movie clip, then to have the movie clip on stage at different points, then to have each button move when one of the buttons is rolled over (mouse event rollover)...actually in a _y setting. i can get the buttons to move but they're not moving correctly...i dont have a problem with doing it with one button. but it seems that the other ones are getting in the way. Not sure if this is right but, i tried to change the instance name on one of the buttons, but they all seemed to change.???
Any ideas??
thanks
Couple Questions About Buttons
I have 2 questions, hope you can help.
First, I have my main movie that once loaded, has buttons that will load differernt .swf files onto the main stage.
Im trying to get smoother transitions between the different .swf's.
Is there a way to get the loaded .swf file to finish playing before the next one starts? In other words, it tweens out, then the new one tweens in. I have tried different scripts, but cant seem to get it to work.
Second question, How to you disable the button once its pressed?
This is what I have tried, but again, it doesnt work. Only the handcursor quits, but if I press the button, the movie still loads again.
on (release) {
servicebutt.useHandCursor = false;
}
on (release) {
sevicebutt.enable = false;
}
on (release) {
_root.mtclip.loadMovie("services.swf");
}
Thanks for your help.
Josh
Questions About Advanced Buttons?
Hey I was wondering.
I have made a set of buttons that are movie clips. They have animations that they go through when you interact with them. This part works fine.
This question that I have is fairly simple but I have not found the best way to achieve my goals. I want to control the main time line with these buttons but because they are movie clips the on () function does not work with them. If there is a way around this feel free to let me know.
Thanks...
Couple Of Questions Concerning Buttons And AS
Hi,
1. I've got a button with the following as on it:
ActionScript Code:
on (rollOver) { if (this.exhibit._alpha != 100) { this.exhibit._alpha += 20; } else { this.exhibit._alpha = 100; }}
I am trying to get it to fade in to 100 Alpha...but it just jumps to 20. How can I get it to fade in at a speed of 20.
2. I've got a mc that was previously a button with the following code on it:
ActionScript Code:
on (release) { _root.changePhoto(1); this.txtIndex = this.pIndex+1;}
When it was a buttons it would change the variable no problem..now that is it a movie clip is performs the function but won't change the var??
Much thanks.
Couple Of Questions Concerning Buttons And AS
Hi,
1. I've got a button with the following as on it:
ActionScript Code:
on (rollOver) { if (this.exhibit._alpha != 100) { this.exhibit._alpha += 20; } else { this.exhibit._alpha = 100; }}
I am trying to get it to fade in to 100 Alpha...but it just jumps to 20. How can I get it to fade in at a speed of 20.
2. I've got a mc that was previously a button with the following code on it:
ActionScript Code:
on (release) { _root.changePhoto(1); this.txtIndex = this.pIndex+1;}
When it was a buttons it would change the variable no problem..now that is it a movie clip is performs the function but won't change the var??
Much thanks.
Two Questions In One - Bullets And Buttons
Hi
I am, trying to create a bigger area for the "clicking hotspot " to take place..
so that the user doesn't have to try and find the clickable area .. how do i increase the size of the button without increasing the size of the text in the button...
Second question:
i would liketo create bullets in my text where is this option?
thanks
melissa
Buttons And Component Scrollbar Questions...
Hi, I'm having the most difficult time with this and I'm hoping I can get a hand with it...this is a 2 part question, so please bear with me.
PART I:
I have buttons throughout my flash movie that trigger MC's to load that have text content. Everything works well except one thing; when I click the buttons and then click them again I have a strange thing happen...my text fields have a component scrollbar with them and when I click the button a second time the scrollbar gets all screwed up. I have the scrollbar set to be a certain length but the second button click makes it tiny and really useless (not to mention really unprofessional looking). So my question becomes how can I click a button once and then disable it until I click another button? I already have a code that will turn the button off, but it's not what I need. I want each button, when clicked, to simply not respond to mouse clicks, but I need it to still be 'a button' and respond to rollOver's and rollOut's...any ideas??
PART II:
As I mentioned above, I'm using component scrollbars in my movie. I have numerous text files that I am importing which are of various lengths. I'd like to know how I can get the scrollbar to recognize if a text file is too long for my dynamic text box's size and to be visible if the text is indeed too long for the box and of course to be invisible if it is not needed. Right now I have (very amteurishly) turned the scrollbar on or off with the _visible ='s script by manually testing each text file within my movie but I'd rather have a script that will recognize if the scrollbar is needed or not. Obviously I don't know how and I'd like to learn what to do, so could anyone point me to a tutorial or share their experience with this kind of situation with me?
Thanks for reading, have a good day.
Couple Of Questions (buttons And Transitions)
1)
If I have a set of buttons that will load pictures above (a gallery), how can I "mark" the buttons so that they can tell which ones they have seen and which ones they haven't?
It would be a white square for each picture, red when it's the current picture, and then blue after it has been looked at.
2)
What is the best way to make an entire page move? Meaning... If I have 5 major sections on my site, I can click on one link and the page will seemingly "come from the top" then you click the "home button" and it would appear to move up back in to place...
I guess I would describe it as one huge page, with it moving in place according to clicks... I just figure out what the best way to do it is.
3)
Lastly what is the best approach to make a music page for a band, so you can hear the music at great quality, with little or no wait, and also not downloadable?
Thanks for any help on these issues.
Two Questions: Buttons & Standalone EXE Problem
First Question
What's the easiest way to assign a button to do three different things when clicked for the first, second and third time?
Second Question
My harddrive knackered and I lost my flash projects and all I have of some of them are the standalone EXEs. Does anyone know of a way, if it's possible, to extract a SWF from it?
Questions About Buttons, Variables, And Timeline:
I'm somewhat of a newbie at flash/actionscript. I posted a question yesterday about buttons and how to use variables. Someone responded with some code, however I guess I'm not savy enough yet to apply it. Here is basically what I have:
-background animates on stage
-panel with buttons animates on stage
-buttons are home, projects, get a site, and contact.
-I want each button to call up a different graphic but first, animate the current one off the stage.
-I want to be able to disable the button for the one currently 'active'
-Each graphic or clip that is called up has a unique set of movie clips for both entering and exiting.
I have a stop action following the home state. Further down the timeline I created each 'routine' for entering and exiting the stage. I just need to know how to call them and dismiss them so to speak. I know there is some actionscript that will go with each button, but I'm not sure what and where to put the rest of the actionscript to make it work.
I read the tutorial at:
http://www.flashadvisor.com/tutorial..._Clips-25.html
but I'm still in the dark a bit. It refers to movie clips, so I'm not sure if I need to copy my 'routines' off the main timeline and paste them into a movie clip to call them up or not. Seems like I should be able to refer to them at either place.
Thanks so much, sorry for all the questions!
Two Questions About HTML Publishing And Buttons
I've made a home page with three buttons. The action to go to another page on release is below, minus the curlycues etc. because apparently there's a length limit to the forum posts?
getURL("tanskiphoto.html", "_self");
The links work in the .swr versions of the page, but not in the html version. Any suggestions? Also how can I move this site to a GoLive site to add regular non-Flash pages to the site?
Dragging And Dropping Buttons /MC Questions
I created a flash movie with a lot of buttons for dragging and dropping around in the stage.
I wanted to make it such that even if i drag one of the button away from its original position, a new same button will appear at exactly the same position. Also, i would like to make it that some buttons are always on top of the other items when being dragged and dropped.
How do i do this?
I am only able to code the dragging and dropping part, but not able to do the rest whereby some buttons are always on top of the others and there will be new same button when the button was being dragged.
I do not know how do i code for movie clip, is it better to use movie clip instead of buttons?
Radio Buttons - Multiple Choice Questions
Hello all,
I've been having some difficulties getting a clear understanding of how to code radio buttons. I have been creating a training cd for a client of mine and am now stuck at the final chapter...the main quiz.
Does anyone know of a good tutorial (that is free hopefully) that I can take? Or does anyone have any advice. I'm new to the world of action scripting.
Thanks,
BBQ
2 Questions: Pause Before Next Action - Mocing MCs W/ Buttons
1st Q:
How do I delay the next action... like say I wanna do this
x=1
x=2
x=3
but I want it to pause 1 seccond between each one, like:
x=1
pause(1s)
x=2
pause(1s)
x=3
2nd Q:
How do I make it so that when you hold down a button a movie clip moves?
It works w/ I use keypress because it repeats the actions over and over, I tried to add a while loop to this:
setProperty("btn_1", _x, 1_x);
1_x=1_x-1;
but it froze up.
What's up?
Flash Buttons/general Actionscript Questions
Sorry if this is basic but i have not ever really touched much on action scripting and i know what im trying to achieve now relies on it.
I have 4 buttons on the stage and what im after is:
1. when one button is pressed, it'll begin an animation and stop.
2. Then when one of the other buttons is pressed, it would "rewind" the previous animation and then play its own animation.
Somethings i wanted to avoid was say if one of the animations were playing and not finished animating yet, and the other button was pressed sooner, it would rewind from whatever point of the other animation.
i hope im clear! lol
Ill try to give an example, say one button makes a line drawn on the screen, and another button fades in some text.
if the first button is activated and a line is drawn on the screen, then i would want the other button to play the first buttons animation backward (so the line is erased) and then fades in the text.
Any help? looking around at tutorials, its hard to pinpoint the actualy actionscript i would need and how to use them.
How would i setup this project? animate on the timeline, use symbols, etc etc
Oh and im on flash cs3, i havent decided on to use AS2 or AS3
Two Questions: Creating Buttons & Form For Sizing Images
Hi there. I'm seeing some talk about creating movie clips to make buttons and I'd really like to create buttons that look like... well the buttons above this message. With a little symbol and words... can't seem to find a "how to" on making buttons like that. I'd appreciate any direction or tutorials on that. Thanks.
Also, here is my bigger problem. I'm racking my brain trying to figure out how to create a way to click on a b/w pattern and have the user be able to size the pattern by percentage and then print it the way they sized it. Make sense? Any help at all would be greatly appreciated. Thanks all!
Amy
Hey, Questions About MC's With Diff Buttons Doing Same Thing? - And Some Random Snow?
OK, I have a movie I'm making for a website - and I have some problems with it, take a look at it - I attached it, as you can see each movie clip has a slider and a play and stop button - the slider is linked to the volume, and the size of the head in the middle is linked to the volume. How would I make each slider change the volume ? (actually I would like to link the slider to track progress, and then link the size of the head to track progress,) but i'm kindof confused as to what to do
Also! the notes in the back are too much, and i was wondering if i could get them to go behind the MC's, also, I was wondering if I could get them to only spawn on the music bars, and not in the middle.
Whoever helps with this -- it is greatly appreciated, I've been stumped for weeks.
Thanks
Wyatt
-ps. sorry the clip doesn't have music yet, it is still in its early stages.
Hey, Questions About MC's With Diff Buttons Doing Same Thing? - And Some Random Snow?
OK, I have a movie I'm making for a website - and I have some problems with it, take a look at it - I attached it, as you can see each movie clip has a slider and a play and stop button - the slider is linked to the volume, and the size of the head in the middle is linked to the volume. How would I make each slider change the volume ? (actually I would like to link the slider to track progress, and then link the size of the head to track progress,) but i'm kindof confused as to what to do
Also! the notes in the back are too much, and i was wondering if i could get them to go behind the MC's, also, I was wondering if I could get them to only spawn on the music bars, and not in the middle.
Whoever helps with this -- it is greatly appreciated, I've been stumped for weeks.
Thanks
Wyatt
-ps. sorry the clip doesn't have music yet, it is still in its early stages.
Questions On Text
Hi there.. heh~ have you noticed the effect that ultrashock.com on their logo? the previous 1 without the snowing effect. If you wanna see the actually effect, u gotta go to goodies then move ur cursor over the logo of the banner.
I wanted to tried out somethink like that. I created my text in fireworks and import it as a bitmap to flash. I know how to make the flashin effect on a normal text created in flash. But once imported to a bitmap, i guess its NOT POSSIBLE. M I RITE??
that quailty of the text/Logo of Ultrashock doesn't seem like it was made directly from flash, but rather frm a photoshop program then to flash.
The conclusion is how was it done? purely on flash? on a photoshop then imported to flash? or was it that there is a way to make that kinda masking effect on bitmap itself?? please solve my doubt...
Stupid Questions About Text
Sorry about these questions - but these are holes in my knowledge about Flash.
I'm actually using Flash MX - but want to write this for compatibility with the Flash 5 player.
All I want to do is to detect if the user has pressed the return key while typing inside a particular input text field.
Can I also detect if a when new character has been entered.
If not, can I poll to test if the text cursor is inside a particular text field?
Up to now, I've used ClipEvent to detect a character - but I want something specific to characters entered inside particular fields - and I don't want to use new MX actionscript.
I have another stupid question - but I'll start a new thread.
Questions About Text Values
I am a compleat newby when it comes to scripting in flash and i just took the tutorial on how to make a space shooter game.
I was wondering if there was a way I could make it so that when you get a certain score you beat the level. I already made the end of level frame and I know how to load a movie into it, but I need help with the score. Any help will be greatly appreciated. Thanks.
Scrolling Text Box Questions
Ok, I found this tutorial on this site for this scrolling text box. It does exacly what I need it to do except for two things. One, I want to have bigger bold text and a different color font basically as a header for differnet paragraphs that I put in the text box, if that makes sence. I don't see a way to do that in the actionscripts. And two, I keep getting this message when I test the file in Flash.
"Symbol=Symbol 4, Layer=Layer 1, Frame=1: Line 1: Mouse events are permitted only for button instances
on (press) {
Symbol=Symbol 4, Layer=Layer 1, Frame=1: Line 4: Mouse events are permitted only for button instances
on (release) {"
This is the tutorial I used. (which worked great by the way)
http://www.angelfire.com/electronic2...rt/scroll.html
Attached is a sample of what I want the text box to look like and the zip has a sample of what I've done so far. Is there another way I can do this in Flash Mx? Or another tutorial? Something relatively easy.
Thanks,
Mike
Text Field Questions
I have a couple of questions about text fields:
How do you get a return (next line) into a text field?
How do you get what is entered into a text field to get into an array?
For example, if the text field looks like this:
10
10
4
6
12
3
The array would be "10, 10, 4, 5, 12, 3" or something similar.
I ask this because I am making a card game in Flash. I would like to be able to "sneak" a peek at the order of the cards and also reorder them in a user-friendly way (i.e. the textfield).
Couple Text Questions
Hi,
Could anyone out there give me your opinion on what the best way to animate text is (Flash or other apps)? FlashTyper is down, or was last time I checked, and I want a way to animate text quick and easy with alot of options for motion. Also, how do I install new fonts into Flash?
TIA,
aaroneousmonk
Text And Movieclip Questions
http://stacksdesignhouse.bravehost.com/stacks.htm
1) The text effects I have for the words are not what I wanted them to be. I saw an effect on this site somewehre but I can't find it. If anyone has a cool idea for this kind of effect it would be helpful........also if anyone could think of a more functional way to display where the buttons shud link to b/c my buttons are small
2) I'm having trouble with movieclips. When I click a button I want a movie clip to play and it does but when I click another button I want a movie clip to play on top of the previous one. The problem is that it'll play behind it (thats how the layers are arranged).
<-- Text Used In The Movie--> Questions
For some reason the text just doesn't show up in the published HTML. The $MT tag IS in the html-template I use.
I have pasted the template I use underneath - got it from this forum I think.
Quote:
$TTFlash Only (Centered)
$DS
Use an OBJECT and EMBED tag to display Flash. Content displays in browser centered horizontally and vertically, without margins.
$DF
<HTML>
<HEAD>
<TITLE>$TI</TITLE>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
</HEAD>
<BODY bgcolor="$BG">
<!-- URL's used in the movie-->
$MU
<!-- text used in the movie-->
$MT
<TABLE WIDTH="100%" HEIGHT="100%" BORDER="0"><TR align="center" valign="middle"><TD><OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=$WI HEIGHT=$HE>
$PO
<EMBED $PE WIDTH=$WI HEIGHT=$HE
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT></TD></TR></TABLE>
</BODY>
</HTML>
Another question is - would you say that having this text used in the movie in the published html is a good thing at all ?
External Text Questions
I'm working on a new design for my website, and I stumbled across a few problems.
1. My main page uses a flash window with a button that loads up an external text file (which is huge, between 75-125 kilos.) Is it possible to make a preloader for the text file itself?
2. Is it possible to get a variable from an external text file?
Thanks, I've only been working with Flash for a year... so I would really appreciate the help
-homsar?
More Dynamic Text Questions....
but this one deals with Alpha...
is there a way to have dynamic text load into a box... but have it appear to fade in somehow.
I know alpha can be messed with but I'm not sure on how to adjust the alpha on something like dynamic text. I'm not even sure if its possible.
Some Questions On Scrolling Text
I have some text set in a text box, with two corresponding arrows you can click to scroll the text. It works fine but there are two minor things I'd like to change:
-When you click an arrow to scroll it nudges a bit then stops, you have to continually click the arrow. How can I set it to click/hold and continuously scroll?
-Secondly, all the text is the same color as of now. I want certain words to be another color- when I change it the text box reverts to the original color once exported or previewed (as .swf) Why is that (and how do I stop it from changing my font color)?
Thanks..
Dynamic Text Questions
Hi, I have a couple of dynamic text related questions.
1) How do I have multiple Dynamic Text Fields? Each loading a different text file at the same time?
2) How can i use symbols such as % and & when the text is being dynamicly loaded?
Thanks
Loading Text Questions..
I want to have a text box (or boxes) and load text into them when someone rolls over different buttons. what code can i use? Also.. Kinda dumb questions, but would i put the code on a specific frame, or on the buttons, and also do i have to name the instance of the dynamic text box? Lastly... Is there a way to just write one .txt file but load specific parts or lines so i dont have to do dozens of indiviual text files and load each one? THANKS for any help!!!
[CS3] Dynamic Text Questions
As you probably gathered from the title, I have several questions about dynamic text. :P
First off, is there any way to have one dynamic text field display the same value as another, constantly changing one (such as a score) if the two are on different frames? If so, how could I go about doing this?
Secondly, is it possible to do calculations with dynamic text? That is, would it be possible for text field C to display, say, the sum of fields A and B?
Thanks so much!
Dynamic Text Questions
I have a dynamic text area i wish to display correct when the user gets the question right.And wrong when they get it wrong.Also i need it to be green when correct and red when the answer is wrong.But something isn't working right i keep getting undefined.
[a]
my_btn.onPress = function()
if (condition here){
answer = correct
}else
answer = wrong
}
[/a]
I have (answer) in my dynamic text
when I do this for a score it works
score = 0
then later
score += 1
but for some reason the answer won't work I get undefined????
Two Text Field Questions...
Ok...there are two things I can't seem to figure out....
1. How can I apply a CSS Stlyle sheet to format a Text Field?
2. How can I add images to my text field so they scroll with the text?
Thanks!
Two Questions About Text Files In AS3
I'm working on a project which requires me to Saveing and Loading (with string parsing to assign variables to different words/numbers) text files. I understand that these are both proboly 2 of the easiest things to do but I couldn't find anything on how to do it, any help?
Some Text Effect Questions
how do I make all these text effects like here: http://www.flashfreaks.nl/udzoneBanner.asp I mean the text effects like:
- text moving from nowhere into the screen
- text moving outside the screen
- text going a little down/getting italic/ etc, and then moving out of the screen
Text / Links Questions
Hi
I'm using Flash MX 2004 to create a very simple site which contains a lot of text. I'm new to Flash so have a couple of questions:
1. I've been creating my text 'pages' simply by using the text tool to write the text and converting that to a movie clip. Is this the most effective way of doing it, or should I be using the 'text area' component?
2. I cannot figure out how to create standard hyperlinks in the text. I can see how I can call an external URL by just selecting the trigger text and using the link field. But what about cases where I want the user to click on a specific word and the link goes to another movie clip (i.e. another page of text).
Many thanks!
Input Text Questions...
hey, right i am currently building a game of guess the price, i want it so the next field will not be editable unless you have entered a value into the first box. Is this just a case of simple script? tried to attach an fla but it will not let me at this moment due t server problems, can anyone help?
Some Questions About Dynamic Text
hi,i have some phpnuke portals running and making some times,earlier you huys already helped me how to show external text like a var in flash.
But now i seem stuck with some things and need some help.
1. for example i have the following data to show
$title
$informant
$thetext
$notes
$image
how if i have more then one dynamicx text to show in one film how i do that cauz it s only showing me one.
2. how can i show real links in the flashmovie.
like <a href cauz flash will write the code and dont understand it.
same as for $image which is a value in a db for example test.gif flash will put test.gif as output how can i let flash make that query and really show it,i have liters of coffee here and am ready any hints.
How can i make real dbquerys from flash and get for example options as getbytesloaded etc,and not just shot in the movie.
Once again did i mention your site is so cool!
btw i seen a site with a phpbb forum with flash as frontend its beautifull and i need to learn this.
Gettin a few cool things already done like showing the $title and like with a couple of movies in a table for different texts.but i want it in one movie.
thats the question...
Lots Of Questions About Dynamic Text
I'm trying to make http://www.sizefactory.com/greenswamp/ more modular and conserve more bandwidth. Currently the text is an external swf http://www.sizefactory.com/greenswamp/intro/text.swf and I would like to drop that interface into the main movie so the only thing I will be getting externally is the actual text (text.txt), not graphics, fonts, etc from the swf.
I need help with a few things:
-dynamically populate text boxes that are X pixels wide and X number of lines tall with the contents of a .txt file. If each box held 13 lines of text and I had a txt file with 20 lines of text I would need to create 2 boxes.
-fade these dynamic boxes in when the box is loaded.
-dynamically generate next/back links if more pages exist.
-dynamically generate buttons for each movie clip (page 1, page 2, page 3, etc.)
Any places to start with?
(I don't want a scrolling box so please don't paste code for that.)
A Couple Questions For Ya About Text And Links
I did a scrolling text project where the words wrap around to the name. How do I get it to start over after it loads the first time so it plays then plays again? And my next question, It is a link banner for another site I have tried to make it link to the site with the go to command. Yet when I test the image on my site it takes me to the other site right away. I know they are pretty simple, But I am without the book Flash 5 came with due to my friends anger in the program and he threw it out before giving me the disc,,,
Thank you in advance EH
Flash 4 Scrolling Text Questions
Hey there!
I have a project where I need to have scrolling text. Some of the text will be different sizes and fonts. Is that possible in flash 4 and if it is is there a place to find a fla?
2 Questions About Input Text Field
1.question:
how to place cursor in input text field when you enter frame..?? so you don't have to click on it to write.. ( i think its setFocus.. but i cant get it work)
2.question:
is it posible to have diferent colors in input text field..??
heres what i need..
i need to write some kind of code in that text field.. it would be great if i could diplay some words in diferent color.. like when you're writind action script.. for example.. "on", "var" are blue..
|