Questions tagged [displayobject]

224 questions
0
votes
1 answer

Why do these changes in object.name result in different displays?

I was doing something simple - drawing a series of tiles, placing them in the library with linkage in the properties, and creating a large rectangle of randomly chosen tiles. I also wanted to be able to access each tile independently, so I used an…
Greg
  • 25
  • 3
0
votes
1 answer

Display data in angular form

I'm trying to display the data i transfered already from another component into my form. here is my interface : I tried to use the ngModel but it didnt work. here is my code : form.ts : import { Component, OnInit} from '@angular/core'; import…
Abaoub
  • 71
  • 10
0
votes
0 answers

Display images in milliseconds

I want to display several pictures with different durations. Duration is 1000ms for 'plus.jpg',400ms for 'mask.jpg',17ms for 'coin_sequence[picture_coin]', and 583ms for the second 'mask.jpg'. However, sometimes the 'coin_sequence[picture_coin]'…
June
  • 1
0
votes
1 answer

Clock Display in BlueJ with GUI

Currently the display works fine. I coded the minutes run act as seconds for simulation clock display. It's works fine but when it is 12:59, it should be 1 instead of 0. I couldn't figure it out to remove 00:00 should be 01:00 after 12:59.…
user10487231
0
votes
0 answers

How to present a good look result?

I would like to present a good look result for my own functions. I create my own function to solve some chi-square test exercises, and the result looks like that: Here is my own function: chisq.poly = function(prob, freq, significance.level =…
0
votes
2 answers

Removing array-objects from DisplayList

I'm working on a game for the iPhone using flash, and since memory is crucial i want to clean up displayObjects not needed. All the objects i need to delete is MovieClips taken from some array to another using splice(). Here is the code. public…
VoodooBurger
  • 233
  • 1
  • 5
  • 16
0
votes
1 answer

Am I able to hide children display object if the exceed the parent display object height?

Hey I building a plugin for a player, and I create a few sprites. The first spirte is a background, it's a black color alpha at .6. Then I add n children to it, depending on what video users are viewing. The background's width and height is .75 of…
0
votes
1 answer

Capture Flash / Flex redraw DisplayObject event?

I'm trying to capture the redraw event for some MovieClip / Sprite objects that are in a Scroll area. Ideally, should be able to capture the event when Flash Player itself redraws the objects as can be seen with "Show Redraw Regions" in FP…
Chands
  • 345
  • 5
  • 10
0
votes
2 answers

Actionscript 3 remove child at point

hi i'm new to AS3 and i was wondering what is the best way to remove a child at a point. i tried Holder.removeChild(Holder.getObjectsUnderPoint(new Point(exampleX, exampleY))[0]); however that returned ArgumentError: Error #2025: The supplied…
Dain
  • 3
  • 2
0
votes
1 answer

Loading array of display objects using shared objects in action script 3.0

I'm trying to load an array that contain some display objects, the program lets me to populate the array with circles and save them to a shared object, then, I can trace the content of my array using the load button. The problem is that i can't load…
0
votes
3 answers

Create an array of a parents children in javascript

I am trying to create an array of a parent div's (id="lol") children and them fetch them to change display:none; except for the child with id="a". I've tried this but it doesn't work. How can I improve this to get it to work? function myFunction()…
0
votes
3 answers

Joining Sprites together in AS3?

So created a Sprite to which I add other Sprites which are game tiles. Each tile is 60 x 60 px big. In result I've the Sprite with about 200 childs (those tiles). When I try to startDrag() the container sprite the lag when moving it is very…
Rihards
  • 10,241
  • 14
  • 58
  • 78
0
votes
0 answers

How to display relation table in php?

How to display relation table in php using oracle 11g with index format this is my code: $stid = oci_parse($conn, 'SELECT * FROM HOTEL'); oci_execute($stid); while (($row = oci_fetch_array($stid, OCI_BOTH)) != false) { $id_hotel =…
0
votes
1 answer

Looping DisplayObject animation

I have multiple object doing random movement with random speed. i wanted to repeat the animation. I tried to use onComplete to restart each object once the animation end, but how could I specifically target it to that object? Currently its…
Hwang
  • 502
  • 1
  • 12
  • 32
0
votes
1 answer

Corona SDK: Display text object has text and is visible, but width is nil

I am trying to create a text display, but for some reason the width of the object is nil, despite the fact that it has text. Here is my code: File1.lua: local myTextDisplay = display.newText("2", display.contentWidth / 2, display.contentHeight / 2,…
Sarah
  • 300
  • 2
  • 8