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

  • SEARCH
  • Home
  • 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 8725405
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:01:59+00:00 2026-06-13T08:01:59+00:00

I have use greensock imageloader for sometimes (It’s a great plug-in so easy to

  • 0

I have use greensock imageloader for sometimes (It’s a great plug-in so easy to use and i love it), just wondering is there a way you can load bitmap which doesn’t create a movieclip inside the container? I couldn’t find this solution in the API
http://www.greensock.com/as/docs/tween/com/greensock/loading/ImageLoader.html

does anyone have any experience?

Cheers
Bill

  • 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-06-13T08:02:00+00:00Added an answer on June 13, 2026 at 8:02 am

    According to the docs:

    The ImageLoader’s content refers to a ContentDisplay (Sprite) that is created immediately so that you can position/scale/rotate it or add ROLL_OVER/ROLL_OUT/CLICK listeners before (or while) the image loads. Use the ImageLoader’s content property to get the ContentDisplay Sprite, or use the rawContent property to get the actual Bitmap. If a container is defined in the vars object, the ContentDisplay will immediately be added to that container).

    So they are saying you don’t have to supply a container in the vars object. If you just want to get the bitmap then it says you can use the rawContent property.

    Try something like this:

    //create an ImageLoader:
    var loader:ImageLoader = new ImageLoader("your_image.jpg", {name:"image", 
    x:0, y:0, width:200, height:200, onComplete:onImageLoad});
    
    //begin loading
    loader.load();
    
    //see if we have a bitmap
    function onImageLoad(event:LoaderEvent):void {
       trace(event.target.rawContent);
    }
    

    Although you say that you like this, loading a bitmap is trivial in AS3 without a library:

    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete);
    loader.load(new URLRequest("your_image.png"));
    
    function onComplete (event:Event):void
    {
         // get your loaded bitmap
         var bmp:Bitmap = Bitmap(LoaderInfo(event.target).content);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have use rails3-jquery-autocomplete plugin and I am just wondering how can I use
I'm just starting to learn AspectJ, and I have use-case for say, User login.
Here's the code I have: use strict; use warnings; use Log::Log4perl qw(:easy); Log::Log4perl->init({ level
I have use following code to display category and there product on click patent
I have created a class call ImageLoader and use memory cache to store all
I have use a singleton class that contained just one passed value. I then
I have use SSRS 2008 before installing SharePoint 2010. I dig around that there
I have use these code to upload two images in folder of the root
I have use semantic-analyze-proto-impl-toggle to switch between the function's proto and impl, but when
I have use include ('base.php') script in my other scripts ( more.php ). Now

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.