# programming

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

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

**Page:** 536

---

## [XML Tags to HTML link tags](https://forum.kirupa.com/t/xml-tags-to-html-link-tags/306515)

<div class="topic-metadata">

**Author:** [@zik80](https://forum.kirupa.com/u/zik80)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 9:24pm UTC](https://forum.kirupa.com/t/xml-tags-to-html-link-tags/306515 "2010-03-16T21:24:54Z")

</div>

I have been tearing my hair out about how to effectively convert this string by replacing the "\<j\>" tag with link tags: \[INDENT\]\[COLOR="Blue"\]\<j\>Section 1-3; Section No:4,5\</j\> and \<j\>Reading 6; Section 3\</j\> are all you…

---

## [This site is so cool! How do you do some of this stuff?](https://forum.kirupa.com/t/this-site-is-so-cool-how-do-you-do-some-of-this-stuff/306514)

<div class="topic-metadata">

**Author:** [@SokrMan](https://forum.kirupa.com/u/SokrMan)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 9:23pm UTC](https://forum.kirupa.com/t/this-site-is-so-cool-how-do-you-do-some-of-this-stuff/306514 "2010-03-16T21:23:05Z")

</div>

Hey, how would you create a background like the one on \[COLOR=#003366\]http://ux.plainconcepts.com/\[/COLOR\]. Especially the user controled part on the loading screen. I also wanted to know how to allow visitors to scroll …

---

## [LoadText Class](https://forum.kirupa.com/t/loadtext-class/306511)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 8:36pm UTC](https://forum.kirupa.com/t/loadtext-class/306511 "2010-03-16T20:36:29Z")

</div>

I have a textfield on the stage, and I have made a class to load in some text into it. I just cannot get it to work :: would someone look at my code and see whats up. package { import flash.display.\*; import flash.e…

---

## [Navigation with keyboard](https://forum.kirupa.com/t/navigation-with-keyboard/306508)

<div class="topic-metadata">

**Author:** [@Hausnfranz](https://forum.kirupa.com/u/Hausnfranz)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 8:20pm UTC](https://forum.kirupa.com/t/navigation-with-keyboard/306508 "2010-03-16T20:20:40Z")

</div>

I am trying to set up some code that lets a user navigate (highlight and then select) a set of buttons using the keyboard. I am getting this error : Line 40, 1136: Incorrect number of arguments. Expected 1. I just w…

---

## [F8 AS2 How difficult is it to build a login form?](https://forum.kirupa.com/t/f8-as2-how-difficult-is-it-to-build-a-login-form/306507)

<div class="topic-metadata">

**Author:** [@capdetrons](https://forum.kirupa.com/u/capdetrons)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 8:14pm UTC](https://forum.kirupa.com/t/f8-as2-how-difficult-is-it-to-build-a-login-form/306507 "2010-03-16T20:14:17Z")

</div>

Hi, I am working on a game and can't get through the login screen. I've got this code in it, but I'd like to have the focus on the username\_txt input. How difficult is that? I have a slight idea on components and textFie…

---

## [AS3: Centering dynamic text not working](https://forum.kirupa.com/t/as3-centering-dynamic-text-not-working/306505)

<div class="topic-metadata">

**Author:** [@VejOut](https://forum.kirupa.com/u/VejOut)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 7:54pm UTC](https://forum.kirupa.com/t/as3-centering-dynamic-text-not-working/306505 "2010-03-16T19:54:52Z")

</div>

I have an AS3 project I'm working on. All the text is coming in dynamically via XML file. I'm also using an external CSS to control the look of the text. Everything seems to be coming in fine. I can dynamically create a …

---

## [Platformer game](https://forum.kirupa.com/t/platformer-game/306503)

<div class="topic-metadata">

**Author:** [@ubergoten](https://forum.kirupa.com/u/ubergoten)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 7:32pm UTC](https://forum.kirupa.com/t/platformer-game/306503 "2010-03-16T19:32:47Z")

</div>

Hey everyone, I'm on to working on a new game and it involves platforming elements. Basically going to be similar to that of Zelda: A Link to the Past (SNES- if you haven't heard of it just leave now please). Anyways…

---

## [If/Else If/Else Statement](https://forum.kirupa.com/t/if-else-if-else-statement/306500)

<div class="topic-metadata">

**Author:** [@Antsuperhack](https://forum.kirupa.com/u/Antsuperhack)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 6:42pm UTC](https://forum.kirupa.com/t/if-else-if-else-statement/306500 "2010-03-16T18:42:01Z")

</div>

Hey all, Got a bit of a problem with the code I am writing for a small game. It's a horse racing game and what I am trying to achieve is if player 1 collides with the goal then the well done message shows. If player …

---

## [3D Vanishing Point and importing swf's](https://forum.kirupa.com/t/3d-vanishing-point-and-importing-swfs/306498)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 5:53pm UTC](https://forum.kirupa.com/t/3d-vanishing-point-and-importing-swfs/306498 "2010-03-16T17:53:31Z")

</div>

I created a 3d animation, put it in its own movieclip, and want to add two of them to the stage. Since they're in different locations, the animation looks different; I assume because the perspective registers around the…

---

## [Managing a list component](https://forum.kirupa.com/t/managing-a-list-component/306496)

<div class="topic-metadata">

**Author:** [@fartek](https://forum.kirupa.com/u/fartek)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 5:25pm UTC](https://forum.kirupa.com/t/managing-a-list-component/306496 "2010-03-16T17:25:04Z")

</div>

I've been having some problems with a list component lately. I've added about 50 items to it in actionscript using this syntax. myList.addItem({label:"Label1", data:"Data1"}); Now when I want to remove some of them I…

---

## [Accessing a function in the root timeline](https://forum.kirupa.com/t/accessing-a-function-in-the-root-timeline/306492)

<div class="topic-metadata">

**Author:** [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 4:22pm UTC](https://forum.kirupa.com/t/accessing-a-function-in-the-root-timeline/306492 "2010-03-16T16:22:08Z")

</div>

Hello, I have a document class, where i have a function called A. On the timeline of my Fla, I have one function called B. I want at some point in my Document class, for function A to call function B. How could …

---

## [Scroll Bar to a movie clip](https://forum.kirupa.com/t/scroll-bar-to-a-movie-clip/306491)

<div class="topic-metadata">

**Author:** [@lakshmi12](https://forum.kirupa.com/u/lakshmi12)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 4:14pm UTC](https://forum.kirupa.com/t/scroll-bar-to-a-movie-clip/306491 "2010-03-16T16:14:12Z")

</div>

hey all, So far this site has been really helpful to me with the web page I am working on. But now I am stuck at a point where I could not find any help from the site or from my research in other links. Basically, I…

---

## [Why is my Penguin Fat after changing direction using "scaleX"](https://forum.kirupa.com/t/why-is-my-penguin-fat-after-changing-direction-using-scalex/306490)

<div class="topic-metadata">

**Author:** [@999chris](https://forum.kirupa.com/u/999chris)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 3:57pm UTC](https://forum.kirupa.com/t/why-is-my-penguin-fat-after-changing-direction-using-scalex/306490 "2010-03-16T15:57:49Z")

</div>

My Code: \*\* var facing:int = 1; if (xspeed\<0) { walker(); hero.scaleX=- facing; } if (xspeed\>0) { walker(); hero.scaleX=facing; } \*\* I have my "hero" as a MovieClip that I placed on the stage, and r…

---

## [Change focus in DataGrid?](https://forum.kirupa.com/t/change-focus-in-datagrid/306489)

<div class="topic-metadata">

**Author:** [@sandra\_m](https://forum.kirupa.com/u/sandra_m)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 3:52pm UTC](https://forum.kirupa.com/t/change-focus-in-datagrid/306489 "2010-03-16T15:52:53Z")

</div>

Hi How can I change the way TAB key interacts with a DataGrid? For instance I want to move from a column to another instead of moving from a row to the next one by pressing TAB

---

## [A simple video webinar system - How to deal with the errors](https://forum.kirupa.com/t/a-simple-video-webinar-system-how-to-deal-with-the-errors/306487)

<div class="topic-metadata">

**Author:** [@eb\_dev](https://forum.kirupa.com/u/eb_dev)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 3:34pm UTC](https://forum.kirupa.com/t/a-simple-video-webinar-system-how-to-deal-with-the-errors/306487 "2010-03-16T15:34:21Z")

</div>

Hi, I've been working on a simple webinar system which currently utilises three classes: VideoWebinarLoader - Takes care what webinar to load and how to position it on screen. VideoWebinar - Creates the video webi…

---

## [Movie Clip Blinking on published Web Site](https://forum.kirupa.com/t/movie-clip-blinking-on-published-web-site/306486)

<div class="topic-metadata">

**Author:** [@kiwan](https://forum.kirupa.com/u/kiwan)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 2:56pm UTC](https://forum.kirupa.com/t/movie-clip-blinking-on-published-web-site/306486 "2010-03-16T14:56:32Z")

</div>

Hi, I'm having the following problem. The menu movie clip on my website keeps blinking when I publish on the web. I don't have that problem when I'm testing on the CS4 flash player. I've gone over the code to check f…

---

## [2nd frame in movie clip of an array?](https://forum.kirupa.com/t/2nd-frame-in-movie-clip-of-an-array/306485)

<div class="topic-metadata">

**Author:** [@martiandrivein](https://forum.kirupa.com/u/martiandrivein)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 2:53pm UTC](https://forum.kirupa.com/t/2nd-frame-in-movie-clip-of-an-array/306485 "2010-03-16T14:53:13Z")

</div>

var myMenuArray = \[watchesBtn, strapsBtn, sunwearBtn, handbagsBtn\]; for each (var btn in myMenuArray) { btn.addEventListener(MouseEvent.CLICK, onBtnClick); btn.addEventListener(MouseEvent.MOUSE\_OVER, onBtnOver); } fun…

---

## [Using An Array to manage Movi clips](https://forum.kirupa.com/t/using-an-array-to-manage-movi-clips/306484)

<div class="topic-metadata">

**Author:** [@freefallingup](https://forum.kirupa.com/u/freefallingup)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 2:39pm UTC](https://forum.kirupa.com/t/using-an-array-to-manage-movi-clips/306484 "2010-03-16T14:39:04Z")

</div>

I have an array of movie clips, and I want to be able to control their visibility(make them invisible to start). The array is called allCoffees, I tried: \_root.allCoffees.visible=false; That did not work, so I tri…

---

## [XML from WebServiceConnector is tracing "\[object Object\]"](https://forum.kirupa.com/t/xml-from-webserviceconnector-is-tracing-object-object/306482)

<div class="topic-metadata">

**Author:** [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 12:17pm UTC](https://forum.kirupa.com/t/xml-from-webserviceconnector-is-tracing-object-object/306482 "2010-03-16T12:17:31Z")

</div>

I'm using the WebServiceConnector in CS3 to load some XML. The trouble is, whenever I trace out the XML, all I get is "\[object Object\]". Here's the code I'm using: import mx.services.\*; import mx.data.components.We…

---

## [Snap to walls](https://forum.kirupa.com/t/snap-to-walls/306481)

<div class="topic-metadata">

**Author:** [@Two32](https://forum.kirupa.com/u/Two32)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 12:15pm UTC](https://forum.kirupa.com/t/snap-to-walls/306481 "2010-03-16T12:15:15Z")

</div>

Hello, I have a floor plan and I need to implement snapping on the walls. The walls are made with lineTo method. Can someone provide help? I'm frustrated. P.S. Sorry for my bad english

---

## [Two puzzle problems](https://forum.kirupa.com/t/two-puzzle-problems/306480)

<div class="topic-metadata">

**Author:** [@Sneaker](https://forum.kirupa.com/u/Sneaker)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 10:54am UTC](https://forum.kirupa.com/t/two-puzzle-problems/306480 "2010-03-16T10:54:36Z")

</div>

I'm working on a really simple puzzle. Make the Dutch flag including the orange on top. So Orange, Red, White, Blue. I've added the two fla's with two problems. In the first fla everything is working great, until the…

---

## [Flash write protection take over](https://forum.kirupa.com/t/flash-write-protection-take-over/306478)

<div class="topic-metadata">

**Author:** [@nook](https://forum.kirupa.com/u/nook)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 10:48am UTC](https://forum.kirupa.com/t/flash-write-protection-take-over/306478 "2010-03-16T10:48:59Z")

</div>

I've always found it very annoying that Flash takes over the write protection of files that has been used, and suddenly felt an urge to do something about it. I'm not sure if it always happen on all computers but at l…

---

## [Tab selected event for tab navigator](https://forum.kirupa.com/t/tab-selected-event-for-tab-navigator/306477)

<div class="topic-metadata">

**Author:** [@ClaudinoBur](https://forum.kirupa.com/u/ClaudinoBur)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 10:35am UTC](https://forum.kirupa.com/t/tab-selected-event-for-tab-navigator/306477 "2010-03-16T10:35:30Z")

</div>

Hello friends, I have a tab navigator and I would like to know the index of the tab that the user clicked. Is there an event listener which can accomplish this? Thank you.

---

## [Keep stroke weight while changing width](https://forum.kirupa.com/t/keep-stroke-weight-while-changing-width/306476)

<div class="topic-metadata">

**Author:** [@MarMel](https://forum.kirupa.com/u/MarMel)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 10:35am UTC](https://forum.kirupa.com/t/keep-stroke-weight-while-changing-width/306476 "2010-03-16T10:35:29Z")

</div>

Hi guys, I have a movieclip 'cursor' with in it two rectangles. One of them is dark and one is light, so the cursor is blinking. Now, when I want to change the width of this cursor to 150 (where it was 30 before), I do…

---

## [Reference static constant name in XML?](https://forum.kirupa.com/t/reference-static-constant-name-in-xml/306474)

<div class="topic-metadata">

**Author:** [@Maqrkk](https://forum.kirupa.com/u/Maqrkk)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 9:37am UTC](https://forum.kirupa.com/t/reference-static-constant-name-in-xml/306474 "2010-03-16T09:37:36Z")

</div>

Hey everyone, maybe this is something small I'm overlooking, but I can't figure out how to pull this off. I have an XML file that keeps data on my tilesheets. Currently it keeps info on the width and height of the tile…

---

## [Referencing variable in addChild](https://forum.kirupa.com/t/referencing-variable-in-addchild/306473)

<div class="topic-metadata">

**Author:** [@carrot](https://forum.kirupa.com/u/carrot)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 8:31am UTC](https://forum.kirupa.com/t/referencing-variable-in-addchild/306473 "2010-03-16T08:31:27Z")

</div>

First off I want to say that the resources on this site have been excellent, thanks. Does anyone know how to reference a variable when adding a new Movieclip? Currently I am using this method: var myVariable:Strin…

---

## [Mc\_tween2.as question](https://forum.kirupa.com/t/mc-tween2-as-question/306469)

<div class="topic-metadata">

**Author:** [@worthless](https://forum.kirupa.com/u/worthless)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 5:08am UTC](https://forum.kirupa.com/t/mc-tween2-as-question/306469 "2010-03-16T05:08:10Z")

</div>

If I use “mc\_tween\_2\_28\_29” in place of “mc\_tween2.as” dose it make any difference in a xml driven flash site. I am asking because I did not see some text and a logo after using “mc\_tween\_2\_28\_29”. If this makes som…

---

## [Free PHP real estate listing script](https://forum.kirupa.com/t/free-php-real-estate-listing-script/306467)

<div class="topic-metadata">

**Author:** [@NovemberRain](https://forum.kirupa.com/u/NovemberRain)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 4:37am UTC](https://forum.kirupa.com/t/free-php-real-estate-listing-script/306467 "2010-03-16T04:37:10Z")

</div>

Hi, I'm looking for a free php+mysql real estate listing script. Anybody can suggest one? thanks in advance.

---

## [Cheap Flash Freelancer needed](https://forum.kirupa.com/t/cheap-flash-freelancer-needed/306466)

<div class="topic-metadata">

**Author:** [@tinkutr](https://forum.kirupa.com/u/tinkutr)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 4:19am UTC](https://forum.kirupa.com/t/cheap-flash-freelancer-needed/306466 "2010-03-16T04:19:57Z")

</div>

Anybody from Kerala or always online for freelance? i have simple flash jobs. Specially slideshows. NO programming. Timeline animations mask effects etc only. Please mail at admin@flashmadblog.com with subject "Flash Job…

---

## [Font Embedding](https://forum.kirupa.com/t/font-embedding/306462)

<div class="topic-metadata">

**Author:** [@andrewlong](https://forum.kirupa.com/u/andrewlong)\
**Replies:** 0\
**Last updated:** [March 16, 2010, 1:33am UTC](https://forum.kirupa.com/t/font-embedding/306462 "2010-03-16T01:33:02Z")

</div>

I have a font in my library named ArialFont. It is set to export under that same name. The code for my text field is: var textFormat:TextFormat=new TextFormat(); textFormat.font=new ArialFont().fontName textFormat.siz…

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

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