# programming

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

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

**Page:** 79

---

## [IE11 and FlashVars](https://forum.kirupa.com/t/ie11-and-flashvars/625404)

<div class="topic-metadata">

**Author:** [@bssommers](https://forum.kirupa.com/u/bssommers)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 1:41pm UTC](https://forum.kirupa.com/t/ie11-and-flashvars/625404 "2015-04-21T13:41:50Z")

</div>

Well the IE11 rollout here has really dorked up our site. We have some Flash progress checks that are passed some variables using flashvars. however, with IE11 it does not appear that the flashvars are being passed to th…

---

## [KEY\_DOWN event not firing while holding control](https://forum.kirupa.com/t/key-down-event-not-firing-while-holding-control/625489)

<div class="topic-metadata">

**Author:** [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 3:58pm UTC](https://forum.kirupa.com/t/key-down-event-not-firing-while-holding-control/625489 "2015-04-21T15:58:47Z")

</div>

While holding control key, the KeyboardEvent.KEY\_DOWN event does not fire. Anyone know what the issue could be? stage.addEventListener(KeyboardEvent.KEY\_DOWN, keyPressed); stage.addEventListener(KeyboardEvent.KEY\_UP, …

---

## [Display three lines of text, then stop?](https://forum.kirupa.com/t/display-three-lines-of-text-then-stop/625105)

<div class="topic-metadata">

**Author:** [@tailz](https://forum.kirupa.com/u/tailz)\
**Replies:** 0\
**Last updated:** [April 21, 2015, 7:02am UTC](https://forum.kirupa.com/t/display-three-lines-of-text-then-stop/625105 "2015-04-21T07:02:30Z")

</div>

Hello all, I am seeking your help. I have a simple web page in HTML with a little CSS for styling some text. I want to display three lines of text in sequence, each appearing on the screen before fading away and being re…

---

## [Closures in JavaScript | kirupa.com](https://forum.kirupa.com/t/closures-in-javascript-kirupa-com/352224)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 2\
**Last updated:** [April 21, 2015, 6:07am UTC](https://forum.kirupa.com/t/closures-in-javascript-kirupa-com/352224 "2015-04-21T06:07:41Z")

</div>

by kirupa | 30 December 2013 By now, you probably know all about functions and all the fun functiony things that they do. An important part of working with functions, with JavaScript, and (possibly) life …

---

## [Is there a way to determine concatenated filters?](https://forum.kirupa.com/t/is-there-a-way-to-determine-concatenated-filters/621284)

<div class="topic-metadata">

**Author:** [@Scythe](https://forum.kirupa.com/u/Scythe)\
**Replies:** 5\
**Last updated:** [April 21, 2015, 3:57am UTC](https://forum.kirupa.com/t/is-there-a-way-to-determine-concatenated-filters/621284 "2015-04-21T03:57:17Z")

</div>

I want to be able to take a symbol that may be buried in a parent/child chain and add it to the stage or the root and have it look the same. The properties transform.concatenatedColorTransform and transform.concatenatedM…

---

## [I need the javascript code for social media share popup windows](https://forum.kirupa.com/t/i-need-the-javascript-code-for-social-media-share-popup-windows/601910)

<div class="topic-metadata">

**Author:** [@Charles442](https://forum.kirupa.com/u/Charles442)\
**Replies:** 2\
**Last updated:** [April 20, 2015, 7:44pm UTC](https://forum.kirupa.com/t/i-need-the-javascript-code-for-social-media-share-popup-windows/601910 "2015-04-20T19:44:31Z")

</div>

I need to create social icon popup windows for Facebook, Twitter and Linkedin where I can explicity alter as much text and image content for each as possible Specifically, I need the ability to find where to edit eac…

---

## [Send Multiple writeUTF Messages Across Socket in AS3?](https://forum.kirupa.com/t/send-multiple-writeutf-messages-across-socket-in-as3/623978)

<div class="topic-metadata">

**Author:** [@Twisted4000](https://forum.kirupa.com/u/Twisted4000)\
**Replies:** 0\
**Last updated:** [April 20, 2015, 6:31pm UTC](https://forum.kirupa.com/t/send-multiple-writeutf-messages-across-socket-in-as3/623978 "2015-04-20T18:31:44Z")

</div>

So with TCP in AS3, I'm trying to write strings over to the server and then to the clients, but it appears to only be able to read one at a time. This is not good because I'm sending messages based on keys being press…

---

## [How can I check if rtmp link is broken?](https://forum.kirupa.com/t/how-can-i-check-if-rtmp-link-is-broken/622247)

<div class="topic-metadata">

**Author:** [@onurcan1977](https://forum.kirupa.com/u/onurcan1977)\
**Replies:** 0\
**Last updated:** [April 19, 2015, 9:32pm UTC](https://forum.kirupa.com/t/how-can-i-check-if-rtmp-link-is-broken/622247 "2015-04-19T21:32:57Z")

</div>

Hello, I'm trying to make my flash project to have ability to check rtmp connections. I tried urlloader and netconnection however couldn't make it work. I'm using Flash Professional 2014.2

---

## [AS3 Parallax scrolling](https://forum.kirupa.com/t/as3-parallax-scrolling/621205)

<div class="topic-metadata">

**Author:** [@Hvdstaal](https://forum.kirupa.com/u/Hvdstaal)\
**Replies:** 4\
**Last updated:** [April 19, 2015, 8:22am UTC](https://forum.kirupa.com/t/as3-parallax-scrolling/621205 "2015-04-19T08:22:16Z")

</div>

A while ago I created a website with as3 parallax scrolling with the mouse. The code works, I only want to make some changes and I have no idea how.. This is my current code: function constrainedLandschap(target:MovieC…

---

## [My HUD won't stay still! \[AS3\]](https://forum.kirupa.com/t/my-hud-wont-stay-still-as3/621299)

<div class="topic-metadata">

**Author:** [@Geewhiz1011](https://forum.kirupa.com/u/Geewhiz1011)\
**Replies:** 0\
**Last updated:** [April 18, 2015, 9:10pm UTC](https://forum.kirupa.com/t/my-hud-wont-stay-still-as3/621299 "2015-04-18T21:10:58Z")

</div>

Hello! I've got a pretty interesting idea for a game that I'm currently making right now, where you play as a cat and beat up dogs and other cool stuff like that. There's gonna be different stages as well, like a cat kib…

---

## [Need help animating my enemies and collision not working](https://forum.kirupa.com/t/need-help-animating-my-enemies-and-collision-not-working/620253)

<div class="topic-metadata">

**Author:** [@drawntodeath](https://forum.kirupa.com/u/drawntodeath)\
**Replies:** 1\
**Last updated:** [April 18, 2015, 6:07am UTC](https://forum.kirupa.com/t/need-help-animating-my-enemies-and-collision-not-working/620253 "2015-04-18T06:07:45Z")

</div>

I'm trying to get this project done and I can not get my enemy animations to work and my character is just walking through them not losing any hit points. The code I've used was given to me as a starting point I've made …

---

## [Javascript lightbox35 slideshow works with firefox but acts up with google chrome](https://forum.kirupa.com/t/javascript-lightbox35-slideshow-works-with-firefox-but-acts-up-with-google-chrome/614763)

<div class="topic-metadata">

**Author:** [@username11](https://forum.kirupa.com/u/username11)\
**Replies:** 6\
**Last updated:** [April 17, 2015, 7:17am UTC](https://forum.kirupa.com/t/javascript-lightbox35-slideshow-works-with-firefox-but-acts-up-with-google-chrome/614763 "2015-04-17T07:17:36Z")

</div>

The slideshow works perfect with firefox but not chrome. In chrome, what happens is that 1.whenever you start the slideshow by clicking on any of the thumbs, you cannot exit out of the slideshow (the "x" closing icon on …

---

## [AS2 - movieclip jerking when mouse is outside of movie](https://forum.kirupa.com/t/as2-movieclip-jerking-when-mouse-is-outside-of-movie/571529)

<div class="topic-metadata">

**Author:** [@Clark\_Magagni](https://forum.kirupa.com/u/Clark_Magagni)\
**Replies:** 2\
**Last updated:** [April 16, 2015, 10:16pm UTC](https://forum.kirupa.com/t/as2-movieclip-jerking-when-mouse-is-outside-of-movie/571529 "2015-04-16T22:16:47Z")

</div>

I am using this function to attach a movieclip to the mouse (with easing). But when the mouse goes out of the swf inside the browser, on all sides except the left, the movieclip jerks to the utmost left position it can h…

---

## [flash supported in Android and IOS](https://forum.kirupa.com/t/flash-supported-in-android-and-ios/619395)

<div class="topic-metadata">

**Author:** [@knownothing](https://forum.kirupa.com/u/knownothing)\
**Replies:** 1\
**Last updated:** [April 16, 2015, 4:48pm UTC](https://forum.kirupa.com/t/flash-supported-in-android-and-ios/619395 "2015-04-16T16:48:25Z")

</div>

Can website in Flash AS2 be seen in Android and IOS ? If can't, is there a solution ?

---

## [Augmented Reality native extension on Android and iOS](https://forum.kirupa.com/t/augmented-reality-native-extension-on-android-and-ios/618863)

<div class="topic-metadata">

**Author:** [@tahadaf](https://forum.kirupa.com/u/tahadaf)\
**Replies:** 0\
**Last updated:** [April 16, 2015, 5:56am UTC](https://forum.kirupa.com/t/augmented-reality-native-extension-on-android-and-ios/618863 "2015-04-16T05:56:28Z")

</div>

We have recently released a new version of our AR ANE which is based on MetaioSDK download the project here: https://github.com/myflashlab/AR-ANE-Samples here I list some of the latest features: 1- Built on Metaio…

---

## [AS3: Polar inversion/black hole effect](https://forum.kirupa.com/t/as3-polar-inversion-black-hole-effect/604457)

<div class="topic-metadata">

**Author:** [@darkjonas8](https://forum.kirupa.com/u/darkjonas8)\
**Replies:** 13\
**Last updated:** [April 14, 2015, 4:33pm UTC](https://forum.kirupa.com/t/as3-polar-inversion-black-hole-effect/604457 "2015-04-14T16:33:07Z")

</div>

Hey, i want to create a dynamic effect where a starry sky turns into a black hole sorta thing. The effect looks exactly like something i managed to make in paint.net with the effect tool: polar inversion. Heres what i ma…

---

## [ctrl+a, ctrl+v, ctrl+c problems with textfields](https://forum.kirupa.com/t/ctrl-a-ctrl-v-ctrl-c-problems-with-textfields/614231)

<div class="topic-metadata">

**Author:** [@onurcan1977](https://forum.kirupa.com/u/onurcan1977)\
**Replies:** 0\
**Last updated:** [April 12, 2015, 9:06am UTC](https://forum.kirupa.com/t/ctrl-a-ctrl-v-ctrl-c-problems-with-textfields/614231 "2015-04-12T09:06:40Z")

</div>

I have some input textfields and when I test the movie, ctrl+a is inserting a character (I guess it's tab), ctrl+c is inserting a sybol like "L". ctrl+v is inserting clipboard but it appends a char like "T". Same thing…

---

## [Using Arrays to sort data from a text file AIR](https://forum.kirupa.com/t/using-arrays-to-sort-data-from-a-text-file-air/604475)

<div class="topic-metadata">

**Author:** [@scriptjunkie](https://forum.kirupa.com/u/scriptjunkie)\
**Replies:** 6\
**Last updated:** [April 8, 2015, 9:53am UTC](https://forum.kirupa.com/t/using-arrays-to-sort-data-from-a-text-file-air/604475 "2015-04-08T09:53:33Z")

</div>

Hey Currently using a text file to store some basic data. Was thinking of importing that data to a an array and then attempting to sort the data out. Had some guidance to use something along these lines.... functio…

---

## [All About CSS Transitions | kirupa.com](https://forum.kirupa.com/t/all-about-css-transitions-kirupa-com/399249)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 1\
**Last updated:** [April 8, 2015, 8:51am UTC](https://forum.kirupa.com/t/all-about-css-transitions-kirupa-com/399249 "2015-04-08T08:51:22Z")

</div>

by kirupa | 6 March 2013 In CSS, when you change the value of a property, the change is sudden. For example, let's say that you have the following CSS where on hover, the transform property's translate…

---

## [AS2 - printJob doubt](https://forum.kirupa.com/t/as2-printjob-doubt/596309)

<div class="topic-metadata">

**Author:** [@pistelli](https://forum.kirupa.com/u/pistelli)\
**Replies:** 1\
**Last updated:** [April 2, 2015, 6:25pm UTC](https://forum.kirupa.com/t/as2-printjob-doubt/596309 "2015-04-02T18:25:41Z")

</div>

Hi all! I have a movie clip instanced "toprint". It contains 6 movieclips inside. One of them is only black outlined. I can change the colors of the other 5 movie clips by clicking on them using "set.RGB", and after I se…

---

## [So simple it has to work... but doesnt grr](https://forum.kirupa.com/t/so-simple-it-has-to-work-but-doesnt-grr/601455)

<div class="topic-metadata">

**Author:** [@scottiescotsman](https://forum.kirupa.com/u/scottiescotsman)\
**Replies:** 0\
**Last updated:** [April 2, 2015, 12:37pm UTC](https://forum.kirupa.com/t/so-simple-it-has-to-work-but-doesnt-grr/601455 "2015-04-02T12:37:33Z")

</div>

I dynamically added a textField and set text format and all the usual stuff ... and it works... but all the sizes are wrong and for some reason I think its not measuring the sizes in pixels. the little\_Text.x = 0; and …

---

## [AS2 : onEnterFrame causing problems in game](https://forum.kirupa.com/t/as2-onenterframe-causing-problems-in-game/593169)

<div class="topic-metadata">

**Author:** [@Drud14](https://forum.kirupa.com/u/Drud14)\
**Replies:** 6\
**Last updated:** [April 2, 2015, 1:51am UTC](https://forum.kirupa.com/t/as2-onenterframe-causing-problems-in-game/593169 "2015-04-02T01:51:44Z")

</div>

I took an existing Tic Tac Toe game in Actionscript 2, and I am trying to modify it. The modifications are mostly animation-related. The original version of the game was only a single frame. In order to add the anima…

---

## [Pass a user name to another frame - how do you do it? AS3](https://forum.kirupa.com/t/pass-a-user-name-to-another-frame-how-do-you-do-it-as3/569270)

<div class="topic-metadata">

**Author:** [@rhanna2](https://forum.kirupa.com/u/rhanna2)\
**Replies:** 11\
**Last updated:** [March 6, 2015, 4:32pm UTC](https://forum.kirupa.com/t/pass-a-user-name-to-another-frame-how-do-you-do-it-as3/569270 "2015-03-06T16:32:03Z")

</div>

Onframe1 , I created a global variable for the user name as follows: var userNameGlobal:String = certificateName.text; On frame 2, I created a dynamic text field and tried to concatenate the user name with other st…

---

## [Frame labels no longer working](https://forum.kirupa.com/t/frame-labels-no-longer-working/592830)

<div class="topic-metadata">

**Author:** [@Scythe](https://forum.kirupa.com/u/Scythe)\
**Replies:** 2\
**Last updated:** [March 30, 2015, 9:00pm UTC](https://forum.kirupa.com/t/frame-labels-no-longer-working/592830 "2015-03-30T21:00:12Z")

</div>

I've attached a sample fla. When I click the button, it takes me to frame 10 even though the label is on frame 20. What I think is going on here is that the scene-specific frame number of the label is converted a globa…

---

## [All About nth-of-type and nth-child | kirupa.com](https://forum.kirupa.com/t/all-about-nth-of-type-and-nth-child-kirupa-com/592828)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [March 29, 2015, 1:25am UTC](https://forum.kirupa.com/t/all-about-nth-of-type-and-nth-child-kirupa-com/592828 "2015-03-29T01:25:39Z")

</div>

by kirupa | 27 November 2012 One of the most effective places to use CSS transitions is with links (aka hyperlinks for you old-schoolers). If you remember back in the day, your links were very p…

---

## [How to get username from Joomla site?](https://forum.kirupa.com/t/how-to-get-username-from-joomla-site/592731)

<div class="topic-metadata">

**Author:** [@panoss](https://forum.kirupa.com/u/panoss)\
**Replies:** 0\
**Last updated:** [March 28, 2015, 12:45pm UTC](https://forum.kirupa.com/t/how-to-get-username-from-joomla-site/592731 "2015-03-28T12:45:27Z")

</div>

I 'm making a Flash cs3 application and I want, when it loads, to check if the user is logged and get username. How can I do this? When I call a php file the JFactory can't be accessed. Is amfphp the way? And how can I d…

---

## [Text Snake Thingy Kinda Challenge](https://forum.kirupa.com/t/text-snake-thingy-kinda-challenge/591647)

<div class="topic-metadata">

**Author:** [@senocular](https://forum.kirupa.com/u/senocular)\
**Replies:** 7\
**Last updated:** [March 28, 2015, 7:54am UTC](https://forum.kirupa.com/t/text-snake-thingy-kinda-challenge/591647 "2015-03-28T07:54:31Z")

</div>

I was trying to think of something that would be fun but not the wildly unpopular "Photoshop Tennis". Also something that anyone could do without knowing much. So tennis with code could throw people off, for example, bec…

---

## [Actionscript3.0 - Images do not appear in UILoader component](https://forum.kirupa.com/t/actionscript3-0-images-do-not-appear-in-uiloader-component/590116)

<div class="topic-metadata">

**Author:** [@shockwave3](https://forum.kirupa.com/u/shockwave3)\
**Replies:** 4\
**Last updated:** [March 26, 2015, 9:03pm UTC](https://forum.kirupa.com/t/actionscript3-0-images-do-not-appear-in-uiloader-component/590116 "2015-03-26T21:03:02Z")

</div>

\*\*\*\*Here is how my project looks: I have three layers:\*\*\*\* Layer 1.... Here is movieclip (instance name: :"clip" ) contains seven buttons (inst. name "btn1"...".btn 3"...till ..".btn7") Layer2....Here is UILoader comp…

---

## [Need Help: AS3 External .swf/Loops/Children](https://forum.kirupa.com/t/need-help-as3-external-swf-loops-children/591499)

<div class="topic-metadata">

**Author:** [@creamekitten](https://forum.kirupa.com/u/creamekitten)\
**Replies:** 0\
**Last updated:** [March 26, 2015, 7:48pm UTC](https://forum.kirupa.com/t/need-help-as3-external-swf-loops-children/591499 "2015-03-26T19:48:27Z")

</div>

Link: http://i.imgur.com/gpFJ6JW.jpg Hey I need help coding an animation. I have some basic knowledge/understanding of code, mainly by tutorials. The image should explain it pretty well. I'm certain the answers simple,…

---

## [Request for help on a website, please. \<3](https://forum.kirupa.com/t/request-for-help-on-a-website-please-3/590389)

<div class="topic-metadata">

**Author:** [@Bree1](https://forum.kirupa.com/u/Bree1)\
**Replies:** 0\
**Last updated:** [March 26, 2015, 10:11am UTC](https://forum.kirupa.com/t/request-for-help-on-a-website-please-3/590389 "2015-03-26T10:11:22Z")

</div>

Hello, guys! This is Bree here and it feels so lovely to be a part of this community! \[smile\] Anyway, a friend of mine told me about this forum and that is what brings me here. You see, my elder has recently dev…

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

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