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 7037929
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:36:16+00:00 2026-05-28T01:36:16+00:00

var c = new Cloud(); c.x = Math.random() * 350; c.y = Math.random() *

  • 0
var c = new Cloud();
c.x = Math.random() * 350;
c.y = Math.random() * 700;
clouds.push(c);
stage.addChild(c);

This code is in my document class, I don’t get any errors, tracing the x, y, or even c values show correct values. Alas the Cloud objects are not visible.

I have tried parent.addChild(c) and stage.addChild(c); nothing seems to show them.

(note my stage is 350 width and 700 height)

  • 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-28T01:36:17+00:00Added an answer on May 28, 2026 at 1:36 am

    Try to add a sprite instance at (100, 100) and draw on it a black rectangle (width = 100, height = 100). If you see it then the problem with the cloud instance (the cloud white on the white background?), and you should check a drawing method of the Cloud class.

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

Sidebar

Related Questions

var linksInCategory = document.id($('.CategoryTreeLabel').href); var randomLinkArray = new Array(linksInCategory); //CategoryTreeLabel is the class all
How do I add a class for the div ? var new_row = document.createElement('div');
var grossBrackets = new Array( '300', '400', '500', '600', '700', '800', '900', '1000' );
I have a working script like this: jQuery(document).ready(function(){ $('.video-thumb img').bind('mouseover',function(){ var new = $(this).attr('src').replace(/default.jpg/,'1.jpg');
Actually my code is--- function addElement(url,imagePath){ alert(url); alert(imagePath); var container = document.getElementById('sncs'); var new_element
E.g. var new = canvas.toDataURL(image/png); I want the base64 that is present in this
The below code is not changing the javascript source: if($.browser.msie){ var new_scr=document.createElement('script'); new_scr.src=http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js; document.getElementsByTagName('head')[0].appendChild(new_scr);
var y = new w(); var x = y.z; y.z= function() { doOneThing(); x();
var insInvoice = new NpgsqlCommand( @INSERT INTO invoice_detail( invoice_id, invoice_detail_id, product_id, qty, price, amount)
var newUser = new tblUser() { Email = strEmail, Password = strPassword, DateBirth =

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.