Ask a Question related to Macromedia ColdFusion, Design and Development.
-
Aglaranna webforumsuser@macromedia.com #1
list
What I want to do is put a number of a sprite in a list. And I want to extract the information in that list to put it in an url. Is that possible? I havn't worked on the putting in url part yet cause the list has to be made first.
What I have so far is:
on mouseDown
the spriteNum of me into wishlist
end mouseDown
on wishlist
wishlist()
wishlist.add(on mouseDown
put spriteNum of me into wishlist
end mouseDown)
end
The error message I get is sometimes operator expected, and sometimes handler defenition expected.
It's probably a stupid mistake I'm making, but I can't really figure it out actually.
Aglaranna webforumsuser@macromedia.com Guest
-
Multi-line TextBox - Paste text with numbered list, bullet list, tab character
Hi All, I need a server control that's exactly like a multi-line TextBox, but also allow users to paste text with numbered list, bullet list, and... -
Searching a column containing a list against a form list
I have a form that allows users to select multiple items from a list. form.hobbies = 1,5,3,6,8,2 (from a table pullup) I want to be able to... -
Need a button to rollover, show list and link from list
Hi, very new to Flash and need some help with a button. I'm creating a title bar for a site and I'm doing something similar to the button on... -
#25625 [NEW]: [chm] bug on ref.ftp.html | ftp_*list cant retrive ftp list on some ftpd
From: sentomas at hotmail dot com Operating system: freebad PHP version: 4.3.3 PHP Bug Type: FTP related Bug description: ... -
Why the list always tell me that my address has too much bounced mails and removed me from the list:(
My email address can work well with all other email lists, but no lucky to Debian, it seems that it has a very high level of security. ( We are... -
Rob Dillon #2
Re: list
You have to declare the variable as a list before you can use it as a
list. Here's an example that uses a global variable to hold the list
contents:
----------
global wishList
property thisSprite
on beginSprite me
thisSprite = me.spriteNum
if wishList = VOID then wishList = []
if wishList.getOne(thisSprite) = 0 then
wishList.add(thisSprite)
end if
end
-----------
You can add that to any number of sprites and it will put the sprite
number of each into the list.
--
Rob
_______
Rob Dillon
Team Macromedia
[url]http://www.ddg-designs.com[/url]
412-243-9119
[url]http://www.macromedia.com/software/trial/[/url]
Rob Dillon Guest
-
Steven #3
list
Hi All,
I have a list like :
<cfset MyList = "70,70,70,70,70,70,70,70,70,70,70,70,19,19,19, 59">
Now I would like to display how many of each numbers I have in the list.
So I want to display :
70 = 12
19 = 3
59 = 1
How would I do this??
Thanks for any help!
Steven Guest
-
Steven #4
List
Hi All,
I have a list like :
<cfset MyList = "70,70,70,70,70,70,70,70,70,70,70,70,19,19,19, 59">
Now I would like to display how many of each numbers I have in the list.
So I want to display :
70 = 12
19 = 3
59 = 1
How would I do this??
Thanks for any help!
Steven Guest
-
Steven #5
List
Hi All,
(Excuse me if this is posted twice, my own newsserver isn't showing my post,
so trying a different one.)
I have a list like :
<cfset MyList = "70,70,70,70,70,70,70,70,70,70,70,70,19,19,19, 59">
Now I would like to display how many of each numbers I have in the list.
So I want to display :
70 = 12
19 = 3
59 = 1
How would I do this??
Thanks for any help!
--
Posted by [url]news://news.nb.nu[/url]
Steven Guest
-
Steven #6
List
Hi All,
(Excuse me if this is posted twice, my own newsserver isn't showing my post,
so trying a different one.)
I have a list like :
<cfset MyList = "70,70,70,70,70,70,70,70,70,70,70,70,19,19,19, 59">
Now I would like to display how many of each numbers I have in the list.
So I want to display :
70 = 12
19 = 3
59 = 1
How would I do this??
Thanks for any help!
--
Posted by [url]news://news.nb.nu[/url]
Steven Guest
-
Shuvi Powers #7
List
Here's what I have:
<cfset MismatchedBranchList = "">
<cfif NOT ListFindNOCase(ReplaceList(Form.BranchCodeList,''' ',''),j)>
<cfset MismatchedBranchList = ??>
</cfif>
If there is a value in the ListFind that doesn't match I want to add it to my
mismatched List. But I don't know how to do that.
Any help is appreciated!!
Thanks
Shuvi Powers Guest
-
mxstu #8
Re: List
It looks like this statement is nested within a loop, so I'm not sure exactly
what you're doing, but maybe this example might help you understand the logic.
(Note; It does not contain the replace function you're using).
<cfset MasterBranchList = "a,b,c">
<cfset BranchListToValidate = "a,e,f">
<cfset MismatchedBranchList = "">
<cfloop list="#BranchListToValidate#" index="item">
<cfif ListFindNoCase(MasterBranchList, item) EQ 0>
<cfset MismatchedBranchList = ListAppend(MismatchedBranchList, item)>
</cfif>
</cfloop>
<!--- will return "e,f" because the values are NOT in the masterBranchList --->
<cfoutput>
MismatchedBranchList: #MismatchedBranchList#
</cfoutput>
mxstu Guest
-



Reply With Quote

