Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6165257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:08:03+00:00 2026-05-23T22:08:03+00:00

I got the following problem: I have an object called tempScore for my game.

  • 0

I got the following problem:

I have an object called tempScore for my game.

This object is blitted to the canvas by a renderer via the copyPixels method. The object is NOT a display object. It’s a Score-object (self made). The Score-object extends an object called BasicBlitArrayObject. The BasicBlitArrayObject extends an EventDispatcher (therefore no display object).

I tried to apply several different TweenLite-plugins to my tempScore-object (i.e. TransformAroundCenter, colorMatrixFilter, etc.). But nothing happens. Absolutely nothing.

Sometimes I get error messages (when a plugin requires a display object and my object is NOT a display object). So far so good.

According to Greensock (maker of Tweenlite) his engine can tween ANY numeric property of ANY object. So when a plugin like TransformAroundCenter requires a display object for tweening I have to modify the plugin to get it working for my non-display object (tempScore). Currently I can’t do that because it’s way too hard for me.

My game rests upon this code:
http://www.8bitrocket.com/book/ch11_blastermines.zip

Try to apply TweenLite with an object called tempMine inside the game class BlasterMines. It won’t work. Any help, please?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T22:08:04+00:00Added an answer on May 23, 2026 at 10:08 pm

    Greensock’s claim is correct, in it’s exactness. You can tween any numeric property of any object. This statement does not include the application of plugin features.

    The reason that the TransformAroundCenter and ColorMatrixFilter plugins don’t work for you is that they each utilise some property or method of DisplayObject. In the case of transformAroundCenter that’s DisplayObject.localToGlobal() and for ColorMatrixFiler it’s DisplayObject.filters.

    I have to ask why you’re applying these plugins to something that is not a display object? In blitting (as it applies to AS3), the basic idea is that you read an area from a sprite sheet to a BitmapData object, which in turn you write to a Bitmap object on the stage. Both BitmapData and Bitmap extend DisplayObject, which is what you need. For higher compatibility you should target the Bitmap object that is actually on the stage, TransformAroundCenter will not work correctly with an object that is not on the stage.

    For a better answer you will have to post some code, and possibly a screenshot from a debugger like Monster Debugger 3 which shows your expanded display tree.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a small problem: I got an object Log. This object fires an
I have the following problem in event handlers in Javascript. I've got an object
I've got the following problem: I have two tables: (simplified) +--------+ +-----------+ | User
I have got the following problem since the server has safe mode turned on,
I have the following problem: I got a view with two text fields and
I've got following problem: (c#) There is some class (IRC bot), which has method,
My Problem is the following. I got this code and i guess a corrupt
Hey there, i got this very annoying problem: I have a CheckBoxList getting items
I am following up from this question here The problem I have is that
I have the following problem. I got a class PluginLoader which oversees loading of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.