# programming

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

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

**Page:** 1359

---

## [Create new XML from Flash](https://forum.kirupa.com/t/create-new-xml-from-flash/251988)

<div class="topic-metadata">

**Author:** [@Largo](https://forum.kirupa.com/u/Largo)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 4:28pm UTC](https://forum.kirupa.com/t/create-new-xml-from-flash/251988 "2008-02-14T16:28:35Z")

</div>

Hi, I have a simple question: \*\*Is it possible to create a new XML file from Flash? \*\* P.s. Im not talking about editing any existing XML file. \[smile\]

---

## [Flash: Pie Chart](https://forum.kirupa.com/t/flash-pie-chart/251987)

<div class="topic-metadata">

**Author:** [@KingPhantom](https://forum.kirupa.com/u/KingPhantom)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 4:27pm UTC](https://forum.kirupa.com/t/flash-pie-chart/251987 "2008-02-14T16:27:04Z")

</div>

Hello I would create a pie chart with flash 8. the chart should be fully dynamic. I got som free charts with advertising in it for download. but i need some owns. does every one got a good tutorial to greate a pie char…

---

## [XML VIDEO gallery -\> Youtube](https://forum.kirupa.com/t/xml-video-gallery-youtube/251986)

<div class="topic-metadata">

**Author:** [@Guitar101](https://forum.kirupa.com/u/Guitar101)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 4:20pm UTC](https://forum.kirupa.com/t/xml-video-gallery-youtube/251986 "2008-02-14T16:20:01Z")

</div>

I am trying to create a fansite for an artist with a large number of videos on youtube, and the artist would like to have their videos in a scrolling gallery(pref vertical) with thumbs and titles...I have done this with …

---

## [Control volume for sound on the main timeline?](https://forum.kirupa.com/t/control-volume-for-sound-on-the-main-timeline/251985)

<div class="topic-metadata">

**Author:** [@lariat1997](https://forum.kirupa.com/u/lariat1997)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 4:00pm UTC](https://forum.kirupa.com/t/control-volume-for-sound-on-the-main-timeline/251985 "2008-02-14T16:00:00Z")

</div>

Hey all, I have a few sounds on my main timeline for syncing to an animation. Does anyone know what code I would use to mute the sound on the main timeline? FYI...I will not be using linking from the library for thi…

---

## [Flash games developers wake up!](https://forum.kirupa.com/t/flash-games-developers-wake-up/251984)

<div class="topic-metadata">

**Author:** [@XpoGames](https://forum.kirupa.com/u/XpoGames)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 3:54pm UTC](https://forum.kirupa.com/t/flash-games-developers-wake-up/251984 "2008-02-14T15:54:20Z")

</div>

\[CENTER\]\[ Have you developed a Flash game? Upload it and win a Wii consul \](http://www.xpogames.com/contests) ... \[/CENTER\] XPOGames.com is a new, gigantic community-website that pledges to dominate the casual …

---

## [Animating movement with actionscript](https://forum.kirupa.com/t/animating-movement-with-actionscript/251981)

<div class="topic-metadata">

**Author:** [@burningcurio](https://forum.kirupa.com/u/burningcurio)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 3:43pm UTC](https://forum.kirupa.com/t/animating-movement-with-actionscript/251981 "2008-02-14T15:43:01Z")

</div>

I'm looking to be able to control the movement of a movie clip with acitonscript, specifically when i click a button, i would like my movieclip to \*slide, \*not jump, to a specific location. I am currently using cs3, but…

---

## [Simple XML Sorting](https://forum.kirupa.com/t/simple-xml-sorting/251980)

<div class="topic-metadata">

**Author:** [@Ephezius](https://forum.kirupa.com/u/Ephezius)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 3:39pm UTC](https://forum.kirupa.com/t/simple-xml-sorting/251980 "2008-02-14T15:39:56Z")

</div>

Hello all - first post, so go easy on me \[smile\] . I am new to flash and actionscript, so I am starting out on AS3, with no experience in AS2. I have worked with other programming languages, so AS3 isn't giving me too …

---

## [More horizontal menu problem](https://forum.kirupa.com/t/more-horizontal-menu-problem/251977)

<div class="topic-metadata">

**Author:** [@dududis](https://forum.kirupa.com/u/dududis)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 3:27pm UTC](https://forum.kirupa.com/t/more-horizontal-menu-problem/251977 "2008-02-14T15:27:42Z")

</div>

Hello everyone! First, some terrible explanation on what I'm doing. I'm making an horizontal drop down menu, in which the sub-menu content is also horizontal. Now my problem. I want the sub-menu to contract when mouse …

---

## [PHP: Creating file in different directory](https://forum.kirupa.com/t/php-creating-file-in-different-directory/251972)

<div class="topic-metadata">

**Author:** [@Tampa1adam](https://forum.kirupa.com/u/Tampa1adam)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 2:56pm UTC](https://forum.kirupa.com/t/php-creating-file-in-different-directory/251972 "2008-02-14T14:56:01Z")

</div>

Hello, I'm putting together an XML file using the following code, and it works 100%, but creates the file in the dir the script ran in. $myFile = urlencode(strtolower($location) . ".xml"); $fh = fopen($myFile, 'w') or…

---

## [Dynamic xml text with link?](https://forum.kirupa.com/t/dynamic-xml-text-with-link/251968)

<div class="topic-metadata">

**Author:** [@Zenor](https://forum.kirupa.com/u/Zenor)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 1:54pm UTC](https://forum.kirupa.com/t/dynamic-xml-text-with-link/251968 "2008-02-14T13:54:49Z")

</div>

Hello everyone. I have a very simple xml file. \<article\> \<link\> \<site\>Click for transfering to: \<a href="http://www.google.com"\>Google\</a\>.\</site\> \</link\> \</article\> I successfully load the xml into t…

---

## [How to removeChild from a class file](https://forum.kirupa.com/t/how-to-removechild-from-a-class-file/251967)

<div class="topic-metadata">

**Author:** [@fs\_tigre](https://forum.kirupa.com/u/fs_tigre)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 1:40pm UTC](https://forum.kirupa.com/t/how-to-removechild-from-a-class-file/251967 "2008-02-14T13:40:00Z")

</div>

\[FONT=Calibri\] I am trying to remove a movie Clip using a class attached to it. This is what I have, a Movie Clip with a button inside. What I want to do is that when the button (close\_btn - inside the movie clip) is c…

---

## [FLex shopping cart](https://forum.kirupa.com/t/flex-shopping-cart/251966)

<div class="topic-metadata">

**Author:** [@brndn](https://forum.kirupa.com/u/brndn)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 1:28pm UTC](https://forum.kirupa.com/t/flex-shopping-cart/251966 "2008-02-14T13:28:17Z")

</div>

Hey there has anybody ventured into the realm of the flex shopping cart. a few quick questions. can I build the app on a mac?? can you install HP QuickTest Professional with flex2?? any good resources around that may b…

---

## [TextField in Actionscript HELP](https://forum.kirupa.com/t/textfield-in-actionscript-help/251963)

<div class="topic-metadata">

**Author:** [@hrbi](https://forum.kirupa.com/u/hrbi)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 12:35pm UTC](https://forum.kirupa.com/t/textfield-in-actionscript-help/251963 "2008-02-14T12:35:39Z")

</div>

Hi guys.. So i want a simpel textfield where a user write their name and hit the enter key. After hit of the enterkey, the textfield removes and another one is set, with the word Hi + the name. Please help me figure …

---

## [\[AS2\] preloader for xml gallery](https://forum.kirupa.com/t/as2-preloader-for-xml-gallery/251961)

<div class="topic-metadata">

**Author:** [@DramaQueen](https://forum.kirupa.com/u/DramaQueen)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 12:15pm UTC](https://forum.kirupa.com/t/as2-preloader-for-xml-gallery/251961 "2008-02-14T12:15:17Z")

</div>

Hi all, i have an xml picture gallery with a thumbnails row etc. This is the code in the first frame of the timeline: System.useCodePage = true; imageURL = new Array(); thumbURL = new Array(); des = new Array(); myXML…

---

## [XML information loop?](https://forum.kirupa.com/t/xml-information-loop/251958)

<div class="topic-metadata">

**Author:** [@AstralAron](https://forum.kirupa.com/u/AstralAron)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 11:51am UTC](https://forum.kirupa.com/t/xml-information-loop/251958 "2008-02-14T11:51:32Z")

</div>

I just did a tutorial here on kirupa about displaying XML data in flash, does anyone know of a tutorial on how to loop the information? so it displays all the different 'nodes' i guess u call them?

---

## [Multiple responses to Flex](https://forum.kirupa.com/t/multiple-responses-to-flex/251955)

<div class="topic-metadata">

**Author:** [@derm116](https://forum.kirupa.com/u/derm116)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 10:46am UTC](https://forum.kirupa.com/t/multiple-responses-to-flex/251955 "2008-02-14T10:46:31Z")

</div>

Hi All, I'm currently working on a project with a Flex front end and a java/struts middle-tier! It's an installation application so part of the front end is a text area that displays multiple status messages as differe…

---

## [Replacing numerals for images of numerals](https://forum.kirupa.com/t/replacing-numerals-for-images-of-numerals/251951)

<div class="topic-metadata">

**Author:** [@jhvh1134](https://forum.kirupa.com/u/jhvh1134)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 9:55am UTC](https://forum.kirupa.com/t/replacing-numerals-for-images-of-numerals/251951 "2008-02-14T09:55:56Z")

</div>

Ive been experimenting all night trying to find a way to replace text/numbers with an actual image of that number. If I had the number 213, how would I replace it with the image "2.gif" as well as the images "1.gif" and …

---

## [How do I detect a 'timed' button release?](https://forum.kirupa.com/t/how-do-i-detect-a-timed-button-release/251949)

<div class="topic-metadata">

**Author:** [@sheena](https://forum.kirupa.com/u/sheena)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 9:17am UTC](https://forum.kirupa.com/t/how-do-i-detect-a-timed-button-release/251949 "2008-02-14T09:17:02Z")

</div>

Problem: I need the user to hold a button down for 3 seconds, if they let go before the 3 seconds is up an error message will appear. Question: How do I go about detecting if the user has lifted off the button within t…

---

## [Infinite Menu with Preloader and Transition for Dynamic Files?](https://forum.kirupa.com/t/infinite-menu-with-preloader-and-transition-for-dynamic-files/251947)

<div class="topic-metadata">

**Author:** [@creamclouds](https://forum.kirupa.com/u/creamclouds)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 8:40am UTC](https://forum.kirupa.com/t/infinite-menu-with-preloader-and-transition-for-dynamic-files/251947 "2008-02-14T08:40:45Z")

</div>

Hi Guys, I have tried to combine the use of 2 tutorials on this site. Basically, to use the infinite menu as the menu for loading external .swf (as the 2nd tutorial listed below allows). Infinite Menu: http://www…

---

## [Tip: how 'undefined' in a loadVar text file is related to unicode and bbedit](https://forum.kirupa.com/t/tip-how-undefined-in-a-loadvar-text-file-is-related-to-unicode-and-bbedit/251942)

<div class="topic-metadata">

**Author:** [@auntialias](https://forum.kirupa.com/u/auntialias)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 5:14am UTC](https://forum.kirupa.com/t/tip-how-undefined-in-a-loadvar-text-file-is-related-to-unicode-and-bbedit/251942 "2008-02-14T05:14:37Z")

</div>

I've been bothered by a problem with an undefined bit of text. Found the solution --it's obscure-- and wish to write of it here in case someone else has the same problem. \[stuck\_out\_tongue\] \*\* The setup:\*\* swf contains…

---

## [How to correctly load external assets in background?](https://forum.kirupa.com/t/how-to-correctly-load-external-assets-in-background/251941)

<div class="topic-metadata">

**Author:** [@iblokh](https://forum.kirupa.com/u/iblokh)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 4:56am UTC](https://forum.kirupa.com/t/how-to-correctly-load-external-assets-in-background/251941 "2008-02-14T04:56:32Z")

</div>

This is something I still haven't grasped, even after reading through many "photo gallery" tutorials. Here's my situation: I'm making a Flash site with a large photo gallery. So, I definitely want to load the images …

---

## [Error #1107: The ABC data is corrupt, attempt to read out of bounds](https://forum.kirupa.com/t/error-1107-the-abc-data-is-corrupt-attempt-to-read-out-of-bounds/251940)

<div class="topic-metadata">

**Author:** [@bzouchir](https://forum.kirupa.com/u/bzouchir)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 4:46am UTC](https://forum.kirupa.com/t/error-1107-the-abc-data-is-corrupt-attempt-to-read-out-of-bounds/251940 "2008-02-14T04:46:19Z")

</div>

hmm! this happened couple days while trying to use the great as3yaml parser by Derek Wischusen http://flexonrails.net/?p=98 apparently it started to happen in the latest flash player 115. following all the steps Dere…

---

## [Bit of Math Help](https://forum.kirupa.com/t/bit-of-math-help/251938)

<div class="topic-metadata">

**Author:** [@dail](https://forum.kirupa.com/u/dail)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 4:04am UTC](https://forum.kirupa.com/t/bit-of-math-help/251938 "2008-02-14T04:04:07Z")

</div>

Hi, I'm using the timer class, which is all fine and dandy. What I'm trying to do, is convert a number (which is user defined) from seconds into an milliseconds interval amount I can use in the timer class. The timer…

---

## [Lightweight Listbox Class?](https://forum.kirupa.com/t/lightweight-listbox-class/251936)

<div class="topic-metadata">

**Author:** [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 3:55am UTC](https://forum.kirupa.com/t/lightweight-listbox-class/251936 "2008-02-14T03:55:09Z")

</div>

I use Flash Develop. I'm at the part in a project where I need a listbox, but it needs to be lightweight... really simple listbox doesn't even need to scroll (wouldn't be bad but worst comes to worst it doesn't have to…

---

## [Advice to build an (AIR) Flex CMS for a photo flash site](https://forum.kirupa.com/t/advice-to-build-an-air-flex-cms-for-a-photo-flash-site/251933)

<div class="topic-metadata">

**Author:** [@ultraky](https://forum.kirupa.com/u/ultraky)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 2:54am UTC](https://forum.kirupa.com/t/advice-to-build-an-air-flex-cms-for-a-photo-flash-site/251933 "2008-02-14T02:54:23Z")

</div>

What technologies should I know? Anyone know any good tutorials or books to get me started. I am solid with AS3 and learning Flex easily. Thanks

---

## [Request QueryString](https://forum.kirupa.com/t/request-querystring/251932)

<div class="topic-metadata">

**Author:** [@richierich1125](https://forum.kirupa.com/u/richierich1125)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 2:51am UTC](https://forum.kirupa.com/t/request-querystring/251932 "2008-02-14T02:51:23Z")

</div>

How do I request variables from a query string in flash? For example if I had the URL http://www.whatever.com?name=Harry How can I retrieve the value Harry and assign it to the text property of a TextField?

---

## [Rollover Animation Continuing - Easy Question](https://forum.kirupa.com/t/rollover-animation-continuing-easy-question/251931)

<div class="topic-metadata">

**Author:** [@daisygirl\_79](https://forum.kirupa.com/u/daisygirl_79)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 1:55am UTC](https://forum.kirupa.com/t/rollover-animation-continuing-easy-question/251931 "2008-02-14T01:55:36Z")

</div>

I have a simple button with a roll over animation that is 10 frames long. Currently if you roll out before the 10 frames has finished, the animation stops but i want it to continue the full 10 frames without stopping r…

---

## [Scaling Background](https://forum.kirupa.com/t/scaling-background/251927)

<div class="topic-metadata">

**Author:** [@ccwaite8](https://forum.kirupa.com/u/ccwaite8)\
**Replies:** 0\
**Last updated:** [February 14, 2008, 12:38am UTC](https://forum.kirupa.com/t/scaling-background/251927 "2008-02-14T00:38:25Z")

</div>

I am designing a site that has a photo as the bg and i am having trouble with the action script to keep proportioned when resizing. All my movie clips are set up with the stage aligned left, however that is what is thr…

---

## [World map and instance names](https://forum.kirupa.com/t/world-map-and-instance-names/251923)

<div class="topic-metadata">

**Author:** [@yann](https://forum.kirupa.com/u/yann)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 11:18pm UTC](https://forum.kirupa.com/t/world-map-and-instance-names/251923 "2008-02-13T23:18:48Z")

</div>

Hi! I just got this nicely setup FLA with a world map to which I have to add country specific behaviors via XML/Actionscript. Each country is its own clearly labeled movie clip on the stage but they don't have any inst…

---

## [I'm having an as2 issue loading external swf](https://forum.kirupa.com/t/im-having-an-as2-issue-loading-external-swf/251921)

<div class="topic-metadata">

**Author:** [@purpledawn619](https://forum.kirupa.com/u/purpledawn619)\
**Replies:** 0\
**Last updated:** [February 13, 2008, 11:14pm UTC](https://forum.kirupa.com/t/im-having-an-as2-issue-loading-external-swf/251921 "2008-02-13T23:14:20Z")

</div>

I have external swfs loading into a main swf, and the different subpages in the same fla but encapsualted within movieclips and each movieclip is on a different layer in the timeline. The trouble is that I can't disable …

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

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