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




Dynamic Text Publish Problem



Hi there,
I ´ve got a movie which holds a dynamic text field. The preview in flash MX works fine. If I publish it, and start just the swf file, it works fine, too.

But as soon as I move it into a different folder (same computer), the movie works-but the textfield doesn´t show....

any idea?



FlashKit > Flash Help > Flash MX
Posted on: 01-20-2004, 03:21 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Dynamic Text From A Frame, MX But Publish In 5?
OK, I'm scratching my head. I can do this easy in MX and publishing as F6, but how do you put text in a Dynamic box when you got to publish as F5?

Just want to fill the box when it stops on a frame. Var name is pplTxt. Can't use an instance name.

Gads, how did people ever do anything before MX?

Dynamic Publish Path
Let's say I have an .fla named file1.fla. This file is saved on C:. so it's path is:

C:file1.fla

Let's say I want to publish to a folder called :

C:published

So I go to publish settings, to the Formats tab, and enter the "Flash (.swf)" path as

C:publishedfile1.swf
(*If you don't specify a file name here it published an .swf without a name, only a file extension, it's really odd)

Now let's say I want another file that is very similar to file1, but not exactly. So I copy and paste (duplicate) file1.fla into the same folder and rename it file2.fla, so now in C: I have
file1.fla
and
file2.fla

If I publish file2 now without changing the publish settings, it will publish as:
C:publishedfile1.swf
again... overwriting the old file1.swf.

How can I specify the publish folder, without specifying the publish filename (specifying "Use Fla's Name" would work as well) so when I duplicate an fla, it will publish using the fla's name to a specified folder?

Also, why, if I don't specify the filename does Flash create an swf file with NO NAME? How is that possible? I tried this and went to the folder, there is a file sitting there called:
.swf
no name, just the extension...???

On Publish Some Text Disappears
Ok my friends, I have a little problem that's ruining my day. I've created an annual report in flash which contains a fair amount of text. The larger text boxes use a scrollbar that scrolls static text boxes. In many of my larger static text boxes everything looks fine when I'm working in the fla, but when I publish and view the swf, portions of the text just disappears or becomes transparent. I think it becomes transparent, because the static text boxes are still their original size. If anyone can please help me with this I would be so grateful. I'm working on a very tight deadline and this is stopping me from finishing up. Thank you.

-Justin

On Publish Some Text Disappears
Ok my friends, I have a little problem that's ruining my day. I've created an annual report in flash which contains a fair amount of text. The larger text boxes use a scrollbar that scrolls static text boxes. In many of my larger static text boxes everything looks fine when I'm working in the fla, but when I publish and view the swf, portions of the text just disappears or becomes transparent. I think it becomes transparent, because the static text boxes are still their original size. If anyone can please help me with this I would be so grateful. I'm working on a very tight deadline and this is stopping me from finishing up. Thank you.

-Justin

Publish Text In Chinese ...
I have the English version of Flash but I need to publish some text within my Flash piece in Chinese. I can type it up in something like Microsoft Word and then do a screen dump > photoshop > cut and paste combo, but is there another way ?.

Thanks,
Stephen.

Why Is My Text Blurry In Export Or Publish?
I am using arial, 10 pt, sometimes 12 point - cos Sevenent was acting quite ugly...

can someone tell me why it looks fuzzy when I view it? It's fine in Flash, but when I get outside, it's crap. AND I have the qualty at best.

???

Text Doesnt Show When I Publish ?
I have the strangest problem. I am using flash MX and when I type on the top layer, the text will show while I am in the editor, but it dissapears once i hit publish-> preview. Anyone know whats going on?

-doug

Text Not Showing Up When I Publish My Movie
Hey all,
well I just made a little short intro, but when I publish my movie and play it, the text that is supposed to be at the beginning and at the end of it doesn't show, it's just a white screen.
I used a simple fade effect on the text by setting alpha to 0% and what not, but now when I publish it it doesn't show. The rest of my movie I can see fine, even the text that I used a mask glint effect on, but for some reason this one refuses to show up. Any ideas? Any help would be greatly apreciated. Thanks in advance.

