Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: RE: Help with a short ActionScript |
From: | Shelley Story |
Date: | Tue, 15 Aug 2000 03:40:18 +0100 |
Thanks so much for your help... unfortunately, I still can't get
it to work. I set the actions up in three different frames but
there's still no shaking. :(
I do appreciate your taking the time to try to help, though. :)
shelley
> -----Original Message-----
> From: ownerchinwag [dot] com [ownerchinwag [dot] com]On">mailto:ownerchinwag [dot] com]On Behalf Of Jordan L.
> Chilcott
> Sent: Monday, August 14, 2000 11:04 AM
> To: flasherchinwag [dot] com
> Subject: Re: FLASH: Help with a short ActionScript
>
>
> You cannot put your 'shaker' in a tight loop of this sort. You
> are changing the properties of the movie clip before the frame
> head has a chance to move. Therefore, nothing will get updated
> (JD refers to this as a tight loop - he enlightened me with this
> while taking over a Director project). You are best to separate
> your code into three frames (updating your mc properties in each
> frame) and looping through those frames.
>
> Hope this helps...
>
> jord
> ---------- Original Message ----------------------------------
> >> I am trying to make a movie clip that will "shake" its
> >> parent MC, i.e. change the X position to X + 15 and x -15
> >> in rapid succession.
> >>
> >> I have created the MC ("shaker") and placed it in the time-
> >> line of the parent MC. However, I know I've done something(s?)
> >> wrong because when I export, the parent MC does no shaking
> >> whatsoever.
> >>
> >> Can anyone look at the code for "shaker" and tell me what I'm
> >> doing wrong?
> >>
> >> Thanks,
> >>
> >> shelley
> >> shelleykismia [dot] com
> >> ----------------
> >> Here's the code:
> >>
> >> Set Variable: "count" = "0"
> >> Set Variable: "horiz" = GetProperty ( "../", _x )
> >> Set Variable: "horizadd" = horiz + 15
> >> Set Variable: "horizsub" = horiz - 15
> >> Loop While (count < 10)
> >> Set Property ("../", X Position) = "horizadd"
> >> Set Property ("../", X Position) = "horizsub"
> >> Set Property ("../", X Position) = "horiz"
> >> Set Variable: "count" = count + 1
> >> End Loop
> >>
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> Full flasher archive now available online at:
> >> http://www.chinwag.com/flasher/archive.shtml
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> To unsubscribe or change your list settings go to
> >> http://www.chinwag.com/flasher or email helpchinwag [dot] com
> >
> >
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Full flasher archive now available online at:
> > http://www.chinwag.com/flasher/archive.shtml
> >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >To unsubscribe or change your list settings go to
> >http://www.chinwag.com/flasher or email helpchinwag [dot] com
> >
> >
>
> --
> --
> Jordan L. Chilcott
> the Computer Software Specialists
> Guelph, Ontario
> ---------------------------------
> Tel: (519) 837-1879
> Cel: (519) 760-1879
> eFax: (253) 276-8631
>
> jchilcottcompsoftspec [dot] com (mailto:jchilcottcompsoftspec [dot] com)
> http://www.compsoftspec.com
> AIM: j1chilcott
>
> Our name doesn't appear on many web sites...
> Our results do!
> --
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Full flasher archive now available online at:
> http://www.chinwag.com/flasher/archive.shtml
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpchinwag [dot] com
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
Re: FLASH: Help with a short ActionScrip, Jordan L. Chilcott
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]