View Full Version : How to...
04-18-2001, 10:15 AM
Is there a way for me to update texts and graphics in swf file by using scripts (cgi, asp, php or jsp)?
04-19-2001, 02:52 AM
Yes. Say you want to call a text string out aof a database dependingon the date, you can create a script which interacts with the databse (CGI/PHP/whatever) and then use loadVariablesNum() to call it via Flash and have it rerutn the data as described here: http://www.actionscripts.org/tutorials/intermediate/loadVariables_script_interaction/index.shtml
04-19-2001, 01:52 PM
Thx for the advice. Can I change images and links in this way?
04-20-2001, 02:23 AM
If you make your links dynamic you can. Something like this, have abutton which has this code:
Then you can load up a varaibel called 'theURL' from a database via a script and that link will link to whatever that string variable contains.
Images are more difficult. You can't import images on the fly unless you use Generator, (and even then I don't know how), so they would all have to be in SWF format to start with...
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.