Loading External Text Into A Attachmovie Window
Hello all,
The current project I am working on is: http://www.steadyscene.com/clubaddiction
The owner would like to update the INFO, CONTACT and LINKS sections of the site but does not have Flash. Having the owner edit a text file in notepad and then upload that to the server would be ideal. (I have seen the Kirupa tutorials but they do not satisfy my requirements)
What I want to accomplish seems to fall in the "Loading external text into a flash movie" category.
However, here is my situation and here are my requirements:
- The text has to be loaded into a attachmovie window. The buttons on the site use attachMovie which snap to an empty mvie clip called "HOLDER"
- currently on the site, you see that I have created standard Dynamic Text boxes with the instance of "infotxt". So the instance name needs to stay as it is, unless there is another method that accomplishes the same thing. This is a basic method of scrolling the text box with a button, using simple actionscript:
on (press) {
infotxt.scroll
infotxt.scroll -= 1; }
Currently, when the navigation buttons are clicked, the attachMovie are loaded into the empty mc "holder". Once the attachMovies are loaded, you see dynamic text fields with buttons to scroll.
Please provide feedback as to what to implement to satisfy my requirements.
Regards,
Daniel
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 03-12-2004, 02:56 PM
View Complete Forum Thread with Replies
Sponsored Links:
Loading External Text Into A Attachmovie Window
Hello all,
The current project I am working on is: http://www.steadyscene.com/clubaddiction
The owner would like to update the INFO, CONTACT and LINKS sections of the site but does not have Flash. Having the owner edit a text file in notepad and then upload that to the server would be ideal. (I have seen the Kirupa tutorials but they do not satisfy my requirements)
What I want to accomplish seems to fall in the "Loading external text into a flash movie" category.
However, here is my situation and here are my requirements:
- The text has to be loaded into a attachmovie window. The buttons on the site use attachMovie which snap to an empty mvie clip called "HOLDER"
- currently on the site, you see that I have created standard Dynamic Text boxes with the instance of "infotxt". So the instance name needs to stay as it is, unless there is another method that accomplishes the same thing. This is a basic method of scrolling the text box with a button, using simple actionscript:
on (press) {
infotxt.scroll
infotxt.scroll -= 1; }
Currently, when the navigation buttons are clicked, the attachMovie are loaded into the empty mc "holder". Once the attachMovies are loaded, you see dynamic text fields with buttons to scroll.
Please provide feedback as to what to implement to satisfy my requirements.
Regards,
Daniel
View Replies !
View Related
[F8]Help Loading External Text In New Movie/window
I basically want to set up a library or reference source from hundreds of text files I have, and be able to reference multiple text files at one time using multiple windows/movies/swfs.
So I need to be able to have a button that would open a new blank swf (based on a template with scroll?) and then this would open the requested text file. Is this remotely possible? I know I can load external text files into a scrolling box, but is it possible to do what I am trying to do without creating a swf for each text file?
Thanks,
Hal
View Replies !
View Related
Loading External SWF's Into A New Flash Window Instead Of A Browser Window?
I have this flash presentation where I have buttons when clicked on, a (_blank) browser window pops-up and begins playing external SWF's.
The problem is that, with windows XP, every time I click the button(s) to have the browser window pop-up, to play my externals, the damn 'virus protection notification' thing pops-up first, asking me if this content is allowed. Is there a way to turn this off? My client does not want to have to "allow" the browser to play the external SWF's everytime. I've tried everything but no luck.
Better yet, is there a way to have the external SWF's pop-up in a totally new flash window, on top of the main (presentation) window? I don't want the external SWF's playing in the same window, but rather show in a new window entirely. Can anyone help me? This project is past-due and it needs to go out today. I'll attach the current scripting I'm using so far, if it helps. Thanks so much!
bottingsAd_mc.onRelease = function() {
getURL("exampleAds/bottingsports2_001.swf", "_blank");
};
View Replies !
View Related
AttachMovie & Dynamic Text Loading?
The problem I have is that the only way I find I can load dynamic text into a MC that I am attaching is to load the text file into each MC.
Is there a way to have the text file loaded into the root swf and then have each attached movie clip call upon it for the text?
This must sound completely obvious, and I wouldn't ask, but I can seem to find a straight answer anywhere.
View Replies !
View Related
Loading An External .txt Into A Scrolling Window
I am trying to make a news section that my client can update with a .txt file. I have gone through the tutorial for scrolling (which is great) and it uses a .txt, but uses it to generate .html to place in the actionscripting. The second part of the tutorial says it will load an external file in it, but I couldn't seem to find it (did I overlook something?)
So...
1. I need to have a .txt file load automatically into a scrolling window without access the .fla. Is that possible?
2. I couldn't figure out how to have a link in the scrolling text. I checked the html option for the dynamic text, but...
I have also tried using a DHTML scroller, but it doesn't seem to have a way to load a .txt file, either. I am a novice when it comes to this programming stuff, if you haven't gathered! Thanks.
View Replies !
View Related
Loading External Jpg Into Draggable Window
I am having problems loading an extenal jpg into flash 5 into a draggable mc called 'draggable'.
I have created a mc called 'slide' within the 'draggable' mc on a seperate layer from the drag window graphics, but am stuck on the right actionship to apply to 'slide' to make the external jpg load.
Anybody
KAINCJ
View Replies !
View Related
Loading External Image Into A New Window...
I am working on an online catalog for someone, and he wants a bigger version of each image to pop up in a new window when clicked upon. I have the javascript, but what would be the proper code for the button? Would I have to make a swf out of each graphic and use LoadMovie or can I just use plain graphic files, like .jpg?
View Replies !
View Related
Loading An Swf Into An External Window And Other Scripting Queries.
how you all doing? beginner here...
i have a page with some photo thumbnails, each have been given an instance name.
if i want to load them into an external window, what code should i use?
the layout is 6 pics on one page and each should load in its larger size in another window.preferably once one is loaded and another thumbnail is clicked, the old one could disappear. i've already made individual swf's of the large size pics.
any help would be greatly appreciated!
also, i've always wondered...but on most sites that have preloaders, how does the preloader always show up b/w each sections. say i have my preloader in keyframe 1, with the script written...and each section on say keyframes 10, 15 and 20 resply. is there a script that one needs to put down [like a gotoAndPlay(1)] to play the preloader each time a section button is clicked and the page is loading?
View Replies !
View Related
Loading External Movie In A Target Window With Its Size
Okey I have a root movie and when I press button my external movie loads:
on (release) {
loadMovie ("logo.swf", "main");
}
The name of movie is logo.swf and I wanted it to load in a specific target window which in that case would be main (a movieclip symbol). Problem is that it get rids of window (which is fine) but it also loads movie with its original size. So I have a root movie with something on right corner that looks like logo. But I want it to be in the window with size of that window. So how do I do load movie into spefic target with target's size.
View Replies !
View Related
Open Text In An External Window
i have a website in which u click on a button in the main window and this then goes to the image. but i want to show the appropriate text in a separate window. i also want this same window to load all the text for the subsequent images. so my question is:
how do i make the external window load the right text when the user is only clicking in the main window?
View Replies !
View Related
Combining External SWF Loading With Dynamically Loading Text Tutorial
I am trying to combine the external SWF loading tutorial with the dynamic text loading (via XML and CSS) tutorial.
Everything loads fine, except the stylesheet is not applied to the text. It must have something to do with the swf being externally loaded, correct?
Any ideas how to fix this?
Here is the code for Frame 1 of the externally loaded swf.
Code:
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
//load css
kungFuStyle = new TextField.StyleSheet();
kungFuStyle.load("example.css");
myText.styleSheet = kungFuStyle;
//load in XML
kungFuContent = new XML();
kungFuContent.ignoreWhite = true;
kungFuContent.load("example.xml");
kungFuContent.onLoad = function(success)
{
if(success)
{
myText.text = kungFuContent;
}
}
midframe=10
All the files are in the same dir.
View Replies !
View Related
Help Problems Loading External Text And Loading The Movie Into The Explorer
Hola a todos!
I have some troubles with my movies. I'll explain.
(Sorry for my poor English - I'm Spanish!)
I'm developing a website for a Real State Agency in Spain. My idea is make it enterely with Flash, but It's the first time I face Flash. I've found in the tutorials of kirupa.com the greatest help! But, still that, I need more help!
My first problem comes when loading the .swf into the explorer. I made a simple .html file that calls the .swf file to be loaded. The explorer says it's loaded, but I have to press the "Reload" button to see the movie. Can you say me why?!!!!
My second problem... well. I'll need a few minuts to explain it!
I have created a main scene. Inside the main scene I load the movies of the different sections of the site. This new movies loaded onto the main movie contain texts from external .txt files. There's no problem with the texts that are just a few words, as in the section "Acerca de". But when I need a bar to show the whole text I find that the bar doesn't work in the first time that the movie is loaded, and you have to click again in the section to access the whole text, I mean, to make the bar work. Have I explain myself?
Well. I think you should visit the site to see my problems.
Is this: http://www.wk-inmobiliaria.com/FLASH
This website is, of course, incomplete. I'm still working on it.
Could someone help me????
---- Help me Obi Wan: You're my only hope!!!!
Thanks a Lot.
Raul.
View Replies !
View Related
Combining External SWF Loading With Dynamically Loading Text Tutorial
I am trying to combine the external SWF loading tutorial with the dynamic text loading (via XML and CSS) tutorial.
Everything loads fine, except the stylesheet is not applied to the text. It must have something to do with the swf being externally loaded, correct?
Any ideas how to fix this?
Here is the code for Frame 1 of the externally loaded swf.
Code:
//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
//load css
kungFuStyle = new TextField.StyleSheet();
kungFuStyle.load("example.css");
myText.styleSheet = kungFuStyle;
//load in XML
kungFuContent = new XML();
kungFuContent.ignoreWhite = true;
kungFuContent.load("example.xml");
kungFuContent.onLoad = function(success)
{
if(success)
{
myText.text = kungFuContent;
}
}
midframe=10
All the files are in the same dir.
View Replies !
View Related
Load Popup Window From External Text File
Using Flash 5.
I want to spawn a customised popup window from a external text file but can't get the damn thing to work. Here is the part of my external text file that want to open the popup:
<FONT FACE="Verdana" SIZE="10" COLOR="#FF0000"><B><U><a href="contactform.html" target="sdpop" onClick="javascript:window.open('contactform.html' ,'conpop','width=300,height=300,scrollbars=yes');" >contact form</a></U></B></FONT>
Does Flash 5 support this?
Am I typing it wrong?
Would I be better off using variable?
Why am I such an embicile.
Any help here would be greatly appreciated. I've checked the usual sites for tutes, and scaned the search engines in the hope that there was something on this but could not find anything.
One last thing though this is not important. Can I get my external text file to tell Flash to do tellTarget actions?
View Replies !
View Related
External Text In External Swf Not Loading In Main Swf
Hi. I'm kind of new to Flash, and am trying to make external text load into an external swf which is loaded into my main swf.
What I have is a swf file where I have buttons that load external text. I then loaded this swf into another main.swf and now the external text will not load. The code i have in the external.swf to load external text is this
but4272005.onRelease=function(){
loadVariablesNum ("4272005.txt","0");
}
but4282005.onRelease=function(){
loadVariablesNum ("4282005.txt","0");
}
but532005.onRelease=function(){
loadVariablesNum ("532005.txt","0");
}
This swf works by itself, but when i load it into the main.swf it doesn't.
I'm sure it has something to do with the "0", but I'm not sure what to put there to make it load correctly in the main swf.
The dynamic textbox i'm trying to load into is named "index_txt". The name of the loader in the main.swf is named "content". Any help would be appreciated.
View Replies !
View Related
External Text In External Swf Not Loading In Main Swf
Hi. I'm kind of new to Flash, and am trying to make external text load into an external swf which is loaded into my main swf.
What I have is a swf file where I have buttons that load external text. I then loaded this swf into another main.swf and now the external text will not load. The code i have in the external.swf to load external text is this
but4272005.onRelease=function(){
loadVariablesNum ("4272005.txt","0");
}
but4282005.onRelease=function(){
loadVariablesNum ("4282005.txt","0");
}
but532005.onRelease=function(){
loadVariablesNum ("532005.txt","0");
}
This swf works by itself, but when i load it into the main.swf it doesn't.
I'm sure it has something to do with the "0", but I'm not sure what to put there to make it load correctly in the main swf.
The dynamic textbox i'm trying to load into is named "index_txt". The name of the loader in the main.swf is named "content". Any help would be appreciated.
View Replies !
View Related
Loading External Text File Into Flash Using Links From Dynamic Text Field Link?
I am using a dynamic text field to load in .txt files with html tags. I have a couple "click here" type links that I would like to use to load a different .txt document into the same dynamic text field instead of a url link like it does default. Is this possible? I'm sure I could put a button over the text since its not long enough to need a scrollbar but I would like a more dynamic and flexible way to do this if its possible.
Thanks
View Replies !
View Related
Loading External Text File Into Text Area (flashMX)
Hi,
I am trying to load text from an external text file into a textarea in FlashMX. I am able to set the contents of the textarea by using a string ("test thingy"), but I was wondering if anybody could point me in the right direction on hoe to include text from an external file.
Used to set string:
scroller.text="test thingy";
Thanks a bunch,
Niklas Wahlberg
View Replies !
View Related
Loading HTML/Text From External Simple Text File…
To all the Flash Gurus:
Basically how do you do the above? I've gotten very small snipets of text to load from an external text file, but there was probably at maximum 50 characters. This is even after a long load time and a very fast connection (T1/off of the HD).
I'm trying to get this to work so that I don't have to update the flash files to update the text - or rather so that someone else can update them w/o me acting as a middle man except for special occasions. The best example, I think, of what I'm trying to do is www.spartamusic.com
Thanks-
Davin
View Replies !
View Related
Problem With Loading External Text Into Text Ticker In Flash
hello everyone ...
So i've created a text ticker that loads text from an external text file ... when i test it as a scene it works fine ( it's embedded onto a movie symbol ) -but when i go to the main stage and place a copy of that movie onto the main stage and run the test of the main stage the thing does not work - loos like it gets stuck somewhere in toe first few frames of the ticker for some reason and does not show the text ... any ideas ?
I've tried placing the text file online and reffer to it as a http link , still same problem ...
thank u
s.
View Replies !
View Related
Loading Dynamic Text Thru External Text Files
Okay, i've looked at the dynamic text questions but am still having a little trouble. I can make dynamic text load if the dynamic text is on the main timeline, but what if it's embeded into a movieClip?
On my main timeline, i have a layer called actions. On a particular frame, i have the following:
loadVariablesNum("about.txt", 0);
A few frames down, i have a movie clip called "placeHolder" that slides in. This movie clip contains a dynamic textbox with both an instance and variable name of "aboutText".
The text file about.txt reads as follows:
aboutText=This is a test
When i test run my movie and it gets to the part where the variable should load, my placeHolder comes across the screen, but the dynamic text box reads:
_level0.instance18.aboutText
I changed something (don't remember what), and it made the actual text from the file show up in a new browser window!!!
How do i get my text to load into the movie clip?
if you need to see the fla and text file, post a request for the files with e-mail address..
Is there a way to attach files here?
View Replies !
View Related
Problem Loading External Text Into Text Field.
I've never ever had problems doing this before untill now.
Currently my home.fla has set up two scenes. ( preloader and second )
in the first frame of the second there is a dynamic text field with 'news' as the var. And in the first frame of actions layer
Code:
loadVariablesNum("news.txt", 0);
news.txt is
Code:
&news=Todays new is trying to get this thing to work!
I've also tried
Code:
news=Todays new is trying to get this thing to work!
Thanks in advance if anyone knows what is going on with this!
View Replies !
View Related
Loading External Text Without Variable Name In Text File
i need to be able to load text from a file and put it in a dynamic text box but i cannot modify the text file to put in a variable name
ie the text file cannot contain variablename=1234
but rather must simply contain 1234
Is it possible to load some text without a variable name indicated in the file using flash mx 2004 and, if so, how would one do this?
View Replies !
View Related
Loading Text Into Text Fields From An External File…
I have a file supplied to me with a couple of text boxes in it.
My friends would like to easily update the content of these boxes by using an external text file.
I have tryed tests with the "loadVariables" property, but can't seem to get any text to load at all. I have a text file called "Content.txt" and the dynamic text box has an instance name of text1 (original I know) and a variable name of myText.
The beginning of my text document starts of with "myText = "…
The line of code I was using was
loadVariables("Content.txt", text1);
this produced no result… does anyone have any suggestions for this problem?
Cheers.
Joel
View Replies !
View Related
Making Some Text In Color When Loading From External Text
i was wondering, is there a way to make it so like say i loaded external text file to display text on my page that said:
2/04/04
Today i became a god, tomarrow i will eat a twinkie.
Could i make the "2/04/04" part like red and the rest of the text black so like i can make:
2/05/04
Today i became a god, tomarrow i will eat a twinkie.
2/04/04
Today i became a god, tomarrow i will eat a twinkie.
and make the dates red and the reg text black?
View Replies !
View Related
Help: How To Change/hide Text While External Text Is Loading
Hi. I'm not an actionscript person and I got this from someone else on the forum a while back but I can't seem to find the original post. I was wondering what I would have to change in order to get rid of this text (_level0.scrolltext.filltext) that shows up while the external text file is loading. It looks really unprofessional.
Here is the code and I'm assuming its the last line of code that's doing it but again I really have no idea:
Code:
stop();
var loadtext:LoadVars = new LoadVars();
loadtext.load("home.txt");
scrolling = function ()
{
var scrollht:Number = scrolltrack._height;
var boxht:Number = scrollbox._height;
var scrollarea:Number = scrollht-boxht;
var ms:Number = filltext.maxscroll;
var scale:Number = (ms-1)/scrollarea;
var ypos:Number = scrolltrack._y;
var textpos:Number = filltext.scroll;
var left:Number = scrolltrack._x;
var top:Number = scrolltrack._y;
var right:Number = scrolltrack._x;
var bottom:Number = (scrolltrack._y+(scrollht-boxht));
var ymove:Number = 0;
var textmove:Number = 0;
scrollbox._y = ypos;
scrollbox.onPress = function()
{
startDrag(this, false, left, top, right, bottom);
this.onMouseMove = function()
{
ymove = (ypos-this._y);
textmove = (Math.round(ymove*scale));
filltext.scroll = textpos - textmove;
};
scrollbox.onMouseUp = function()
{
stopDrag();
delete this.onMouseMove;
ypos = this._y;
textpos = filltext.scroll;
};
};
if (ms==1)
{
scrollbox._visible = false;
scrolltrack._visible = false;
}
else
{
scrollbox._visible = true;
scrolltrack._visible = true;
}
};
loadtext.onLoad = function (success)
{
if (success)
{
filltext=loadtext.filltext;
scrolling();
}
else
{
trace ("not loaded");
}
};
View Replies !
View Related
Making Some Text In Color When Loading From External Text
i was wondering, is there a way to make it so like say i loaded external text file to display text on my page that said:
2/04/04
Today i became a god, tomarrow i will eat a twinkie.
Could i make the "2/04/04" part like red and the rest of the text black so like i can make:
2/05/04
Today i became a god, tomarrow i will eat a twinkie.
2/04/04
Today i became a god, tomarrow i will eat a twinkie.
and make the dates red and the reg text black?
View Replies !
View Related
Loading Dynamic Text Without External Text File...?
Hello,
I apologize if this has been asked before as i'm sure it has but for the past few days with all my searches on sitepoint, google, and flash kit but haven't been able to accomplish it.
What i'm trying to do is have text in my flash movie change based on a variable displayed on a WEBPAGE. I tried to accomplish this using FLASHVARS but i'm not even sure if I used flashvars correctly since not only did it not work but I couldn't find a tutorial that told me what i had to do inside the .fla file to make the flashvars function work.
I was wondering if someone here can point me into the correct direction or explain to me how exactly i would go about doing this...?
Again, all i'm trying to do is make a text in the .swf file change based on a variable in the web page, such as how FlashVars works...
Thank you in advance, and again i apologize if this was answered before.
View Replies !
View Related
Loading External Text Files Into A Text Scroller
hello,
i'm second guessing my methods of loading info. from a text file into a text scroller , i've created. what i have is a text scroller, but depending which button i press, i would like new content loaded into that textfield(scroller) I sorta have an idea, but not sure of the procedure ..can some help ...Cheers!
View Replies !
View Related
Loading External Text File Into Dynamic Text Box
I have a dynamic text box on my stage that has a set width and height i want to populate it with an external text file to make it easy to update the text with out having to touch the fla. I'm just beginning to learn AS3 and don't know were to begin, in AS2 i would give the text field a variable and in my text file start with the variable name= ,variable on text isn't supported by AS3. any help would be appreciated.
Jake
View Replies !
View Related
Loading External Text Into External SWF
I'm looking to somehow load an external .txt file into an external swf file for a website section.
I've attached a zip that contains the main SWF file and the external SWF file that should load as a subsection of the main SWF.
The problem is, the external text loads fine in the about.swf just fine, but as soon as the about.swf is loaded into main.swf the text and it's buttons do not appear.
Any help or tips would be greatly appreciated for a flash novice.
Again, the files are attached
Thanks!
View Replies !
View Related
Pop Up Window Using AttachMovie Method
Hi All,
I'm trying to create a pop up window using the AttachMovie method and i want it to act like a coventional pop up window should do, i.e. it should be draggable and it should have a close button.
I have no problem getting the window to pop up and drag but when i try to use the close button it doesn't work or visa versa.
If anyone can help me to get both features working together i would be very grateful.
Cheers,
Winston.
View Replies !
View Related
Pop Up Window Using AttachMovie Method
Hi All,
I'm trying to create a pop up window using the AttachMovie method and i want it to act like a coventional pop up window should do, i.e. it should be draggable and it should have a close button.
I have no problem getting the window to pop up and drag but when i try to use the close button it doesn't work or visa versa.
If anyone can help me to get both features working together i would be very grateful.
Cheers,
Winston.
View Replies !
View Related
Loading External Text. Problem With Text?
I have created a scrolling text box that loads an external text file. I am having two problems with this.
1) Even though the external text file that is being loaded is several lines long (220 or so) when I test the movie Flash only seems to load the first 20 lines of it.
2) The text within the text file that I am loading contains no spaces in between in each line. When I test the movie the text becomes double spaced.
Can anyone help me to correct this?
thanks,
nico
View Replies !
View Related
AS 3.0 Loading External Text From A Text File
OK, so things have changed, a lot. In AS 2.0, I could create a text or HTML file with variables and have dynamic text fields to display the text from the loadVariablesNum argument. AS 3.0 uses a totally different model. How can I simply grab text from an external document and display it in a dynamic text field?
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
Loading Text From External Text File
Hi, i want to make a map editor for an Arkanoid style game. And i want to draw the stage in tiles. For this i want my flash to read from the external text file. I will write the characters in the text file where each character will represent a tile in the game and will be drawn at runtime. My question is that when i write something in text file lets say i write
A A A B C A A B
in the text file. where each character represents a tile in the game. How will i get this data from the text file. like if i load it through
loadvariables() command then where this data will go. How can i manipulate this data.
can anyone plz help me.
And sorry for the bad english.
View Replies !
View Related
Flash 8 Loading External HTML Pages Inside Flash Window
Hi
I was wondering if it is possible to load a google map into a window within my contact page that one can scroll about like you can in actual google maps. At the moment i just have a static picture that when you click on it it takes you to a seperate page. But i dont want to clog my site up with extra graphics if i can avoid it.
Many thanks
Greg
View Replies !
View Related
Help With Loading In External Text With &
Hello,
So I know how to load in external text from a .txt file and
it works fine. the text file starts with ""es=" and the
flash text box looks for the variable quotes and the text loads in fine. It works well....
the problem is that the text contains an "&" within it.
so they text will load in up to that "&" point....
I think it is treating the text after this as another variable and therefore not displaying it under the variable quotes.....
any ideas on how to display all of the text.....???
thank you
View Replies !
View Related
Loading A External Text
Hello there,
Loading a external text seams to be easy, just in my example it doesent work!
Here´s what I did:
I have a external file called "articulo.txt" who starts with the variable "Var=Blabla.....
The Dynamic Textfield in Flash is placet into a Floating Window (MovieClip)with the Textoptions: "Dynamic Text/ Multiline/ Variable:Var/ Word wrap/ Selectable"
From a Button placed in the Scene I give the order:
on (release) {
loadVariables ("articulo.txt", "_root.bwindow.wtop");
}
I tried many different options but non of them are working,
the text doesen´t load into the Dinamic Textfield???
What do I do wrong???
Thanks for helping,
Fery
View Replies !
View Related
LOADING EXTERNAL TEXT
hey all -
i've been tryin to crack this for days (and losing much sleep and schoolwork time too)... i'm trying to load an external text file into a flash movie i'm making. i know how to do this "normally" -- i.e. create the dynamic text field w/ variable name "text", have the external text file begin with "text=...", and execute the loadvariablesnum("url",0); in the main timeline.
this is my problem, and i believe it has to do w/ targetting & levels and whatnot. what i have is movie clips embedded into movie clips. i'm trying to have the dynamic text field in one of the movie clips, which is called 3-4 times in difference instances. the thing is, i want the text to load into the movie clip ALL the time... like in ALL instances... so basically, the text is part of the symbol, but it's dynamic and loads into the movie clip externally. the text shows up beautifully when i test the movie if i just use plain static text, but it does nothing when i try things w/ dynamic text. i've tried the load variables function in the main timeline, in the actual movie clip, with all these different settings, and nothing is working.
PLEASE HELP ME. I NEED SLEEP AND I NEED TO DO MY SCHOOLWORK.
my IM name is "gin mei", ICQ "7882765", or yahoo! "ginnymin".
View Replies !
View Related
|