473,396 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Uploading pictures from a folder dynamically in flash

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
1 2300
axis
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

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

Similar topics

2
by: Sirano | last post by:
Hello, I'll want automatic upload pictures from a specified folder to the internet with PHP code. Or does somebody know a Website where I could find an answer for this. Thanks, Sirano
4
by: Ramakrishnan Nagarajan | last post by:
Hi, I am facing a different problem in my application. In that I am uploading a folder that contain only images. Everything was done and was working fine too. When I executed the application using...
3
by: Andrew Fenyo | last post by:
Hi all, I have a situation where users need to upload a set of 5 files. The file names are fixed, but the local source directory is not. (The destination folder varies between individuals.) ...
8
by: cbmeeks | last post by:
I am writing my own family photo sharing site that I hope to take public (like so many others). Anyway, currently, when the user uploads a picture, I store the picture outside my htdocs folder and...
3
by: bryanp10 | last post by:
I have a web application where the admin wants to be able to upload arbitrary files on an admin page... and then have them accessible for certain users. Easy enough eh? The difficulty I'm...
44
by: badvoc | last post by:
Hi to all, Firstly I must state my knowledge of php is limited but I am a quick learner. I have taken on the task of finishing a friends website due to his untimely passing and have hit a problem...
2
by: Jinx08 | last post by:
I am probably an itermediate user when it comes to flash however I am at a loss with this problem. I have posted numerous flash files to the internet and never had this problem however the key there...
0
by: minex | last post by:
Hi, I have a simple photoslideshow. Now I would like to put several pictures in a database and that during the year, on specified dates the pictures in the flash animation change. example: ...
4
by: chazzy69 | last post by:
Ok im doing a bit of editing on a flash website for a friend, any way im trying to determine how the actionscript is linking the pictures with a button. Ok here is the code that changes a picture-...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.