Warning Warning: I am able to write to the configuration file: /home/hikas0/public_html/websitetemplates/includes/configure.php. This is a potential security risk - please set the right user permissions on this file (read-only, CHMOD 644 or 444 are typical). You may need to use your webhost control panel/file-manager to change the permissions effectively. Contact your webhost for assistance.
Warning Warning: The downloadable products directory does not exist: /home/hikas0/public_html/websitetemplates/download/. Downloadable products will not work until this directory is valid.
 
Website TemplatesWebsite Templates

Joomla Templates | Drupal Themes | WordPress Themes | XOOPS Themes | Mambo Templates
Web Design Templates | Flash Templates | eCommerce Templates | CMS Templates | Open Source Templates | Shopping Cart Templates
VirtueMart Templates | PrestaShop Themes | osCommerce Templates | Zen Cart Templates | Magento Themes | TomatoCart Templates | Cre Loaded Templates

News

THURSDAY 24 MAY, 2007

Templates Help. Dynamic text

by Admin | post a comment

In this lesson it's described how to pass variable from flash to PHP, to work up it and then to pass it from script to Flash. Create new document. Choose text tool (T), create text field. Select it and open panel "Properties", from topest menu choose "Dynamic text". In same panel find field "Var" and enter their name of text (for example "pole"). Then create one more layer and put there such script: var as = ':)'; //variable, value of which will be passed to PHP script in variable test2 loadVariables("http://test1.com/script.php?test2=''"+as, _root); //method "loadVariables()" lets pass and receive paired values: variable=value; there should be described way of transmission in parameters. Here http://test1.com/ is a way to virtual server where file "script.php" is located. You should show a way to your server. Flash is ready. Now put your swf file to HTML page (it's easy using Dreamweaver) and save this page as "index.html". Half of work is done, now create PHP file "script.php" and put there such script: Then put everything to server and test. That's it!

News for Wednesday 23 May, 2007

View all news for Wednesday 23 May, 2007 on one page

Recent News

News archive

 
up spurl