Completely Lost : PHP>Actionscript

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
brasofilo
Forum Newbie
Posts: 5
Joined: Tue Jun 05, 2007 10:43 pm

Completely Lost : PHP>Actionscript

Post by brasofilo »

Inhabiting the middle lands of design and programing, I found a nice Flash tool and no damn explanation in the whole web.
It´s the text editor, Obedit.
There's nothing to change on actionscript side

I'm quite sure the answer relies on the file SAVE.PHP, that must change the file LOAD.PHP, which is read by Flash.
Basically: how to make SAVE.PHP write the LOAD.PHP file?
There's no mention of how-to-change-this on the little documentation, nor on Actionscript forums, neither on google...

So, here I am...

Thanks,
Rodolfo Buaiz
User avatar
stereofrog
Forum Contributor
Posts: 386
Joined: Mon Dec 04, 2006 6:10 am

Post by stereofrog »

I'm not quite sure what you question is, but there's full fla source and examples in the archive.
brasofilo
Forum Newbie
Posts: 5
Joined: Tue Jun 05, 2007 10:43 pm

Post by brasofilo »

thanks for your reply, stereofrog
well, I just can't make the SAVE.php replace the LOAD.php
what the SAVE is doing is simply printing the result to screen, it's not rewriting the LOAD
and this is not documented, anywhere...
User avatar
stereofrog
Forum Contributor
Posts: 386
Joined: Mon Dec 04, 2006 6:10 am

Post by stereofrog »

Sorry, but I don't get what you're asking. "save.php" receives the text as $_POST param and can do with it whatever it wants, for example store in a file or database. "load.php" takes the text from that storage (file, database) and prints it in urldecoded form. "save" should not overwrite or change "load".
brasofilo
Forum Newbie
Posts: 5
Joined: Tue Jun 05, 2007 10:43 pm

Post by brasofilo »

hi stereofrog!

I was afraid of not being clear enough on the question I have...

The scenario is:
- the load.php is suposed to be a News Section on a flash web page (news.php would be a better name)
- a flash file will read this load.php/news.phd and display it in the main page of the site
- in an administration page, I will have Obedit opening the load.php and editing it, and then saving it back using save.php

thanks for your time
Rodolfo
Post Reply