By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,130 Members | 2,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,130 IT Pros & Developers. It's quick & easy.

Uploading pictures from a folder dynamically in flash

P: 1
Hi. I want to be able to change the text and pictures of a flash movie from a control panel on the same running flash movie. I will need to upload pictures on the movie with the necessary text describing the picture and it dynamically apply the changes to the existing movie. Can anyone help me out with the necessary steps/codes to effectively do this with ActionScripts/XML or any other format in Flash/SwishMax?
Jul 30 '07 #1
Share this Question
Share on Google+
1 Reply


P: 12
What you want is a content management system made in flash. If you want to save the data that you change you will need to do some php/xml type stuff. It gets very complex. But if you just want to be able to change pics while the movie runs, but not save the changes you make, then it's a little simpler.

Your text boxes should be dynamic text boxes. Give them an instance name and change them like so (where the instance name is textField1):
textField1.text = "theText"; //actual text displayed
or textField1.text = theText; //refering to a variable
Using an instance name allows you to format the text and so on through actionscript.

To change pictures, make an inputTextField and a button. When pressed the button takes the inputTextField value and does a loadMovie command on whichever movieClip ahs the picture you want to change.

I could make a .fla file for you quickly if yoiu want.
Jul 30 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.