Questions tagged [displayobject]
224 questions
29
votes
3 answers
displaying a pdf from a local drive in shiny
I'm still new to r and shiny, and i'm stumped with what should otherwise be simple logic. I am trying to display pdf files in imageOutput widgets but with no luck. Could someone steer me in the right direction?
sample…

Jeramy
- 389
- 1
- 4
- 7
19
votes
4 answers
Display: initial for internet explorer
I've made a website that works just fine in Google Chrome and Firefox, but when I run it in Internet Explorer I'm experiencing problems.
So, I have 2 slideshows on my index page but only one should show at a specific screen resolution. I created…

Pawsitivity
- 201
- 1
- 2
- 3
10
votes
4 answers
How can I display a in spyder IPython console?
I am trying to run the code:
perm = PermutationImportance(clf).fit(X_test, y_test)
eli5.show_weights(perm)
to get an idea of which features are the most important in a model, but the output is
Any solutions or…

Evan
- 373
- 2
- 3
- 15
10
votes
2 answers
as3 mouseEnabled still a problem for me
A couple years in now, there's still something about mouseEnabled I'm not getting. I have a Sprite (for example here "Sky", that contains many objects, one of them is a Cloud, which I do not want to receive Mouse Events. I overlay this Sky on some…

phil
- 201
- 1
- 3
- 15
9
votes
1 answer
Draw text on shape in ActionScript 3
Is there any way to draw text in a DisplayObject or Shape using only ActionScript? The only way I can find on the web is by creating a TextField, but I can't add a TF to a DisplayObject or Shape.
Edit:
Solved thanks to viatropos.
For anyone that's…

GhassanPL
- 2,679
- 5
- 32
- 40
8
votes
1 answer
AS3 using a Matrix to "scale" an object from its "center"
Here's something I'm trying to figure out concerning display objects in ActionScript3 / Flex.
Let's say you have a display object who's registration point is in the top left and you want to scale it from its center (middle of the display object),…

just_a_dude
- 2,745
- 2
- 26
- 30
7
votes
2 answers
Javascript search and display divs with matching keywords
What I'm looking for:
I'm working on creating an easy way for a user to search a list of people, and for results to instantly display below the search field. The results MUST display "close" results, rather than exact. For example: User searches for…

Steve
- 111
- 2
- 6
6
votes
1 answer
IPython.display: how to change width, height and resolution of a displayed image
I am displaying an image of a molecule using IPython.display in Jupyter.
The resolution of the image is quite low. Is there a way to specify the width and height of the displayed image and its resolution?
I googled it and could not find anything.…

themennice
- 177
- 1
- 9
6
votes
4 answers
Use terminal to display image without losing focus
I have a bash-script in which I want to display an image to the user. This is possible using ImageMagick's display.
display image.png
But now the focus of the terminal window is lost, and is placed to the image. To continue my bash-script I have to…

CousinCocaine
- 591
- 6
- 20
5
votes
3 answers
take snapshot of display object visible area in flash
I have camera input app in flash (AS3) and I draw some graphics over it. I want to take the image snapshot of the stage visible area but only the video an graphics I draw over video. I want to exclude controls from the image snapshot. My display…

Primoz Rome
- 10,379
- 17
- 76
- 108
5
votes
2 answers
addChild(): How can I know when a DisplayObject is actually displayed on the stage?
I've got a large (4096x4096) image loaded into memory, but when I try to use addChild, there is a long delay before it actually gets drawn to the screen. This is expected. However, is there an event I can listen for to know the moment that the…

producerism
- 344
- 4
- 17
5
votes
2 answers
jQuery hide text, display on hover?
Hopefully just a quick question :)
I'm trying to write little jQuery that will help do this:
text displayed on page: CA
text displayed when mouse hovers: CALIFORNIA
I've managed to do this the wrong way round unfortunately, I know I need to use…

LT86
- 635
- 2
- 15
- 29
3
votes
3 answers
How do I access all of the children of a DisplayObject programatically?
How do access all of the children of a DisplayObject using code? (I'm looking for something like movieclip.children)
I'm using this in two cases:
1) To loop through and reposition all of the children of an enclosing MovieClip.
Or
2) To loop through…

Moshe
- 57,511
- 78
- 272
- 425
3
votes
0 answers
Python, returning object attributes FOR DISPLAY
NOTE: My question may be more heavily based in coding convention than anything else.
I'm working on a personal project and I am looking for as clean and 'Pythonic' a way to return object variables for display.
I'm currently implementing my objects…

Hill
- 71
- 5
3
votes
2 answers
Get full conversation with Android query
I would like to get all messages from one contact. I have the contact ID _id, so I've already do something like this :
private void displayMessages() {
ContentResolver cr = this.getContentResolver();
try {
Cursor cursor =…

Couim
- 735
- 3
- 12
- 29