Including a php file in Flash

I’m not sure whether this is more of a server-side scripting issue, a flash MX issue or an actionscript issue. Anyway, I decided to post in this forum :).

I’ve searched around the forum and couldn’t find something concerning this problem and the php tutorials don’t appear to discuss this either. So, here’s the thing:

I have a shoutbox which is not made in flash and I don’t want to make to convert it into flash. The shoutbox has a php file “viewshoutbox.php” which, when visited, shows the shoutbox and the shoutbox can be stuck within an html page by using an iFrame.

However, I don’t know how to display the shoutbox in flash. On my main website you can see the current version of the shoutbox: http://www.jk87.com and if you look at the source, you will see that an iFrame is used to display the viewshoutbox.php within the webpage.

Any ideas how I could use this shoutbox within a Flash page? (without re-creating the whole thing so that it works from Flash).

Thanks,
JK.

[please note that this shoutbox is not my creation, I just wish to implement it into a Flash webpage I am currently working on.]

no. You have to recreate it in Flash in order for it to work. You can’t just display an HTML page in Flash. Flash can only pull in variables, so you would need to create the whole thing over again in Flash.

Hehe, ouch :-. Well, thanks for letting me know Jubba :).