# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=62

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 63

---

## [kirupa.com - Changing States using GoToStateAction](https://forum.kirupa.com/t/kirupa-com-changing-states-using-gotostateaction/642954)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 23, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-changing-states-using-gotostateaction/642954 "2017-05-23T07:00:00Z")

</div>

by kirupa | 4 April 2010 With Expression Blend, it is very easy for you to create your own visual states. For an introduction on how to do that, please read my earlier Using Custom Visual States tutorial. …

---

## [I'm confused by requestAnimationFrame](https://forum.kirupa.com/t/im-confused-by-requestanimationframe/636580)

<div class="topic-metadata">

**Author:** [@ollie-w](https://forum.kirupa.com/u/ollie-w)\
**Replies:** 2\
**Last updated:** [May 22, 2017, 8:10pm UTC](https://forum.kirupa.com/t/im-confused-by-requestanimationframe/636580 "2017-05-22T20:10:28Z")

</div>

Is there a way to control the timing of the callback? What can you do with requestAnimationFrame that you can't do with the web animations API or css animations?

---

## [Custom Events in JavaScript | kirupa.com](https://forum.kirupa.com/t/custom-events-in-javascript-kirupa-com/539246)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [May 22, 2017, 8:03pm UTC](https://forum.kirupa.com/t/custom-events-in-javascript-kirupa-com/539246 "2017-05-22T20:03:32Z")

</div>

by kirupa | 30 December 2013 Despite the large number of events JavaScript provides out of the box for a whole bunch of scenarios, there will be times when you want to fire your own events for your own particu…

---

## [kirupa.com - Silverlight Tutorial: Modifying SL Animations Using C# - 
Page 4](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-modifying-sl-animations-using-c-page-4/642938)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 22, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-modifying-sl-animations-using-c-page-4/642938 "2017-05-22T07:00:00Z")

</div>

by kirupa | 7 November 2008 In the previous page, you finished up your application. The last thing remaining is figuring out why the code works the way it does, so let's do that in this page. This is a co…

---

## [Using the Pivot Control, Page 2](https://forum.kirupa.com/t/using-the-pivot-control-page-2/642942)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 22, 2017, 7:00am UTC](https://forum.kirupa.com/t/using-the-pivot-control-page-2/642942 "2017-05-22T07:00:00Z")

</div>

by kirupa | 22 November 2010 Have questions? Discuss this Windows Phone tutorial with others on the forums. This is a companion discussion topic for the original entry at https://www.kirupa.com/windowsphone/usin…

---

## [kirupa.com - Making your Content Scrollable](https://forum.kirupa.com/t/kirupa-com-making-your-content-scrollable/642941)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 22, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-making-your-content-scrollable/642941 "2017-05-22T07:00:00Z")

</div>

by kirupa | 30 August 2010 Have questions? Discuss this Windows Phone tutorial with others on the forums. This is a companion discussion topic for the original entry at https://www.kirupa.com/windowsphone/mak…

---

## [kirupa.com - WPF and Silverlight Tutorial: WrapPanel and StackPanel](https://forum.kirupa.com/t/kirupa-com-wpf-and-silverlight-tutorial-wrappanel-and-stackpanel/642908)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-wpf-and-silverlight-tutorial-wrappanel-and-stackpanel/642908 "2017-05-21T07:00:00Z")

</div>

by kirupa | 15 January 2009 In Silverlight and WPF, you have a lot of choices in how to lay out your content. This is accomplished via layout panels whose only purpose is to help arrange all of the content t…

---

## [kirupa.com - Silverlight Tutorial: Preloading and Displaying an Image, Page 5](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-preloading-and-displaying-an-image-page-5/642909)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-preloading-and-displaying-an-image-page-5/642909 "2017-05-21T07:00:00Z")

</div>

by kirupa | 19 October 2008 In the previous page, we started looking at the nuts and bolts of our application. First up was the LoadImage method that is responsible for setting all of the other wheels in mot…

---

## [kirupa.com - Going Full Screen](https://forum.kirupa.com/t/kirupa-com-going-full-screen/642916)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-going-full-screen/642916 "2017-05-21T07:00:00Z")

</div>

