Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








[CS3] Using Buttons To Display Text


Thanks to all who help us out, I can't believe your generosity!

I haven't been able to find an example and maybe I would be better off just using html, but what I want to do is have Where, What, Who, etc. buttons. Then I want the user to click on a button and have the text flash in and the button disappear, then I would have a close button which would close the text and have the original button reappear. Can anyyone point me in the right direction or is this hopeless. I can make the button, I understand the states, what I don't get is how to get my text to display. Just sign me totally annoyed.




FlashKit > Flash Help > Flash Newbies
Posted on: 08-01-2008, 12:38 PM


View Complete Forum Thread with Replies

Sponsored Links:

Display Different Text With Buttons
I am trying to make a simple website. I have a preloader and a scene that work ok. I also have 3 buttons to display Biography, reviews and links. My problem is, that the text I put in shows constantly instead of when you click a button. How can I display my info only when I want to? (user clicking button)

View Replies !    View Related
Text Display In Buttons Goes To Fudge
I have some buttons with a pixel font on them. They are on two different keyframes along the time line and appear fine on the first keyframe, but later down the time line they appear blurry. I would break them apart but they need to be editabile easily.
How can i sort this? Please Help.

Rhyso
RABiO

View Replies !    View Related
[MX04] Urgent My Buttons Don't Display Text The First Time.
Hi there.

I'm new to flash, and have come across the following problem, and can't seem to resolve it. It's really urgent that it's fixed ASAP. Can someone help me please?

If you go to www.apollosci.co.za, the flash intro, at the bottom. The tab's text is missing. But when you go to another page, then go back to the flash intro page, the text shows. It's just the first time that its gone. And of course, the first time is the crucial part.

I have tried different routes to fix this, by changing the character length, trying different codes in the menu.txt... but nothing seems to work. And as I mentioned above, I'm quite new to flash and code.

I'm using MS Front Page to upload the website.

View Replies !    View Related
Loading Different Text Files Using Buttons To Display In One Content Box
Hello,
I am a newbie on the forum as well as to Flash and as expected I,m already into problems. I have over 20 buttons with over 20 frames in my movie. I want each button, when clicked, to got to a required frame and then load text dynamically from an extrernal file, displaying it in the same content box. I have tried loads of technics but dont seem to get it working. Please help!!

Here is the code attached to one of my buttons:

on (release) {
gotoAndstop ("home");
loadText = new LoadVars();
loadText.load("myhome.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
scroller_text.html = true;
scroller_text.htmlText = this.mypage1;
}
};
}

With the above code I am able to go to the home page at the click of the button "home" but text from "myhome.txt" does not load. Please help!
Thanks.

View Replies !    View Related
Dyn Text Wont's Display Correctly After Adding Buttons To Page
I'd really appreciate some assistance with this issue.

Building a flash9 site with AS3. Utilizing frame labels for the various pages, where one of the pages has a scrolling dyn text window. All elements/components display properly until I turn on my buttons layer for the site. Once buttons are active the dynamic text field displays as jibberish. I'm clueless. Any help in problem solving would be appreciated.

View Replies !    View Related
Using Buttons To Display Swf Files Plz Help
This is easy though i dont know how to do it. PLease help me by explaining or directing me to a good tutorial or guide, would be greatly appreciated fk'ers. Here's the thing, in html i use buttons to display another page when clicked in a different frame, keeping the buttons on the page and displaying the appropriate page in another frame using the target method.
I have buttons in this flash site im tryin to create yet i need to know how to set up a "main display area" to display the appropriate page to that area when the appropriate button is clicked. Please help I kno its easy =p just not easy enuf for me =p hehe.

View Replies !    View Related
Dynamic Buttons Won't Display
hiya!

just trying to have mx create some buttons for me. but i'm brain dead or something today because my code's not working and i can't see why. on the stage, i have a movieclip whose instance name is "myMc":

//how many buttons
var totalbuttons = 5;

//space buttons
var baseX = 10;
var baseY = 10;
var spacer = myMc._height;

