Flasher Archive

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


Subject: Re: FLASH: multiple set properties
From: Brett A. Rampata
Date: Tue, 14 Dec 1999 20:16:49 GMT

sarah

you could do this another way to give the desired effect of the sack
becoming larger.... you could make the sack a MC and have 15 frames (for 15
presents) with a stop action in each. In each frame you have a animation
that shows the sack growing in size. depending on how many presents you have
put in.... I think I am making sense??? anywho... and when you place the
gift it sets a variable "blah" to +1 and from there you can Tell Target to
the desired frame of the /sack MC depending on the variable. I hope this
helps... if I need to go into more detail, don't hesitate either to call or
to email back... good luck.

brett rampata I 410.752.3655.t I brampataatrandinteractive [dot] com





----------
>From: Sarah Lamont <slamontat2mtc [dot] com>
>To: flash group <flasheratchinwag [dot] com>
>Subject: FLASH: multiple set properties
>Date: Tue, Dec 14, 1999, 2:49 PM
>

>hi all...
>I've got a problem (as usual...)
>What I have is:
>2 draggable movie clips, whose visibility turns to 0 when over the drop
>target. Specifically, the movie clips are gifts, and they get dropped
>into santa's sack.. (okay, don't laugh at me, it's just for practice :)
>anyways, I am trying to give the impression that the sack gets larger as
>each gift is put inside it. So each If statement inside the button
>inside the gift movie clip looks like this:
>
>On (Press, DragOver)
> Start Drag ("")
>End On
>On (Release, Release Outside, Drag Out)
> If (GetProperty ("", _droptarget) eq "/open"
> Set Property ("/gift", Visibility)=0
> Set Property ("/sack", X Scale)=../:sizex
> Set Property ("/sack", Y Scale)=../:sizex
> End If
> Stop Drag
>End On
>
>I used variables because I thought it would make it easier, but I'm not
>sure it did...
>
>sizex=GetProperty("/sack,_xscale)+5
>and sizey=GetProperty("/sack",_yscale)+5
>
>these exist in the main timeline. I also tried using the call function,
>but it wouldn't work.
>When I drag and drop the gift into the sack, it does increase the size
>of the sack, but only for the very first gift that I wrote the script
>for, even if I put another gift in the sack before that one.
>Does anyone have any imput/advice as to why this is doing this? Or how
>to get around it?
>Thanks in advance!
>:]sarah
>
>
>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


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