# programming

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

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

**Page:** 626

---

## [Building an XML file with AS](https://forum.kirupa.com/t/building-an-xml-file-with-as/300698)

<div class="topic-metadata">

**Author:** [@m2244](https://forum.kirupa.com/u/m2244)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 7:39pm UTC](https://forum.kirupa.com/t/building-an-xml-file-with-as/300698 "2009-11-25T19:39:41Z")

</div>

Hello, I am creating a tool for use at the office. It has, at this point, about a dozen text fileds. From these textfields I want to build an XML document using AS. The way it needs to work is when a user enters text i…

---

## [How to unload external SWF from a child?](https://forum.kirupa.com/t/how-to-unload-external-swf-from-a-child/300693)

<div class="topic-metadata">

**Author:** [@The\_Chef](https://forum.kirupa.com/u/The_Chef)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 6:08pm UTC](https://forum.kirupa.com/t/how-to-unload-external-swf-from-a-child/300693 "2009-11-25T18:08:13Z")

</div>

I have a button that loads an external movie onto the stage: magnalock.addEventListener(MouseEvent.CLICK, magnalock\_newvid); function magnalock\_newvid(event:MouseEvent) { trace("you clicked me"); var loadit =…

---

## [Mysterious publishing problem](https://forum.kirupa.com/t/mysterious-publishing-problem/300690)

<div class="topic-metadata">

**Author:** [@ddaprog](https://forum.kirupa.com/u/ddaprog)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 5:10pm UTC](https://forum.kirupa.com/t/mysterious-publishing-problem/300690 "2009-11-25T17:10:35Z")

</div>

I'm making a large flash project using AS3 where the user takes a test of 170 questions. It chooses a random 10 sections out of 50, for which each section has 17 questions. I have a file that previously worked for just 1…

---

## [Accessing an object placed on a frame with AS3](https://forum.kirupa.com/t/accessing-an-object-placed-on-a-frame-with-as3/300686)

<div class="topic-metadata">

**Author:** [@jik\_ff](https://forum.kirupa.com/u/jik_ff)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 3:23pm UTC](https://forum.kirupa.com/t/accessing-an-object-placed-on-a-frame-with-as3/300686 "2009-11-25T15:23:05Z")

</div>

Ok, so I made a custom class, but I did not want to add all the text to it through code (much easier to type it in flash on the frame). I name the instance aScoreBoard. As my code runs, I need to call some of the func…

---

## [Error 1046](https://forum.kirupa.com/t/error-1046/300685)

<div class="topic-metadata">

**Author:** [@rennekon](https://forum.kirupa.com/u/rennekon)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 2:59pm UTC](https://forum.kirupa.com/t/error-1046/300685 "2009-11-25T14:59:07Z")

</div>

Hello, This is my first time asking a question on this forum but I've used it many times in the past for reference. Great place you have here. I've got 2 separate fla files with identical code and objects. They're …

---

## [Can we Record Movie For Recap in flash AS3](https://forum.kirupa.com/t/can-we-record-movie-for-recap-in-flash-as3/300684)

<div class="topic-metadata">

**Author:** [@jeoshamsi](https://forum.kirupa.com/u/jeoshamsi)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 2:02pm UTC](https://forum.kirupa.com/t/can-we-record-movie-for-recap-in-flash-as3/300684 "2009-11-25T14:02:30Z")

</div>

Hi guys Is there any option in AS3 to record the Game Movie to show recap in Flash. Thanks.

---

## [Reset all Variables](https://forum.kirupa.com/t/reset-all-variables/300682)

<div class="topic-metadata">

**Author:** [@bobbfrommn](https://forum.kirupa.com/u/bobbfrommn)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 1:33pm UTC](https://forum.kirupa.com/t/reset-all-variables/300682 "2009-11-25T13:33:46Z")

</div>

Hello, With out getting into a ton of background I am wondering if there is a command that will reset all the variables in a swf at once with out having to do them individually? I've googled and searched my books and c…

---

## [How to overload a native class?](https://forum.kirupa.com/t/how-to-overload-a-native-class/300681)

<div class="topic-metadata">

**Author:** [@marceloreborn](https://forum.kirupa.com/u/marceloreborn)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 1:32pm UTC](https://forum.kirupa.com/t/how-to-overload-a-native-class/300681 "2009-11-25T13:32:53Z")

</div>

I'm not so confident in OOP, and I don't know if "overload" it's the right term. I want to add a method to the MovieClip Class, for example, how can I do that? myMovieClip.myFunction("lol"); Thanks in advance.

---

## [File opens in CS3 but not in CS4 (unexpected file format)](https://forum.kirupa.com/t/file-opens-in-cs3-but-not-in-cs4-unexpected-file-format/300679)

<div class="topic-metadata">

**Author:** [@enridp](https://forum.kirupa.com/u/enridp)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 1:16pm UTC](https://forum.kirupa.com/t/file-opens-in-cs3-but-not-in-cs4-unexpected-file-format/300679 "2009-11-25T13:16:11Z")

</div>

Hello! I've seen this with many .fla I can't open them in CS4, but they works fine in CS3 (so what I'm doing is opening them in CS3, save again, and then they works in CS4). I think that is because the .fla are saved wit…

---

## [AS3 quick button class](https://forum.kirupa.com/t/as3-quick-button-class/300678)

<div class="topic-metadata">

**Author:** [@bbeckford](https://forum.kirupa.com/u/bbeckford)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 12:53pm UTC](https://forum.kirupa.com/t/as3-quick-button-class/300678 "2009-11-25T12:53:56Z")

</div>

Hey guys, don't know if anyone's interested or if its been done before but I've created a very simple as3 class for creating buttons quickly and easily. I've written up on it here if anyone's interested - http://www.be…

---

## [Asynchronous file deletion -\> fixed order?](https://forum.kirupa.com/t/asynchronous-file-deletion-fixed-order/300676)

<div class="topic-metadata">

**Author:** [@Dauntless](https://forum.kirupa.com/u/Dauntless)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 12:21pm UTC](https://forum.kirupa.com/t/asynchronous-file-deletion-fixed-order/300676 "2009-11-25T12:21:00Z")

</div>

Hi, Simple test: private function init():void { var f:File = File.applicationStorageDirectory.resolvePath("movie.avi"); f.addEventListener(Event.COMPLETE, com1); …

---

## [Arabic in combo box](https://forum.kirupa.com/t/arabic-in-combo-box/300674)

<div class="topic-metadata">

**Author:** [@flashfighter](https://forum.kirupa.com/u/flashfighter)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 12:03pm UTC](https://forum.kirupa.com/t/arabic-in-combo-box/300674 "2009-11-25T12:03:08Z")

</div>

please if any one know how to write arabic in combo box AS 2.0. plzzzzzzzz help

---

## [Forum Nokia Developer Conference](https://forum.kirupa.com/t/forum-nokia-developer-conference/300672)

<div class="topic-metadata">

**Author:** [@rishi12](https://forum.kirupa.com/u/rishi12)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 11:45am UTC](https://forum.kirupa.com/t/forum-nokia-developer-conference/300672 "2009-11-25T11:45:15Z")

</div>

Here is a good news for mobile developers working on Flash Lite. Forum Nokia developer conference is is a big platform for Flash Lite developers to share their ideas and showcase their creations. It would be held in Ban…

---

## [Decorator Pattern and loading in from library](https://forum.kirupa.com/t/decorator-pattern-and-loading-in-from-library/300668)

<div class="topic-metadata">

**Author:** [@albino](https://forum.kirupa.com/u/albino)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 11:00am UTC](https://forum.kirupa.com/t/decorator-pattern-and-loading-in-from-library/300668 "2009-11-25T11:00:07Z")

</div>

Hi, I've been following this tutorial: http://www.as3dp.com/2009/04/26/actionscript-30-easy-and-practical-decorator-design-pattern/ And so far everything is working. However, I want my Concrete class to load in a…

---

## [Difference between ASP and ASP.NET](https://forum.kirupa.com/t/difference-between-asp-and-asp-net/300666)

<div class="topic-metadata">

**Author:** [@cathe](https://forum.kirupa.com/u/cathe)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 10:47am UTC](https://forum.kirupa.com/t/difference-between-asp-and-asp-net/300666 "2009-11-25T10:47:15Z")

</div>

ASP stands for Active Server Pages. ASP.NET is the next generation of ASP. After the introduction of ASP.NET, old ASP is called 'Classic ASP'. Most of the engines place added relevancy on keywords found in the name of …

---

## [FLV player component - click to view fullscreen](https://forum.kirupa.com/t/flv-player-component-click-to-view-fullscreen/300665)

<div class="topic-metadata">

**Author:** [@sci](https://forum.kirupa.com/u/sci)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 10:27am UTC](https://forum.kirupa.com/t/flv-player-component-click-to-view-fullscreen/300665 "2009-11-25T10:27:25Z")

</div>

Hey there, So I'm building a flash presentation and one slide has video. I have a flv component on the stage and the user wants the video to initially appear at a smaller size and then to click on it to launch the movi…

---

## [Flex Skinning](https://forum.kirupa.com/t/flex-skinning/300664)

<div class="topic-metadata">

**Author:** [@Raziel](https://forum.kirupa.com/u/Raziel)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 9:05am UTC](https://forum.kirupa.com/t/flex-skinning/300664 "2009-11-25T09:05:51Z")

</div>

Hi, Since there was no Flex forum i figured this would be the 2nd best place to post this. I'm trying to get some more insight on how to properly skin Flex components and components built from scratch. There is scarc…

---

## [RSS Ticker AS3 HELP](https://forum.kirupa.com/t/rss-ticker-as3-help/300663)

<div class="topic-metadata">

**Author:** [@Charlos](https://forum.kirupa.com/u/Charlos)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 8:28am UTC](https://forum.kirupa.com/t/rss-ticker-as3-help/300663 "2009-11-25T08:28:34Z")

</div>

Hi. Bare over with me I'm new to actionscripting. I'm trying to make a simple RSS ticker in actionscript 3. The RSS part works fine but I can't get the ticker thing going. The code is like this. textBox.htmlTex…

---

## [Setting Drag Boundaries](https://forum.kirupa.com/t/setting-drag-boundaries/300662)

<div class="topic-metadata">

**Author:** [@romit\_2034](https://forum.kirupa.com/u/romit_2034)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 8:11am UTC](https://forum.kirupa.com/t/setting-drag-boundaries/300662 "2009-11-25T08:11:26Z")

</div>

For a project I am working on, the user can see sections of the website by dragging around horizontally or vertically on the screen. I have set up a dragging function for that. I am having trouble setting the boundaries …

---

## [How can i get my movieclip ID](https://forum.kirupa.com/t/how-can-i-get-my-movieclip-id/300661)

<div class="topic-metadata">

**Author:** [@vjn\_23](https://forum.kirupa.com/u/vjn_23)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 7:52am UTC](https://forum.kirupa.com/t/how-can-i-get-my-movieclip-id/300661 "2009-11-25T07:52:16Z")

</div>

Hi Friends, I attached one flash file. i want to get my movieclip ID. How can i get id. suppose i click 5th movieclip, i want to get this id..... regards, vijayan M

---

## [addEventListener not working properly](https://forum.kirupa.com/t/addeventlistener-not-working-properly/300659)

<div class="topic-metadata">

**Author:** [@n000bie](https://forum.kirupa.com/u/n000bie)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 7:25am UTC](https://forum.kirupa.com/t/addeventlistener-not-working-properly/300659 "2009-11-25T07:25:13Z")

</div>

Mouse.CLICK is not working properly when i click the movie clips. I have generated a random grid from movie clips stored in timeline. When I click on the movie clips, it should show a trace statement, but it is not wo…

---

## [\[AS3\] Security solutions -- should I try obfuscated AS2?](https://forum.kirupa.com/t/as3-security-solutions-should-i-try-obfuscated-as2/300658)

<div class="topic-metadata">

**Author:** [@Anogar](https://forum.kirupa.com/u/Anogar)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 7:12am UTC](https://forum.kirupa.com/t/as3-security-solutions-should-i-try-obfuscated-as2/300658 "2009-11-25T07:12:49Z")

</div>

I'm trying to come up with a good method for generating random numbers on a Flash client that can't be simply duplicated and rigged. Think of it basically like a gambling solution. I want to be able to securely generate …

---

## [Preloader Theory (again)](https://forum.kirupa.com/t/preloader-theory-again/300657)

<div class="topic-metadata">

**Author:** [@BeerOclock](https://forum.kirupa.com/u/BeerOclock)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 6:38am UTC](https://forum.kirupa.com/t/preloader-theory-again/300657 "2009-11-25T06:38:26Z")

</div>

I recently read a good article on preloading. It basically said to create one SWF called Loader.SWF, which does nothing but load Main.SWF, and show a nice loading progress bar. That way you can develop Main.SWF withou…

---

## [A little Guidance](https://forum.kirupa.com/t/a-little-guidance/300655)

<div class="topic-metadata">

**Author:** [@touches](https://forum.kirupa.com/u/touches)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 5:41am UTC](https://forum.kirupa.com/t/a-little-guidance/300655 "2009-11-25T05:41:55Z")

</div>

Hi .. i am starting out with game programming and coming jus right on to my point .. I wnt some guidance on where to get started.. I have chose to make a game with AI in it as my project.. Seeing the huge amount of resou…

---

## [Needs a Checkbox script for a contact form](https://forum.kirupa.com/t/needs-a-checkbox-script-for-a-contact-form/300653)

<div class="topic-metadata">

**Author:** [@thevibe](https://forum.kirupa.com/u/thevibe)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 5:37am UTC](https://forum.kirupa.com/t/needs-a-checkbox-script-for-a-contact-form/300653 "2009-11-25T05:37:05Z")

</div>

Hi guys, I am converting an html form to a flash form. I am not so good with AS3 and it's the first time I have to create forms so it was quite difficult for me. I am almost done, I did the text fields and the combobox…

---

## [Random Symbol](https://forum.kirupa.com/t/random-symbol/300643)

<div class="topic-metadata">

**Author:** [@isachi](https://forum.kirupa.com/u/isachi)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 1:50am UTC](https://forum.kirupa.com/t/random-symbol/300643 "2009-11-25T01:50:52Z")

</div>

I've been working on a cute game and I've hit a bit of a wall It's a shooting gallery game and I want to add multiple target types (so far this has been easy) but I want to game to randomly bring them up as you play. T…

---

## [Reference Main timeline](https://forum.kirupa.com/t/reference-main-timeline/300642)

<div class="topic-metadata">

**Author:** [@xFlashStudentx](https://forum.kirupa.com/u/xFlashStudentx)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 1:24am UTC](https://forum.kirupa.com/t/reference-main-timeline/300642 "2009-11-25T01:24:03Z")

</div>

hello Flashers. I have a simple problem that I've been working on for hours, trying to go through trial and error myself. But here's the problem. I have a function on the main timeline named startClips. Now, I want t…

---

## [Pdf download via FileReference](https://forum.kirupa.com/t/pdf-download-via-filereference/300641)

<div class="topic-metadata">

**Author:** [@wolcotter](https://forum.kirupa.com/u/wolcotter)\
**Replies:** 0\
**Last updated:** [November 25, 2009, 1:07am UTC](https://forum.kirupa.com/t/pdf-download-via-filereference/300641 "2009-11-25T01:07:59Z")

</div>

Attempting for the first time to code a pdf download. Here is the code I'm using: pdfBtn.addEventListener(MouseEvent.CLICK, dothis); function dothis(e:MouseEvent):void { var fr:FileReference = new FileReference()…

---

## [Photo Gallery using XML - Please help!](https://forum.kirupa.com/t/photo-gallery-using-xml-please-help/300637)

<div class="topic-metadata">

**Author:** [@hankinpdx](https://forum.kirupa.com/u/hankinpdx)\
**Replies:** 0\
**Last updated:** [November 24, 2009, 11:10pm UTC](https://forum.kirupa.com/t/photo-gallery-using-xml-please-help/300637 "2009-11-24T23:10:51Z")

</div>

Hello all, http://www.kirupa.com/developer/mx2004/thumbnails.htm In the tutorial above when you click on the larger image it opens a new page window that you specify in the xml. Notice below the child where you can s…

---

## [Availability on AppointmentCalendar class](https://forum.kirupa.com/t/availability-on-appointmentcalendar-class/300636)

<div class="topic-metadata">

**Author:** [@imagined](https://forum.kirupa.com/u/imagined)\
**Replies:** 0\
**Last updated:** [November 24, 2009, 10:47pm UTC](https://forum.kirupa.com/t/availability-on-appointmentcalendar-class/300636 "2009-11-24T22:47:05Z")

</div>

I'm setting up with class with availability dates and times. So if there is a date and time that the user is unavailable, it won't be possible to make an appointment during that period. The user should be able to set s…

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

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