View Full Version : How to...
Quakeman
04-18-2001, 09:15 AM
Is there a way for me to update texts and graphics in swf file by using scripts (cgi, asp, php or jsp)?
Jesse
04-19-2001, 01: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
Cheers
Jesse
Quakeman
04-19-2001, 12:52 PM
Thx for the advice. Can I change images and links in this way?
Jesse
04-20-2001, 01:23 AM
If you make your links dynamic you can. Something like this, have abutton which has this code:
getURL (theURL);
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...
Cheers
Jesse
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.