# programming

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

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

**Page:** 62

---

## [React Login /Logout](https://forum.kirupa.com/t/react-login-logout/636812)

<div class="topic-metadata">

**Author:** [@Ahilen](https://forum.kirupa.com/u/Ahilen)\
**Replies:** 2\
**Last updated:** [July 31, 2017, 11:09am UTC](https://forum.kirupa.com/t/react-login-logout/636812 "2017-07-31T11:09:26Z")

</div>

HI, I need an simple example for login /logout in JSX. how can I call a component after successful login in React/jsx? this what I need to do: I have a login page(login.jsx) ,home page(home,jsx) and logout pag…

---

## [Header Transition bug in Mobile Version](https://forum.kirupa.com/t/header-transition-bug-in-mobile-version/636945)

<div class="topic-metadata">

**Author:** [@arnabmunshi](https://forum.kirupa.com/u/arnabmunshi)\
**Replies:** 3\
**Last updated:** [July 26, 2017, 5:34am UTC](https://forum.kirupa.com/t/header-transition-bug-in-mobile-version/636945 "2017-07-26T05:34:04Z")

</div>

takht.in ... In mobile version when scroll down some bug are there ... Can you please check it out ... Please help ... Problem in header transition.

---

## [How to Covert AS2 code to Animate CC Html Canvas. I need to convert a drag and drop activity in Animate CC Html Canvas.](https://forum.kirupa.com/t/how-to-covert-as2-code-to-animate-cc-html-canvas-i-need-to-convert-a-drag-and-drop-activity-in-animate-cc-html-canvas/636904)

<div class="topic-metadata">

**Author:** [@prasannavino](https://forum.kirupa.com/u/prasannavino)\
**Replies:** 1\
**Last updated:** [July 15, 2017, 4:52pm UTC](https://forum.kirupa.com/t/how-to-covert-as2-code-to-animate-cc-html-canvas-i-need-to-convert-a-drag-and-drop-activity-in-animate-cc-html-canvas/636904 "2017-07-15T16:52:25Z")

</div>

5 drags and 5 drops, Check button to check the answers.

---

## [Adobe Brackets - A new easy way to convert PSD to HTML](https://forum.kirupa.com/t/adobe-brackets-a-new-easy-way-to-convert-psd-to-html/633955)

<div class="topic-metadata">

**Author:** [@nijasmd](https://forum.kirupa.com/u/nijasmd)\
**Replies:** 2\
**Last updated:** [July 15, 2017, 9:36am UTC](https://forum.kirupa.com/t/adobe-brackets-a-new-easy-way-to-convert-psd-to-html/633955 "2017-07-15T09:36:20Z")

</div>

Hi there, Recently got checked the new code editor from Adobe called Brackets. Here I am sharing you some of the best features that come up with Adobe Brackets. Converting a PSD design to HTML is now more easy with Ad…

---

## [object rotates on its side in animate](https://forum.kirupa.com/t/object-rotates-on-its-side-in-animate/636862)

<div class="topic-metadata">

**Author:** [@code17](https://forum.kirupa.com/u/code17)\
**Replies:** 3\
**Last updated:** [July 10, 2017, 7:43am UTC](https://forum.kirupa.com/t/object-rotates-on-its-side-in-animate/636862 "2017-07-10T07:43:52Z")

</div>

I have several movie clips, when I checked the transform tool the little circle is in the center, but when I select the object the cross hair is on one of the sides. Therefore when I run the movie the object rotates on i…

---

## [Was Inspired to create a Sublime Text Plugin after finishing "Styling in React" to help everybody style css in camelCase that is acceptable to React. :0](https://forum.kirupa.com/t/was-inspired-to-create-a-sublime-text-plugin-after-finishing-styling-in-react-to-help-everybody-style-css-in-camelcase-that-is-acceptable-to-react-0/636843)

<div class="topic-metadata">

**Author:** [@askeladde](https://forum.kirupa.com/u/askeladde)\
**Replies:** 2\
**Last updated:** [June 30, 2017, 7:13pm UTC](https://forum.kirupa.com/t/was-inspired-to-create-a-sublime-text-plugin-after-finishing-styling-in-react-to-help-everybody-style-css-in-camelcase-that-is-acceptable-to-react-0/636843 "2017-06-30T19:13:34Z")

</div>

Perhaps the best part of React is that components can so modular to the point of carrying their own CSS with them. But one problem is that the CSS that the property names have to be written in camel case and units of mea…

---

## [dbf files](https://forum.kirupa.com/t/dbf-files/636817)

<div class="topic-metadata">

**Author:** [@EmilBarta](https://forum.kirupa.com/u/EmilBarta)\
**Replies:** 2\
**Last updated:** [June 27, 2017, 3:08pm UTC](https://forum.kirupa.com/t/dbf-files/636817 "2017-06-27T15:08:20Z")

</div>

Please help! I had a folder where the FoxPro database file .dbf. Someone have it removed. I don't know what to do. there were important files. Used the recovery programs GetDataBack for NTFS and Recover My File. 10 perc…

---

## [CSS in React Components](https://forum.kirupa.com/t/css-in-react-components/636807)

<div class="topic-metadata">

**Author:** [@iviolini](https://forum.kirupa.com/u/iviolini)\
**Replies:** 1\
**Last updated:** [June 24, 2017, 9:02pm UTC](https://forum.kirupa.com/t/css-in-react-components/636807 "2017-06-24T21:02:10Z")

</div>

When styling React components, where is the best place to include "layout" based css like Flexbox or CSS grid — in the main CSS file or with the component. As an example, in the color swatches exercise would if you call…

---

## [Question regarding shuffling array](https://forum.kirupa.com/t/question-regarding-shuffling-array/636776)

<div class="topic-metadata">

**Author:** [@iamgeorgegreene](https://forum.kirupa.com/u/iamgeorgegreene)\
**Replies:** 2\
**Last updated:** [June 21, 2017, 1:18pm UTC](https://forum.kirupa.com/t/question-regarding-shuffling-array/636776 "2017-06-21T13:18:09Z")

</div>

Can anyone explain why and how swapping is done on these two lines? /\* input\[randomIndex\] = input\[i\]; input\[i\] = itemAtIndex; \*/ Array.prototype.shuffle = function() { var input = this; for (var…

---

## [modify code for React Dealing with State app](https://forum.kirupa.com/t/modify-code-for-react-dealing-with-state-app/636771)

<div class="topic-metadata">

**Author:** [@webguync](https://forum.kirupa.com/u/webguync)\
**Replies:** 3\
**Last updated:** [June 18, 2017, 6:51pm UTC](https://forum.kirupa.com/t/modify-code-for-react-dealing-with-state-app/636771 "2017-06-18T18:51:28Z")

</div>

Hi, I am trying to teach myself React using Kirupa’s book and videos. I followed along and created the ‘Dealing with State’ app and I am trying to modify it some. I have the counter counting down and what I would like t…

---

## [Question about function inside of function](https://forum.kirupa.com/t/question-about-function-inside-of-function/636761)

<div class="topic-metadata">

**Author:** [@iamgeorgegreene](https://forum.kirupa.com/u/iamgeorgegreene)\
**Replies:** 2\
**Last updated:** [June 16, 2017, 12:38pm UTC](https://forum.kirupa.com/t/question-about-function-inside-of-function/636761 "2017-06-16T12:38:43Z")

</div>

Hello, I am reading Javascript for Absolute Beginners and I have a question about the following referenced code... function youSayGoodbye() { alert("Goodbye!"); function andISayHello() { alert("H…

---

## [How to create a button from array of buttons?](https://forum.kirupa.com/t/how-to-create-a-button-from-array-of-buttons/636750)

<div class="topic-metadata">

**Author:** [@Serifaz](https://forum.kirupa.com/u/Serifaz)\
**Replies:** 2\
**Last updated:** [June 15, 2017, 5:26am UTC](https://forum.kirupa.com/t/how-to-create-a-button-from-array-of-buttons/636750 "2017-06-15T05:26:33Z")

</div>

Hello I am trying to create an array of buttons that I can click and then trace out the name of those buttons This is what I have. private function charList(event:ProgressEvent):void { while(socket.bytesAvailab…

---

## [How to addchild for each array value with an incremented int?](https://forum.kirupa.com/t/how-to-addchild-for-each-array-value-with-an-incremented-int/636531)

<div class="topic-metadata">

**Author:** [@Serifaz](https://forum.kirupa.com/u/Serifaz)\
**Replies:** 7\
**Last updated:** [June 14, 2017, 5:45pm UTC](https://forum.kirupa.com/t/how-to-addchild-for-each-array-value-with-an-incremented-int/636531 "2017-06-14T17:45:16Z")

</div>

Hello I am trying to addChild for an array that I have. I want to make it so if I have values in my database table it displays those values on the movieclip. my problem is I don't want to have to add a line for each add…

---

## [Variable and Function Hoisting](https://forum.kirupa.com/t/variable-and-function-hoisting/636727)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 5\
**Last updated:** [June 4, 2017, 10:53pm UTC](https://forum.kirupa.com/t/variable-and-function-hoisting/636727 "2017-06-04T22:53:40Z")

</div>

One of the quirkiest things about JavaScript is this thing known as hoisting. We'll get to what it means in a bit, but let's set the stage for it by looking at some examples and figuring out what the right behavior shou…

---

## [kirupa.com - Text In Flash: Make it Legible!](https://forum.kirupa.com/t/kirupa-com-text-in-flash-make-it-legible/643250)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 11, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-text-in-flash-make-it-legible/643250 "2017-06-11T07:00:00Z")

</div>

Text In Flash: Make it Legible! by kirupa A common problem plaguing Flash sites is not a lack of design. Often times, the depth and complexity in some Flash animations easily rival the paintings of famous c…

---

## [kirupa.com - Chromeless Pop-Up Window](https://forum.kirupa.com/t/kirupa-com-chromeless-pop-up-window/643243)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 10, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-chromeless-pop-up-window/643243 "2017-06-10T07:00:00Z")

</div>

Chromeless Pop-Up Window by kirupa : code by mariano klein If you happen to browse design sites, you are bound to see many javascript pop-up windows that display a page in a smaller, less buttoned versio…

---

## [kirupa.com - Getting Started with Silverlight 3](https://forum.kirupa.com/t/kirupa-com-getting-started-with-silverlight-3/643199)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 6, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-getting-started-with-silverlight-3/643199 "2017-06-06T07:00:00Z")

</div>

by kirupa | 22 March 2008 (Updated 12 July 2009) NOTEthis article has been replaced with a revised Getting Started guide! Silverlight, now in its third version, is a plug-in that allows users to view interactiv…

---

## [kirupa.com - Accessing the Parent, Page 3](https://forum.kirupa.com/t/kirupa-com-accessing-the-parent-page-3/643198)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 6, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-accessing-the-parent-page-3/643198 "2017-06-06T07:00:00Z")

</div>

by kirupa | 23 August 2009 In the previous page, you saw the code for the FindParentByType extension method and learned where to place it in your application. In this page, let's go ahead and wrap our gener…

---

## [kirupa.com - Introduction to Behaviors, Page 2](https://forum.kirupa.com/t/kirupa-com-introduction-to-behaviors-page-2/643191)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 5, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-introduction-to-behaviors-page-2/643191 "2017-06-05T07:00:00Z")

</div>

by kirupa | 25 July 2009 In the previous page, you learned a little about the motivation for why we need to have easier ways of adding interactivity. In this page, let's look at how behaviors help with solv…

---

## [kirupa.com - Silverlight Tutorial: Silverlight XAPs and Web Site Projects, Page 3](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-silverlight-xaps-and-web-site-projects-page-3/643089)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 4, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-silverlight-tutorial-silverlight-xaps-and-web-site-projects-page-3/643089 "2017-06-04T07:00:00Z")

</div>

by kirupa | 16 April 2008 In the previous page, you learned how to create a new Silverlight project and link a Web site to its output. In this page, let's look at the other case where you already have a Silv…

---

## [kirupa.com - Fixing the Flash/Embed Issue](https://forum.kirupa.com/t/kirupa-com-fixing-the-flash-embed-issue/643059)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 2, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-fixing-the-flash-embed-issue/643059 "2017-06-02T07:00:00Z")

</div>

by kirupa | 19 February 2006Due to a patent ruling, plug-ins loaded using the embed, applet, and object tags will no longer be interactive unless the user actually clicks on the plug-in object first: \[ you mus…

---

## [Introduction to Easing in JavaScript | kirupa.com](https://forum.kirupa.com/t/introduction-to-easing-in-javascript-kirupa-com/352204)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 4\
**Last updated:** [June 1, 2017, 4:30pm UTC](https://forum.kirupa.com/t/introduction-to-easing-in-javascript-kirupa-com/352204 "2017-06-01T16:30:28Z")

</div>

by kirupa | 7 June 2013 The most important part of creating an animation is specifying the rate at which a property value changes from one value to another. Does the value get there directly at a …

---

## [Passing Argument to Web Service](https://forum.kirupa.com/t/passing-argument-to-web-service/636688)

<div class="topic-metadata">

**Author:** [@dror](https://forum.kirupa.com/u/dror)\
**Replies:** 1\
**Last updated:** [May 31, 2017, 3:51pm UTC](https://forum.kirupa.com/t/passing-argument-to-web-service/636688 "2017-05-31T15:51:43Z")

</div>

How can i pass parameter to Restfull web service using XMLHttpRequest in javascript. I have the following web service method: @GET @Produces(MediaType.APPLICATION\_JSON) public String getJson(String count…

---

## [kirupa.com - Using Custom Visual States, Page 4](https://forum.kirupa.com/t/kirupa-com-using-custom-visual-states-page-4/643031)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 31, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-using-custom-visual-states-page-4/643031 "2017-05-31T07:00:00Z")

</div>

by kirupa | 11 September 2009 This is a companion discussion topic for the original entry at https://www.kirupa.com/blend\_silverlight/custom\_vsm\_pg4.htm

---

## [kirupa.com - Motion Tweening, Page 3](https://forum.kirupa.com/t/kirupa-com-motion-tweening-page-3/643018)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 29, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-motion-tweening-page-3/643018 "2017-05-29T07:00:00Z")

</div>

by kirupa | 7 October 2005 Motion tweening seems pretty easy, and for the most part, it really is the easiest way to animate a couple of objects as you may have found out from the previous pages. When I was st…

---

## [kirupa.com - Removing Duplicates from a List in C# - Page 1](https://forum.kirupa.com/t/kirupa-com-removing-duplicates-from-a-list-in-c-page-1/643013)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 29, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-removing-duplicates-from-a-list-in-c-page-1/643013 "2017-05-29T07:00:00Z")

</div>

by kirupa | 16 November 2006 In the previous page, I started explaining how the code actually works. Let's pick up from where we left off with this page and wrap things up! if (!uniqueStore.ContainsKey(currValu…

---

## [kirupa.com - Introduction to OOP in C#: Classes - Page 4](https://forum.kirupa.com/t/kirupa-com-introduction-to-oop-in-c-classes-page-4/643007)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 29, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-introduction-to-oop-in-c-classes-page-4/643007 "2017-05-29T07:00:00Z")

</div>

by kirupa | 5 January 2007 In the previous page we learned how to extend the functionality of our program by using methods. There are two types of methods - instance and static. We just finished discussing i…

---

## [kirupa.com - Detecting the Theme in Windows Phone 7](https://forum.kirupa.com/t/kirupa-com-detecting-the-theme-in-windows-phone-7/642987)

<div class="topic-metadata">

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

</div>

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

---

## [kirupa.com - Interviews: Dale (glosrc)](https://forum.kirupa.com/t/kirupa-com-interviews-dale-glosrc/642966)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 24, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-interviews-dale-glosrc/642966 "2017-05-24T07:00:00Z")

</div>

Say hi to Dale everyone: He may just be the only to person to ever visit from the Halley Research Station, Latitude 75°35' S, Longitude 26°39' W, Brunt Ice Shelf, Coats Land, Antarctica. That's right folks - Antarctica…

---

## [kirupa.com - Extension Methods in C# 3.0](https://forum.kirupa.com/t/kirupa-com-extension-methods-in-c-3-0/642961)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [May 24, 2017, 7:00am UTC](https://forum.kirupa.com/t/kirupa-com-extension-methods-in-c-3-0/642961 "2017-05-24T07:00:00Z")

</div>

by kirupa | 1 June 2009 When creating an application, you declare variables and use objects that all have a Type associated with them. Types you probably use commonly include int, double, string, Array, etc.…

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

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