Flasher Archive

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


Subject: RE: FLASH: Branden Halls Sparks demo...
From: Branden J. Hall
Date: Fri, 19 Nov 1999 18:49:49 GMT

To do what you want, simply add X more frames to the M-spark MC, one for
each color you want. Then place a stop action in the first frame. Finally,
open the M-draggie movie, and just above the line that says
temp=temp+1

add the following:
Begin Tell Target ("/spark"&current&"/spark")
Go to and Stop ((random(X)+1))
End Tell Target
Just change X to the # of frames in the M-spark MC

-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of David
Sent: Saturday, November 20, 1999 11:25 AM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: Branden Halls Sparks demo...


I'm puzzled too by the sparks.
I believe I have found every little bit of script, wrote it down, created a
new
layer. I then duplicated the current library members, renamed them, and
adjusted
the code.
My sparks are green. I'd like to set up a multi-colored explosion

The results are interesting. When the movie plays I get the expected orange
sparks. There are no green sparks. Once the orange ones fade, a static
orange
spark appears.

Hmm, I think I have a conflicting script. Any ideas?

Dave



Branden Hall wrote:

> No problem... :-)
> Heres the deal... M-Controller is what is known as a controller MC...
> controller MCs have to be two frames long because the must repeat forever
as
> well as allow the stage to update after each modification of an MCs
> properties. (Two things that actionscript LOOP WHILE does not do) Each
spark
> has its own controller, and hence is animated independantly depending on
the
> random x,y,z, and fade speeds it was given when it was first duplicated.
>
> -= Branden J. Hall
> -= Multimedia Developer/Instructor
> -= Fig Leaf Software
>
> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Justin
> Yahnke
> Sent: Thursday, November 18, 1999 8:04 PM
> To: flasheratchinwag [dot] com
> Subject: FLASH: Branden Halls Sparks demo...
>
> First off, Branden, thanks a ton for making this cool little demo
available
> (and the other inifinite amount of info you've given out on this list!
> You're
> a hero.)
>
> I've been spending some time dissecting Branden's Sparks demo to help me
> figure out actionscript. I'm a coder (C,Perl,Lingo,CF...)/artist and have
> been picking up flash over the last month or so on a clients request.
>
> I'm having a few questions I'm hoping Branden or someone else can answer
> for me...
>
> I understand how the m-draggie/b-makespark thing works, following the
cursor
> and duplicating/initializing the m-flyspark MC. From there, I can't
figure
> out where M-controller comes into play. I can tell from the scripting in
> M-controller that it is what advances the animation, so it seems to me
that
> M-controller is part of each `spark' - am I right? If not, how is
> M-controller called or executed for each spark? That and why are there
two
> frames in M-controller?
>
> Thanks in advance to anyone who can help me out. Branden, thanks again
for
> your generosity.
>
> Justin
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.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...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.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...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.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...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Branden Halls Sparks demo..., David

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