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




Loading External Html



Here is what I need to do...

I have a fla made in Flash Pro 04. I want to incert a scrollable text feild that will display an externally loaded html file instead of a txt file. Is this possible within flash?

Thanks,
Jeff



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 03-04-2004, 09:37 PM


View Complete Forum Thread with Replies

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

Loading External Html Files With External Css Please Help
Hi people,
I'm new to this forum and new to ActionScript. I have not worked on AS1 or AS2 before so I just got started on AS3.

I'm trying to learn ActionScript 3 and I started experimenting with ideas and workinf examples.

What I'm trying to achieve is a website where the content shown is from external HTML files and external CSS.

My code was working up until trying loading the CSS. The error that I'm getting is "Call to a possibly undefined method URLLoader"

here is my code:


ActionScript Code:
import flash.display.MovieClip;
import flash.text.*;
import fl.transitions.*;
import fl.transitions.easing.*;


var bodyTextField:TextField = new TextField();
bodyTextField.x = 50;
bodyTextField.y = 300;
bodyTextField.width = 500;
bodyTextField.multiline = true;
bodyTextField.wordWrap = true;
bodyTextField.autoSize = TextFieldAutoSize.LEFT;
bodyTextField.selectable = false;

var textBox_mc:MovieClip = new MovieClip();

showContent("html_pages/home.html");

function showContent(paraString:String):void
{

    var contentPage:String = paraString;
   
    var myURLLoader:URLLoader = new URLLoader();
    var myURLRequest:URLRequest = new URLRequest(contentPage);
   
    var myCSSLoader:URLLoader = new URLloader();
    var myCSSRequest:URLRequest = new URLRequest("html_pages/demo.css");
   
    myCSSLoader.load(myCSSRequest);
    myURLLoader.load(myURLRequest);
   
    //myURLLoader.addEventListener(Event.COMPLETE, dataOK);
    myCSSLoader.addEventListener(Event.COMPLETE, dataOK);
   
   
    function dataOK(myevent:Event):void
    {
        var css:StyleSheet = new StyleSheet();
        css.parseCSS(URLLoader(evt.target).data);
        bodyTextField.styleSheet = css;
   
        bodyTextField.htmlText = myURLLoader.data;
   
        textBox_mc.addChild(bodyTextField);
        stage.addChild(textBox_mc);
       
        var myTransitionManager:TransitionManager = new TransitionManager(textBox_mc);
        myTransitionManager.startTransition({type:Wipe, direction:Transition.IN, duration:0.5, easing:None.easeOut});
    }
}

Can someone please have a look and tell me what I'm doing wrong? Thanks.

Loading External Html
Hi,
this must be a simple question. I have a scroller in flash 5 and just want to be loaded there an html file. How is that possible? Is there any movie (for example) in the "movies" section? I have searched and didn't find anything. Any help will be appreciated.

Thank you in advance. :)

Loading External Html To Mx
hi everyone!
ok... i have a flash and html version of a site...
one part has to be updated weekly....
it's a grocery store.. so 'the specials' are what i'm updating..
so in the flash version i have it so each button on main nav loads and external swf to main window....
the specials link has a scrollable text window done in mx (soooo much easier now!!)
and html just has java pop-up window loading the specials with a logo on top...
can i somehow just update one and they both will update?
with load xml or something??

website is www.producedepot.ca
on intro page click 'specials' link on flash the 'dollar' sign
please feel free to offer any ctitiques as well...

sincerely,steve GB<><

Loading External Html....
Man it would awesome if Flash supported the <img> tags when loading an external html file.
I would be done with this current project and moving on to more important things like getting some sleep....

It's so basic.
Its just text and pictures.
With the text flowing around the pics...

The only way I can think of to do it is to make a vertically huge honking MC with everything laid out statically - a mask - and a custom scrollbar with buttons that control the honking MC....

I just dread doing that...
It always scrolls funny - and I really want to use Flash's professional looking component scroller. If I could just ditch the pics and go with text I would! But it's for a client - and we're locked into flash at this point...I could always roll to a pop-up window in html, but that is also less than preferred.

Loading an external HTML file seemed like the perfect solution - except for these silly img tags.....

Anyone have any advice?
Is there a way to load those images through the html file ?
I so hope I am wrong about my conclusion that flash wont do it.

Your help and guidance is much appreciated...!


thankye.

Loading External Html
Here is what I need to do...

I have a fla made in Flash Pro 04. I want to incert a scrollable text feild that will display an externally loaded html file instead of a txt file. Is this possible within flash?

Thanks,
Jeff

The Img Tag When Loading External Html - Possible?
Man it would awesome if Flash supported the <img> tags when loading an external html file.
I would be done with this current project and moving on to more important things like getting some sleep....

It's so basic.
Its just text and pictures.
With the text flowing around the pics...

The only way I can think of to do it is to make a vertically huge honking MC with everything laid out statically - a mask - and a custom scrollbar with buttons that control the honking MC....

I just dread doing that...
It always scrolls funny - and I really want to use Flash's professional looking component scroller. If I could just ditch the pics and go with text I would! But it's for a client - and we're locked into flash at this point...I could always roll to a pop-up window in html, but that is also less than preferred.

Loading an external HTML file seemed like the perfect solution - except for these silly img tags.....

Anyone have any advice?
Is there a way to load those images through the html file ?
I so hope I am wrong about my conclusion that flash wont do it.

Your help and guidance is much appreciated...!


thankye.

Loading External HTMl Files?
I am wondering if you can load external HTMl files into your FLASH movie upon click/link ...whatever. Like you can load external .swfs into a certain place...and...if you can ...can you start your NAV/MENU at a level (say 3) and then load all external HTML files into say,...level 2??

I want to use external HTML pages for loading most of the content for a site...quick and easy..already done too. What i want to do is when I click on a FLASH link..have an animation happen where the HTML file is to load...say a door closing...then when it opens the external HTML files already visible/loaded underneath! Thanks...I hope you understand. I want to stay away from using frames!

-whispers- Is this possible??

P.S. Edit/Update...If I tried this using Frames...Could I possibly do sometig like this? OnClick of link "X" Load external Intro/Preloader.swf?..AND THEN....if that .swf use sometihng to keep looping (preloader) until HTMl pages is loaded into that FRAME?? Can you preload an HTML fle? What would you use? I have only used if frame loaded actions...maybe the KBloaded??? Someone help me out here.. Thanks! -whispers-
[Edited by whispers on 11-20-2001 at 03:58 PM]

Loading HTML Into External Text?
Hey,

I'm having a little trouble with my External Text Boxes (once again) but this time, I want to know how to input font color changes(or images, that'd be REALLY nice) into the text boxes.

I want to make links stand out (in fact, how to make links as well) with color.

But... when I input my HTML - it doesn't show up, in fact, everything beginning with a tag doesn't show up. I even use s before any "s so I am puzzles and wondering how I would be able to make my HTML tags work - wanna help me out?

Loading A Swf From An External Html File
Hi flashers,

I have a news feed that is an external html file that loads into my main flash movie. Does anyone know a way that I could put a link in the html that would load a swf in my movie (a la www.praystation.com's news feed)?

Thanks

Loading External URL In HTML Frame
I have a problem with loading an external URL into my HTML Frame.

I have the following on a menu item that work well :
getURL("http://www.site.com", "main");
And this on another :
getURL("mypage.htm", "main");

This work well until I click an external URL. www.site.com stay there when I click on the item that open mypage.htm.

Anybody knows why I have this problem?

I would prefer load the external URL in my frame but if I can't I'll use this that work fine :
getURL("http://www.site.com", "_blank");

Loading External Text As HTML
I know its possible, but i am have trouble finding a tutorial on it. I just want to be able to load external HTML text, so i can put hyperlinks in my dynamic text. I just need somebody to explain it to me. I can already load normal text, so i undestand the
loadVariables() code.
thanx for the help

Loading External Html Text
hello,

what are the rules when loading a html text file into flash text scroller?

i know you have to replace certain characters (",/,//,') but the tutorial im using is pretty vauge, and the tech note on macromedia.com isnt helping much either.

could someone post a b4 and after example of coding and any other helpful hints?

it would be greatly appreciated.

thanks,
jonny

Loading External Movies From HTML
This is driving me to distraction and I'm sure it's a simple fix. I have a Flash menu being called by all pages in a web site. Within that movie, I need to load an external SWF file into a blank movie clip, based on the destination web page. loadMovie won't work because when the user jumps to the destination page, the Flash menu resets itself. I know I need to control with variables, I'm just not sure where and how.

Thanks for any help or direction.

Loading An External Swf Into Another HTML File
Hi.. okay I'm hoping this isn't too tricky, but I looking for a script that when I button is clicked, it loads another HTML page in which is a flash movie that has a placeholderclip, depending on which one of 3 clips I want to load..

So can my button call for an HTML page and specify which external swf should be loaded into it's placeholder clip?

Loading External Txt/html Problems
I am using

myData = new LoadVars();
myData.onLoad = function() {
deg_txt.text = this.myVariable;
};
myData.load("deg.txt");

to load text in to a swf, working fine.

I am loading that swf into the main fla and it doesnt work

So I loaded the txt straight into the main fla and it worked fine, until I try to mask it and it is not visible.

How can I get around this? I would prefer to be able to load in my txt into the swf then load that swf into the main fla and then mask that..

Whats my best options?

Loading External Text And Using Html
Hello,

I want to be able to load an external txt file but have flash read the html code. I want to link java popup windows and also when i click the word "next" in my text file i want it to load another text file in the place where the orignal text file is.

Ideas or direction?

This is what i have so far:

ActionScript Code:
loadVarsText = new loadVars();
loadVarsText.load("february.txt");
loadVarsText.onLoad = function(success) {
    if (success) {
        trace("done loading");
        scroller.Text = this.var1;
    } else {
        trace("not loaded");
    }
};
Thanks

Loading HTML From External Txt Files?
Is it possible to load HTML from an external txt File?

I want to make it so that I can change certain images externally (using a .txt file, maybe with <img src=""> tag), not sure if I can do that using external .txts.

If not, is there another method of changing images externally, without having to go into the .fla?

Thanks

Russ

Loading External Html From Flash
Hey everyone,

I need some help. I am designing a website that has a flash menu and an html content area. Ok, what i am looking to do is when you click on lets say the "FAQS" button which is in flash, i want to load the faqs.htm into my main1.htm layout. I have a table in the main1.htm that i called "content" so it can be referenced. How do i do that actionscript on the button. Let me know if this is unclear, thanks.

Loading External Movie From An SWF In HTML
I've previously created a complete Flash Movie wherein I call several external SWF from the main SWF file. also calling external SWF containing music. But when I uploaded it to html, the only working is the main SWF. So for simplier version, I've created an HTML, containing the main swf named test.swf and when this swf file loads, it should suppose to play a music from losemybreath.swf. I've tried several codes for which this has to work

this.createEmptyMovieClip("sound_mc",0);
this.sound_mc.loadMovie("losemybreath.swf");

this.sound_mc.loadMovie("http://www.geocities.com/sanlingankg/losemybreath.swf");

does anybody know how to make the external swf file work?

Thanks!

Loading External Html From Flash
Hey everyone,

I need some help. I am designing a website that has a flash menu and an html content area. Ok, what i am looking to do is when you click on lets say the "FAQS" button which is in flash, i want to load the faqs.htm into my main1.htm layout. I have a table in the main1.htm that i called "content" so it can be referenced. How do i do that actionscript on the button. Let me know if this is unclear, thanks.

Loading External HTML Text
Hi!
I´m loading this html text into a textfield everything works ok except that the color of the text remains black (as I stablished on the textField while doing the movie) instead of showing a white color text.
I don´t know what is going on since the underline is showing correctly and is I change the tag color for a size tag it also works ok, so it seems to be a problem with the color, any ideas will be very appreciated.

the external txt files contains this text:
----
titulo=<p><U><font color="#FFFFFF">CAR WASH</font></U></p>
----

ps: the txt file is saved as unicode.

Problem Loading External Html File
I'm having a problem loading external documents into my SWF.

On a fast connection, or locally, the external document always loads into the text field correctly. However, if the SWF is loaded over a slower (modem) connection, the document doesn't always load.... the text field is left blank. This is odd, as if I refresh or exit and then go back to the page that's loading the external file, it will eventually load.

Has anyone else run into this problem? How can I ensure that the external file always loads correctly?

Troubles With Loading External Html File
First off I have alot of text I need to have scroll.

I've decided to use 7 buttons to navigate through the text. I had hoped to use the .html document I created in Dreamweaver however Flash doesnt support some of the html tags. Each time i try accessing my dynamic text I see the tags in the scroll window! Which brings me to my first question.

Is there anyway to save convert the .html to a html file flash will like?

Loading External Html Page Into Scrollpane?
I have worked on this problem for ages, trying all sorts of things. The thing is this: I have made a Flash site for a friend that needs a facility for him to be able to regularly update and upload a html page that will be viewed in the site.

I thought that I could create a movieclip that reads a html file loading in a scrollpane, but (a) I couldn't get the scrollpane to work with it and (b) I couldn't work out how to make a dynamic movieclip that grew as more info was added to the html file. Am I making any sense? It seemed that I have to have a set height and width for the movie, but once updated it would be the wrong size (in fact I tried it on a simple clip and all that happened was that Flash just made the font smaller!). Can anyone help me with some detailed advice?

1, the best way of adding html pages to flash and

2, how to make the page scrollable as the size gets bigger

thanks for any help you can offer

Loading External Variables With HTML Formatting
Hi!

I'm struggling with what should be a simple task:
Loading some variables from an ASP file into text fields (works fine), and formatting the text field (doesn't work).

The workflow is as follows:
1. The flash file loads variables from http://www.aastad.no/tunet/priser.asp?leilnr=11 (works fine)
2. The flash file displays these variables in different fields (see www.aastad.no/tunet - click "leilighetene" on the top menu and mouse over the different apartments)
3. The field should format the text according to the HTML specified, f.ex. <B>SOLD</B>

What happens is that instead of showing bold text, no text is shown at all. If I use any special characters, like "< >" or similar, no text is shown, but if I use plain text, it works fine.

I've read some posts about this, and my field has "render text as HTML" and no font embedding turned on. Still it doesn't work the way it's supposed to...

I'd be realy grateful for any help, as fast as possible; it really nags me !!

Loading External Image Using HTML Tags
hello evryone.
this is something i'm trying to figure out for the last two days:
i am trying to load an HTML formatted text with images (using the /img tag) into a dynamic text field. for some reason - in mozilla firefox all works fine, and in internet explorer the images do not appear...
the txt file is saved in UTF-8, by the way.
any idea?
if any of you want to check it out - the link is:
www.noamfarhi.com/fzblue
navigate to "firm" - "staff" - and check if you see the staff photos next to the text.
thanks in advance and best regards.
noam

I Could Really Use Some Help Loading An External HTML / Text File
So the code i am currently using works well, the only think i need to change is instead of the text box displaying whats in the "quotes" i need it to pull in an external html file for easy maintenance.

The code was taken from the kirupa hover caption tutorial, and i changed it a bit to work the way i needed it to.

Here is a snippet of my current code:


Code:
s1.onRollOver = function() {
captionFN(true, "Text to be loaded", this);
this.onRollOut = function() {
captionFN(false);
};
};


captionFN = function (showCaption, captionText, bName) {
if (showCaption) {
_root.createEmptyMovieClip("hoverCaption",this.getNextHighestDepth());
cap.desc.htmlText = captionText;
cap._alpha = 75;

if ((sName._width+sName._x+cap._width)>Stage.width) {
xo = -2-cap._width;
yo = -17;
} else {
xo = 2;
yo = -17;
}
hoverCaption.onEnterFrame = function() {
cap._x = _root._xmouse+xo;
cap._y = _root._ymouse+yo;
cap._visible = true;
};



} else {
delete hoverCaption.onEnterFrame;
cap._visible = false;
}
};
So, i simply need to replace "Text to be loaded" with and external html file somehow.

Thanks for helping

Loading External HTML Files Into A Movieclip
Hi,
Im making a website for a client and he wants me to set it up so that when you click on a button it will load up a html file into a flash Movieclip. Does anyone know how to do this, if so could they please help me. Thankyou !

Jimmy

Loading External HTML Files Into A Movieclip
Hey,
I need to know how it is possible to make a button so that when you click on it, it will load a external HTML file into a movieclip. If anyone knows how to do this could they please help right away, cause if been tryin to figure it out for weeks and my client needs to see a copy of it tommorow. Please, please help

Thankyou in advance Jimmy

Loading External Text While Using Html Tags
Hi,
I am building a webapge for my youth group in flash, which you can see here. Anyways on the Home and Calendar pages I have made it so the text loads from a .txt (notepad document). I want to make some of the text bold so it stands out. So what I tried was under the text box properties clicking the little button that looks like this [< >] and then adding an html tag on the notepad document (for example <b>Title Here</b>. However this does not bold the text it just adds the <b> and </b> on either side of it. Does anyone know what I am doing wrong? Or have any suggestions?
Thanks for taking the time to read my post,
Jeff

Loading External Sites (HTML) In Flash... Is It Possible?
Ok, im getting fustrated because i really need to know how to load pages the way http://www.pdk.pl/index_f.html does. The reason for this is that the size of the swf is changing depending on which page u are on. I checked the source code and have no clue what it means. Then i downloaded a complier to see the AS and the decomplier keeps saying it either is a page that contains frames or just flat doesn't work. PLEASE help me find out how http://www.pdk.pl/index_f.html (in terms of changing pages). Thanks VERY MUCH.

*EDIT*I found that it consists of too 'frames' but they arent traditional frames. Here is the link to the seperate pages http://www.pdk.pl/mainFrame_f.html.

Mike

Problems Loading External .html Into Flash
Greetings dear friends of Kirupa.
I'm stucked in building a scrolling news area in some place of my flash site. I'm following this way: I've made a movie who should load an external .html page thru LoadVars AS object. After following your tutorial at http://www.kirupa.com/developer/mx/externaldata.htm I could view the text, but it doesn't preserve the font color and link structure. If somebody can take a look at my code and post me what's wrong with the LoadVars or the properties of the dynamic text field or anything wrecked there, I'll be grateful forever
Thanks in advance,
Karel

Any suggestions in another direction to solve this problem will be also greatly appreciated...

Loading External Text With HTML Abilities
Hey everyne! I am farily new to Flash Mx 2004 and I am having a problem with a particular issue. I found Kirupa's tutorial on how to load external text from a text file into a dynamic textbox and it works great. But what I am really needing is to be able to have the information that loads be able to be rendered as HTML so that I can use some of the text as hyperlinks. I also still need to be able to scroll this text as outlined in his tutorial.

Is there anyone out there who can help me with this? I have been searching for wuite some time and I am stuck!

Thanks.

Loading External Sites (HTML) In Flash... Is It Possible?
Ok, im getting fustrated because i really need to know how to load pages the way http://www.pdk.pl/index_f.html does. The reason for this is that the size of the swf is changing depending on which page u are on. I checked the source code and have no clue what it means. Then i downloaded a complier to see the AS and the decomplier keeps saying it either is a page that contains frames or just flat doesn't work. PLEASE help me find out how http://www.pdk.pl/index_f.html (in terms of changing pages). Thanks VERY MUCH.

*EDIT*I found that it consists of too 'frames' but they arent traditional frames. Here is the link to the seperate pages http://www.pdk.pl/mainFrame_f.html.

Mike

Problems Loading External .html Into Flash
Greetings dear friends of Kirupa.
I'm stucked in building a scrolling news area in some place of my flash site. I'm following this way: I've made a movie who should load an external .html page thru LoadVars AS object. After following your tutorial at http://www.kirupa.com/developer/mx/externaldata.htm I could view the text, but it doesn't preserve the font color and link structure. If somebody can take a look at my code and post me what's wrong with the LoadVars or the properties of the dynamic text field or anything wrecked there, I'll be grateful forever
Thanks in advance,
Karel

Any suggestions in another direction to solve this problem will be also greatly appreciated...

Loading External Text With HTML Abilities
Hey everyne! I am farily new to Flash Mx 2004 and I am having a problem with a particular issue. I found Kirupa's tutorial on how to load external text from a text file into a dynamic textbox and it works great. But what I am really needing is to be able to have the information that loads be able to be rendered as HTML so that I can use some of the text as hyperlinks. I also still need to be able to scroll this text as outlined in his tutorial.

Is there anyone out there who can help me with this? I have been searching for wuite some time and I am stuck!

Thanks.

Loading External Images Into Flash Via HTML?
Hey I have a flash banner at the top of my page that I want to stay the same when you click on a button in the navigation (which are standard HTML links). Here is the URL so you can understand what Im trying to do http://www.greyfilmpro.com/test.html . Anyways Im trying to figure out how to tell the .SWF banner to load a certain image into its self depending on what button they press in the navigation.

Internet Explorer Not Loading External Html
I have an FLV player with an HTML playlist. The links on the playlist use the <a href=asfunction tag to call the video to play. When I first tried it, it wouldn?t load in IE or Firefox. I found that I can?t just call the file from the root folder, I needed to point directly to the file, as in C:Flashimages1.flv After doing that it loads fine in Firefox. Internet Explorer still doesn?t want to cooperate. Maybe because it sucks. It won?t even load the first video right off the bat. Anyway, I would post my code, but I?m at a different computer right now. Any ideas?

Loading An External HTML File/Antialias Text OFF
Is it possible to load an external (same directory) HTML file into a specified area of a SWF file? If not...is it possible to load the external txt file with variables within the external txt file to call for an external image to show? (christ....I've even confused myself with that explanation)

and how the hell do you export a movie so the antialias text is off? not liking the fuzzy look! Just 'unticking' the antialias in the menu does NOT work!

Loading External Txt Using Btns [txt Files With Html Tags]
Does anyone know of any beginners tutorials which can help me do the following:

I would like a series of buttons to load a variety of different external txt files which need to contain the basic set of html tag, most importantly I need the buttons to load txt files which contain website links

I can't find any tutorials which over loading txt with html tags in it and how you load them using a button

Any help or advice would be great, Thanks

Ravenotice

Problem Loading External Swfs When Embeded In Html
I am facing really odd problem. I have made flash presentation which calls various ‘swf’ files. I have embedded the parent ‘swf’ that calls the child swfs in an html file. I have created a separate folder for flash files and the html files in the site directory structure. Now the parent swf loads in the browser but when try to call child swfs it doesn’t load the swfs. The area allotted in the html for swf goes blank.



Now when I copy all the swfs in the html folder the above functionally works fine. Just wanted to know why this strange behavior from flash??

Problem Loading External Swfs When Embeded In Html
I am facing really odd problem. I have made flash presentation which calls various ‘swf’ files. I have embedded the parent ‘swf’ that calls the child swfs in an html file. I have created a separate folder for flash files and the html files in the site directory structure. Now the parent swf loads in the browser but when try to call child swfs it doesn’t load the swfs. The area allotted in the html for swf goes blank.



Now when I copy all the swfs in the html folder the above functionally works fine. Just wanted to know why this strange behavior from flash??

Loading Tex From External Txt Or Html File And Image Question - Please Help
I have a template from templatemonster, (a full flash template) and I wanted to know what do I do or what kind of tags do I use so the text loads from an external txt file and likewise so that the images load from an "image" folder?

I have never done this before so bear with me here. I am assuming that the text needs to be changed to dynamic, but thats where my educated guessing ends lol

Loading An HTML And Calling For An External Swf File To Load
Hi.. okay I'm hoping this isn't too tricky, but I looking for a script that when I button is clicked, it loads another HTML page in which is a flash movie that has a placeholderclip, depending on which one of 3 clips I want to load..

So can my button call for an HTML page and specify which external swf should be loaded into it's placeholder clip?

Loading External Html Text Into Movieclip Headache
I'm trying to load some simple html text into a dynamic text box which is inside a couple of movieclips.

The code works perfectly if the textbox and the code is both on the main timeline, but does not work if i move the textbox inside a couple of movieclips leaving the load code on the main timeline.

The code im using is


ActionScript Code:
myData = new LoadVars();
myData.onLoad = function(){
    _root.towers_mc.covers_mc.contactText.html = true;
    _root.towers_mc.covers_mc.contactText.htmlText = this.contact;

};
myData.load("content.txt");
contact is the name of the variable in the text file

But this code just leaves the text box empty.

I know its probably a really simple fix, but ive had hours of headache trying out different methods.

Any help is much appriciated, Thanks very much.

Loading External Html Href, Long Url Breaking
content=<a href="http://www.maps.google.com/maps?q=from%3A+10201+Adams+Street,+Zeeland,+MI+to% 3A+855+Main+Avenue,+Zeeland,+MI&f=d&hl=en">apple</a>

I am loading this url, but I am guessing that some of the special characters are breaking flash's interpetation of it. Any ideas of how to escape characters or read in this url?

I included my file.

Loading External Html File Into Swf With Scrollbar Within A Text Box?
Hi all

I am completely tearing my hair out over this one, and I really really would appreciate any help

I'm trying to load an order form into a swf I have made using an external txt file containing all the html coding for the form. I need to load it within a specific section of the swf, so have created a text box using the text tool. Also, as the form is larger than the space on the swf, I have made it dynamic text and used the scrollbar component.

I have followed the tutorials provided here:

http://www.kirupa.com/developer/mx/dynamic_scroller.htm

and here:

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

... but with no luck. In fact, even when I follow the Kirupa tutorial _word_for_word it STILL doesn't work!

Is there any easy way to do this? Can I just load an ordinary html document into a swf or must it be a plain text file? If so, how do I do it??????

Current actionscript is:

loadVarsText = new loadVars();
loadVarsText.load("external.txt");
loadVarsText.onLoad = function(success) {
if (success) {
trace ("done loading");
scroller.html = true;
scroller.htmlText = this.var1;
}else{
trace ("not loaded");
}
};


The external.txt file is just the html copied and pasted from my html form but with the words "var1=" at the top of the page.

Really would appreciate any thoughts!!

Kristen.

Help Loading An External .html Document Into A Text Box In Flash MX
I really need to learn how to load an external HTML document into a flash MX text box. I am aware of how to load .txt documents, but I need to be able to have images loaded into the box as well as text. Please help me if you know anything about this and drop me an e-mail. Thanks.

Loading External HTML Into Flash - Works Great...
hi,

I am loading external HTML files into a flash movie and formatting them with CSS ... all of this is working great except for one thing.

I am loading the content via buttons, so when a user scrolls down to the bottom of one section, and clicks a button to see another topic, the content changes, but it is scrolled down to a point comparable to where the user was on the previous section. i.e. it doesn't bring the user to the top of the "page" when it loads a new one in.

Does anyone have any idea of how I can reset this, so no matter when you click a section, the content will reset to the top of the page.

The site is not quite done yet but you can see what I'm talking about at http://www.brianwellbrock.com/Wellbrock_content.html ... specifically the "Speaking & Seminars" section ...

Any help is most appreciated.

Curtis

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