by kirupa | 17 June 2008 Most commonly, you interact with your Silverlight application as a component as part of a larger web page. There are many cases, though, where you would want your undivided attention…

---

## [kirupa.com - Designing for the Windows Phone](https://forum.kirupa.com/t/kirupa-com-designing-for-the-windows-phone/642919)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-designing-for-the-windows-phone/642919 "2017-05-21T07:00:00Z")

</div>

by kirupa | 15 March 2010 The rave at MIX 2010 has been all about developing applications for the Windows Phone. Part of the excitement has to do with how applications for the phone are actually built. Thi…

---

## [kirupa.com - Wrapping your Listbox Content: Page 3](https://forum.kirupa.com/t/kirupa-com-wrapping-your-listbox-content-page-3/642925)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-wrapping-your-listbox-content-page-3/642925 "2017-05-21T07:00:00Z")

</div>

by kirupa | 7 July 2009 In the previous page you went into your ListBox's ItemsPanel and replaced the StackPanel with a panel that wraps - aptly called a WrapPanel. In this page, we will make some minor cha…

---

## [kirupa.com - Using Value Converters - Page 6](https://forum.kirupa.com/t/kirupa-com-using-value-converters-page-6/642918)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-using-value-converters-page-6/642918 "2017-05-21T07:00:00Z")

</div>

by kirupa | 29 July 2007 In the previous page, you took the value converter you created and modified our data binding to use it. The end result is that your application now works well! For the past few pages…

---

## [kirupa.com - Drag & Drop Files in WPF: Page 3](https://forum.kirupa.com/t/kirupa-com-drag-drop-files-in-wpf-page-3/642907)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-drag-drop-files-in-wpf-page-3/642907 "2017-05-21T07:00:00Z")

</div>

by kirupa | 26 May 2009 In the previous page, you enabled drop support and hooked up the events needed to handle any files that get dropped into your ListBox. In this page, we will go further and add some co…

---

## [kirupa.com - Editing an Object's Registration Point](https://forum.kirupa.com/t/kirupa-com-editing-an-objects-registration-point/642912)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-editing-an-objects-registration-point/642912 "2017-05-21T07:00:00Z")

</div>

Editing an Object's Registration Point written by kirupa chinnathambi What is a registration point? Do you know what I am talking about? Simply put, a registration point is the default location of an obje…

---

## [kirupa.com - Creating a Custom Application Bar Icon](https://forum.kirupa.com/t/kirupa-com-creating-a-custom-application-bar-icon/642920)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 21, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-creating-a-custom-application-bar-icon/642920 "2017-05-21T07:00:00Z")

</div>

by kirupa | 26 September 2010 Have questions? Discuss this Windows Phone tutorial with others on the forums. This is a companion discussion topic for the original entry at https://www.kirupa.com/windowsphone/c…

---

## [Retrieve array index as addChild parameter](https://forum.kirupa.com/t/retrieve-array-index-as-addchild-parameter/636639)

<div class="topic-metadata">