//loop to create buttons
for (var y = 1; y <= totalbuttons; y++) {
myMc = duplicateMovieClip("button" add y, eval("button" add y), 2000 + y);
eval("button" add y)._x = baseX;
eval("button" add y)._y = baseY + (y - 1 * spacer);
}


shouldn't this give me 5 buttons, nicely spaced, named button 1 thru 5? what am i missing here?

tia,

f

View Replies !    View Related
Action - Buttons To Display New Screen - Help Me Please
Hello! Please help me...
Problem 1: I can't login to this website! Every time I come back, it doesn't recognize me. I have to keep creating new user IDs. I'm using IE 6.0. I've deleted all the cookies I can find. Please advise.

Problem 2: FLASH RELATED
I can't figure out why this isn't working. I have an intial screeen with a button ("But1", the frame instance is named "But1_btn"). I have a second screen ("type"). What I would like to have happen is when the button is pressed, the next screen, type, should appear.
Please tell me how to make that work. I think this is basic, but i'm stumped. Below I've pasted the action script.

stop();
But1_btn.onRelease = function() {
gotoAndStop("type")
}

THANK YOU!!

View Replies !    View Related
Display Movie Clip Above Buttons
Hi

My problem is an easy one (I think!).
In my main scene, among over graphics, I have lots of buttons. What I want to do is to load a movie (external or not) which will be displayed one level up than my buttons are displying. This is the easy part. What I really haven't done yet is to display the loaded movie without being able to click the buttons behind it.
I have tried all basic actions to load the movie but in all cases the result is the same. The movie loads normally but the buttons behind it are active.

Thank you for your help.

View Replies !    View Related
Display Buttons In Response To FLV Completing
function vid1Play(CLICK:Event):void{
videoStream.play("vid1.flv");
var client:Object = new Object();
client.onMetaData = function(metadata:Object):void{
var LengthCheck = metadata.duration;
}
videoStream.client = client;
if(LengthCheck > 0 && videoStream.time >= LengthCheck){
AddChoiceGen2(null);
}
}


Above is a function I have created that is triggered after the user clicks 1 of 2 on-screen buttons. It then plays a video ("vid1.flv") and when it finishes I want to display 2 more buttons (triggered by AddChoice2 function). I feel I'm close to achieving what I want but need some help. Below is the simple code of what I'm trying to accomplish. I'm totally comfortable with ignoring the above code if it can be achieved another way using the code below.


function vid1Play(CLICK:Event):void{
videoStream.play("vid1.flv");
//Code that triggers the "AddChoiceGen2" function when the
//"vid1.flv video finishes
}

Thank you in advance for any time and help you may contribute.
thanks again

View Replies !    View Related
Use Buttons To Display Info Imported From XML?
I'm creating a floating window to display descriptions of my projects. I'd like to put all the descriptions in an XML file and add them to the popup window using an onRelase event on a movieClip button.
In Lee's tutorials, he uses an index to access the various videos and pics in his XML, but here I need to get to them using a name so I can address the elements with a button.

Is this clear? Can anyone help?

Thanks.

Mitch

View Replies !    View Related
Multiple Buttons Activate Videos In Same Display.
Using Flash 2004

I am trying take 7 seperate flv external files each assigned on a button, and when clicked the flv video file will load in the same display. I have noted macromedia tutorials regarding five buttons acting as chapters each having sections within the video but thats too complicated fr what I'm trying to do.

I'm new to 2004 and was hoping someone could help by poitning me to an example/tutorial. Thanks.

View Replies !    View Related
How Do I Display Images In An XML Based Slideshow Without Using Buttons?
Could someone please explain how to use an XML file and an image array (using FlashMXPro2004) to run a slideshow/presentation that uses no buttons but simply starts playing when the user accesses the page? There are 14 images and they just loop. I started with the JPG Slideshow code from Macromedia's website but it's based on a "next/Previous" --I assume there is an obvious answer to this that I'm just missing.

Thanks for your help
dwilder

View Replies !    View Related
Multiple Buttons Activate Videos In Same Display.
Using Flash 2004

I am trying take 7 seperate flv external files each assigned on a button, and when clicked the flv video file will load in the same display. I have noted macromedia tutorials regarding five buttons acting as chapters each having sections within the video but thats too complicated fr what I'm trying to do.

