Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Adding to a Variable (no, concatenating)
From: Helen Triolo
Date: Mon, 17 Apr 2000 21:04:49 +0100

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
designerati-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 helpatchinwag [dot] com


Replies
  Re: FLASH: Adding to a Variable (no, con, Cheri Harder

Replies
  FLASH: Adding to a Variable, Jason Bouwmeester

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]