Text On The Desktop, But Not Publish On The Server?
I have a .txt file in my folder where my .fla resides that Flash uses to pull text from. I have it set to dynamic text and nothing is in the text box. It shows fine when loaded from my computer, but on the server... There's nothing.

And yes, I uploaded the text file, lol.)

Scrollbox Text Not Formatting On Publish
Hi, I've created a dynamic text scroll box that scrolls perfect but the formatting that I have used in the box for the text is not the format that is showing once I publish my .fla into it's respective .swf. For example, I have white and black text within the scrollbox but for some reason only the white shows up when I publish it. Is there anyway to fix this so that the formatting I use within the .fla shows once I publish it?

Thanks for the help!!

Publish Settings/Embedding Text
I'm making a movie but I have to publish it for Flash Player 6. I changed this in the publish settings. Should I have any issues with that? Do I have to simplify anything? I have nothing more than simple tweens and music.

Now embedding text. The place where I will be playing this will not have any of the fonts I chose (almost 100% sure). I'm new to all this but I heard of embedding text. Will this solve that problem? And if so, do I have to embed the whole alphabet for each text or just select letters? Any help would be appreciated. Thanks in advance

Sleetor

Text Not Showing Up When I Publish File.
I created a menu in Flash MX a few years ago. My customer called me and wanted to change the title of one of the buttons. So using flash 8 I opened my fla and changed the button text on one of the buttons and when I published it, NONE of the buttons have text on them. I have gone back and looked to make sure I didn't change anything else and everything looks normal. Any suggestions??

Here's my fla

Here is what the menu is suppose to look like.

Thanks,

Mike

Publish Transparent To Opaque Text
I am new to Flash and am trying to do the following:

Motion tween with text. Moving text from pt A to pt B and from transparent/invisible to opaque. I am doing this in one layer with a movie imported that plays in another. When I play it back in flash it looks fine. I have converted the text to a graphic symbol too.

When I publish the fla to swf and play back the text tween, say in a browser, the tween movement is there, but not from transparent to opaque. It remains opaque the entire time. What am I doing wrong?

Thanks!
bmgid

Publish Preview..it Works. Publish, It Doesn't
The functionality of my movie works fine in "Test Movie" and all "Publish Preview" modes, yet when I publish the movie and load it to my server, it doesn't.

Here's whats going on, I've got three buttons, each with very similar code.

Button one code -
on (release) {
_root.contents.loadMovie("Disturbed.swf");
}

Button two code -
on (release) {
_root.contents.loadMovie("FilterResize.swf");
}

Button three code -
on (release) {
_root.contents.loadMovie("HnOResize.swf");
}


I've got empty MC's on the stage for each corresponding SWF. All three buttons work as desired in the test movie and all publish preview modes, however, when I publish the movie and load it to my server, button three does not work. I've tried it with the empty MC's sitting on their own layer, or all on the same layer I've also tried it with the buttons on the same layer, or on their own layer.

Why would it work fine in the publish preview modes, but not when actually loaded to the server?

More important, how do I fix this?

Thanks

Can't Do Publish/Publish Setting A Movie In Flash CS3
I installed Flash CS3 while still keeping Flash 8. When I try to publish/publish setting a movie, an alert pops up saying 'No valid HTML Templates are available to complete this operation'.

Probably there was a conflict so I uninstalled both Flash CS3, Flash 8 then installed Flash CS3 but the problem still comes up. What is that?

Thanks in advance.

Text On Html Publish From Flash - Problem
Hello , I am having a serious problem and need some Help!!
I am publishing the html page from a flash file, my goal is to have all the text from the swf included on the html ,so , search engines can find and index my content.

After I publish:
1 problem : the text that goes to the html repeat several time ?
2 and more important: Just some of the text is transfer to the html, the rest doesn't go.
I have on the swf diferent symbols and movie clips and not all of the text is being transfer.

