Flasher Archive

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


Subject: Re: testing if a clip exists (was, Re: FLASH: null is >, <, =, or ? to zero)
From: V�ctor Vill�n
Date: Wed, 26 Jul 2000 02:58:45 +0100

Hi.

About your question: If a movie clip doesn't exist and you try to evaluate
some of his properties u will be returned nothing, so, if you want to test
if it exists then try: If (Getproperty("movie",_x) eq "") "It doesn't exist"
End If. But, as JD said, it has no sense.

About the JD reply, I think he tried to say something like that:

There's no reason to test if a movie clip exists if u have made the code a
way u know certainly it will/will not exist.

Bye


----- Original Message -----
From: "Thaker" <thakeraten [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Wednesday, July 26, 2000 2:13 AM
Subject: testing if a clip exists (was, Re: FLASH: null is >, <, =, or ? to
zero)


> ----- Original Message -----
> From: John Dowdell <jdowdellatmacromedia [dot] com>
> To: <flasheratchinwag [dot] com>
> Sent: Tuesday, July 25, 2000 6:46 PM
> Subject: Re: FLASH: null is >, <, =, or ? to zero
>
>
> > If this boils down to "Can I test a numeric value that may not exist?"
> then
> > you may wish to apply a more reasonable strategy, first testing whether
> > something exists before you then begin to compare its (possibly
> > non-existent) values.
> >
> > I may have pulled the wrong intended question from the long description
of
> > a project none of us can see, though.
> >
> > jd
> >
> >
> > John Dowdell, Macromedia Tech Support, San Francisco CA US
> > Search technotes: http://www.macromedia.com/support/search/
> > Offlist email risks capture by the spam filters. I may not see your
> > email if it's not on the list. Private one-on-one email options are
> > available via Priority Access: http://www.macromedia.com/support/
>
>
> haha...ok, sorry if I was vague with my original question, though, you did
> manage to get at it pretty well. How then do I go about testing if a
certain
> movie clip exists? or, more importantly, how do I test within a whole
range
> of clips (named a1, a2, a3...a10) to see which exist so that I can then
run
> additional actionscripting on those clips? also, for curiosity's sake, is
> there an answer to my original question of how flash would treat a
> comparison of one number to a nonexistant number? is there a standard way
it
> does this, or is the script ignored, or does the flash player just freak
> out?
>
> Samir Thaker
>
>
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: null is >, <, =, or ? to zero, John Dowdell
  testing if a clip exists (was, Re: FLASH, Thaker

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