OZONE Asylum
Forums
Multimedia/Animation
ActionScript Gurus
This page's ID:
11225
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Ok all you AS gurus, I need some help understanding why a script works like it does. In this file: [url=http://www.krets.net/misc/shoppy.swf]http://www.krets.net/misc/shoppy.swf[/url] You can drag the right gift onto the bag and it will disappear. The gift is basically a movie symbol with two keyframes. Frame 1 is the bag with a stop action on it and frame 2 is blank. Here is the action script on the gift button symbol in the movie clip... [code]on (press) { startDrag (""); } on (release) { stopDrag (); } on (release) { target = GetProperty("",_droptarget); if (target ne "") { gotoAndStop (2); } } [/code] In the line which sets the target, how does that work? I've looked for a property or value on the bag but can't find one. I'm not sure how that script defines the target. Help would be much appreciated.... Here is the .fla file too.... [url=http://www.krets.net/misc/shoppy.fla]http://www.krets.net/misc/shoppy.fla[/url] [url=http://www.krets.net] [img]http://www.krets.net/sigs/smallkrets.gif[/img] [/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »