how to load a PHP page into Flash (Not a MySQL DB, it is a Blogger generated PHP page)

I'm trying to load a blogger generated PHP page into this SWF file:

http://home.comcast.net/~llpatte/testing/dom_main.swf

Any suggestions as to how I go about this?

There is no MySQL database in this case.  
llpatteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

badrulnmCommented:
To do that, you have to use php to generate an external format that Flash can load. You can either load external variables or xml into Flash.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vickerleungCommented:
llpatte,

You can use text box to get the content
But the PHP page should be printed in XML format

Actionscript to load the content:

content.multiline= true;
content.wordWrap = true;
content.html = true;

var ss:TextField.StyleSheet = new TextField.StyleSheet();
ss.load("css/style.css");
content.styleSheet = ss;

story = new XML();
story.ignoreWhite = true;
story.load("something.php");
story.onLoad = function () {      
      content.htmlText = story;
}

the content here is the name of the text box

Vicker
0
llpatteAuthor Commented:
Do I put this actionscript code in the first frame of the actions layer?

0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

llpatteAuthor Commented:
Also, will Flash be able to "display" images that are part of this PHP file?
0
llpatteAuthor Commented:
I entered the above code, but changed "content" to "updates"

My code reads as:

updates.multiline= true;
updates.wordWrap = true;
updates.html = true;

var ss:TextField.StyleSheet = new TextField.StyleSheet();
ss.load("css/style.css");
updates.styleSheet = ss;

story = new XML();
story.ignoreWhite = true;
story.load("http://www.dominique-moceanu.com/updates/updates.php");
story.onLoad = function () {     
     updates.htmlText = story;
}



After publishing, I got these 2 errors:

**Error** Scene=Scene 1, layer=actions, frame=1:Line 12: Operator '=' must be followed by an operand
     story.onLoad = function () {     

**Error** Scene=Scene 1, layer=actions, frame=1:Line 13: Syntax error.
          updates.htmlText = story;

Total ActionScript Errors: 2        Reported Errors: 2


I'm really new to this, so would appreciate any corrections that you all can help with.
0
vickerleungCommented:
llpatte,

What's your Flash version?

Vicker
0
llpatteAuthor Commented:
MX 2004 Pro
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.