**Author:** [@alebnn](https://forum.kirupa.com/u/alebnn)\
**Replies:** 2\
**Last updated:** [May 19, 2017, 1:49pm UTC](https://forum.kirupa.com/t/retrieve-array-index-as-addchild-parameter/636639 "2017-05-19T13:49:07Z")

</div>

Hello everybody, hopefully somebody will be able to help me. I have an array with some indexes inside and I want to pass one of those index as a addChild parameter. If I type it (i.e. Tambor1\_mc.addChild(atunIcon); th…

---

## [Towers of Hanoi | KIRUPA](https://forum.kirupa.com/t/towers-of-hanoi-kirupa/636496)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [May 19, 2017, 11:09am UTC](https://forum.kirupa.com/t/towers-of-hanoi-kirupa/636496 "2017-05-19T11:09:48Z")

</div>

As puzzles go, nobody really did it better than the monks who came up with the one we are going to learn about, the Towers of Hanoi. Besides being a really cool puzzle, it has a lot of practical (and historical!) signifi…

---

## [ActionScript: Send Snow 3.0 to Back?](https://forum.kirupa.com/t/actionscript-send-snow-3-0-to-back/636637)

<div class="topic-metadata">

**Author:** [@raqueldesousa](https://forum.kirupa.com/u/raqueldesousa)\
**Replies:** 0\
**Last updated:** [May 18, 2017, 5:55pm UTC](https://forum.kirupa.com/t/actionscript-send-snow-3-0-to-back/636637 "2017-05-18T17:55:24Z")

</div>

Hello Everyone, How can we modify the code for the Snow 3.0 so we can control the Z-Index of the snow. Currently no matter which layer the movie clip is in the snow always shows above all other elements in the movie. I a…

---

## [AS3 Help!!](https://forum.kirupa.com/t/as3-help/636616)

<div class="topic-metadata">

**Author:** [@lewismills](https://forum.kirupa.com/u/lewismills)\
**Replies:** 1\
**Last updated:** [May 16, 2017, 12:56pm UTC](https://forum.kirupa.com/t/as3-help/636616 "2017-05-16T12:56:09Z")

</div>

i have a promblem with my code im new to flash and it has be really confussed i dont no alot about flash but the problem is TypeError: Error #1006: checkCollisionWithPlayer is not a function. at Platform/onEnterFrame() …

---

## [ERROR #10009 : Cannot access a property or method of a null object reference](https://forum.kirupa.com/t/error-10009-cannot-access-a-property-or-method-of-a-null-object-reference/636561)

<div class="topic-metadata">

**Author:** [@coucou2000](https://forum.kirupa.com/u/coucou2000)\
**Replies:** 0\
**Last updated:** [May 5, 2017, 8:19pm UTC](https://forum.kirupa.com/t/error-10009-cannot-access-a-property-or-method-of-a-null-object-reference/636561 "2017-05-05T20:19:16Z")

</div>

Hi there, keep getting this error 1009. I debuged my code and the line pointed is the following and i don't know how to correct it. Tks a lot.

---

## [AS3 touch events lagging and causing unwanted right-click behavior](https://forum.kirupa.com/t/as3-touch-events-lagging-and-causing-unwanted-right-click-behavior/636546)

<div class="topic-metadata">

**Author:** [@Scythe](https://forum.kirupa.com/u/Scythe)\
**Replies:** 0\
**Last updated:** [May 3, 2017, 4:48pm UTC](https://forum.kirupa.com/t/as3-touch-events-lagging-and-causing-unwanted-right-click-behavior/636546 "2017-05-03T16:48:58Z")

</div>

This may be a long shot, but hopefully someone can help me with this. I’m running Windows 10 64-bit on a Dell Inspiron laptop with a 10-touch-point touchscreen. I can get touch events to fire but they’re not working the…

---

## [keyboard event handling issues specific to Chrome?](https://forum.kirupa.com/t/keyboard-event-handling-issues-specific-to-chrome/636538)

<div class="topic-metadata">

**Author:** [@jekillen](https://forum.kirupa.com/u/jekillen)\
**Replies:** 2\
**Last updated:** [May 2, 2017, 5:35pm UTC](https://forum.kirupa.com/t/keyboard-event-handling-issues-specific-to-chrome/636538 "2017-05-02T17:35:03Z")

</div>

Hello again; Let me start by saying that I don't really like posting about these issues, but I am having an issue with key board events specific to the Chrome browser. Mac OSX Yosemite, Chrome version 57.0.2987.133 (64…

---

## [The TransitionEnd Event | kirupa.com](https://forum.kirupa.com/t/the-transitionend-event-kirupa-com/352290)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 14\
**Last updated:** [May 1, 2017, 11:29pm UTC](https://forum.kirupa.com/t/the-transitionend-event-kirupa-com/352290 "2017-05-01T23:29:58Z")

</div>

by kirupa | 4 January 2013 While a transition is something you would bucket squarely in the CSS category, there is a certain level of co-operation between it and JavaScript. Events is one area w…

---

## [Updating matrix transformation values & rAF](https://forum.kirupa.com/t/updating-matrix-transformation-values-raf/636495)

<div class="topic-metadata">

**Author:** [@marvindanig](https://forum.kirupa.com/u/marvindanig)\
**Replies:** 4\
**Last updated:** [April 28, 2017, 4:14am UTC](https://forum.kirupa.com/t/updating-matrix-transformation-values-raf/636495 "2017-04-28T04:14:01Z")

</div>

I am stuck at how requestAnimationFrame really works. With numerous tutorials out there I have some hang of it, but unable to apply the learnings to my javascript code with confidence. And then there is also a delta (tim…

---

## [React-motion not updating state onScroll](https://forum.kirupa.com/t/react-motion-not-updating-state-onscroll/636503)

<div class="topic-metadata">

**Author:** [@A7DC](https://forum.kirupa.com/u/A7DC)\
**Replies:** 3\
**Last updated:** [April 27, 2017, 12:26am UTC](https://forum.kirupa.com/t/react-motion-not-updating-state-onscroll/636503 "2017-04-27T00:26:27Z")

</div>

Hi everyone, First of all, I just wanted to say thanks to Kirupa for the fantastic book 'Learning React' - easily the best programming book I've ever read. He does a great job at explaining concepts in a way that's eas…

---

## [How to send 2 requests in HTML / Javascript?](https://forum.kirupa.com/t/how-to-send-2-requests-in-html-javascript/636484)

<div class="topic-metadata">

**Author:** [@HarryPorter](https://forum.kirupa.com/u/HarryPorter)\
**Replies:** 1\
**Last updated:** [April 23, 2017, 6:38pm UTC](https://forum.kirupa.com/t/how-to-send-2-requests-in-html-javascript/636484 "2017-04-23T18:38:48Z")

</div>

I currently have a form that uploads file to a server the files are uploaded using the regular "multipart/form-data" and method="POST". I also am sending additional metadata to the server in the same post. For this I hoo…

---

## [Why The News Is Not Being Pulled \[XML JS Query\]](https://forum.kirupa.com/t/why-the-news-is-not-being-pulled-xml-js-query/636483)

<div class="topic-metadata">

**Author:** [@schttrj](https://forum.kirupa.com/u/schttrj)\
**Replies:** 0\
**Last updated:** [April 22, 2017, 6:27pm UTC](https://forum.kirupa.com/t/why-the-news-is-not-being-pulled-xml-js-query/636483 "2017-04-22T18:27:02Z")

</div>

Here's my code. \<!DOCTYPE html\> \<html\> \<head\> \<meta charset="utf-8"\> \<meta name="viewport" content="width=device-width"\> \<title\>News Site\</title\> \<script\> var xhttp = new XMLHttpRequest(); xhttp.onreadystatecha…

---

## [Eliminate "Ghosting" when Dragging an Image in the Browser](https://forum.kirupa.com/t/eliminate-ghosting-when-dragging-an-image-in-the-browser/636353)

<div class="topic-metadata">

**Author:** [@luis\_vera](https://forum.kirupa.com/u/luis_vera)\
**Replies:** 7\
**Last updated:** [April 21, 2017, 4:27pm UTC](https://forum.kirupa.com/t/eliminate-ghosting-when-dragging-an-image-in-the-browser/636353 "2017-04-21T16:27:15Z")

</div>

Hi, i’m working in a game, now I have the following problem I have to drag an image, but the navigator create a ghost image, that’s the problem, I have to eleminate it

---

## [Clipping Content Using the overflow CSS Property | kirupa.com](https://forum.kirupa.com/t/clipping-content-using-the-overflow-css-property-kirupa-com/352097)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [April 20, 2017, 10:35pm UTC](https://forum.kirupa.com/t/clipping-content-using-the-overflow-css-property-kirupa-com/352097 "2017-04-20T22:35:27Z")

</div>

Clipping Content Using the overflow CSS Property by kirupa | 3 August 2013 Often, you will run into cases where you want to display some content that is larger than its container: …

---

## [Safari problems](https://forum.kirupa.com/t/safari-problems/636401)

<div class="topic-metadata">

**Author:** [@erykwks](https://forum.kirupa.com/u/erykwks)\
**Replies:** 7\
**Last updated:** [April 20, 2017, 6:39pm UTC](https://forum.kirupa.com/t/safari-problems/636401 "2017-04-20T18:39:27Z")

</div>

Hey everybody. It's my first post so please forgive mistakes. I created a website - http://huskyagency.com/ which works good on different browsers except Safari which has problem with displaying whole sections. I can't…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=61)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=63)
