Flasher Archive

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


Subject: Re: FLASH: null is >, <, =, or ? to zero
From: Wayne Pennell \( Web Master \)
Date: Wed, 26 Jul 2000 02:36:51 +0100

When you remove the clips your instances of the clip disappear ? Your
action script appears to be 7 instances... why aren't you setting your Loop
while q <=8 .. any reason?

On to the actions ..somewhere in your movie are these buttons?

Sorry I need more info. or let me look at the swf to see whats happening.

Wayne Pennell
----- Original Message -----
From: "Samir Thaker" <samiratriotbox [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Tuesday, July 25, 2000 4:27 PM
Subject: FLASH: null is >, <, =, or ? to zero


> i've got 7 movie clips moving back and forth across my stage (using a
> programmatic movement subroutine that gets 'called' every so often). i've
> setup another movie clip that basically tells all these clip to change
> direction once the furthest left clip (or furthest right one) hits the
edge
> of the stage. i did this with the following actionscript:
>
> Set Variable: "q" = "1"
> Loop While (q < 8)
> If (getproperty ( "/a" & q , _x ) <= 50)
> Set Variable: "/actions:dx" = /actions:dx * -1
> Set Variable: "q" = q + 1
> Trace ("left edge hit")
> Else If (getproperty ( "/a" & q , _x ) >= 500)
> Set Variable: "/actions:dx" = /actions:dx * -1
> Set Variable: "q" = q + 1
> Trace ("right edge hit")
> End If
> Set Variable: "q" = q + 1
> End Loop
>
> now, a bunch of that might seem like nonsense, so just ignore it...the key
> parts are the ones detecting where clips /a1, /a2, /a3, etc are. the
problem
> is, at one point, some of these clips disappear (when they are clicked
on).
> how does flash handle determining whether clip /a3 's x position is >= 50
if
> it has been unloaded from the stage? does it simply ignore that test?
> everything moves fine until i start removing clips, at which point wierd
> things start happening.
>
> -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
  FLASH: null is >, <, =, or ? to zero, Samir Thaker

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