Does everyone ran into this Problem?


Thanks for the help

Rodrigo

How Do I Publish Flash Player 8 In Earlier Version And Keep Text Quality
I've been posting variations of this question on FK for weeks and can't find a straight answer. My dilemma:

>>Working on a site in Flash 8

>>Most computers I've checked on can't view text on my Flash 8 files, only images show up on published SWF's in IE (internet explorer).

>>Publishing in an earlier version of Flash Player causes text quality to drop significantly and roll overs on text don't work well.

>>All I want to do is create a site in Flash 8 that ANY USER can view without having to download the latest Flash Player.

Did I purchase Flash 8 for nothing?

How To Allow Client To Edit And Publish Text On Live Flash Site
My client with a flash website wants to edit the text in the site on her own. What's the best way to do this? Does anyone know of a solution?

Publish Preview, Publish Settings...
Greetings.
I have a bar that runs the top of my movie. I noticed that in publish preview the bar is cut in half from the top whilst in test movie I have the whole bar. Is there a way to better match up my movie between the two. In Dreamweaver I can set all boarders to 0 but I would like an accurate view of my movie in Flash publish preview.
All in all I want my Flash document to fit inside a standard browser.
Any ideas?
Thanks.

Publish Many Files With One Publish Profile
Hi all,

I'm using Flash MX 2004 and have a bunch of files to re publish with new publish settings. I created a publish profile and I'm trying to figure out if there is any easy way to have all my files use that profile without going into each one of them and specifying it on their pusblish settings. I try creating a project but I don't think this works for what I want to do. Any ideas?

To Publish Or Not To Publish In Flashplayer 7
Hi,
up til now I have published my sites in Flash player 6. Why not in 7? Because I didn't need it and thought that there may be a lot of people who didn't install 7 yet.

Now I am building a site in which I like to use a feature only available for Flash Player 7 (MovieClipLoader.onLoadError). I could to without that feature but it would give me a problem to work without it that I can't seem to solve.

So now I have strong doubts:
publish in 6 with more accessiblity, less flash detection screens, less attractive/functional site
publish in 7 with less accessibility, more visitors confrontated with flash detection screens , and a better going site.

I know I must make this decision myself, but I just wondered how you feel about this, and if you think my doubts are legitimate.

By the way, are ther any stats on which player people have installed?

Thanks,

jerryj.

To Publish Or Not To Publish In Flashplayer 7
Hi,
up til now I have published my sites in Flash player 6. Why not in 7? Because I didn't need it and thought that there may be a lot of people who didn't install 7 yet.

Now I am building a site in which I like to use a feature only available for Flash Player 7 (MovieClipLoader.onLoadError). I could to without that feature but it would give me a problem to work without it that I can't seem to solve.

So now I have strong doubts:
publish in 6 with more accessiblity, less flash detection screens, less attractive/functional site
publish in 7 with less accessibility, more visitors confrontated with flash detection screens , and a better going site.

The target group for the site is 18-20 years, people who like pop music and film (news , reviews etc).

I know I must make this decision myself, but I just wondered how you feel about this, and if you think my doubts are legitimate.

By the way, are ther any stats on which player people have installed?

Thanks,

jerryj.

Jumping To Areas Of Dynamic Text, Printing Dynamic Text
hello,

I have a movie clip that loads a .txt file into a dynamic text field. Due to the amount of content in the file a scroller bar is needed in order to view all of it. I want to create buttons that jump to different areas of the dynamic text for easier navigation so the user can go directly to various sections instead of having to use the scroller all the time. What kind of coding would I need to put on the buttons and within the .txt file at the areas I want to jump to?
Also, I would like to give the user the option to print everything within the dynamic text field only, not the surrounding elements in my movie clip. Is that possible?

thanks!

Dynamic Text Not Loading On Server . . . Other Dynamic Text Issues
ok - here's the url

