# programming

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

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

**Page:** 119

---

## [Browser not reading HTML](https://forum.kirupa.com/t/browser-not-reading-html/331268)

<div class="topic-metadata">

**Author:** [@First\_timer](https://forum.kirupa.com/u/First_timer)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 2:21pm UTC](https://forum.kirupa.com/t/browser-not-reading-html/331268 "2013-06-25T14:21:16Z")

</div>

Hi there, So im super newb at anything programming related and have just attempted the HTML5 basics tutorial, but I cannot seem to open the HTML in the browser. I have checked that it is written properly and saved i…

---

## [Convert a distance into x-axis and y-axis](https://forum.kirupa.com/t/convert-a-distance-into-x-axis-and-y-axis/331267)

<div class="topic-metadata">

**Author:** [@arsal](https://forum.kirupa.com/u/arsal)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 11:36am UTC](https://forum.kirupa.com/t/convert-a-distance-into-x-axis-and-y-axis/331267 "2013-06-25T11:36:48Z")

</div>

Hello i was wondering how can i break distance between two points into their x-axis and y-axis ? can any body help me? i'll be thankful \[smile\]

---

## [Cannot access array from a function](https://forum.kirupa.com/t/cannot-access-array-from-a-function/331265)

<div class="topic-metadata">

**Author:** [@Sutirtha\_Das](https://forum.kirupa.com/u/Sutirtha_Das)\
**Replies:** 0\
**Last updated:** [June 25, 2013, 3:50am UTC](https://forum.kirupa.com/t/cannot-access-array-from-a-function/331265 "2013-06-25T03:50:24Z")

</div>

Hi, i'm making a tile based game. There is an array which holds the Map var myMap:Array = \[\[...\],\[......\] \<-- the 2d array with numbers representing tiles at a later function which is called by…

---

## [Remove all textfields automatically](https://forum.kirupa.com/t/remove-all-textfields-automatically/331263)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [June 24, 2013, 2:54pm UTC](https://forum.kirupa.com/t/remove-all-textfields-automatically/331263 "2013-06-24T14:54:45Z")

</div>

I got a huge FLA document with aruond 13 000 static textfields in different movieclips all over the library (Stage is empty). Is there a simple way to remove all these textfields? I got a script working with JSFL, but …

---

## [Help char movement with ease and physics](https://forum.kirupa.com/t/help-char-movement-with-ease-and-physics/331261)

<div class="topic-metadata">

**Author:** [@Gaara4000](https://forum.kirupa.com/u/Gaara4000)\
**Replies:** 0\
**Last updated:** [June 24, 2013, 9:51am UTC](https://forum.kirupa.com/t/help-char-movement-with-ease-and-physics/331261 "2013-06-24T09:51:00Z")

</div>

Hi there im new to this forum and well i'v been wanting to make this game in flash and well this is what i need. a char that moves and can collide with other chars (CPUs). the movement i'm aiming for its like i press r…

---

## [Tutorial: Animated Scroll to Top with Easing](https://forum.kirupa.com/t/tutorial-animated-scroll-to-top-with-easing/331260)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 24, 2013, 7:16am UTC](https://forum.kirupa.com/t/tutorial-animated-scroll-to-top-with-easing/331260 "2013-06-24T07:16:06Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]Hi everybody,\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]This is the most awesomest place in the universe to discuss everything relating to the Animated Scroll to Top with Easing tutorial…

---

## [Loop trouble](https://forum.kirupa.com/t/loop-trouble/331259)

<div class="topic-metadata">

**Author:** [@Gedicus](https://forum.kirupa.com/u/Gedicus)\
**Replies:** 0\
**Last updated:** [June 23, 2013, 4:45pm UTC](https://forum.kirupa.com/t/loop-trouble/331259 "2013-06-23T16:45:10Z")

</div>

Hey guys, I am having a bit of trouble creating enemies at random points on my map, I want them to be contained within a certain y-axis range, I have made this code and it randomly generates then overwrites endless insta…

---

## [Convert to symbol - fill disappears!](https://forum.kirupa.com/t/convert-to-symbol-fill-disappears/331258)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [June 22, 2013, 10:23pm UTC](https://forum.kirupa.com/t/convert-to-symbol-fill-disappears/331258 "2013-06-22T22:23:32Z")

</div>

I got 2 layers on the timeline, the first layer is filled with roads\* (just a white shape with black stroke)\*, and the other layer is just a rectangle acting like a background. http://pasteboard.co/y8Gs3zE.png After I …

---

## [Flash Timelines](https://forum.kirupa.com/t/flash-timelines/331255)

<div class="topic-metadata">

**Author:** [@GeekAkash](https://forum.kirupa.com/u/GeekAkash)\
**Replies:** 0\
**Last updated:** [June 22, 2013, 2:16pm UTC](https://forum.kirupa.com/t/flash-timelines/331255 "2013-06-22T14:16:44Z")

</div>

I'm watching some Flash tutorials and I am getting confused with timelines. Where if you click on a object there is another timeline what does that mean? Like how can you control it? :pa: Thank you! -Akash

---

## [What does the target instance mean?](https://forum.kirupa.com/t/what-does-the-target-instance-mean/331254)

<div class="topic-metadata">

**Author:** [@GeekAkash](https://forum.kirupa.com/u/GeekAkash)\
**Replies:** 0\
**Last updated:** [June 21, 2013, 10:01pm UTC](https://forum.kirupa.com/t/what-does-the-target-instance-mean/331254 "2013-06-21T22:01:15Z")

</div>

What is the Target instance? I am a bit confused :crying: Is it an '\[COLOR=#0000ff\]Parameter' \[/COLOR\]?\[COLOR=#0000ff\] \[/COLOR\]In this Piece of code , what is the purpose of \[COLOR=#ff0000\]event.target ? \[/COLOR\]what…

---

## [Flash as2 RPG Game Help. Picking up weapon](https://forum.kirupa.com/t/flash-as2-rpg-game-help-picking-up-weapon/331253)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [June 21, 2013, 4:58pm UTC](https://forum.kirupa.com/t/flash-as2-rpg-game-help-picking-up-weapon/331253 "2013-06-21T16:58:02Z")

</div>

When my char picks up a weapon, how do I attach the weapon\_mc to the char? Since I can get the weapon\_mc to attach to the char starting position, but since the char has animation using the up, down, left, right keys, the…

---

## [XML to Multidimensional Array AS3](https://forum.kirupa.com/t/xml-to-multidimensional-array-as3/331250)

<div class="topic-metadata">

**Author:** [@djjulia](https://forum.kirupa.com/u/djjulia)\
**Replies:** 0\
**Last updated:** [June 21, 2013, 12:50am UTC](https://forum.kirupa.com/t/xml-to-multidimensional-array-as3/331250 "2013-06-21T00:50:51Z")

</div>

Hi there - I'm trying to take an xml feed of country names and then using a multidimensional array, parse those country names to their 3 letter FIFA code and then pass that to a dynamic text field. I'm certain that I nee…

---

## [Slow load of BitmapData](https://forum.kirupa.com/t/slow-load-of-bitmapdata/331249)

<div class="topic-metadata">

**Author:** [@Richard\_Molnar](https://forum.kirupa.com/u/Richard_Molnar)\
**Replies:** 0\
**Last updated:** [June 20, 2013, 5:43pm UTC](https://forum.kirupa.com/t/slow-load-of-bitmapdata/331249 "2013-06-20T17:43:15Z")

</div>

\[COLOR=#333333\]\[FONT=adobe-clean\]In my application, i am using a graphical counter for score. It has several effects that would be too hard to render real-time, so i have my whole animation converted to 2525x45px picture…

---

## [Customization Game: Final result output?](https://forum.kirupa.com/t/customization-game-final-result-output/331247)

<div class="topic-metadata">

**Author:** [@orange\_juice](https://forum.kirupa.com/u/orange_juice)\
**Replies:** 0\
**Last updated:** [June 20, 2013, 2:21am UTC](https://forum.kirupa.com/t/customization-game-final-result-output/331247 "2013-06-20T02:21:26Z")

</div>

Hi everyone, I'm working on a series of customization games e.g dress up and photo decorating and the games are working fine. However, I can't figure out a way to "show" the results on the next frame for example. For t…

---

## [Attendance database setup for employee plz help soon](https://forum.kirupa.com/t/attendance-database-setup-for-employee-plz-help-soon/331246)

<div class="topic-metadata">

**Author:** [@sundarrajan](https://forum.kirupa.com/u/sundarrajan)\
**Replies:** 0\
**Last updated:** [June 20, 2013, 2:19am UTC](https://forum.kirupa.com/t/attendance-database-setup-for-employee-plz-help-soon/331246 "2013-06-20T02:19:56Z")

</div>

I am doing employee management system. I have no idea, how to setup the database for employee attendance. Help me soon.

---

## [Array inside getURL in ActionScript 2](https://forum.kirupa.com/t/array-inside-geturl-in-actionscript-2/331245)

<div class="topic-metadata">

**Author:** [@AndreiUle](https://forum.kirupa.com/u/AndreiUle)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 8:29pm UTC](https://forum.kirupa.com/t/array-inside-geturl-in-actionscript-2/331245 "2013-06-19T20:29:21Z")

</div>

I have a gallery of images inside a movieclip and I want to add an url for each instance using the titles of the images kept inside an array. Images instances are named image0, image1, image2.....imagen. Code is not work…

---

## [UTF8 on my contact form](https://forum.kirupa.com/t/utf8-on-my-contact-form/331244)

<div class="topic-metadata">

**Author:** [@jonybigude](https://forum.kirupa.com/u/jonybigude)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 4:09pm UTC](https://forum.kirupa.com/t/utf8-on-my-contact-form/331244 "2013-06-19T16:09:49Z")

</div>

Hi! I have been searching on the web for solutions but for some reason it seems that I can't implement them. I am a rookie in PHP and perhaps the mistake has been under my nose all this time but I did not manage to s…

---

## [Creating new Bad Guys](https://forum.kirupa.com/t/creating-new-bad-guys/331242)

<div class="topic-metadata">

**Author:** [@Joao\_Andrade](https://forum.kirupa.com/u/Joao_Andrade)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 11:51am UTC](https://forum.kirupa.com/t/creating-new-bad-guys/331242 "2013-06-19T11:51:46Z")

</div>

So, i have a problem here... I want to creat every "x" tyme a bad guy in my game and when it collide with the player, i lose a life. Simple... But whenever it creats a new bad guy, the previous ones lose their insta…

---

## [HTML and HTML5](https://forum.kirupa.com/t/html-and-html5/331239)

<div class="topic-metadata">

**Author:** [@owen101](https://forum.kirupa.com/u/owen101)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 7:12am UTC](https://forum.kirupa.com/t/html-and-html5/331239 "2013-06-19T07:12:03Z")

</div>

\[COLOR=#000000\]\[FONT=Arial\]What is the difference between HTML and HTML5 ?\[/FONT\]\[/COLOR\]\[COLOR=#000000\]\[FONT=Arial\] \[/FONT\]\[/COLOR\]

---

## [\[JSFL\] Remove textfields from stage](https://forum.kirupa.com/t/jsfl-remove-textfields-from-stage/331238)

<div class="topic-metadata">

**Author:** [@Tompa](https://forum.kirupa.com/u/Tompa)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 1:32am UTC](https://forum.kirupa.com/t/jsfl-remove-textfields-from-stage/331238 "2013-06-19T01:32:08Z")

</div>

I'm looking for a way to remove all textfiends that is directly placed to the stage. I do manage to get an array of the textfields, and I can get x, y, text etc. from it, but no way I've tested so far has worked to targe…

---

## [Html5 Uncaught ref error](https://forum.kirupa.com/t/html5-uncaught-ref-error/331236)

<div class="topic-metadata">

**Author:** [@na\_il](https://forum.kirupa.com/u/na_il)\
**Replies:** 0\
**Last updated:** [June 18, 2013, 7:11pm UTC](https://forum.kirupa.com/t/html5-uncaught-ref-error/331236 "2013-06-18T19:11:43Z")

</div>

I'm trying to learn html5 and js, so I'm following a tutorial and when i try to call the javascript file it obviously isn't called.... why is this? I followed the tutorial exactly but can't achieve the same results. The…

---

## [Flash as2 Need a second pair of eyes on my code. Creating AI movement](https://forum.kirupa.com/t/flash-as2-need-a-second-pair-of-eyes-on-my-code-creating-ai-movement/331230)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 10:48pm UTC](https://forum.kirupa.com/t/flash-as2-need-a-second-pair-of-eyes-on-my-code-creating-ai-movement/331230 "2013-06-17T22:48:07Z")

</div>

I have a enemy movieClip named: enemy01. I am creating AI movement for this mc. Here is my code: \_root.enemy01.speed = 1 \_root.enemy01.turnRate = .05 \_root.enemy01.agroRange = 200; \_root.enemy01.mode = "follow" \_root.…

---

## [Flash as2 Help with simple hitTest please](https://forum.kirupa.com/t/flash-as2-help-with-simple-hittest-please/331227)

<div class="topic-metadata">

**Author:** [@Jason\_Scholz](https://forum.kirupa.com/u/Jason_Scholz)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 8:26pm UTC](https://forum.kirupa.com/t/flash-as2-help-with-simple-hittest-please/331227 "2013-06-17T20:26:40Z")

</div>

I am pulling my hair out, I have checked several of my flash books, Google, forums, and I cannot seem to get this hitTest to work. 1st frame on the stage (actionscript layer), is where all my code is at. I first, called …

---

## [AS2 mask several images in a loop](https://forum.kirupa.com/t/as2-mask-several-images-in-a-loop/331226)

<div class="topic-metadata">

**Author:** [@capdetrons](https://forum.kirupa.com/u/capdetrons)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 5:18pm UTC](https://forum.kirupa.com/t/as2-mask-several-images-in-a-loop/331226 "2013-06-17T17:18:30Z")

</div>

I'm completely confused here and would appreciate any help with this code where I'm trying to mask some images loaded into a container clip and distributed horizontally along the gallery but I can't manage to achieve it.…

---

## [Playing frames as mouse rolls out](https://forum.kirupa.com/t/playing-frames-as-mouse-rolls-out/331224)

<div class="topic-metadata">

**Author:** [@satrebor](https://forum.kirupa.com/u/satrebor)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 12:59pm UTC](https://forum.kirupa.com/t/playing-frames-as-mouse-rolls-out/331224 "2013-06-17T12:59:28Z")

</div>

I have a code attatched to button on(rollOver){gotoAndPlay(2);} I have Other animation on frame 42. How to do that, once I mouseOver flash plays frame 2. Once mouseOut flash plays 42 frame. The code like: on(rol…

---

## [Need help pointing Javascript XML to PHP file for Twitter 1.1 API](https://forum.kirupa.com/t/need-help-pointing-javascript-xml-to-php-file-for-twitter-1-1-api/331223)

<div class="topic-metadata">

**Author:** [@spindrift](https://forum.kirupa.com/u/spindrift)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 9:49am UTC](https://forum.kirupa.com/t/need-help-pointing-javascript-xml-to-php-file-for-twitter-1-1-api/331223 "2013-06-17T09:49:07Z")

</div>

Hi guys, I noticed that my clients' Twitter feeds aren't working the other day and, after a bit of research, it turns out that Twitter require access tokens now to use their API. I've seen this tutorial (http://www.f…

---

## [Cargocollective Portfolio Website Help (quick question)](https://forum.kirupa.com/t/cargocollective-portfolio-website-help-quick-question/331222)

<div class="topic-metadata">

**Author:** [@Dhruv\_Nanda](https://forum.kirupa.com/u/Dhruv_Nanda)\
**Replies:** 0\
**Last updated:** [June 16, 2013, 6:32pm UTC](https://forum.kirupa.com/t/cargocollective-portfolio-website-help-quick-question/331222 "2013-06-16T18:32:51Z")

</div>

Hey guys, Total newbie here. My website is www.hinduheat.com If you go to it, you'll notice that the website is kind of split (top half fixed header, bottom half portfolio). I think it looks a little constricted. I wa…

---

## [Tutorial: Getting Jittery on Hover / CSS Animations on Hover](https://forum.kirupa.com/t/tutorial-getting-jittery-on-hover-css-animations-on-hover/331221)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [June 16, 2013, 9:29am UTC](https://forum.kirupa.com/t/tutorial-getting-jittery-on-hover-css-animations-on-hover/331221 "2013-06-16T09:29:04Z")

</div>

\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]Hi everyone,\[/FONT\]\[/COLOR\]\[/COLOR\] \[COLOR=#333333\]\[COLOR=#333333\]\[COLOR=#333333\]\[FONT=Segoe UI\]\[COLOR=#333333\]\[COLOR=#333333\]This is the place to discuss anything regarding t…

---

## [Stopping FLVplayer in AS3 when leaving page?](https://forum.kirupa.com/t/stopping-flvplayer-in-as3-when-leaving-page/331220)

<div class="topic-metadata">

**Author:** [@vivsa](https://forum.kirupa.com/u/vivsa)\
**Replies:** 0\
**Last updated:** [June 16, 2013, 7:26am UTC](https://forum.kirupa.com/t/stopping-flvplayer-in-as3-when-leaving-page/331220 "2013-06-16T07:26:00Z")

</div>

Right now what happens is that I have a play and stop button that work on the page, but if the person were to leave the video page without pressing stop first the video continues. I have managed to stop the sound by writ…

---

## [Implementing Senocular Code](https://forum.kirupa.com/t/implementing-senocular-code/331219)

<div class="topic-metadata">

**Author:** [@Qualjak\_Qualie](https://forum.kirupa.com/u/Qualjak_Qualie)\
**Replies:** 0\
**Last updated:** [June 16, 2013, 5:24am UTC](https://forum.kirupa.com/t/implementing-senocular-code/331219 "2013-06-16T05:24:09Z")

</div>

I'm new to as3, and I'm trying to implement two of Senocular's source codes: duplicateMovieClip, and his transform tool. I have created code that successfully duplicates a MovieClip and enables the duplicated MovieClip t…

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

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