473,698 Members | 2,576 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Uploading pictures from a folder dynamically in flash

1 New Member
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 2321
axis
12 New Member
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
2932
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
1649
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 the localhost it works fine. But when my machine acts as a client and executes the application from another machine (considered as the server) it is telling that the folder is not found, even if the folder is present in the client machine. The...
3
1125
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.) I cannot see the way to adapt the standard file uploading code to deal with this, so suggestions would be appreciated. Andrew
8
1559
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 record the image details in a MySQB db. When you browse the picture, I read the record and build the image by sending an image/jpeg header. Seems to work but I am a little disappointed with performance. Granted I am running on a really old...
3
1408
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 having is serving up these files in a secure AND browser-friendly way. I'm using Form authentication. I can't just drop them in a website directory and show links to the files, because then anyone could get at a file whose extension is not explicitly...
44
9538
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 with the completion of his work. The site involves the uploading of a picture, jpg, png or gif. as part of an order process. The files involved are called order.php, step1.php and then step2.php. The picture uploads to the upload folder,...
2
4732
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 is those were all using older versions of Flash and using windows xp. I now own Flash CS3 and I am running Windows Vista I am not sure if this has anything to do with it. Anyway I used dreamweaver to create and upload the page and file.When I go to...
0
1654
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: in january: pic 1,pic 2 and pic 3 in february: pic 4, Pic 5 and pic 6 If I want other pictures on the slideshow, I would like to simply put other pictures in the database.
4
2359
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- on (release) { pictures.gotoAndStop(14); }
0
9169
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4371
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2335
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.