I'm new to 2004 and was hoping someone could help by poitning me to an example/tutorial. Thanks.

View Replies !    View Related
How Do I Display Images In An XML Based Slideshow Without Using Buttons?
Could someone please explain how to use an XML file and an image array (using FlashMXPro2004) to run a slideshow/presentation that uses no buttons but simply starts playing when the user accesses the page? There are 14 images and they just loop. I started with the JPG Slideshow code from Macromedia's website but it's based on a "next/Previous" --I assume there is an obvious answer to this that I'm just missing.

Thanks for your help
dwilder

View Replies !    View Related
[CS3] Adding Custom Buttons.scripts In Display List
Hi all,
I'm trying to learn how to write Actionscript from scratch vs the reverse engineering I've been doing for a while. Is there a way to create custom buttons in the display list? I'd like to create buttons that will type popular lines like import flash.display.Sprite;

I'd love to just click or drag it over vs type it. I'm either being lazy or efficient, either way I'm just trying to speed up the coding process.
Thanks!

View Replies !    View Related
How To Create Page X Of Y Display Linked To Next And Previous Buttons
I am using FlashMX 2004, I have created a presentation by importing Powerpoint slides and adding my own page navigation buttons (home,next and previous). I would also like to add a text display of the current slide in the following format: Page X of Y with X being the current Slide/Frame and Y being the total number of Slides/Frames. I have seen this functionality in the pre-defined Quiz Templates, but being new to Flash I am unable to figure out how it is done. Has anyone done this? I so can you tell me how to do this or point me to a sample or tutorial that creates this?

Thank you in advance,

thewiz2005

View Replies !    View Related
[F8] Can Flash Load Text Without Changing It And Display Whats Raw In The Text File?
just curious... I just want flash to read a txt file and do nothing to it... just echo it out loud and display it in Flash...
is there a way to do this?

like if the text file had "the quick brown fox jumped over the lazy dog" in it and NOTHING else... no variable syntax or anything..

is there a way this can be done?

I appreciate anybody who can help

View Replies !    View Related
Flash Script - Random Text Effect With Default Text Display
This is a dedicated thread for discussing the SitePoint article 'Flash Script - Random Text Effect With Default Text Display'

View Replies !    View Related
Text Field Doesn't Display Text When Its In A Page Loaded W/ AttachMovie
I'm having a problem where I made a 'main' page that loads sub-pages via attachMovie and in those subpages I have text fields that are populated via a LoadVars object. The subpage works perfectly when I run it by itself -- but when I load it into the main page w/ attachMovie, the text field doesn't show up. Ideas? ?

View Replies !    View Related
Advanced Text Display / Clipping / Measuring Text Length
Thought i'd post a quick question to see if anyone has ran into this before. It'd save me a bit of time if someone would be kind enough to help.

The final effect i'm working on is editable text, including typing directly on the text to edit it, draggable resize from the corners, changing fonts, changing colors, and masking the visible text so it's clipped at the end of the last char typed.

changing colors: easy
draggable resize: easy
changing fonts: easy if i can figure out the clipping and text measuring

clipping (or masking, whatever you want to call it): i could use some help on this one, i know it can be done but i haven't been able to run across any good examples. a link or an explination would be appreciated.

text measuring: this is something i've given up on for flash. i still need to do it but my current solution is to rip all the char metrics from the font through a real language into raw data that i can use for a lookup for flash. if anyone knows how to do this completely in flash it would save me a ton of time not having to re-rip metrics for every new font add in the future.

thanks!

View Replies !    View Related
Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,

In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.

I have tried these macromedia solutions with NO success:

http://www.macromedia.com/support/fl...t_outlines.htm

http://www.macromedia.com/support/fl...namic_text.htm

http://www.macromedia.com/support/fl...haredfonts.htm

Does anyone have a working sample .fla they can send me?

-Jimmy

View Replies !    View Related
Dynamic HTML Text Fields Do Not Display Formatted Text?
Flashkit.com,

