Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Mailing Lists



I can't seem to find the scripting to this; i'm trying to create a field for visitors to enter in their email adress to join my mailing list, and somehow forward that info to my adress.

this is possible in flash isn't it?


Thanks



FlashKit > Flash Help > Flash Newbies
Posted on: 03-11-2003, 08:31 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Mailing Lists
Hey does anyone know how to use a mailing list? I have been to many turtorials on how to use contact fields, and php, but i don't want there to be three lines of text. For intense a message field, email field, how did i hear about this field, exe. I just want there to be one simple line that says email then a spot where the person can time there email then a send button that has actionscript. or something simular to that.

Does anyone know where i can find turtorials, or something similar to this? Or do you think mabey u can just explain it to me really quick.

Thanks, i appreciate all the help.

Mailing Lists? HOW ?
Ok! this is going to be a shot in the dark.
You know when you go to some peoples sites they have you put your email address before you visit the main site so that they can add you to their email list. How can you do that in Flash MX. I have no clue. I should but i have never even thought about it. If any one out there knows, please share the wealth.
Thanks
Peter Hubner.

www.southwestern.edu/~hubnerp

Mailing Lists
hi,

i have a mailing list set up already on a html site, and i was wondering how to intergrate it on to my flash site.
i am using flash mx 2004 pro

thanks

ric

Mailing Lists
Hey guys, I want to set up a mailing list for my website and was wondering if there were any tutorials or suggestions? My hosting provides mysql and php so whatever is out there.

Thanks in advance.

Mailing Lists
Do you have a mailing list?

If so what software/techniques do you use? Any experiences?

I started to use qmail because it came with my host, but I had complaints about people not getting it. I think it was because it was getting lost in junk mail filters, dunno.


Emai/mailing Lists?
Hey does anyone know how to use a mailing list? I have been to many turtorials on how to use contact fields, and php, but i don't want there to be three lines of text. For intense a message field, email field, how did i hear about this field, exe. I just want there to be one simple line that says email then a spot where the person can time there email then a send button that has actionscript. or something simular to that.

Does anyone know where i can find turtorials, or something similar to this? Or do you think mabey u can just explain it to me really quick.

Thanks, i appreciate all the help.

Flash Mailing Lists
Hello,
This is my first time attempting this and I have no idea where to start. I need to make up a mailing list in Flash and do not know where to get the action script...If someone knows please get back to me asap!!
LKS

Getting An E-mail Box To Work For Mailing Lists
I need to know the action script or whatever to get an e-mail box to work so when someone types their e-mail address in the box and by pressing the "SUBMIT" button, that will enable the mailing lists to take effect. (In other words I will be able to see the e-mail addresses that were submitted.)

Lists
I have this function:

Problem is, it will delete a whole list instead of just the same item in every list.

the dataproviders are arrays name dp0 - dp20, and the lists are newItems0-newItems12, and the list to click stuff in is availableItems.

Any ideas? Thanks.


Code:
function updateLists(e:Event):void {
for (var i:Number = 0; i<dp.length; i++) {
if (availableItems.itemToLabel(availableItems.selectedItem) == dp[i]) {
var numNum:Number = i;
for(var a:Number = 0; a<21; a++) {
home["dp"+a].splice(numNum, 1);
trace(home["dp"+a]);
}
trace("working");
}
trace(dp);
trace("============");
}
availableItems.dataProvider.removeItem(availableItems.selectedItem);

for(var c:Number = 0; c<13; c++) {
this["newItems"+c].dataProvider = new DataProvider(home["dp"+c]);
}
}

XML Lists?
Posible?

like:
product here..
product here..
produkt with extra
info and so on
like 1 row more
or 2 lines
hehe
or just 1 productitem info here?
Or.. as in columns?

thnx in advanced.

XML Lists?
Posible?

like:
product here..
product here..
produkt with extra
info and so on
like 1 row more
or 2 lines
hehe
or just 1 productitem info here?
Or.. as in columns?

thnx in advanced.

Variable Lists
In Flash 5 can you have variable lists? i.e. give a variable a value like - 'set variable Alpha = [a, b, c, d, e, f, g]' and then right other code to retrieve specific or random data from that list e.g. 'set variable Letter = Alpha, random (6)'

I know this is possible in other object orientated languages such as Director's Lingo... is it possible in Flash 5?

Scrolling Lists
I have a list, like a DESCRIPTION and PRICE in a .txt file and I need it to load so that it's scrollable and the prices line up with the text.

Right now, it loads fine, but nothing is lining up (like the price will be in the middle of the line, then the next descritption will start at the end of a line, etc.).

What is the best (and I know nothing of XML or any more complicated solutions) to do this?

Linked Lists
hi, im new to the list concept. is there a way to make linked lists in actionscript? lists that organize themselves... please help, thanks!!!!

XML Lists Within Flash MX
Hey all,
I was wondering if there was any way to format the bullet color of lists (li - /li) within Flash MX. For some reason even though the text color is set to both white within the movie and within the font tag in the XML i still am getting black bullets. I need white. So as you can see we have a slight problem. I was wondering if anyone had a workaround/soultion to this problem.

Thanks!
-JB

Lists In Flash
I've got to make a scrolled text box containing a menu with 3 columns - item - eat in price - take away price. What's the best way to make it look neat? So it looks like it's tabbed in Quark or Word.

Lists And The Ctrl Kay
Is there a way to make the rows of this list to be selected without the necessity of holding the Ctrl key down? Or I should use check boxes insted of the list componente?

var myCounties: LoadVars = new LoadVars();
myCounties.onLoad = function() {
//this populates my list with the names of the counties
for (i=1; i<=myCounties.total; i++) {
counties = eval("myCounties.c" + i);
countiesList_lb.addItem(counties);
}
};
myCounties.load("counties.txt");
var countiesList_lbListener:Object = new Object();
countiesList_lbListener.change = function(){
index_txt.text = countiesList_lb.getSelectedIndex(); //this aids me to see the out put
label_txt.text = countiesList_lb.getSelectedItem().label;
selectedCounties = new Array(); //the multiple selections arre stored in this array
selectedCounties = countiesList_lb.getSelectedIndices();
selected_ta.text = selectedCounties;
}
countiesList_lb.addEventListener("change", countiesList_lbListener);

[B]Drop Down Lists[/B]
Hello

I am interested in making a drop down list in Flash. I mean a list that the user can roll the mouse over and it should drop down, then each one of the options on the list contains an URL link for example.

Is this possible in Flash? or do I have to use something else like Javascript?

Thank you

R

[F8] Lists In Flash
I was thinking about trying to create a application in flash where a user could input text and when you click an add button it would add it to a list. But I have no idea how to do this. Ive messed around with a few ideas and mainly had problems with only being able to add one item. So I dont know if there is any way that this would be possible but any help would be appreciated.

Thanks!

Linked Lists
I'm working on a program that is a bunch of nodes webbed together. each node has six possible directions, so it works like a hive. similar to a linked list, which only has two possible directions - forward and backward in the list.
does anyone know a good way to implement something like this? is it called something? what would be a good strategy for adding nodes? and checking to see if there's already a node where you're trying to add one?

Horizontal Lists
Hi everyone,

Is there a way using actionscript to show a list of dynamically created flv thumbnails horizontally. I'm using the list component and I've set the scroll bar to hScrollPolicy = "on"; but my list of thumbs are still vertical so I can only see one thumb and can't scroll to the others. I'm using and external XML file to list items, but I don't how I can edit this to change the list to horizontal or use actionscript. If anyone can help me I would be forever grateful.

Kind Regards,

Darren.

PS: here's the actionscript I've been using

list.setSize(300, 100);
list.hScrollPolicy = "on";
list.vScrollPolicy = "off";
list.maxHPosition = 200;

CSS For Bulleted Lists
I was just wondering if anyone has succesfully managed ot style bulleted list -

HTML Code:
<UL><LI>eeny</LI><LI>meeny</LI><LI>myney</LI><LI>mo</LI></UL>
- in flash using external CSS?
I have to do it but am wondering what types of style it will support. I can't find any documentation on it.

thanks,
Andy

Filtered Lists
I've a list of items.
In list one, in the pull down menu, you choose one. Based on that choice, a second list populates, you choose one of those, it causes another list to populate and from that it gives you the final list.

