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: | Damien Morton |
| Date: | Wed, 26 Jul 2000 02:25:31 +0100 |
test for existance of a specific instance:
if (getproperty("path/to/clip", _name) ne "") then
end if
(assumes that the instances you are testing have instance names)
> -----Original Message-----
> From: owner
> Sent: Tuesday, July 25, 2000 8:14 PM
> To: flasher
> Subject: testing if a clip exists (was, Re: FLASH: null is >, <, =, or ?
> to zero)
>
>
> ----- Original Message -----
> From: John Dowdell <jdowdell
> To: <flasher
> 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 help
>
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 help
Replies
testing if a clip exists (was, Re: FLASH, Thaker
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