In Flash MX I am developing a lot of movies using dynamically populated html text fields. When the user does not have a font I used on their machine swapping happens on all dynamic and input fields. Only static fields display the corrent font. I make sure the text field properties are embedding the fonts. Still all of the dynamic html text fields do not display the formatted text. I have .fla samples I can email to anyone.

I have tried these macromedia solutions with NO success:

http://www.macromedia.com/support/fl...t_outlines.htm

http://www.macromedia.com/support/fl...namic_text.htm

http://www.macromedia.com/support/fl...haredfonts.htm

Does anyone have a working sample .fla they can send me?

-Jimmy

View Replies !    View Related
Dynamically Loaded Text File Doesn't Display In Text Box?
Hello People,
This is the scenario, hope you can help
I have a main mc, that loads into it an mc with a dynamically loaded external text file(" text mc")inside a text box(normal stuff). When the main mc load the text mc the external text file doesn't appear in the text box? When I execute the text mc by itself, it works sweet, text displays. I just need some help of getting the text to appear when it's loaded inside the main mc?

I've attached the text mc file so you can find the problem(note it will work fine, it's just when it's loaded inside the main mc the text doesn't display?)

thanks people

View Replies !    View Related
Scrolling Large Text, Text Doesn't Display Completely...
I'm using this script for my scrollers, the main problem is when my movie have too much text content, it seems to stop displaying the text after a certain number of rows...

Anyone have an idea what could cause such limitation?


Quote:




// Jake Gelbman 11.14.01 slider script
// email: allforjake@yahoo.com
// site: allforjake.cjb.net

// ok here is the load event handler
// diff_y is the total amount that the scrollbar can movethe bound_box is a movie clip that surrounds everything. its just a clear box
// next line we set bounds to the bounding area of the bound_box clip getBounds() returns 4 variable yMin yMax xMin & xMax they are the bounding area that well use for a lot of stuff
// top is the highest amount the scrollbar can go
// bottom is the lowest
// updateScrollbar() is the function for setting the content clip to the right spot
// "scroller._y - top/diff_y" is a percent of the scroll bar's position we multiply it by the amount we can scroll of the content
// friction is how much the scrollbar should slow down by after throwing it
onClipEvent (load) {
diff_y = bound_box._height-scroller._height;
bounds = bound_box.getBounds(this);
top = bounds.yMin+(scroller._height/2);
bottom = bounds.yMax-(scroller._height/2);
function updateScrollbar () {
content._y = -(((scroller._y-top)/diff_y)*(content._height-bound_box._height));
}
friction = 0.10;
}
// this detects if you clicked on the scroller it starts a drag with the scroller to be from the "top" which we defined earlier to the "bottom"
// we then set scrolling to true
onClipEvent (mouseDown) {
if (scroller.hitTest(_root._xmouse, _root._ymouse)) {
startDrag ("scroller", false, scroller._x, top, scroller._x, bottom);
scrolling = true;
}
}
// here we stop the drag and set scrolling to false
onClipEvent (mouseUp) {
stopDrag ();
scrolling = false;
}
// every frame it sees if your scrolling then it updates the scrollbar to the right place based on the y position of the scroller
// it also calculates the speed of your scrolling
onClipEvent (enterFrame) {
if (scrolling) {
updateScrollbar();
newY = scroller._y;
yspeed = (newY-oldY)*0.50;
oldY = newY;
done = false;
} else if (!done) {
// here it adds the speed to the y position of the scroller
// then it asks if the speed is at a number that you can see it moving if it is then it decreases the speed by multiplying it by a decimal
oldypos = scroller._y;
newypos = oldypos+yspeed;
if (yspeed<-0.2 || yspeed>0.2) {
yspeed *= friction;
} else {
yspeed = 0;
done = true;
}
// the next two if statements test if it hit the top or bottom if it had it makes the speed negative to what it is so itll change its direction - neat bounce effect to it
if (newypos<top) {
yspeed = -1*yspeed*friction;
newypos = top;
}
if (newypos>bottom) {
yspeed = -1*yspeed*friction;
newypos = bottom;
}
// here we set the scrollers y position to newyposition (the variable we are adding the speed to)
// it then sets the mc to whereever the scroller is
// then its going to keep on doing this enterFrame business untill speed has reduced itself to 0
scroller._y = newypos;
updateScrollbar();
}
}