http://www.rongilcreast.com/Test_Site/main.html

when I 'test movie' in Flash, the text comes in. But not now that it's online . . .

2nd problem. I want to add a scrollbar to the textbox, but when I drag the scrollbar onto the textbox, it doesn't snap-to the text box and resize itself.

all the files are here:

http://www.rongilcreast.com/Test_Site/main.fla
http://www.rongilcreast.com/Test_Site/main.swf
http://www.rongilcreast.com/Test_Site/Index.txt

whatamIdoin'wrong?

tia . . .

[AS2] Changing Text In Dynamic Text Field With Dynamic Instance Name
I dont know what I am missing here but what I want to do is change the text inside a dynamic text field via actionscript. the code I am using runs in a loop within a function. Trace is outputting the correct values.


PHP Code:



    for(i=0; i<=4; i++) {
        if(_root["order_"+ q][i] == 0) {
            ["order_"+ i]text = "First";
            trace("first");
        } else if (_root["order_"+ q][i] == 1) {
            ["order_"+ i]text = "Second";
            trace("Second");
        } else if (_root["order_"+ q][i] == 2) {
            ["order_"+ i]text = "Third";
            trace("Third");
        } else if (_root["order_"+ q][i] == 3) {
            ["order_"+ i]text = "Fourth";
            trace("Fourth");
        } else if (_root["order_"+ q][i] == 4) {
            ["order_"+ i]text = "Fifth";
            trace("Fifth");
        }
    } 




basically I want to do this -


PHP Code:



order_0.text = "First"; 




So how can I change this line to work as expected?


PHP Code:



["order_"+ i]text = "First"; 





EDIT- The instance names for the dynamic text fields are set
Thanks

The ALPHA Of "text" Doesnt Change At All When I Publish, But It Does In TimeLine?
Hi, Im having a really confusign time using flash today.

I made a movie with a text introduction, with a pure black background.

Basically the text is supposed to be at 0% alpha and then goes to 100% alpha, stays, and then fades to 0% again and replaced by another short sentence for a few times.

...............this isn't working!
So what I did was I made the brightness of the Text to -100 so it become pure black. Publish it and it worked! But.........at the end of the opening I back the blackbackground itself fade away to reveal a map of the world, so I cant "fake" the text fading way by changing the brightness to black.

I tried to change the text to 0% alpha but for some reason when I publish it pops up (at 100% alpha) and then it dissapears like I never told it to alpha tween.

Im using dynamic text for all of my stuff, does anyone have any clue! I'll really appreciate the help!!!!! thanks....

Trying To Take The Text From One Dynamic Text Field And Populate Another Dynamic Text
I'm trying to take the text from one dynamic text field and populate another dynamic text field with its contents.

I want to display the text that is in the text field _root.MC_Control.tab_title in another text field called _root.video_title.

I have tried this:

_root.video_title.text = _root.MC_Control.tab_title.text;

and this:

_root.video_title.text == _root.MC_Control.tab_title.text;

neither one seems work....am I missing something?

Publish Preview As Flash VS Publish Preview As Html
Ive made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php.
This is working fine when I preview the movie as Flash. The php script prints the variables as intended.

But when I preview it as html the arrays are all empty...
Can anyone tell me why?


