Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 07-28-2007, 03:21 AM   #1
Registered User
Join Date: Sep 2004
Posts: 61
Talking creating properties for sprite


I'm trying to create two new properties called startX and startY that I can use with a Sprite.

so when I create

var eachBall:Sprite = Sprite(new AnimateBall());
I can set the property startX and startY like so

eachBall.startX = eachBall.x
eachBall.startY = eachBall.y;
this doesn't need to override the x and y it's just merely a datastore. Any ideas how I can accomplish this?

saveth is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wierd Timeline Transition Error Benaiah Other Flash General Questions 1 08-01-2006 04:32 PM
dynamically creating properties within classes systems ActionScript 2.0 3 06-19-2006 11:30 PM
cannot set/get properties on class instance - why? kracko ActionScript 2.0 10 08-07-2005 08:26 PM
creating an array of objects with properties mcmcom Components 3 08-24-2004 05:31 PM

All times are GMT. The time now is 01:23 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.