View Replies !    View Related
Importing Pictures In An Array And Display As Thumbnails In A Group Of Buttons
Hey all,
Im builing a small picture viewer and im trying to figure out the best way to do that, that is bandwidth friendly by calling the pictures from a folder on the server.
Discription of project:
On the left there will be a column of buttons that will be scrolled up and down, controlled by the user, and i want to make some kind of array (or if theres another way) that will add a thumbnail of the picture that i place in the folder outside the movie, but the tricky part, is that i want to be able to name the picture in sequence and have the flash movie pick up on that, then add a button that is a thumbnail of the picture, all automatically, or as close to automatically as possible.
Now, the right side og the stage, will have a large viewing area, so that when each thumbnail from the left is clicked on, the picture will change from the last one clicked on, to the new one.
How can this be done?

Thanx All

View Replies !    View Related
Display Random Text Message From A Text File
How do i display a Random text message in Flash from a text file?

I want to do something like a "quote of the day" thing
so i need a random quote in the flash movie everytime
users call up the htm page in the browser.

Please help.

View Replies !    View Related
Display Problem Of Static Text And Dynamic Text
When editing fla file, these two text look same, but when I press ctrl+enter to export a swf file, they look different.

3x

View Replies !    View Related
Is It Possible To Display The Text (from External XML File) In A Text Field?
I'm a beginner with Flash ActionScript coding. I've got to make a flash menu that takes the text and URL for the menu items from an external file and displays it on a PHP page.
I've found the code to load text from an external file on the Adobe site:
http://livedocs.adobe.com/flash/9.0/main/00000890.html

However, this code doesn't work. It gives a message "Undefined" in a box, though all the paths are correct.

However, I can't use this code since I need to anti-alias the text display.Is it possible to display the text (from external XML file) in a text field? I can then apply anti-alias and select the text characteristics. I'll embed all the possible font characters in the movie.

How do I make this Dynamic Text for text fields work?

I'm using Macromedia Flash Professional 8 for creating this menu.

View Replies !    View Related
Load External Text Into Variable? (not For Display In Text Box)
Hello,

I've having a hard time getting this to work, and I hope someone can help. I'm trying to load a value from an external text file into a variable named Q1A. Here's my text file:

&A1=correct

Basically, I'm placing quiz questions, four possible answers and whether the answers are correct/incorrect all in a text file. I'd like to make a 'submit' button that checks whether the answer is correct/incorrect (based on what's been defined in the text file). This lets me use the TXT to update all questions/answers, and it also lets me vary which statement (1st, 2nd, 3rd, 4th) will be the correct answer.

I can load external text into text fields just fine, but how do I use loadvars to define the value of a variable that I'd like to test? Any help would be greatly appreciated. Thank you.

View Replies !    View Related
Dynamic Text File Doesn't Display All Of The Text HELP
Hi everyone, I have a flash site that I created for a church, and on the homepage my client wanted to have a section called Announcements, where she could easily update the text from that section. To accomplish this, I went to the Kirupa tutorials for dynamic text files in Flash.

I used the XML (or was it PHP) code, pasted it in my Flash movie, opened up Notepad to create my text file, and began inserting paragraphs of text in the Notepad. I attached a scrollbar to the dynamic text file since I wanted to see all of the paragraphs. Scrolled down to the bottom, and then quite surprisingly the rest of the paragraphs were cut off!

The website I'm working on is www.jonesumc.org, and the Announcements section and scrollbar are on the bottom left side of the homepage. The paragraph cut off was originally supposed to say:

FINANCIAL LITERACY BOOT CAMP The Financial Literacy Boot Camp for ages 5 - 18 will be held July 10th - 14th here at Jones. Applications are available today! Three levels offered, Elementary, Jr. High & High School. Our mission to “Expose & Empower” our children & youth to positive financial tools. Volunteers are needed for the week. See Hilary Byrde for more details.

Instead, the scrollbar and textbox cuts the paragraph to the word "Jr. High"
Does anyone know what the problem is?

This is the code inside Flash that allows the text file to communicate with the dynamic text box:

Code:
loadText = new LoadVars();
loadText.load("announcement1.txt");
loadText.onLoad = function() {
announce1.text = this.announce1;
};
The dynamic text box has an instance name of announce1, and the Var is labeled: announce1
The dynamic text box doesn't have any actionscript applied to it. The line type of this box is also Multiline, and the text wraps inside the box.

Inside Notepad, at the very beginning I was told to type "announce1="
Immediately after the equal sign, I could write any kind of text I wanted to. Instead of hitting the ENTER key I pressed the SPACEBAR key several times until I created a new line of text.

As for the code, that's it! There wasn't really anything complicated with the code and putting things together. In order to fully understand my problem I recommend taking a look at kirupa's tutorial for dynamic text. Thanks for your help!

View Replies !    View Related
Random Text Effect With Default Text Display
Can somebody please send me a tutorial on this one. I think this is very cool effect.

Example of this can be seen at www.rob-dougan.com

Would appreciate it....

View Replies !    View Related
Text Doesn't Display In Dynamic Text Box
i'm using dynamic text box with the scrolling bar and it works if the text box is in the main timeline. but if i put it inside a movie clip i can see only the scroll bar and not the text!

any ideas? please help.

View Replies !    View Related
Can't Display Text In Dynamic Text Field
I can't for the life of me figure this one out.

The Problem:
I am loading data from an xml file, and displaying the the variables in several dymanic text fields, but I can't get anything other than a number to show up.

Here's the Situation:
Using flash professional fx 2004.
I have a Dynamic Text field with a name of name_txt assigned to it.
after I've loaded the xml file, I assign the variables. I'm using trace to ensure that the proper values are assigned, and they are. I resorted to testing by hard coding the text value of name_txt, and I found that text does not show up, numbers do... go figure.

so...
name_txt.text = "test"; does not work
name_txt.text = 3; does work

some values of my dynamic text...
not showing background, not htmlText, single line, aliasing, nothing embeded.

Anybody have any idea how to make text show up??
thanks in advance.

View Replies !    View Related
Text Display Problems With Dynamic Text
In a movie I'm working on, I recently changed a text field from static to dynamic (since we now want the text to change when rolling over something else). When it was static, the text was font Arial and it displayed fine. But now, the dynamic text shows up as a different font (what looks like a "default"), even though the font and size are set exactly the same (literally all I did was change the text type in the properties window). Any ideas as to what's causing this, and how to fix it? Thanks.

Trent

View Replies !    View Related
Rendering Dynamic Text As Display Text?
Anyone know how to render dynamic text loading from a .txt as nice vector display type? Is that even possible? I'm looking at hothotheat.com at their news, and I would think that text would be loaded externally.

Thanks,

C

View Replies !    View Related
Loading External Text, Text No Display
Hiya
I need a hand with some flash script. I have a file called main.swf which loads up section1.swf.

section1.swf loads in text from an external txt file called loadText.txt.

When I test section1.swf in the flash player, it works, and the text appears.
BUT When I test main.swf in the flash player, I can see the section1.swf that is loaded in, but the text is not there


This is the script I'm using on on the first frame on the main timeline of section1.swf
///////////////////////////////////////////////////
this.createTextField("myTitle", this.getNextHighestDepth(), 30, 30, 490, 27);
this.createTextField("myContent", this.getNextHighestDepth(), 30, 70, 250, 300);
loadVariablesNum("loadText.txt",0);
//
myTitle.multiline = true;
myTitle.wordWrap = true;
//
myContent.multiline = true;
myContent.wordWrap = true;
//
this.onData = function() {
//Insert text
myTitle.text = loadTITLE;
myContent.text = loadCONTENT;
};
stop();
///////////////////////////////////////////////////////

Any ideas?

I'm using FlashPro 8. And I'm testing with Flash player 8.

View Replies !    View Related
Text Display
I would like to be able to display text (song lyrics) by pressing a button. I would like the title to stay constant but I would like buttons to be able to display:
verse 1 verse 2 etc. chorus.
I would like to be able to click each button in any order also.
Is there a template that could be used to set-up each song or would each song have to be created from scratch?

Any advice on how to do this, tutorials, or products that will do this for you would be appreciated.
You can respond here or to cts7z@yahoo.com


Thanks
CT Stan

View Replies !    View Related
Text Display
I would like to be able to display text (song lyrics) by pressing a button. I would like the title to stay constant but I would like buttons to be able to display:
verse 1 verse 2 etc. chorus.
I would like to be able to click each button in any order also.
Is there a template that could be used to set-up each song or would each song have to be created from scratch?

Any advice on how to do this, tutorials, or products that will do this for you would be appreciated.
You can respond here or to cts7z@yahoo.com


Thanks
CT Stan

View Replies !    View Related
Text Display
hallo everyone,
i read some of the threats about text in flash, but they just get me more confused. so here is my personal problem.

... i am using a pixel font in a dynamic text field (which you can scroll). do i have to embed it, or will it be displayed as intended across all platforms ??? and ... if i use static text fields will pixel fonts anti-aliase or not ???

any help appreciated, thanx.

View Replies !    View Related
XML Text Display
i have a text component with xml loaded into. they are titles and urls for videos to play. but i want a description of each video to display onclick of the videos. here is what part of my flash looks like

var vlist:XML = new XML();
vlist.ignoreWhite = true;
vlist.load("videos.xml");

vlist.onLoad = function() {
var videos:Array = this.firstChild.childNodes;
for(i=0;i<videos.length;i++) {
videoList.addItem(videos[i].attributes.desc,videos[i].attributes.url);
aboutVideo.addItem(videos[i].attributes.about);
}
ns.play(videoList.getItemAt(0).data);
videoList.selectedIndex = 0;
}

var vidList:Object = new Object();
vidList.change = function() {
ns.play(videoList.getItemAt(videoList.selectedInde x).data);

}
videoList.addEventListener("change",vidList);

videoList.setStyle("selectionColor",0xCCCCCC);
videoList.setStyle("textSelectedColor",0x000000);
videoList.setStyle("rollOverColor",0xCCCCCC);

function displayDetails(){
textbox.text = (videoList.getItemAt(videoList.selectedIndex).labe l);
}

as you can see the bold part is where my trouble is. i have a text box and i just want to take the label (title) of the xml, i want to figure out how to also get the description in there.

please can someone reply cause this is the 2nd time i have posted...

View Replies !    View Related
Text Display
Hello, I am using the Flex 3 IDE, and I created a new actionscript project. My code is:


Code:
package
{
import flash.display.Sprite;
import flash.text.TextField;
public class SiteIntro extends Sprite
{
private var _field:TextField = new TextField();

public function writeName():void
{
_field.text = "text";
addChild(_field);
}
}
}
However when I hit run, the only thing I see is the background color. Why isn't my text showing?

View Replies !    View Related
Display Var In Text
ok i use to know this but its been i while since i messed with flash and i cant find an old file that has this nor could i find a tut or topic to help...

so i have _root. and in _root is a movie called score
there is a button on root that i want to where on click set var num1 to 20 and then have the number 20 show up in the score movie.. i tried making a text box and putting num1 in the var then having the button have on release set num1, 20 but that didnt update the text box to display 20

View Replies !    View Related
Can't Get Text To Display...
Hey Guys,

I have this code in my flash movie...


Code:
if(_root._currentframe == 110)
{
trace("blah");
var test:MovieClip = _root.attachMovie("mcWinner", "mcWinner", _root.getNextHighestDepth(), {_x: 157.1, _y: 348.8});
test.winners_txt = "testing!";
delete this.onEnterFrame;
}
Now... my 'mcWinner' movie clip shows up (I just have basically a red strip right now to make sure something shows up, and I can see the 'text line' come up instead of a pointer when my mouse moves over that... the trace shows up fine, but for some frickin' reason, the "testing" text won't show up... Does anyone have any idea why this isn't working for me? I have had similar code in programs before... but this isn't working for me...

Any ideas?

Thanks,

--D

View Replies !    View Related
Can I Display This In A Text Box
hello, i have a flash page which i would like to display the last 5 topics posted on my forum. i have the code to do this on a normal web page (below) yet i would now like to have the same displayed in a textbox on my flash page....

This is the code to retrieve and display the 5 most recent....

<script language="JavaScript" type="text/javascript" src="http://fugucreations.com/forum/topics_anywhere.php?mode=show&f=uMSwyLDQsNSw2LDksM TQ%3D&n=5&jlp=y&so=d&b=0"></script>


any help or guidence would be fantastic.

Thank you.

View Replies !    View Related
Display Var In Text
ok i use to know this but its been i while since i messed with flash and i cant find an old file that has this nor could i find a tut or topic to help...

so i have _root. and in _root is a movie called score
there is a button on root that i want to where on click set var num1 to 20 and then have the number 20 show up in the score movie.. i tried making a text box and putting num1 in the var then having the button have on release set num1, 20 but that didnt update the text box to display 20

View Replies !    View Related
How To Display Hml Text?
Hi
I have a text field on sage.I added the html enabled to it and intended to show an image inside it.The image is showing up properly but it comes in the second line insead of the first file with the text.Any body, any help????
thanks

View Replies !    View Related
Display Text From Another Text Field?
Hi,
Is how do I display a string of text that is in a texfield using a var?
None of this code work?

loadVariablesNum("Cookie.txt", 0);
var sometext = txtfname.text;
trace(sometext.ToString());

//or

txtTesting.text = txtfname.text;
var test = txtfname.text;
trace(test);
Trace(txtfname.text);

Thanks
-CW

View Replies !    View Related
Dynamic Text Field To Display Specific Text When Visibility Of Mc = "true"
Does anyone know if it is possible to display a certain line of text in a dynamic text field when a specific movieclips visibility is true? This is the script I am using now but it is'nt working.

if (_global.gothicBlockSide = "true") {
rightSideFont.text = "Gothic Block";
}

View Replies !    View Related
Dynamic Text Won't Display
I just started using ASP with flash. I've gotten numbers in a Access table back into flash, but can't get text to display in a dynamic text box. I'm looping to give it plenty of time to load, but still won't work. Here's the ASP code which works for numbers.

<%@LANGUAGE="VBSCRIPT" %>
<%
Option Explicit

Dim Conn, fldName, fldEmail, fldMessage, fldDate, fldAddress, fldPhone, fldVillage, strsql, strname, stremail, strmessage, strdate, strphone, straddress, strvillage

Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open("contactus")
strsql="SELECT fldName, fldAddress, fldEmail, fldPhone, fldVillage, fldMessage, fldDate FROM tblGuestBook"
Set rsRecords = Conn.Execute(strsql)
strname = rsRecords("fldName")
straddress = rsRecords("fldAddress")
stremail = rsRecords("fldEmail")
strphone = rsRecords("fldPhone")
strvillage = rsRecords("fldVillage")
strmessage = rsRecords("fldMessage")
strdate = rsRecords("fldDate")


response.write"&fldName" & "=" & strname

response.write"&fldAddress" & "=" & straddress

response.write"&fldEmail" & "=" & stremail

response.write"&fldPhone" & "=" & strphone

response.write"&fldVillage" & "=" & strvillage

response.write"&fldMessage" & "=" & strmessage

response.write"&fldDate" & "=" & strdate

response.flush

Why won't a dynamic text box with a variable name fldName display the value in my Access table? I've tried so much I feel it may be something simple like there is a difference between numbers and strings in the code which I'm unaware of. By the way in Flash I'm looping around
loadVariables ("search.asp", "", "POST"); with an if statement of if fldName = Joe goto next frame.


Thanks

View Replies !    View Related
Text Display Problem
Hi all.,

This problem is irritating me in each site.,i am creating.
The prblem. is when i have some paragraph . the text looks blurry. i am having blue bg. and the text as white. but the white texts looks blurish.

On text option pallete. If i select the "device font"
then the text looks good. but still there is a problem in it.I can't able to give animatin for the text which i gave decive font
Just if i gave the fade in and fade out effect. but it is refusing to come.
i don't know Y?
can anyone suggest some solution for this.

thankx in advance.
victor.A

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved