Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Adding to a Variable (no, concatenating) |
From: | Jason Bouwmeester |
Date: | Tue, 18 Apr 2000 00:03:23 +0100 |
Ahhh yes concatenating. And yes I am sure that the ASP is returning the date
right. I've got a trial ASP page up that returns all sorts of values and the
date value returned by asp is month/day/year in ##/##/## format. I am just
thinking that the problem is lying in my URL encoding on the way to Flash,
not totally sure though.
Thanks!
jb
-----Original Message-----
From: Helen Triolo [designeri-technica [dot] com (mailto:designeri-technica [dot] com)]
Sent: Monday, April 17, 2000 1:53 PM
To: flasherchinwag [dot] com
Subject: Re: FLASH: Adding to a Variable (no, concatenating)
Jason Bouwmeester wrote:
>
> Hey everyone,
>
> Got a quickie here I hope. I have successfully loaded a variable from an
ASP
> file into Flash. The variable loads into a movie clip called current_date
-
> the text field variable is currentDate. Unfortunately, the ASP function
> returns 4/17/00 but Flash only displays 4/17 - I need to add the /00 to
the
> end. So I tried this:
>
> Set Variable: "/current_date:currentDate" = /current_date:currentDate +
> "/00"
>
> but no luck. The first /current_date:currentDate is a string, the second
is
> an expression - is that my problem? Any takers?
String concatenates use a "&", not a "+". And while we're on the
subject, it seems that Flash will concatenate either a string or a
number variable equally. Is that everyone else's experience too? It
seems wierd to me, but it's very useful in loops since you don't have to
worry about converting variable types. My second comment about the
above is that there must be a way to get Flash to display the actual
year in a date, not just the month and day! Are you sure the ASP is
really returning the whole thing?
Helen
----------------------------------------
helen triolo � http://i-technica.com
designeri-technica [dot] com � 301-424-6037
----------------------------------------
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]