Any help would be appreciated.
__________________________________________________ _
Example:

LIST ONE:
Fruit
Veggies

If you choose fruit:
LIST TWO:

Apples
Oranges
Bannannas
Kiwi
Strawberries

I only want red fruit:
LIST THREE:

Apples
Strawberries

Tile Lists
The jpeg's in my tile list are different colors. Some are just fine, but others are distorted.

Tile Lists
Does anyone have any Idea why the .jpeg in my tile list change color even though the actionscript is the same

Sorting Lists
ok so i have 2 arrays, a and b... in array a i have a bunch of random numbers.... now i want to loop through array a find which of the elements is the largest. for example if a[4] is the largest number in the a[] then i want b[1] = 4 and so on.... its kind of hard to explain -_-

here's an example of what i want...

//array a full of random numbers:
a[1] = 4
a[2] = 3
a[3] = 1
a[4] = 8
//array b with assigned values
b[1] = 4
b[2] = 1
b[3] = 2
b[4] = 3

so if a[4] is the bigest, b[1] will have 4 and if a[1] is second biggest, b[2] will have 1 and so on... is there an algorithm that can do this for me with an array length of X???

-zylum

Multicolumned Lists.
I've been trying out site design recently and decided that i wanted to have a multicolumned list but wasn't able to attain my desired effect using css, so i wrote this little javascript that can incorporate css.

it's very simple to use. here is the html document:


HTML Code:
<html><head><title>Multi-Columned List by Paul Scott (paul.scotto@gmail.com)</title>
<style type="text/css">ul { float: left; clear: right; width: 60px;} body { font-family: "verdana"; font-size: 12px; }</style>
<script language="JavaScript">

//THESE ARE THE VARIABLES YOU EDIT:
var items = [["1", "?1"], ["2", "?2"], ["3", "?3"], ["4", "?4"], ["5", "?5"], ["6", "?6"], ["7", "?7"], ["8", "?8"], ["9", "?9"], ["10", "?10"]];
var columns = 3;
var fillStyle = 1;

function writeList() {
var contentArray = [];
for (i=0; i<columns; i++) { contentArray[i] = []; }

if (fillStyle == 1) {
var offset = 0;for (i=0; i<columns; i++) { var itemsinCol = Math.ceil((items.length-offset)/(columns-i)); for (j=offset; j<itemsinCol+offset; j++) { contentArray[i].push(items[j]); } offset += itemsinCol; }
} else if (fillStyle == 2) {
for (j=0; j<items.length; j++) { contentArray[j%columns].push(items[j]);}
} else { fillStyle = 1; writeList(); return; }

for (i=0; i<contentArray.length; i++) {
document.write("<ul>");
for (j=0; j<contentArray[i].length; j++) { document.write("<li><a href=""+contentArray[i][j][1]+"">"+contentArray[i][j][0]+"</a></li>"); }
document.write("</ul>"); } }

</script></head><body>

<script language="JavaScript">writeList();</script>

</body></html>
`items` is an array containing the information you want in the list. each item is an array with two items inside it. item[i][0] is the displayed text and item[i][1] is the link.

`columns` is the number of columns to display in the text

`fillStyle` is how the list is display, for example you may want your list to look something like this:

Code:
(fillStyle = 1):
a d g
b e h
c f
of

Code:
(fillStyle = 2):
a b c
d e f
g h
this is a very flexibile script so i kept it pretty simple for your customisation benefits. enjoy

Linked Lists
I'm using the DLinkedList class from AS3 Data Structures For Game Developers at http://lab.polygonal.de/ds/ and i'm having trouble accessing the data in a workable way.

I've set it up as follows to create a multidimensional linked list.


Code:
//create linked list
layerContents[1] = new DLinkedList();

for (var l:uint = 1; l <=15;l++){
//create a node within linked list with another linked list
layerContents[1].append(new DListNode(new DLinkedList()));
}
//create an iterator to access the first linked list
var itr:DListIterator = layerContents[1].getListIterator();
When i can veiw the current node data like this


Code:
trace(itr.data + "CURRENT NODE DATA")
The problem is, unlike an array I can't go "myArray[1][5].aMethod", I need to use the append method on the object that the data returns, which would be another Linked List. I can't work out how to do it.

Help would be appreciated.

Matching XML Lists?
Hi All,

I have a Events List, and a Players list.

An Event can have players:
<profilename>Scottie Naoise</profilename>
<profilename>Kenny Hubert</profilename>


Whilst the Player list contains all the players:
<profilename>Scottie Naoise</profilename>
<profilename>Nicholas Amédée</profilename>
<profilename>Ulrich Cai</profilename>
<profilename>Lennie Kentigern</profilename>
<profilename>Xander Déodat</profilename>
<profilename>Kenny Hubert</profilename>
<profilename>Lieven Marcellin</profilename>
<profilename>Yanick Isidore</profilename>


ActionScript Code:
trace("profilename player" + xml..profilename)    trace("profilename event" + xml..player)


How can I compare both lists to load up the matching Players?

Thanks,
Ian

Sorting Lists
ok so i have 2 arrays, a and b... in array a i have a bunch of random numbers.... now i want to loop through array a find which of the elements is the largest. for example if a[4] is the largest number in the a[] then i want b[1] = 4 and so on.... its kind of hard to explain -_-

here's an example of what i want...

//array a full of random numbers:
a[1] = 4
a[2] = 3
a[3] = 1
a[4] = 8
//array b with assigned values
b[1] = 4
b[2] = 1
b[3] = 2
b[4] = 3

so if a[4] is the bigest, b[1] will have 4 and if a[1] is second biggest, b[2] will have 1 and so on... is there an algorithm that can do this for me with an array length of X???

-zylum

F8 Upload Lists
Hello all,

I am trying to optimize an upload tool build in html by using the flash 8 upload goodness. I have used the download features, but haven't had time yet to play with the upload feature. The tool I looking to rebuild will allow the user to select up to 10 files and press submit. As it currently works, the form will attempt to upload all 10 images, after which it will begin converting each image into the 5 different sizes used on the site. This batch upload is resulting in frequent timeouts and instabilities.

What I would like to do is upload only 1 at a time, but I would like to preserve the one-step for the user and manage the one at a time by managing the events. Would also like to send messages back to the client to let the user know what is happinging, ie: "creating thumnail 1 of 5".

Question is, is there a way to que the uploading of these files in this fashion. If there were 10 images, I guess I might need 10 filereference instances, each with one image, sitting an a que array. Not sure about any security issues that may be involved, however. It is possible to wrap in zinc or another similar app (haven't done so personally), and run locally.

Thx!
Aaron

Bulleted Lists
Hi all

Does anyone know how to do bulleted list within bulleted lists? been trying for ages

Dan

Dynamic Lists
Hi all I am working on a new project and I think that using the List Component will work best for what I am needing to do.

I need a little help with implementing this however.
Basically, I have an XML document that is structured as so:


Code:


<categories>
<catg num="1001">
<objects>
<object ID="111" />
<object ID="222" />
</objects>
</catg>
<catg num="1002">
<objects>
<object ID="333" />
<object ID="444" />
<object ID="555" />
</objects>
</catg>
</categories>



Now I have movie clips positioned on the stage that have instance names that correspond to the different "catg num" (ie: 1001, 1002...) and I want to dynamically create a list componet inside these movieclips and fill it with the object ID numbers that fall under each catg.
I know this is probably more or less a simple nested loop function I just dont really know how to get started.

I have started to work around with parsing the XML and this is what I have been using:


Code:


function loadcatg(catg_xml){

var categories = catg_xml.firstChild.childNodes;
for (var p=0; p<categories.length; p++){
// CREATE LIST INSIDE MC
var catg = categories[p];
var objects = catg.firstChild.childNodes;
for (var s=0; s<objects.length; s++){
var object = objects[s];
// POPULATE LIST
}
}
}

var catg_xml = new XML();
catg_xml.ignoreWhite = true;
catg_xml.onLoad = function(success){
if (success) loadcatg(this);
else trace("Error loading XML file");
}
catg_xml.load("catg.xml");



Any help or direction would be greatly appreciated. Thanks in advance!

Question About Seperate Lists
I have been toying around with flash for a little while (im not very good at it), and have been asked to make a username and ID screen. I have seen a few in the user fla's, and wanted to know if there is a way to have the username and ID list seperate so someone could add/delete users without having to redo the swf?

Scrolling Lists Of Objects
hi folks, got a bitbve problem

its about scrolling windows in flash, all i can find is how to scroll a text field, i need to scroll a set of images, as they need to be buttons, because i need to activate movie clips and layered movies over the top, i dont think i can do that with basic html text in a scrolling window in flash.. unless this is something the text links can do with javascript/fscommands or something.

i cant seem to find relevent help/code to describe how to do this with flash objects.

whatdja think?

Cant Show Lists Respectively With Generator
i have a ticker which have attached nine different MC using a txt file. i put a {name} variable into each of the MC and the text in the txt file is like following:

clip, name, date
a01 mc, name: three in one, 1999
a02 mc, name: bug, 1999....etc

another MC "info" which has the {name} and {date} variables, replicate the data from the txt using generator. Within this, i assign {name} as the frame label and stop(); in the first frame.
initially, i want to click the MC in the ticker and call the "info" MC to show the different info respectively. However, the result is it only can show the first info regardless of whatever MC i click.
would anybody help me to solve this? thanz a lot!!!!

Combobox Bug With Long Lists?
I have a flash file that has two combobox components on it. Both boxes have labels that are numeric. When the list is short - say 5 numbers in the box, the .swf compiles no problem, and the flash is well-behaved.

However, when I made both lists 10 entries long (values 2-10 for both), compiling the .swf put it into an endless loop. I ended up with a runtime error - "R6025 - pure virtual function call".

I spent a whole day isolating this problem, and I'm quite confident that it's a problem in the combobox rather than in other areas of my code.

Lists In Dynamic Txt File?
Since the <ul>, <li> & other types aren't supported in dynamic html txt files, is there another way to have a long text that goes past the 1st line, like this:
[list=1][*]bla bla bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaaa bla bla bla bla blaaaa bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaa bla bla bla blaaa bla [*]bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla blaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaaaaa bla bla bla bla bla bla bla bla bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaa bla [/list=1]
Instead of like this:

1. bla bla bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaaa bla bla bla bla blaaaa bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaa bla bla bla blaaa bla
2. bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla blaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaaaaa bla bla bla bla bla bla bla bla bla bla blaaaaa bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla blaaaa bla

This is a long way of explaining but I don't know the formatting term?
I've seen a lot of posts on the subject, but no real answers.
Can anyone help??
Thanx to those who can...

High Score Lists
How would i go about making one of these? You wouldnt have to register or anything just have a button submit or play again and if you clicked submit then it would send the high score to the list unless it was lower than your last score. I dont need any special functions on it or anything. What is a good free web host that will allow me to host one? Are there any tutorials that will show me how to make one or at least give me some help?

thanks

Linked Lists (other Suggestions Welcome)
I'm working on a website that displays a column of images scrolling down the right side of the screen. There's several things that I want to happen. First of all, the images displayed need to be different for each page. The page itself loads on the left with the images remaining uninterupted. In other words the home page loads and the image set for the home page begins scrolling. You click a new page and the new image set will start loading after the last loaded image from the first set. I hope that makes sense.

Alright, next problem. The images need to repeat while staying on the same page. If you switch pages the images from the previous page should be unloaded so as to not hog resources.

The images are small and I'd like to be able to make the images clickable to show the users a bigger image.

Alright with all those requirements I have the images loading from one source (forgot to mention the images aren't included in the swf) and scrolling smoothly. I was previously thinking once the images hit bottom I would have them scroll back up, but this looked bad. So I thought if created a linked list I could be able to track the tail image, move it to the head, and reassign the new tail image, and at the same time move the actual image to the top. This would also allow me to track the images as thumbnails for loading larger images. I feel like this has gotten a little out of control. I'm a competent programmer and I've programmed linked lists in C++ numerous times. However, I find no mention of pointers in Actionscript. If I'm not mistaken creating objects equal to previous and next images would triple my resources required for image loading.

I apologize for this being rather lengthy, but if anyone knows any efficient way to create a linked list in actionscript, or has an alternative solution to my problem I would GREATLY appreciate the help. I also understand that some of this may have gotten kind of muddled so if clarification is required please don't hesitate, I'll be watching the boreds as closely as possible.

Who Knows It? - Lists To Variables And Back Again
ok...im making some great progress on my flash form...one thing thats still gets me is...

How can I take the text or info that is in a list component and put it in a variable?

I have a list that is populated by a script on the main time line...it uses add lines...what I need is to be able to have the info in the list get passed into a php and to have the list re-populate when the used changes pages and then comes back...

I have gotten this to work for textareas and combobox...but i still am trying to figure out lists. Can anyone help me with lists? Do I need an array varible..i just don't know enough about coding yet

-------
for the combo box the code I have, and it works is:

on (focusOut) {
_root.response = this.getValue();
trace(_root.response);

}

in the main time line I use an if statement to test the value and set the combo box to the right state

if (_root.response == "Fax") {
this.responselist.setSelectedIndex(1);
}
if (_root.response=="email") {
this.responselist.setSelectedIndex(2);
}
if (_root.response == "phone") {
this.responselist.setSelectedIndex(0);
}

The Text area i used
on (focusOut) {
_root.details = this.text;
trace(_root.details);

}

and the main timeline resets what the user typed with this code:

this.detailsbox.text = details;

--------
(I have the combo box and text area working, but not the list)


****
HERE IS THE CODE THAT SETS THE LIST Component

Instance name: log

****



import flash.net.FileReference;

var allTypes:Array = new Array();

var imageTypes:Object = new Object();

allTypes.push(imageTypes);

var listener:Object = new Object();

listener.onSelect = function(file:FileReference):Void {
log.addItem("File selected for upload");
filename_txt.text = file.name;
size.text = file.size;
type.text = file.type;
name.text = file.name;
datem.text = file.modificationDate;
datec.text = file.creationDate;
}

listener.onCancel = function(file:FileReference):Void {
log.addItem("File upload/download cancelled by user");
}

listener.onOpen = function(file:FileReference):Void {
log.addItem("onOpen: " + file.name);
}

listener.onProgress = function(file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void {
progress.mode = "manual";
progress.setProgress(bytesLoaded, bytesTotal);
log.addItem("bytesLoaded: " + bytesLoaded + " bytesTotal: " + bytesTotal);
}

listener.onComplete = function(file:FileReference):Void {
progress._visible = false;
log.addItem("File is uploaded");
}

listener.onHTTPError = function(file:FileReference, httpError:Number):Void {
log.addItem("HTTP Error :" + httpError);
// Write code here to do corrective actions
}


listener.onIOError = function(file:FileReference):Void {
log.addItem("An IO Error occured");
}

listener.onSecurityError = function(file:FileReference, errorString:String):Void {
log.addItem("SecurityError: " + file.name + " ErrorString: " + errorString, "Error");
}

var fileRef:FileReference = new FileReference();
fileRef.addListener(listener);

browse.onRelease = function()
{
upload.enabled = true;
fileRef.browse();
}

upload.onRelease = function()
{
this.enabled = false;
/*** Change the URL here to point to the location where your upload.php resides **/
fileRef.upload("http://localhost/upload.php");
}

SO for lists I would like do something similar as with the combo box and text area but just cant seem to get the code right. o.k. thanks.
Mike

Moving Data Between Lists
Hi there. I don't know if this is something that can be explained to me but here goes:

I have two lists next to each other on my page. In between the lists, I have two buttons. One says "add" and one says "remove". When you select data in the left box and click "add", it moves it to the box on the right. When you select data in the box on the right and click "remove" it moves it back to the box on the left.

I have all the components on the stage, but don't know how to make this work. Can anyone give me any ideas on how to start?

I am not very good with scripting at all - I am more of a designer.

Any help would be greatly appreciated!!

Thanks!

-Lyn

Moving Data Between Lists
Hi there. I don't know if this is something that can be explained to me but here goes:

I have two lists next to each other on my page. In between the lists, I have two buttons. One says "add" and one says "remove". When you select data in the left box and click "add", it moves it to the box on the right. When you select data in the box on the right and click "remove" it moves it back to the box on the left.

I have all the components on the stage, but don't know how to make this work. Can anyone give me any ideas on how to start?

I am not very good with scripting at all - I am more of a designer.

Any help would be greatly appreciated!!

Thanks!

-Lyn

[F8] 5 Drop-lists To Generate URL
Hi all,

It was not for the want of trying, but I just don't think I knew where to look or what to search under, which brings me to asking the good people here. I'll try and keep it short and to the point...

I need 5 ComboBoxes/DropDown-lists/whatevers which are Item, Colour, Height, Width and Price.

And once the user has selected an item from each dropdown, and presses a button, this will generate a URL in a new window. Something like this:

http://www.thewebsite.com/result.asp?item=DROPDOWN1&colour=DROPDOWN2&height=DROPDOWN3&width=DROPDOWN4&price=DROPDOWN5

The second part of my 'question' is: Is there a way to, if the user chooses Item#1, then in the Colour list, 3 particular colours are there, but if the user chooses Item#2, then there a different set of colours to choose from?

If anyone knows how this is done, or knows of a useful tutorial, or even what this method is called so I can continue my search, I will be extremely happy and relieved. Many many thanks in advance for any help given.

Icon Lists Problem
Hi, i wana doa icon list, that retrives valueas from a db. the db is not the problem, i created a icon-cell instance named "mycell" with a var "my".

well, it works, but it shows only the last cell (with my=3) is showed, this is the code:

cnt=1;
orgx=5;
orgy=5;
while (cnt<=3) {
newname="cell"+cnt;

something=mycell.duplicateMovieClip(newname);
something.my=cnt;
something._x=orgx;
something._y=orgy;
orgx+=106;

cnt++;
}


i think the problem is "something", it should have a different name each time. but how. please help.

Numbered, Indented, Lists
:disgust;

For such a great tool, Flash can't create numbered lists with hanging indents. WHY? Many things we in training do involve steps. Without the hanging indents they look like crap. Is this ever going to be fixed?

Creating Xml Lists With Links
I was able to create a list component in Flash 8 and load the items from an
xml file, but I can't figure out how to make each line clickable in order to
work as a link. The code used to populate the list is:

form = new Object();
form.load=xmlConn.trigger();

The xml file is something like:

<?xml version="1.0" encoding="ISO-8859-1"?>
<articles>
<articles_items>
<title>Link text 2
</title>
<urlstring>article2.htm
</urlstring>
</articles_items>
<articles_items>
<title>Link text 1
</title>
<urlstring>article1.htm
</urlstring>
</articles_items>
</articles>

I intended to use the second field of each "articles_items", the "urlstring"
field, to associate with each "title" listing on the list component, so that
when "Link text 1" gets clicked it takes to "article1.htm". The instances
created are named articlesList, xmlConn, articles_ds.

Printing Dynamic Lists
i'm trying to print an invisible movie clip which contains a bunch of attached movie clips, in these clips are dynamic text fields with text in them,
http://ashantieaton.com/weyhill/
this is the site: launch the popup and go to rentals and do a search.
then hit the lame print button and see what happens.
for some reason the graphics for the background of the dynamic content are printed in front of the fileds, not only that but the text fields aren't in the right location on the page, it's almost like flash sends the text to the page, and then sends all the graphics.
i'm just using the regular print function i have not tried using the print jobobject cause no 2004.
please help

Populating A Series Of Lists?
I want to substitute a series of lists for a tree structure (like Mac OS X does when you shift the Finder into View > Columns mode). When a visitor first views this Flash file, he sees a single list on the left side of the page. When he clicks an item in that list, a new list (full of items from the second tier of the "tree" hierarchy) appears. When he clicks an item in the second-tier list, a third list appears and so on until he finally clicks a "terminal" item. At that point, the information associated with that "terminal" item appears in a panel to the right of the lowest-level list. Crudely rendered in text, it would look sort of like this:

| a |_____| d |____| g |
| b |_->_| e |_->_| h |_->_| item information |
| c |_____| f |_____| i |

I looked at Kirupa's Creating a List Box example and that got me started, but I don't know how to daisy chain a series of list boxes together, making them visible as I go along. Any tips or pointers to other pertinent examples would be appreciated.

Thanks!

Scott

Copyright © 2005-08 www.BigResource.com, All rights reserved