Skip to main content
December 28, 2010
Question

Use flash as interface for php unselectable text

  • December 28, 2010
  • 1 reply
  • 742 views

I am developing a test system and want to allow the users to access the questions in the database without the ability to copy them.

A php file intermediates the access with the database. There a couple of links to certain sections of questions and then links to certain pages.

Is there a possibility to put this php content in a flash frame and deactivate the possibility to select text?

Thank you.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 28, 2010

yes.  you can use loadvars to load your php output and display in a non-selectable textfield.

January 7, 2011

I have created a text box, converted it to a movie symbol and associated to it the following actionscript:

onClipEvent (load) {

  //assuming you have a personal web server and PHP installed locally

  loadVariables("http://127.0.0.1:10088/index.html", this, "GET");

}

When I start the fla I get this error:

Adobe® Flash® Player has stopped a potentially unsafe operation. The following local application on your computer or network:

/Users/User/Documents/test.swf

is trying to communicate with this Internet-enabled location:

127.0.0.1

To let this application communicate with the Internet, click Settings.

You must restart this application after changing your settings.

Is there a way I can solve this? Thank you.

kglad
Community Expert
Community Expert
January 7, 2011

adjust your fp security settings:

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04a.html