ActionScript Code:
on (release) { number_of_attr1 = main._currentframe + 1; suggestions1 = new Array(); if(main.attr1.text.isEmpty()) {  gotoAndStop(8); } else { for(i=1; i<=number_of_attr1; i++) {  attr = main["attr"+i]  suggestion = attr.text;  if(!suggestion.isEmpty()) {   suggestions1.push(suggestion);  } } var submit1 = new LoadVars();   submit1.sugg1 = suggestions1; submit1.send("<a href="http://mylink.php" target="_blank">http://mylink.php","_self","POST</a>");  }//end else}

Publish Preview As Flash VS Publish Preview As Html
Ive made a movie that add strings from several input text fields to an array. This array is sent from the flash video to php.
This is working fine when I preview the movie as Flash. The php script prints the variables as intended.

But when I preview it as html the arrays are all empty...
Can anyone tell me why?


ActionScript Code:
on (release) { number_of_attr1 = main._currentframe + 1; suggestions1 = new Array(); if(main.attr1.text.isEmpty()) {  gotoAndStop(8); } else { for(i=1; i<=number_of_attr1; i++) {  attr = main["attr"+i]  suggestion = attr.text;  if(!suggestion.isEmpty()) {   suggestions1.push(suggestion);  } } var submit1 = new LoadVars();   submit1.sugg1 = suggestions1; submit1.send("<a href="http://mylink.php" target="_blank">http://mylink.php","_self","POST</a>");  }//end else}

Asfunction - How To Load Dynamic Text With Dynamic Text? [F8]
Hello dear helpers !!!

I'm trying to get external, dynamically loaded text to load different text files into a text box. I've figured out that I need asfunction to do it through calling a function in the movie and passing it variables, although i haven't been able to write this function at all... would anyone mind giving me a hand???


thanks sooo much!!

p.s. I've managed to get this working by creating a toggle function, so at the moment I have 25 text boxes and a show/ hide function, but that's very buggy.

Loaded Text File Wont Show All Of The Text In Dynamic Text Field
When I load an external text file into flash and display the string in a dynamic text box, not all of the text will show in the text box; and using scroll button to scroll the text doesnt help.

The text that is in the text file is as follows, and as far as I can see there is no reason why all this text shouldnt show in the dynamic text field; by the way all my targets are correct, I know that for fact.


message=Code: Cheat:
BEEPSAGONER Deactivate the censor beeps
DRACULASTEABAGS 50 lives
DUTCHOVENS Frying pan mode
XFYHIJERPWAL IELWZS Debug mode
BOVRILBULLETHOLE Shoot all objects
EASY Easy mode
VERYEASY Very easy mode
SPUNKJOCKEY New death animation
SEXYMANN Birdy & Squirrel scene

Code: Unlock chapter:
PRINCEALBERT Barn Boys
CLAMPIRATE Bats Tower
ANCHOVYBAY Slopranos
MONKEYSCHIN Uga Buga
SPANIELSEARS Spooky
BEELZEBUBSBUM It's War
CHOCOLATESTARFISH The Heist
WELDERSBENCH All chapters and scenes

Code: Unlock Multiplayer character:
WELLYTOP Conker
EASTEREGGSRUS Neo Conker
BILLYMILLROUNDABOUT Gregg the Grim Reaper
CHINDITVICTORY Weasel Henchmen
EATBOX Cavemen
RUSTYSHERIFFSBADGE Sergeant and Tediz Leader
BEEFCURTAINS Zombies and Villagers

Is It Possible To Change A Text Field From Dynamic Text To Static Text At Runtime?
The reason is because the dynamic text appears to be taking up about 90 % of the CPU usuage and I dont know any other way to reduce the CPU usage.

The text areas pull in lots of data from text files which slows down the program.

Any ideas?

Trasfering Text From One Dynamic Text Box To A Input Text Box On A Differnt Page?
Ok so I have a text box set up which receives the date on a callendar which you click on. On another page (a seperate html file) I have an input text box for receiveing this text.

I've been trying to do this using various methods using getURL, but, I can't get it to work. This is becoming tedious especially as I'm not able to test it without having to reupload the files.

If someone could please inform me on how I should do this I'd be vary greatful.

If you need any further information I'll reply as soon as possible.

How To Break Up Text When Calling Text Into A Dynamic Text Field
I am calling test in from a .txt and was wonding if there was a way to have a page with a bunch of information and have it obly call an indevidual paragraph or sentance depending on what i want it to ask.


ThnX

Load Text From A Text File Into A Dynamic Text Field
I'm trying to load text from a text file into a dynamic text field. The text field is on the "blog" page of the website. When I test my movie, the first time I go to the blog page, the text from the external text file (AND the CSS styles) show up fine. But when I click from the blog page to go to the "profit calculator" or "contact" pages and THEN click to go BACK to the blog page, the blog page animates back in, and right as the animation ends, the text on the blog page suddenly disappears and won't come back. PLEASE help me figure this out!

Dynamic Text Box / Xml Content - Text Is Too Close To Border Of Text Box
Hi,

If you take a look at my flash movie you will see that I have draggable movie clips, which contain dynamic text fields. These text fields contain text drawn in from a simple xml document.

The problem I have is that the text in the text fields is hedged right next to the border of the autosized text box. This makes them look untidy and in the worst case difficult to read. I wonder how I can add some margin to the left and right of the text to fill in some space.

http://www.nottingham.ac.uk/home/ccz...AndDrop3.1.swf

http://www.nottingham.ac.uk/home/ccz...AndDrop3.1.fla
(you also need the xml doc at : http://www.nottingham.ac.uk/home/ccz...scriptions.xml )

The code which formats the text boxes is:

with (main["dragAct"+i].dragActText) {
text = actText[i+1];
background = true;
backgroundColor = "0xe2e2e2";
setTextFormat(myFormat);
autoSize = "center";
border = true;
borderColor = "0x666699";
}

my text formatting looks like this, and you can see that I have tried to use leftMargin / rightMargin but these properties don't seem to work:

var myFormat:TextFormat = new TextFormat("Tahoma", 12);
myFormat.leftMargin = 20;
myFormat.rightMargin = 20;
myFormat.bold = true;

Any suggestions most welcome.

Thanks

Free Flash Source For Dynamic Slideshow With Automatic Thumnbails And Dynamic Text?
Is there any free flash source for dynamic images slideshow with automatic thumnbails and dynamic text / caption just like the one here:
http://images.businessweek.com/ss/06.../slideshow.htm
or this one:
http://www.clubparis.net/gallery

TIA

Dynamic Vars, Dynamic Paths Using Variables And External Text Files
Hi there,

first off, apologies for the long post, but its a tricky problem to explain... and on my first post too! (sorry )
Im have a bit of bother with flash calling variables from a text file, and using them to make paths to other variables, and to control the amount of time a duplicate clip occurs. The first of these 2 problems is this:

Im loading a text file "content.txt" into _root. (this works fine)
it contains the variables:

webclipcount=2
&webhenry=hello hello
&webbutton01=henry

on the main timeline I have this button

on(press){
sectiontitle="web"
clipcount=webclipcount
}

there is a text box on the main timeline with variable name of bodycopy.

on a clip on the main timeline I have this;

onClipEvent (enterFrame) {
if (num< _parent.clipcount) {
duplicateMovieClip(thebutton, "button"+depth, depth);
this["button"+depth].name = _parent[_parent.sectiontitle+"button"+num];

this gives button01 the name henry- this works.

on the duplicated clip I have these actions:

on(mouseDown){
_parent._parent.bodycopy=_parent._parent[_parent._parent.sectiontitle+this.name]
}

so we end up with a path like:

_parent._parent.bodycopy=_parent._parent.webhenry

and it in turn should make the textbox on the main timeline contain "hello hello"

but it doesnt.

also for the duplicating clip, unless i use:

onClipEvent (enterFrame) {
if (num< 2) {.....
<snip>

it wont work either. it seems neither can be dynamic/ pulled from the text file. (well, i can get them to work!)

If I use direct paths like:

on(mouseDown){
_parent._parent.bodycopy="bloody hell it works!"
}

and

onClipEvent (enterFrame) {
if (num< 2) {.....
<snip>

it works, but not if they are dynamicly set from the txt file...
Anyone care to shed some light onto this? its doing my head in!
thanks in advance or the help.

cheers,

chris

Mouseless, Autoscrolling, Dynamic Tweening, Dynamic Text...
I am having the darndest time finding help on this even though it seems like a common task (ok done venting)

What I need is this:

A dynamic text field (from txt file) that will autoscroll vertically. I know that I can do this by motion tweening a movie clip containing my dynamic text, but heres the thing: this source txt file will be updated daily (daily events). Some days it will be a few lines of txt (no scrolling necessary). Some days it may be 500 or more lines of text. So simply motion tweening my movie clip a fixed speed and distance will not work. I need the scroll speed, text box size, and scroll distance to be dynamic.

Please help us. The hack that made our kiosk made it almost impossible to open, so it takes me forever to open it and i don't want to do that every day... oh, you didn't need to know that, sorry.

An .fla or a tutorial would be a huge help as I am not action script savy, yet.

Thanks in advance!

Dynamic Aligning Input And Dynamic Text Box (flash 5 / 6)
Hi the title says it all really. i need to know how to dynamically align input and dynamic text boxes in (flash 5 / 6) so on a button press the text moves to the left or centred

thanks!

Dynamic Mask For Dynamic Text Won't Working Any Body Pls Help
Im' supposed to make a scrollable gridlike simulation with using MC. Inside that MC there are dynamic text area as cell in which its text will be updated dynamically.

Now i have a strange prob that when i use setMask to mask that grid MC it won't working


I have the MC name 'grid'
above that another MC name 'msk'

code is like tha
grid.setMask("msk");

it only shows the full grid instead of masking area.

Dynamic Text : Dynamic Height (depending On Content)
Hi people.

Im working on a website, and in some part there is a dynamic text space that sets its width depending on the resolution.

But well, I want the text to be sitting downside of my webpage. For this (I guess) I need to set the height of the space to its contents, so that I can use the textspace height as a unit, for putting it to the ground
(myTextSpace.y=stage.StageHeight - myTestSpace.height)

But well, I do not know, if there is any way to set the textspace height to its contents.

I hope I'm clear, thank you.

Dynamic Text Within Dynamic Movie Clip Loops
Ok my predicament. I am trying to create thumbnails, but instead of using pictures as the thumbnails I would like to have text, formatted blah blah for people to select. Now the code I am trying to adapt is fine and dandy to get working with pictures, so I know the part of this code that creates the movie clip is fine. However I cannot seem to dynamically create the text boxes within the movie clips. I need to have them within the movie clips so the opacity will change when they are hovered over.

Code:

currentName = "t"+k
thumbnail_mc.createEmptyMovieClip(currentName, thumbnail_mc.getNextHighestDepth());
thumbnail_mc.currentName.createTextField("text"+cu rrentName, thumbnail_mc.currentName.getNextHighestDepth(), 0, 0, 244, 28)
thumbnail_mc.currentName.text="test"

k will be changing anyway for each time through taht a movie clip is made hence why they will need different names.

Any help...hope this can be understood.

Accessing Dynamic Text Within Dynamic Added Movieclip.
Hi there.

I'm trying to access and change a dynamic text field within a dynamically added movieclip.

This is how I'm trying to accomplish that;


ActionScript Code:
uButton = attachMovie("_button",arr_videos[i][1], ++uDepth);
  uButton._x = uButtonStartX;
  uButton._y = uButtonStartY + uButtonDistance * uDepth  uButton.btn_name.text = "button name";

btn_name is the name of the dyn. textfield.

But this does nothing.. What am I doing wrong?

Thanks for your help

Samuel

Dynamic Text Field Receiving Dynamic Variables...
or something like that . . .

This is my problem: I'm generating _global variables via XML. Each variable represents different types of copy, of varying lengths. For Example:

_global.introduction = xmlDoc_xml.firstChild.firstChild.nodeValue;
_global.body = xmlDoc_xml.firstChild.firstChild.firstChild.nodeVa lue;
_global.summary = xmlDoc_xml.firstChild.firstChild.firstChild.firstC hild.nodeValue;

I want to create ONE text field, with scrolling, that will act as a template to house all types of content. I've assigned a variable that equals "content" to this text field. . . My problem is, I can't get the text field variable (content) to dynamically swap for the global variable (_global.introduction) in order to display the proper content.

This seems simple, but something's not working for me. Any thoughts? . . . BIG thanks in advance!

XML Loading, Dynamic Buttons, Dynamic Text Fields...
My last thread kind of died, I guess, so here's another one that I hope will get me some help; it has an updated FLA attached and what I think to be some better descriptions of my problems... I know I'm totally indebted to whomever will help, but this is an emergency and I need some timely advice.

so here's the FLA, XML, and some sample images: kirupaTest2.zip

1. I pretty much have the enlarged pictures loading I guess, which was my major problem before, but it doesn't matter because I can't get the code to "know" which of the dynamic thumbnails has been clicked (by "know", I mean return an index value, say 0 through 7 if there are 8 projects, that I can use to access that particular project in the array of 8 projects in the rest of the code)... So if the third movieclip thumbnail were clicked, I'd like "2" to come up somehow... I've tried this code, which is kind of lame, I know, based off of the idea of each of the thumbnail movieclips' names ending in their index number:

ActionScript Code:
//"this" is the button that was pressed; would return a string ending in//thumberMC_<number of whichever movieclip thumb was clicked>var: testString:String = this; //storing how many characters are in the string above...var: stringNumb:Number = testString.length;//using that value to take off the last string (hopefully the number)var: finalString = testString.charAt(stringNumb);


And that didn't work. (The code above was entered around line 71 in the layer "actions"; it's gone now)


2. An even bigger problem is I have some containers being drawn dynamically from height and width values pulled from an XML file. When I test the code that creates the objects using hard-coded values, it works fine; say if I put 481 in for the width and 375 for the height. But if I try to do it (sort of) dynamically like:


ActionScript Code:
var picHeight:Number = projects[5].bigPics[0].picHeightvar picWidth:Number = projects[5].bigPics[0].picWidth


it gets all screwed up; please try it for yourself in the supplied FLA. It's hard to describe what goes wrong; some things are drawn, and others aren't. I think it's because the objects are trying to draw before they have the data to draw with. This can be seen at lines 129 and 130.


3. Lastly, there's a dynamic textfield I'm trying to create that never shows up for some reason. Again, you could see in the FLA (in the "createDrawer" function around line 424).

If I can clarify, please let me know.

Dynamic Video Playlist And Dynamic Text Articles
Hi all, hope you can help me..?

I have the task of creating a Dynamic Video Playlist to be incorporated in a FLASH 8/HTML site. The site owner should then be able to upload their recorded videos. The client will be using a low budged camera. I am planning to suggest a video format to the client that will suit me best.

In addition I also need to create a section where text articles will be posted by the site owner.

I am a beginner in Actionscript 2.0, and I have Flash 8 installed in my PC.

Can anyone recommend some FLA source files to get me started, and a tutorial? I've seen some tutorials, but they are either too complicated or don't attend my needs.

Many thanks!

Getting A Dynamic Text Box's Text From HTML-formatted Text?
Hey! You recognize me yet? I've got (hopefully) one last question for a while. Could somebody please tell me how do to get the text value of a text box with text that's formatted as HTML? ( it was formatted similar to "textBox.htmlText = "...";")

I tried "myVariable = textBox.htmlText", but it just gave me the formatting garbage it's using (<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana" SIZE="12" COLOR="#000000"></FONT></P></TEXTFORMAT>) without the actual text that my users see. I also tried "myVariable = textBox.text;", but it returned a blank variable.


Many thanks, me Flash bruthas
Furry

Dynamic Text, Loading Text From Text File
I have a large text file, full of, believe it or not, alot of text. When it loads into the textbox in flash, it cuts off after a certain amount of lines. How many lines does it cutt off at and if I can, how do I increase this? THanks

Copyright © 2005-08 www.BigResource.com, All rights reserved